Forum Discussion
Hello Rajesh,
Are you using the latest version of LoadUI? I assume so if you just downloaded a trial.
Are you able to use one of the sample projects (select LoadUI [Projects] in the left pane tree to find sample projects) and run a small load test from one of those? This would tell us if your issue is related to your project file or the ReadyAPI setup.
I am able to successfully complete a load test when I right click a load project and select Launch LoadUITestRunner. This was after deactivating all licenses except LoadUI.
I hope this helps.
Thanks James for your response.
I have downloaded the latest Ready!API(v2.0.2) and using the trail version of it.
As suggested, I have tried running one of the samples project i.e. "Baseline Load Sample Project". For testing purpose, I have disabled the Datasource and Datasource loop test steps and configured Geo Search API to invoke google api endpoint.
While running throught GUI it works fine but with loadtestrunner utility still requests are not being sent successfully. Please validate and confirm.
logs:-
Running Ready! API LoadUITestRunner for [Baseline Load Test (Geocoding)]
directory: C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin
command: cmd.exe /C loadtestrunner.bat C:\Users\abc\Desktop\TEST\Baseline-Load-Sample-Project-soapui-project.xml "-nBaseline Load Test (Geocoding)" "-EDefault environment"
- No base packages specified - no classpath scanning will be done
- Starting 'LifecycleManager@647149086'
- 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]
09:51:33,214 INFO [license] Ready! API 2.0.2 started - System properties: {OS=Windows 8.1, User name=abc}
09:51:33,246 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
09:51:33,247 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\sqljdbc42.jar] to extensions classpath
09:51:35,726 INFO [DefaultSoapUICore] Registered 2 JDBC drivers from extensions directory: [org.postgresql.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver]
09:51:37,685 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\abc\soapui-settings.xml]
09:51:48,819 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\listeners\demo-listeners.xml]
09:57:25,490 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-jira-plugin-1.1-dist.jar]
09:57:25,491 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-mqtt-plugin-dist.jar]
09:57:25,490 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\soapui-swagger-plugin-2.5.3-dist.jar]
09:57:25,498 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-uxm-plugin-1.0.jar]
09:57:36,163 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-api-git-plugin-1.1.0.jar]
09:57:36,416 INFO [PluginManager] 5 plugins loaded in 10998 ms
09:57:36,417 INFO [DefaultSoapUICore] All plugins loaded
09:57:44,916 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
09:57:44,918 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
09:57:44,935 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
09:57:44,940 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: R-MADHAVAN
09:57:44,941 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: R-MADHAVAN
09:57:45,048 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
09:57:45,048 INFO [LicenseManagerServiceImpl] License expired at Tue Jul 25 06:00:00 BST 2017
09:57:45,049 INFO [LicenseManagerServiceImpl] No reserve license found
09:57:45,156 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for LoadUI NG
09:57:45,158 DEBUG [LicenseManagerServiceImpl] License host for LoadUI NG: R-MADHAVAN
09:57:45,364 DEBUG [LicenseManagerServiceImpl] Valid license file found: C:\Users\abc\.loadui\loadUI.key, last modified: Wed Aug 16 10:18:07 BST 2017
09:57:45,409 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for Secure
09:57:45,412 DEBUG [LicenseManagerServiceImpl] No license found for Secure
09:57:45,420 DEBUG [LicenseManagerServiceImpl] License host for Secure: R-MADHAVAN
09:57:45,424 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for ServiceV
09:57:45,424 DEBUG [LicenseManagerServiceImpl] No license found for ServiceV
09:57:45,425 DEBUG [LicenseManagerServiceImpl] License host for ServiceV: R-MADHAVAN
09:57:46,265 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]
09:57:48,216 INFO [license] Ready! API 2.0.2 started - System properties: {OS=Windows 8.1, User name=abc}
09:57:48,218 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
09:57:48,219 INFO [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\ext\sqljdbc42.jar] to extensions classpath
09:57:48,260 INFO [DefaultSoapUICore] Registered 2 JDBC drivers from extensions directory: [org.postgresql.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver]
09:57:48,263 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\abc\soapui-settings.xml]
09:57:48,266 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-2.0.2\bin\listeners\demo-listeners.xml]
09:58:12,362 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-jira-plugin-1.1-dist.jar]
09:58:12,363 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\soapui-swagger-plugin-2.5.3-dist.jar]
09:58:12,362 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-mqtt-plugin-dist.jar]
09:58:12,367 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-uxm-plugin-1.0.jar]
09:58:12,695 INFO [PluginManager] Adding plugin from [C:\Users\abc\.soapui\plugins\ready-api-git-plugin-1.1.0.jar]
09:58:12,933 INFO [PluginManager] 5 plugins loaded in 573 ms
09:58:12,934 INFO [DefaultSoapUICore] All plugins loaded
Running LoadUI Project Runner... project: C:\Users\abc\Desktop\TEST\Baseline-Load-Sample-Project-soapui-project.xml
09:58:13,609 INFO [WsdlProject] Loaded project from [file:/C:/Users/abc/Desktop/TEST/Baseline-Load-Sample-Project-soapui-project.xml]
-----------------------------------------
STARTING LOADUI COMMAND LINE RUNNER
-----------------------------------------
-----------------------------------------
RUNNING TEST: Baseline Load Test (Geocoding)
LIMITS: Time: 00:00:20 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
09:58:46,604 ERROR [MBassadorEventBus] Failed to publish message com.eviware.loadui.api.events.command.test.TestExecutionCommand@777d1a16 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)
09:58:47,529 ERROR [VirtRunnerTestStepListener] java.lang.NullPointerException
-----------------------------------------
TEST EXECUTION COMPLETED
FINAL RESULTS: Time: 00:00:20 Requests: 0 Failures: 0
-----------------------------------------
09:58:47,618 INFO [license] Ready! API 2.0.2 shutting down
- JamesLunan8 years agoSmartBear Alumni (Retired)
Rajesh, someone has reached out to you to try to connect regarding this issue. I will drop off this thread and report back if we find out more.
Related Content
- 3 years ago
Recent Discussions
- 5 days ago
- 10 days ago