SoapUI NG Pro
  • Preface
  • 1. About SoapUI NG Pro
    • 1.1 Introduction to SoapUI NG Pro
    • 1.2 Application Installation Instructions
    • 1.3 License installation instructions
  • 2. Ready API - How to use
    • 2.1 Creation of Project:
    • 2.2 Test Case Creation
    • 2.3 Assertions
      • Assertions - In Nutshell
      • Groovy Request and Response Save
      • Script Assertion
    • 2.4 Data Driven Testing
  • 3. Execution in SoapUI NG Pro
    • 3.1 Running Tests From Test Steps
    • 3.2 Running Tests From Test Suites
    • 3.3 Running Test From Project Level
  • 4. Report Generation in SoapUI NG Pro
    • 4.1 Test case Level
    • 4.2 Test Suite Level
    • 4.3 Project Level
  • 5. Continuous Integration
    • 5.1 Jenkins ReadyAPI - Installation instruction
    • 5.2 CreateTests from Jenkins
    • 5.3 Run Tests from Jenkins
    • 5.4 Resolve License errors in Jenkins
Powered by GitBook
On this page

Was this helpful?

  1. 5. Continuous Integration

5.4 Resolve License errors in Jenkins

Previous5.3 Run Tests from Jenkins

Last updated 5 years ago

Was this helpful?

While running tests in jenkins if you have encountered invalid license as in below case

14:56:18,621 INFO  [DefaultSoapUICore] All plugins loaded
No valid SoapUIPro license exists.
Do you want to install a license? [y/N]: 14:56:18,731 ERROR [SoapUIProTestCaseRunner] java.util.NoSuchElementException
14:56:18,731 ERROR [SoapUI] An error occurred [java.util.NoSuchElementException], see error log for details
java.util.NoSuchElementException

When you run the testrunner from Jenkins, you may encounter a “license not found” error.

A common cause of this is that you are not running Jenkins with the same user account you activated the SoapUI NG license with.

Whether you are running Jenkins independently as a service or on your application server, you need to ensure it is running with the same user account you activated the SoapUI NG license with. This topic describes how to fix this.

For Windows Users

  • Verify that you have a valid license activated. If you do not have a valid license, activate a SoapUI NG license.

  • Open the Control Panel.

  • Select System and Security and then Administrative Tools.

  • Run the Services utility.

  • Search for the Jenkinsservice.

  • Right-click the service and select Properties.

  • In the Log On tab, select This account and enter the user account name and password you activated the SoapUI NG license with.

  • Restart the service to apply changes.

When Jenkins is run under a proper user,testrunnerwill find a license and work without the error:

Hope you enjoyed the book.

Happy learning..