Forum Discussion

mastercoffee's avatar
mastercoffee
New Contributor
16 years ago

loadtestrunner not respecting time limitation

I have created a load test which runs great from the UI in windows. I'm using a simple load scenario, with 1 thread, no delays with a limit of 30 seconds. When I run this via the UI it runs for 30 seconds and then stops as expected. When I copied the project over to my Linux server and tried to run it using loadtestrunner.sh it seems to run forever and doesn't stop after 30 seconds. Why is loadtestrunner not respecting the settings in the project xml? Is there something else I should speciify at the command line?
My linux server =  (RHEL4 w/1.6 JVM)

10/20:============
Experiments I have tried since originally posting this:
- The load test runs fine from the UI in windows and the from the command line in windows, it stops after 30 seconds as expected
- I was using version 3.0.1 so I tried 2.5.1 and the behavior is exactly the same - works on windows, does not work on Linux
- I got a trial for the pro 3.0.1 version and tried that - again the behavior is the same
- I upgraded my JVM from 1.6, release 11 to JDK 1.6, release 16 and this did not solve the issue
- I've observed that when I pass the "-m" parameter with a value of "1" (presumably overriding the original time limit of 30) that the test ends immediately. This would seem to indicate that it's treating the time limit as a thread limit since I have only 1 thread indicated in the project. If I pass in any other value for "-m" the load never stops.

Even more experiements:
- I've tried limiting the load in different ways (i.e. total runs = 5, runs per thread = 5, etc) and in all cases the load ends perfectly on windows but runs forever on my linux server.
- A bit more info; the release notes on my linux server say "Red Hat Enterprise Linux ES release 4 (Nahant Update 5)"