LOADUI COMMAND LINE RUNNER - Requests are not sent
I am using the trail version of LoadUI. Created a loadtest to invoke an API. It runs fine while running through Ready!API UI by triggering manually. But when I tried to run the same load test using LOADUI command line runner, the test is getting initiated but the requests are not be sent to the API. Also verified the logs at API layer, no requests are reaching the API.
logs:-
Running Ready! API LoadUITestRunner for [BaseLoadTest]
directory: C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin
command: cmd.exe /C loadtestrunner.bat C:\Users\abc\Desktop\TEST\REST-Project-4-soapui-project.xml -nBaseLoadTest "-EDefault environment" -rC:\Users\abc\Desktop\TEST -FPDF -j
- No base packages specified - no classpath scanning will be done
- Starting 'LifecycleManager@2070160397'
- Hibernate Validator 4.1.0.Final
- Adding module 'com.smartbear.ready.cmd.CommandLineModule
- Adding module 'com.eviware.loadui.cmd.LoadUICmdBaseModule
Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\soapui-log4j.xml]
23:55:05,474 INFO [license] Ready! API 2.0.2 started - System properties: {OS=Windows 8.1, User name=abc}
23:55:05,634 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
23:55:05,634 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\sqljdbc42.jar] to extensions classpath
23:55:06,470 INFO [DefaultSoapUICore] Registered 2 JDBC drivers from extensions directory: [org.postgresql.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver]
23:55:07,303 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\abc\soapui-settings.xml]
23:55:12,106 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\listeners\demo-listeners.xml]
23:56:14,570 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\soapui-swagger-plugin-2.5.3-dist.jar]
23:56:14,570 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-mqtt-plugin-dist.jar]
23:56:14,569 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-jira-plugin-1.1-dist.jar]
23:56:14,575 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-uxm-plugin-1.0.jar]
23:56:19,225 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-api-git-plugin-1.1.0.jar]
23:56:19,474 INFO [PluginManager] 5 plugins loaded in 5173 ms
23:56:19,474 INFO [DefaultSoapUICore] All plugins loaded
23:56:30,827 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
23:56:30,828 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
23:56:30,829 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: R-MADHAVAN
23:56:30,836 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
23:56:30,836 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: R-MADHAVAN
23:56:31,158 INFO [LicenseManagerServiceImpl] Invalid license for SoapUI NG: [2017-07-10 00:00:00] soapUI trial - f65c0679-b7b1-4f02-96b4-593adfd20450, issue date = Mon Jul 10 06:00:00 BST 2017, expiry date = Tue Jul 25 06:00:00 BST 2017
23:56:31,159 INFO [LicenseManagerServiceImpl] License expired at Tue Jul 25 06:00:00 BST 2017
23:56:31,160 INFO [LicenseManagerServiceImpl] No reserve license found
23:56:31,334 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for LoadUI NG
23:56:31,336 DEBUG [LicenseManagerServiceImpl] License host for LoadUI NG: R-MADHAVAN
23:56:31,461 DEBUG [LicenseManagerServiceImpl] Valid license file found: C:\Users\abc\.loadui\loadUI.key, last modified: Wed Aug 16 10:18:07 BST 2017
23:56:31,544 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for Secure
23:56:31,544 DEBUG [LicenseManagerServiceImpl] No license found for Secure
23:56:31,550 DEBUG [LicenseManagerServiceImpl] License host for Secure: R-MADHAVAN
23:56:31,553 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for ServiceV
23:56:31,554 DEBUG [LicenseManagerServiceImpl] No license found for ServiceV
23:56:31,554 DEBUG [LicenseManagerServiceImpl] License host for ServiceV: R-MADHAVAN
23:56:33,304 INFO [BaseExecutionManager] Initialized base directory to keep executions to C:\Users\abc\.readyapi\loadui\results
Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\soapui-log4j.xml]
23:56:35,267 INFO [license] Ready! API 2.0.2 started - System properties: {OS=Windows 8.1, User name=abc}
23:56:35,268 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
23:56:35,268 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\sqljdbc42.jar] to extensions classpath
23:56:35,299 INFO [DefaultSoapUICore] Registered 2 JDBC drivers from extensions directory: [org.postgresql.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver]
23:56:35,303 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\abc\soapui-settings.xml]
23:56:35,307 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\listeners\demo-listeners.xml]
23:56:58,859 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-jira-plugin-1.1-dist.jar]
23:56:58,860 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-mqtt-plugin-dist.jar]
23:56:58,860 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\soapui-swagger-plugin-2.5.3-dist.jar]
23:56:58,862 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-uxm-plugin-1.0.jar]
23:56:59,223 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-api-git-plugin-1.1.0.jar]
23:56:59,526 INFO [PluginManager] 5 plugins loaded in 667 ms
23:56:59,526 INFO [DefaultSoapUICore] All plugins loaded
Running LoadUI Project Runner... project: C:\Users\abc\Desktop\TEST\REST-Project-4-soapui-project.xml
23:57:00,374 INFO [WsdlProject] Loaded project from [file:/C:/Users/abc/Desktop/TEST/REST-Project-4-soapui-project.xml]
-----------------------------------------
STARTING LOADUI COMMAND LINE RUNNER
-----------------------------------------
-----------------------------------------
RUNNING TEST: BaseLoadTest
LIMITS: Time: 00:00:30 Requests: N/A Failures: N/A
-----------------------------------------
Time: 00:00:00 Requests: 0 Failures: 0
Time: 00:00:01 Requests: 0 Failures: 0
Time: 00:00:02 Requests: 0 Failures: 0
Time: 00:00:03 Requests: 0 Failures: 0
Time: 00:00:04 Requests: 0 Failures: 0
Time: 00:00:05 Requests: 0 Failures: 0
Time: 00:00:06 Requests: 0 Failures: 0
Time: 00:00:07 Requests: 0 Failures: 0
Time: 00:00:08 Requests: 0 Failures: 0
Time: 00:00:09 Requests: 0 Failures: 0
Time: 00:00:10 Requests: 0 Failures: 0
Time: 00:00:11 Requests: 0 Failures: 0
Time: 00:00:12 Requests: 0 Failures: 0
Time: 00:00:13 Requests: 0 Failures: 0
Time: 00:00:14 Requests: 0 Failures: 0
Time: 00:00:15 Requests: 0 Failures: 0
Time: 00:00:16 Requests: 0 Failures: 0
Time: 00:00:17 Requests: 0 Failures: 0
Time: 00:00:18 Requests: 0 Failures: 0
Time: 00:00:19 Requests: 0 Failures: 0
Time: 00:00:20 Requests: 0 Failures: 0
Time: 00:00:21 Requests: 0 Failures: 0
Time: 00:00:22 Requests: 0 Failures: 0
Time: 00:00:23 Requests: 0 Failures: 0
Time: 00:00:24 Requests: 0 Failures: 0
Time: 00:00:26 Requests: 0 Failures: 0
Time: 00:00:27 Requests: 0 Failures: 0
Time: 00:00:28 Requests: 0 Failures: 0
Time: 00:00:29 Requests: 0 Failures: 0
Time: 00:00:30 Requests: 0 Failures: 0
23:57:41,478 ERROR [MBassadorEventBus] Failed to publish message com.eviware.loadui.api.events.command.test.TestExecutionCommand@19497c4b to unknown listener method
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.put(Unknown Source)
at net.engio.mbassy.bus.AbstractSyncAsyncMessageBus.addAsynchronousPublication(AbstractSyncAsyncMessageBus.java:75)
at net.engio.mbassy.bus.MBassador.publishAsync(MBassador.java:19)
at com.smartbear.ready.core.event.bus.impl.MBassadorEventBus.postAsync(MBassadorEventBus.java:56)
at com.eviware.loadui.impl.model.canvas.CanvasItemImpl$TimeLimitTask.run(CanvasItemImpl.java:905)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-----------------------------------------
TEST EXECUTION COMPLETED
FINAL RESULTS: Time: 00:00:30 Requests: 5 Failures: 0
-----------------------------------------
23:57:42,508 INFO [CanvasItemImpl] Generating a summary report for CanvasItem BaseLoadTest.
23:58:38,163 INFO [license] Ready! API 2.0.2 shutting down