Forum Discussion

rohitvarsha12's avatar
rohitvarsha12
Contributor
8 years ago

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

 

 

2 Replies

  • Radford's avatar
    Radford
    Super Contributor

    I believe that the licence is a per machine/per user licence, thus the user running Jenkins on the jenkins machine must also have a licence, in our setup all the developers have licenses, and our Jenkins server also has a licence (N.B. I'm not a smartbear employee, just a user).

  • katleenbb's avatar
    katleenbb
    SmartBear Alumni (Retired)

    Hello,

     

    I am enclosing the activation info when using the Jenkins integration. You will require a second license for the Jenkins machine. Our EULA refer to different types of licensing options,  and often clients benefit moving to a floating license in this case scenario.

     

    Fixed (Named) License: all Software licensed under these terms are single instance, meaning it can be activated by only one User, with a unique username and password, on a single computer, computing device, or virtual machine and has a fixed license key.  You must acquire and dedicate a license for each separate User that You wish to access the Software. A separate license is required for each User and may not be shared. The Software may not be reassigned other than for the permanent transfer of the Software license to another User if the eligible User is no longer employed by You.  An eligible User may access the Software with a unique username and password on one device at a time.

     

    Floating (Concurrent) License: all Software licensed under these terms can be activated for different users and machine combinations, but only one at a time and has a floating license key. The number of running instances of the Software or the number of individuals simultaneously having access to the Software may not exceed at any one time the number of floating seats licensed.  One computer or computing device shall be designated as the “license server”, where the license is installed, and all other devices will require access to the license server to run the Software.

     

    Happy to connect you with someone in sales to discuss your needs.

    Thanks!

    Katleen

    Customer Success Manager EMEA