jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Blavins" <>
Subject Performance of if controller
Date Sat, 06 Sep 2008 14:03:58 GMT


I've been trying to identify the cause of a major loss of throughput in
my JMeter scripts (note, in the throughput of the scripts through the
JMeter engine, not loss of throughput on the target server).


It appears the If controller is very expensive in JMeter throughput


If I wrap the sampler call of an existing test plan with an If
controller that has an expression of "true" == "true" then the
throughput of my scripts drops from around 36,000 scripts per second to
around 2,200 scripts per second. 


This is jmeter 2.3.1 with the client on Windows XP and remote jmeter
hosts on an IBM p570 running AIX.


Is there a known slowness in the If controller ?



(These are test scripts designed to determine how to get high JMeter
throughput so they don't do very much. In my real scripts half the
expression is of course a variable computed in earlier test plan steps.)


I can easily get around this since my sampler is a custom written Java
sampler. I just have to pass the test variable into the sampler and let
it decide whether to execute.




Ian Blavins
Software performance specialist


The Banking Software Company


PeopleBuilding 2, Maylands Av

Hemel Hempstead   UK   HP2 4NW


T:  +44 (0) 1442 431 106

. <> 


P Consider the environment. Please don't print this e-mail unless you
really need to.


If you have received this e-mail in error please notify the sender. 
Please note that any views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of TEMENOS. 
We recommend that you check this e-mail and any attachments against viruses. 
TEMENOS accepts no liability for any damage caused by any malicious code 
or virus transmitted by this e-mail.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message