Questions tagged [ready-api]

The ReadyAPI tag can be used to refer the professional versions of SmartBear's API testing products such as SoapUI Pro, LoadUI Pro, Secure, and ServiceV.

ReadyAPI is an integrated suite of API testing tools including:

  • soapUI Pro (functional testing)
  • LoadUI Pro (performance testing)
  • ServiceV Pro (service virtualisation/mocking)

Information to provide when asking questions

  • Which version of ReadyAPI are you using? It may be relevant because libraries and features and the API can change.
  • Are there any warnings or errors in the logs? Check the tabs along the bottom of the UI and include these in the question (as text, not an image) if they look relevant.
  • Provide a minimal reproducible example, particulary if your question concerns Groovy or JavaScript. A minimal reproducible example is not just a big code dump, but something that succinctly reproduces your problem.
  • Show what code you've tried or describe the steps you've taken so far.
  • As well as describing what you're having a problem with, it can also be helpful to say why you're doing it this way. Someone may know of a better way to do the same thing.

Without the above information it's hard for others to understand your problem and provide answers and you may risk having your question put on hold for being too broad or unclear.

Also remember to check out the tutorials and sample projects. You may be able to test some scenarios and ideas in these projects to better understand your problem.

Resources

233 questions
2
votes
1 answer

Jenkins error sh: 0: Can't open label:/ sh: 0: Can't open script: when trying to execute SOAPUI commandline

I am tring to run the SoapUI TestRunner via a commandline in Jenkins. This is the SoapUI TestRunner commandline: "/home/able/readyapi/installation/bin/testrunner.sh" -spayments-chain -r -a -j -f${WORKSPACE} "-RJUnit-Style HTML Report" -FXML…
K2017
  • 53
  • 2
  • 8
2
votes
1 answer

How to write regular expression for an array of integers?

I have a JSON Path expression - $.[*].incentiveId which will return me an array of integers in the below format [11791275, 11792924, 11792242, 11793924] How do I write a regular expression for the above array of integers? Note: The above array of…
Srinivasan Ramu
  • 1,033
  • 4
  • 11
  • 23
2
votes
1 answer

How to update Resource value in ReadyAPI/SoapUI dynamically by groovy?

my resource is in this format "testing/101/getCustomer/99" Here I need to change "101" and "99" part dynamically by groovy so that I can run for multiple values in same test case. I looked into the ReadyAPI's built in feature, but it was not that…
ktmrocks
  • 361
  • 1
  • 5
  • 18
2
votes
2 answers

Groovy Script assert on Key/Value pairs in SOAP UI XML response

I am using Ready API/SOAP UI. I added a SOAP request and I get a SOAP response XML. My response object has up to 40 Key/Value pairs. I have functional tests to specifically test each. Loop through the whole ArrayOfObjects and Assert if the Key…
Manjula K
  • 23
  • 1
  • 5
2
votes
1 answer

Generate JSON body from RAML file

I am testing REST APIs with Ready! API tool and the documentation that I have received is the raml files with the REST APIs definitions. The RAML plugin of Ready! API works fine but the raml files don't include any example of the JSON bodies. There…
agv14
  • 43
  • 4
2
votes
2 answers

Copy and Paste SoapUI Headers

I have a large project with multiple test suites each of which contain multiple test cases. Many of the test cases contain endpoints that require similar headers (about 15 headers that require lots of manual typing to enter). I see there is a button…
Fueled By Coffee
  • 2,467
  • 7
  • 29
  • 43
2
votes
1 answer

Automated Testing using ReadyAPI (SoapUI NG)

I'm just getting started with ReadyAPI(SoapUI NG) to do automated testing for our Spring based project. So using the ReadyAPI documentation I successfully tested REST URI calls using below steps: Created a project: File > New Project > Create a…
Aftab
  • 2,863
  • 32
  • 41
2
votes
0 answers

Don't store lastOpened in a SoapUI project

I have a SoapUI project that is maintained by multiple developers and stored in SVN. In the project file settings.xml there is a property lastOpened which shows the datetime at which the project was opened last. This is a source of SVN conflicts. Is…
Timo
  • 2,212
  • 2
  • 25
  • 46
1
vote
0 answers

Automatically create ReadyAPI tests against a swagger definition

I am rather new to the API testing world and I have a question about testing against swagger definitions. I created the API using the swagger.json already and I have something like this now: With rightclicking the API that I loaded with the…
Lagencie
  • 11
  • 2
1
vote
0 answers

Manually trigger timer trigger azure function and know when it finished running?

Background: I have a timer triggered azure function and it will write to DB. In my automation testing (Ready-API from smartBear), after I manually triggered the timer function, I have another step to query the DB to assert the record got…
iqoOopi
  • 160
  • 8
1
vote
0 answers

How to run specific test suite in readyapi using ant tool from jenkins

We have a pipeline script in jenkins which is used to trigger build.xml of readyapi using ant as build tool. In this way its running all the test suites in sequence but now we want to run only particular test suite. Tried to used below code but its…
Yashaswini
  • 11
  • 1
1
vote
0 answers

Groovy assert on last item in array JSON response

I want to assert that the object array in the JSON response is ordered alphabetically based on one of the properties of the object (this is in ReadyAPI). I've tried this a number of ways but can't get it to work. This is what I've got: json = new…
1
vote
0 answers

Ready-Api 3.5.0 | Is there a way to stop a TestSuite from running entirely in a Groovy Script

my question is simple. I was just wondering if it was possible to stop a TestSuite from running entirely in ReadApi 3.5.0 using a Groovy script test case. I am able to jump to a specific TestCase and copy an error file and then cancel the testCase.…
Simix48
  • 55
  • 1
  • 10
1
vote
1 answer

Readyapi(Groovy) Database Request: Execute stored procedure with TVP(Table Valued Parameter) as parameter

I need to call a stored procedure in readyapi(Groovy) step and wasn't successful in executing. Can someone help. DECLARE @PNList TBL_SList INSERT @PNList (StringValue) VALUES ( '123') exec Test_Overview @PNList, '713' How to use SQL Server…
1
vote
2 answers

How to Use Groovy to find the INTERSECTION of two lists?

I am trying to retrieve the common items across two lists using Groovy. The following code works just fine, i.e the output from running this code is "DEBUG found in common Items : same". So far so good! def list1 = ["same", "different"] def list2 =…
Edward Milne
  • 177
  • 3
  • 15
1
2
3
15 16