Run SoapUI Load Test with LoadTestRunner Command

Q

How to Run SoapUI Load Test with LoadTestRunner Command?

✍: FYIcenter.com

A

You can follow this tutorial to run a SoapUI Load Test with LoadTestRunner Command.

1. Open Windows command line window.

2. Go to the folder where your SoapUI project file is located and run the LoadTestRunner command with the project file:

C:\fyicenter>\fyicenter\SoapUI\bin\LoadTestRunner.bat First-project.xml

SoapUI 5.2.0 LoadTest Runner
20:25:29,104 INFO  [PluginManager] 0 plugins loaded in 2 ms
20:25:29,104 INFO  [DefaultSoapUICore] All plugins loaded
20:25:30,157 INFO  [WsdlProject] Loaded project from [file:/C:/fyicenter/First-project.xml]
20:25:30,162 INFO  [SoapUILoadTestRunner] SoapUI suite [TestSuite 1] finished in 0ms
20:25:30,162 WARN  [SoapUILoadTestRunner] No load-tests matched argument [null]

Unfortunately, there is no load test defined in First-project.xml. So let's try flickr-soapui-project.xml:

20:36:18,801 INFO  [PluginManager] 0 plugins loaded in 1 ms
20:36:18,801 INFO  [DefaultSoapUICore] All plugins loaded
20:36:19,292 INFO  [WsdlProject] Loaded project from 
   [file:/C:/fyicenter/flickr-soapui-project.xml]
20:36:19,295 INFO  [SoapUILoadTestRunner] Running LoadTest [LoadTest 1]
20:36:19,295 INFO  [SoapUILoadTestRunner] Running LoadTest [LoadTest 1]
Progress: 1 - Creating Virtual User 1
Progress: 1 - Started thread 1
20:36:19,323 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 9.0E-4, 1
20:36:20,323 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.1009, 1
20:36:21,323 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.2009, 1
20:36:22,323 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.3009, 1
20:36:23,324 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.401, 1
20:36:24,324 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.501, 1
20:36:25,324 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.601, 1
20:36:26,324 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.701, 1
20:36:27,325 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.8011, 1
20:36:28,325 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.9011, 1
20:36:29,325 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 1.0011, 1
20:36:30,325 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] finished with status FINISHED
20:36:30,325 INFO  [SoapUILoadTestRunner] SoapUI suite [TestSuite 1] finished in 11030ms
...

3. Review SoapUILoadTestRunner entries. Load test finished in 11 seconds.

 

Load Test of Google and Bing Home Pages

What Is SoapUI LoadTestRunner Command

Using SoapUI LoadTestRunner Command

⇑⇑ SoapUI Tutorials

2018-02-14, 191👍, 0💬