Forum Discussion

payam's avatar
payam
Contributor
8 years ago

testrunner.bat asks for license when is used with -j switch

Problem with testrunner in ReadyAPI 1.8.0 , SoapUI NG PRO license:

 

It goes well until you want to get junit format. then it throws

 

C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin>testrunner.bat -sTestSuite -cTestCase -j -fC:\Tests\out.txt c:\Users\ppirooznia\Documents\SoapUI-4.6.3\bin\MavenTe
st-soapui-project.xml
- No base packages specified - no classpath scanning will be done
- Hibernate Validator 4.1.0.Final
- Adding module 'com.smartbear.ready.cmd.CommandLineModule
Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\soapui-log4j.xml]
17:32:47,107 INFO  [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
17:32:47,107 INFO  [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\ext\sqljdbc4.jar] to extensions classpath
17:32:47,298 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\Users\ppirooznia_local\soapui-settings.xml]
17:32:47,444 WARN  [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [C:\Program Files\SmartBear\ReadyAPI-1.5.0\bin\scripts]
17:32:47,445 INFO  [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\listeners\demo-listeners.xml]
17:32:50,268 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-jira-plugin-1.0.jar]
17:32:50,268 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-api-git-plugin-1.0.1.jar]
17:32:50,268 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\soapui-swagger-plugin-2.3.0-dist.jar]
17:32:50,272 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-uxm-plugin-1.0.jar]
17:32:50,578 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-mqtt-plugin-dist.jar]
17:32:50,767 INFO  [PluginManager] 7 plugins loaded in 501 ms
17:32:50,767 INFO  [DefaultSoapUICore] All plugins loaded
Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\soapui-log4j.xml]
17:32:51,703 INFO  [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath
17:32:51,704 INFO  [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\ext\sqljdbc4.jar] to extensions classpath
17:32:51,705 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\Users\ppirooznia_local\soapui-settings.xml]
17:32:51,707 INFO  [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\listeners\demo-listeners.xml]
17:32:53,016 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\soapui-swagger-plugin-2.3.0-dist.jar]
17:32:53,016 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-api-git-plugin-1.0.1.jar]
17:32:53,016 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-jira-plugin-1.0.jar]
17:32:53,021 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-uxm-plugin-1.0.jar]
17:32:53,283 INFO  [PluginManager] Adding plugin from [C:\Users\ppirooznia_local\.soapui\plugins\ready-mqtt-plugin-dist.jar]
17:32:53,459 INFO  [PluginManager] 7 plugins loaded in 443 ms
17:32:53,463 INFO  [DefaultSoapUICore] All plugins loaded
No valid SoapUI NG license exists.
Please enter absolute path of the license file (.zip or .key):

and if you point the license.key file, it says the license is not activated and starts asking for my name , email, etc.

2 Replies

  • Executing tests on Ready API TestRunner bat requires license installed for the user which is running the test. So you do need a license installed. 

     

    In your case, for user ppirooznia_local make sure license is installed.