Menu
  • HOME
  • TAGS

Why incremental load and ramping up the threads is considered a best practice?

load,jmeter,performance-testing,loadrunner,grinder

Starting all threads at once (or, more accurately, going from zero traffic to max traffic in an instant) will "shock" the target system and can render some web acceleration functionality useless. For example, caching on both server and client side might not happen initially if all clients start at once....

Resolve the ImportError: No modules named , when running grinder script

python,jython,grinder

Setting the class path was a bit tricky , I did the following on mac(10.6.8) terminal before running the java command provided by Philp above : ClassPath Setting :(execute this one after other on the terminal ) export JAVA_VERSION=1.6 export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home export GRINDERPATH=/Users/cdname/grinder-3.11 export CLASSPATH=$GRINDERPATH/lib/grinder.jar:$CLASSPATH export PATH=$JAVA_HOME/bin:$PATH java -classpath $CLASSPATH...

How to add custom statistics in Grinder

jython,grinder

I suspect the problem is that you are marking tests as failed, but expecting the statistics to appear in the summary. Only successful tests are accumulated into the summary statistics. Try registering data log expressions as well grinder.statistics.registerDataLogExpression("connTimeout", "userLong0") grinder.statistics.registerDataLogExpression("readTimeout", "userLong1") grinder.statistics.registerDataLogExpression("code!=200", "userLong2") grinder.statistics.registerDataLogExpression("docs=[]", "userLong3")...