Forum Discussion

krimane's avatar
krimane
New Contributor
15 years ago

soapUI commandline feature

greetings all,

we're in the process of evaluation soapUI to mainly test our complex rating environments. we're currently using 3.6.1.
we've set up three projects for our various testing (frontend, backend, datapower, nlb's). each TestStep uses a different request which reside in a soap envelope.

We're now looking at the command line featured with the batch loadtestrunner and we followed the help provided. however, we're not quite convinced by the outcome of the command which i'm enclosing along with its results.


C:\Program Files\eviware\soapUI-3.6.1\bin>loadtestrunner.bat -s"SoftRaterBinding TestSuite" -c"ProcessIB TestCase" -l"LoadTest 1" -m1 -ehttps://nlbdev-cpo-todpdev1.melochemonnex.com/wsw/tdigi/services/calculateautopremium/v8/D63SSL -fC:\SoapUI\reports O:\DanielL\SoapUI\Rating_DEV-soapui-project.xml
soapUI 3.6.1 LoadTest Runner
Configuring log4j from [C:\Program Files\eviware\soapUI-3.6.1\bin\soapui-log4j.xml]
11:28:58,331 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Documents and Settings\INFOXXXX\soapui-settings.xml]
11:28:58,643 INFO [HttpClientSupport$Helper] Initializing KeyStore
11:28:59,190 INFO [WsdlProject] Loaded project from [file:O:/DanielL/SoapUI/Rating_DEV-soapui-project.xml]
11:28:59,487 INFO [WsdlProject] Loaded project from [file:O:/DanielL/SoapUI/Rating_DEV-soapui-project.xml]
Configuring log4j from [C:\Program Files\eviware\soapUI-3.6.1\bin\soapui-log4j.xml]
11:28:59,518 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Documents and Settings\INFOXXXX\soapui-settings.xml]
11:28:59,518 INFO [WsdlProject] Loaded project from [file:O:/DanielL/SoapUI/Rating_DEV-soapui-project.xml]
11:28:59,533 INFO [SoapUILoadTestRunner] Running LoadTest [LoadTest 1]
11:28:59,533 INFO [SoapUILoadTestRunner] Overriding limit [10000] with specified [1]
Progress: 1 - Creating Virtual User 1
Progress: 1 - Creating Virtual User 2
Progress: 1 - Creating Virtual User 3
Progress: 1 - Creating Virtual User 4
Progress: 1 - Started thread 1
Progress: 1 - Started thread 2
Progress: 1 - Started thread 3
Progress: 1 - Started thread 4
11:28:59,674 INFO [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.062, 4
11:29:00,674 INFO [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 1.062, 4
11:29:01,673 INFO [SoapUILoadTestRunner] LoadTest [LoadTest 1] finished with status FINISHED
11:29:01,673 INFO [SoapUILoadTestRunner] soapUI suite [SoftRaterBinding TestSuite] finished in 2140ms


although the url is wrong, we get the same finished status as when the url is correct and tested through soapUI.
In fact, all results are the same, no result is shown either.

can you please guide us into understanding the results of this command and how can we be able to get the same result as those resulting from the test made through soapUI

many thanks for your help

kind regards

kr

2 Replies

  • krimane's avatar
    krimane
    New Contributor
    i'm sorry to ask again, but i'd really appreciate to have some guidance as to how is it possible to run a Test Step via command line.

    we've set up these 3 test steps which uses a long xml request in a soap envelop and the tests run wll with the soapUP GUI. we'd really like to know if we can run the same tests though commands.

    your help and guidance are much appreciate.

    regards

    kr
  • I don't think you can use the command line testrunner to run a single test step.

    The easiest thing might be to put each of your three test steps into separate test cases (or test suites) and use the -c and -s (or just -s) to specify which test case (or test suite) to run.