Forum Discussion

OOTesting's avatar
OOTesting
Occasional Contributor
7 years ago

Ready API and Jenkins Licensing issues

I am attempting to run ReadyAPI via Jenkins, after registering the license. I can see from the console log that the SOAPUI is activated.

 

10:41:00,550 INFO [DefaultSoapUICore] All plugins loaded
10:41:01,421 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI
10:41:01,422 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI
10:41:01,431 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI
10:41:01,431 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI
10:41:01,434 DEBUG [LicenseManagerServiceImpl] License host for SoapUI: GH-8VXR3H2
10:41:01,439 DEBUG [LicenseManagerServiceImpl] License host for SoapUI: GH-8VXR3H2
10:41:01,444 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for LoadUI
10:41:01,445 DEBUG [LicenseManagerServiceImpl] No license found for LoadUI
10:41:01,448 DEBUG [LicenseManagerServiceImpl] License host for LoadUI: GH-8VXR3H2
10:41:01,456 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for Secure
10:41:01,457 DEBUG [LicenseManagerServiceImpl] No license found for Secure
10:41:01,479 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for ServiceV
10:41:01,479 DEBUG [LicenseManagerServiceImpl] No license found for ServiceV
10:41:01,483 DEBUG [LicenseManagerServiceImpl] License host for Secure: GH-8VXR3H2
10:41:01,484 DEBUG [LicenseManagerServiceImpl] License host for ServiceV: GH-8VXR3H2

 

 

 

 

However I still get a error. See stack trace below:

 


:41:01,655 ERROR [SoapUIProTestCaseRunner] java.util.NoSuchElementException: No line found
10:41:01,656 ERROR [SoapUI] An error occurred [No line found], see error log for details
10:41:01,658 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:70)
at com.smartbear.ready.license.headless.HeadlessLicenseInstaller.installLicense(HeadlessLicenseInstaller.java:32)
at com.smartbear.ready.license.LicenseManagerServiceImpl.a(LicenseManagerServiceImpl.java:311)
at com.smartbear.ready.license.CombinedSoapUILicenseManagerService.promptForLicenseInHeadlessMode(CombinedSoapUILicenseManagerService.java:203)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:90)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:264)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:164)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:81)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:77)
java.util.NoSuchElementException: No line found
at java.util.Scanner.nextLine(Unknown Source)
at com.smartbear.ready.license.util.CommandLineUtils.readLine(CommandLineUtils.java:70)
at com.smartbear.ready.license.headless.HeadlessLicenseInstaller.installLicense(HeadlessLicenseInstaller.java:32)
at com.smartbear.ready.license.LicenseManagerServiceImpl.a(LicenseManagerServiceImpl.java:311)
at com.smartbear.ready.license.CombinedSoapUILicenseManagerService.promptForLicenseInHeadlessMode(CombinedSoapUILicenseManagerService.java:203)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:90)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:264)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:164)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:81)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:77)
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE

 

Any ideas as to what I'm doing wrong?

 

2 Replies