No valid SoapUI NG license exists.
Hi, We have bought Ready API license and its installed on my machine.
It is working as expected. But when I try to run my scripts from Jenkin i am getting below log. Can you please suggest me whats happening and how to fix this issue.
Note: Jenkin is installed on another machine and it is executed from that machine.
19:57:12 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:12 [WARNING] No base packages specified - no classpath scanning will be done
19:57:13 Mar 11, 2017 7:57:35 PM java.util.prefs.FileSystemPreferences$1 run
19:57:13 INFO: Created user preferences directory.
19:57:13 [INFO] Hibernate Validator 4.1.0.Final
19:57:13 [INFO] Adding module 'com.smartbear.ready.cmd.CommandLineModule
19:57:14 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:14 19:57:37,181 WARN [SoapUI] Missing folder [/opt/jenkins/workspace/MtgOneAPIHealthCheck/ext] for external libraries
19:57:14 19:57:37,182 INFO [DefaultSoapUICore] Creating new settings at [/home/nodejs/soapui-settings.xml]
19:57:15 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:15 19:57:37,676 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [/opt/jenkins/workspace/MtgOneAPIHealthCheck/scripts]
19:57:15 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:15 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:16 19:57:38,607 INFO [PluginManager] 0 plugins loaded in 2 ms
19:57:16 19:57:38,607 INFO [DefaultSoapUICore] All plugins loaded
19:57:16 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:16 19:57:39,359 WARN [SoapUI] Missing folder [/opt/jenkins/workspace/MtgOneAPIHealthCheck/ext] for external libraries
19:57:16 19:57:39,359 INFO [DefaultSoapUICore] Creating new settings at [/home/nodejs/soapui-settings.xml]
19:57:16 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:16 [WARNING] System property 'soapui.home' is not set! Using this directory instead: .
19:57:16 19:57:39,418 INFO [PluginManager] 0 plugins loaded in 0 ms
19:57:16 19:57:39,419 INFO [DefaultSoapUICore] All plugins loaded
19:57:16 No valid SoapUI NG license exists.
19:57:16 Please enter absolute path of the license file (.zip or .key):
19:57:16 [ERROR] java.util.NoSuchElementException: No line found
19:57:16 [INFO] ------------------------------------------------------------------------
19:57:16 [INFO] BUILD FAILURE
19:57:16 [INFO] ------------------------------------------------------------------------
19:57:16 [INFO] Total time: 04:04 min
19:57:16 [INFO] Finished at: 2017-03-11T19:57:39-05:00
19:57:17 [INFO] Final Memory: 38M/277M
19:57:17 [INFO] ------------------------------------------------------------------------
19:57:17 [ERROR] Failed to execute goal com.smartbear:ready-api-maven-plugin:1.9.0:test (default) on project my-app: Ready! API Test(s) failed: Ready! API Test(s) failed:
19:57:17 [ERROR] No line found
19:57:17 [ERROR] -> [Help 1]
19:57:17 [ERROR]
19:57:17 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
19:57:17 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
19:57:17 [ERROR]
19:57:17 [ERROR] For more information about the errors and possible solutions, please read the following articles:
19:57:17 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException