|
I'm using a Groovy script (basic setup using the web editor) to run a test that executes multiple post requests. The thread is stopped after 5 seconds on each run. This seems to imply that there is a .properties file somewhere that has grinder.duration=5000.
I'm not sure where this is set. The log file doesn't show that duration is set anywhere:
2017-03-29 20:34:51,321 INFO Grinder load test properties: {grinder.security=false, grinder.test.id=test_1, grinder.sleepTimeVariation=0.2, ngrinder.etc.hosts=, grinder.reportToConsole.interval=500, grinder.ignoreSampleCount=0, grinder.agents=1, grinder.useConsole=true, grinder.threads=1, grinder.consolePort=12000, grinder.reportTimesToConsole=true, grinder.logProcessStreams=true, grinder.debug.singleprocess=false, grinder.runs=1, grinder.numberOfOldLogs=1, grinder.processIncrement=0, grinder.jvm.classpath=/usr/sap/ljs/home/ngrinder-agent/ngrinder-agent/lib/ngrinder-runtime-3.3.jar:/usr/sap/ljs/home/ngrinder-agent/ngrinder-agent/lib/grinder-patch-3.9.1-patch.jar:/usr/sap/ljs/home/.ngrinder_agent/file-store/admin/current/:/usr/sap/ljs/home/.ngrinder_agent/file-store/admin/current/lib:/usr/sap/ljs/home/.ngrinder_agent/file-store/admin/current/lib/httpclient-4.5.3.jar:/usr/sap/ljs/home/.ngrinder_agent/file-store/admin/current/lib/httpcore-4.4.6.jar:/usr/sap/ljs/home/.ngrinder_agent/file-store/admin/current/lib/commons-logging-1.1.jar, grinder.dcrinstrumentation=true, grinder.logDirectory=/usr/sap/ljs/home/.ngrinder_agent/log/test_1, grinder.script=AddressCleanse.groovy, grinder.jvm=java, grinder.sleepTimeFactor=1, grinder.consoleHost=127.0.0.1, grinder.processes=1, grinder.user=admin}
How can I modify this setting? I have tried including a .properties file in the resources folder but it doesn't appear to get picked up automatically.
|