cancel
Showing results for 
Search instead for 
Did you mean: 

Ready API and Jenkins Licensing issues

Highlighted
Occasional Contributor

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 2
Highlighted
Occasional Contributor

Raised a support and was advised that jenkins needs to be run under the same account as soapui.
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors