Getting License error while executing testrunner.bat from jenkis windows slave
12:46:18,237 INFO [DefaultSoapUICore] Creating new settings at [C:\Windows\system32\config\systemprofile\soapui-settings.xml]
12:46:18,267 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.9.0\bin\listeners\demo-listeners.xml]
12:46:18,437 INFO [PluginManager] 0 plugins loaded in 0 ms
12:46:18,438 INFO [DefaultSoapUICore] All plugins loaded No valid SoapUI NG license exists.
Please enter absolute path of the license file (.zip or .key):
12:46:18,567 ERROR [SoapUIProTestCaseRunner] java.util.NoSuchElementException: No line found
12:46:18,568 ERROR [SoapUI] An error occurred [No line found], see error log for details
12:46:18,571 ERROR [errorlog] java.util.NoSuchElementException: No line found
java.util.NoSuchElementException: No line found
at java.util.Scanner.nextLine(Unknown Source)
at com.smartbear.ready.license.util.CommandLineUtils.readLine(CommandLineUtils.java:61)
at com.smartbear.ready.license.headless.HeadlessLicenseInstaller.installLicense(HeadlessLicenseInstaller.java:32)
at com.smartbear.ready.license.LicenseManagerServiceImpl.a(LicenseManagerServiceImpl.java:277)
at com.smartbear.ready.license.CombinedSoapUILicenseManagerService.promptForLicenseInHeadlessMode(CombinedSoapUILicenseManagerService.java:197)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:91)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78)
java.util.NoSuchElementException: No line found
at java.util.Scanner.nextLine(Unknown Source)
at com.smartbear.ready.license.util.CommandLineUtils.readLine(CommandLineUtils.java:61)
at com.smartbear.ready.license.headless.HeadlessLicenseInstaller.installLicense(HeadlessLicenseInstaller.java:32)
at com.smartbear.ready.license.LicenseManagerServiceImpl.a(LicenseManagerServiceImpl.java:277)
at com.smartbear.ready.license.CombinedSoapUILicenseManagerService.promptForLicenseInHeadlessMode(CombinedSoapUILicenseManagerService.java:197)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:91)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78)
Hi Senthil2007,
Please try the instructions from this article: http://readyapi.smartbear.com/about/licenses/troubleshooting/jenkins
Anastasia
Customer Care Team