Saturday, September 4, 2010

com.eviware.soapui.tools.SoapUILoadTestRunner

If you install SoapUI3.5.1 you get a
loadtestrunner.sh

================================
=
= SOAPUI_HOME = /maerskwas/tools/soapui-3.5.1
=
================================
soapUI 3.5.1 LoadTest Runner
usage: loadtestrunner [options]
-v Sets password for soapui-settings.xml file
-t Sets the soapui-settings.xml file to use
-D Sets system property with name=value
-G Sets global property with name=value
-P Sets or overrides project property with name=value
-S Saves the project after running the tests
-c Sets the testcase
-d Sets the domain
-e Sets the endpoint
-f Sets the output folder to export to
-h Sets the host
-l Sets the loadtest
-m Overrides the LoadTest Limit
-n Overrides the LoadTest ThreadCount
-p Sets the password
-r Exports statistics and testlogs for each LoadTest run
-s Sets the testsuite
-u Sets the username
-w Sets the WSS password type, either 'Text' or 'Digest'
-x Sets project password for decryption if project is encrypted
Missing soapUI project file..


run as:

./loadtestrunner.sh -r -f/home/tstuser/pierre/ /home/tstuser/pierre/TSTStressTest-soapui-project.xml



After some time the load test finishes and you can find statistics in
LoadTest_1-log.txt
and
LoadTest_1-statistics.txt


Cool!

A more complete syntax with -s -l -c options:
C:\pierre\SmartBear\soapUI-4.5.0\bin\loadtestrunner.bat -s"TerminalSetupServicePortBinding TestSuite" -c"GetUsers TestCase" -l"LoadTest 1" C:\pierre\workspace\SSS_AutomatedTests\SOAPUIArtifacts\MachineSetupService-soapui-project.xml

No comments: