You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sonam Chauhan <so...@ce.com.au> on 2003/12/17 08:11:17 UTC

surge testing and SSL connection bug

Hello JMeter users/developers- 

I found an SSL bug in the latest JMeter where it throws an exception on the
very first SSL connection. I saw Jordi had already filed it in bugzilla: 
        http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25505
Jordi states a workaround: 
	"[Workaround: create a stupid sample at the very beginning of your
test]"
This works a treat. However, it breaks something I am planning to do, and I
was wondering if there was a better way...

I want to implement a "surge test" where the number of users "surges"
temporarily every hour or so, then dies down quickly. So my plan has two
thread groups like so:
---------------------------------------------------------
Test Plan 	-- 	Runs thread groups *simultaneously*
	Thread Group 1 	-- 	Normal usage group
	Thread Group 2 	-- 	Surge group. 
---------------------------------------------------------
The surge group finishes one iteration in a few minutes. A constant delay
timer at the end causes it to sleep for an hour before running again.

The problem is to implement the workaround for HTTPS, I will have to insert
a dummy first thread group. I will also have to tick the "Run each 
---------------------------------------------------------
Test Plan 	-- 	Runs thread groups *one after another*
	Thread Group 1 	-- 	*Dummy SSL connection group*
	Thread Group 2 	-- 	Normal usage group
	Thread Group 2 	-- 	Surge group. 
---------------------------------------------------------
To ensure dummy Thread Group 1 runs first, I have to tick "Run each thread
groups separately" in the top level plan element. But this breaks the surge
testing because thread groups 2 and 3 no longer run together. 

Is there a better way to do surge testing? 

With regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: sonamc@ce.com.au
 


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org