cancel
Showing results for 
Search instead for 
Did you mean: 

Calling ReadyAPI TestRunner Batch file from Jenkins Gets Error

Highlighted
New Contributor

Calling ReadyAPI TestRunner Batch file from Jenkins Gets Error

Hi,

I am using Ready API Floating license our company API testing needs.

I created a batch file using 'Launch TestRunner' feature. I was able to use this batch file directly from command line and executes fine with out a problem.

But when I am using the same batch file by calling from Jenkins job gets error. Attaching both batch file and error log.

 

Questions:

- Is there any way to set from command line arguments in the batch file for Ready API License location/file

- Does Ready API Floating license supports command line argument: R (Specifies the type of the report data : TestCase Report / JUnit-Style HTML Report / Data Export )

 

Would appreciate if you suggest me for this.

 

Regards,

Suresh

 

2 REPLIES 2
Highlighted
Community Hero

You do not need to create a batch file, I believe.

Readyapi already provides a batch file testrunner under READYAPI_HOME/bin directory.

See documentation regarding command line arguments
https://support.smartbear.com/readyapi/docs/soapui/running/automating/cli.html


Regards,
Rao.
Highlighted
New Contributor

Its not the problem with batch file (creating batch file with SoupUI feature only) and real problem is to use  floating license in creating batch file.

Currently gets error :

No valid SoapUI NG license exists.
Please enter absolute path of the license file (.zip or .key):

 

 As I am using floating license, from license manager I select  'Check out floating license from license server'.  (see attached screen shot). 

 

Please suggest, would appreciate if you can guide me to whom and how I can approach to resolve/get answer for this issue.

 

Regards,

Suresh

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