> For the complete documentation index, see [llms.txt](https://n-saikiran.gitbook.io/soapuingpro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n-saikiran.gitbook.io/soapuingpro/continuous-integration/5.4-resolve-license-errors-in-jenkins.md).

# 5.4 Resolve License errors in Jenkins

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 `Jenkins`service.
* 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.

  ![](/files/-M4S6gpQN0ERsRgH3-Ca)
* Restart the service to apply changes.

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

![](/files/-M4S6gpSIIBvVnzPjQqS)

Hope you enjoyed the book.

Happy learning..


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://n-saikiran.gitbook.io/soapuingpro/continuous-integration/5.4-resolve-license-errors-in-jenkins.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
