TNeuschwanger
18 years agoCommunity Leader
loadtestrunner -h parameter causes connection failure
SoapUI 2.0.1
I can run a load test from within SoapUI just fine. However, when running the same load test and calling it via loadtestrunner with a -h parameter, it will always produce a "connection timedout" failure for the first request it encounters within the load test. It therefore never gets past the first request step for the duration of the test.
So... If I issue this command line (attempting to override the loadtest thread count), it will fail:
loadtestrunner.bat -s"TestSuite MXP Load" -c"TestCase MXP" -l"LoadTest UTM Simple" -h2 -f"H:\Results Performance" -r "H:\Performance-soapui-project.xml"
By just removing the -h parameter the following command line works fine and completes the load test successfully:
loadtestrunner.bat -s"TestSuite MXP Load" -c"TestCase MXP" -l"LoadTest UTM Simple" -f"H:\Results Performance" -r "H:\Performance-soapui-project.xml"
It is an easy enough work-around to just enter the desired thread within SoapUI then use the command line as needed but that cramps my automation efficiency.
Thank you for such a great tool at a great price. Regards.
I can run a load test from within SoapUI just fine. However, when running the same load test and calling it via loadtestrunner with a -h parameter, it will always produce a "connection timedout" failure for the first request it encounters within the load test. It therefore never gets past the first request step for the duration of the test.
So... If I issue this command line (attempting to override the loadtest thread count), it will fail:
loadtestrunner.bat -s"TestSuite MXP Load" -c"TestCase MXP" -l"LoadTest UTM Simple" -h2 -f"H:\Results Performance" -r "H:\Performance-soapui-project.xml"
By just removing the -h parameter the following command line works fine and completes the load test successfully:
loadtestrunner.bat -s"TestSuite MXP Load" -c"TestCase MXP" -l"LoadTest UTM Simple" -f"H:\Results Performance" -r "H:\Performance-soapui-project.xml"
It is an easy enough work-around to just enter the desired thread within SoapUI then use the command line as needed but that cramps my automation efficiency.

Thank you for such a great tool at a great price. Regards.