0

Testing ZK with JMeter

asked 2010-09-24 16:53:42 +0800

gvast gravatar image gvast
6 1

updated 2010-09-24 22:01:10 +0800

Hi
I'm trying to make a JMeter test for a login application. I took the login sample in ZK-Demo, that asks for a user and password and after pressing login button you get the user name within a welcome message and a logout button.

My JMeter tests run fine, until they attempt to login. At that point all I get back is a page with a redirect to: /<appname>/timeout.zul. As far as I can tell, I am passing all the required cookies and headers, but I must be missing something. I think that the problem is in ZK-SID var in header that is dynamically by (I guess) the ZK System. In particular, I would like to know if there is a way to predict the value of the ZK-SID header. Any help or other advice, about how to test ZK application (with session control) in JMeter, will be very much appreciated.

delete flag offensive retag edit

12 Replies

Sort by ยป oldest newest

answered 2011-12-15 10:27:54 +0800

dennis gravatar image dennis
3679 1 6
http://www.javaworld.com....

updated 2011-12-21 09:16:44 +0800

Hi, I just wrote a smalltalk about this topic,
http://books.zkoss.org/wiki/Small_Talks/2011/December/Execute_a_Loading_or_Performance_Test_on_ZK_using_JMeter

Sousa, talk a look about how I did this.

link publish delete flag offensive edit

answered 2011-12-15 19:22:05 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Many thanks Denis.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-09-24 16:53:42 +0800

Seen: 2,058 times

Last updated: Dec 15 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More