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
0
votes
0 answers

Retrieve a set of multiple nodes from an XML document using XPATH

I'm working in readyAPI, i have an xml response from a JDBC request like : 72
0
votes
1 answer

How to populate a list from json response

Is there a way to retrieve all the values from a data source as a list in readyAPI ? if yes, how can i do it ? otherwise, any suggestion about how to populate a list in a request body from a json response of an API ? Thanks in advance ! This is an…
0
votes
1 answer

How do I validate API specs using ReadyAPI?

I test apis using ReadyAPI. I am looking for a solution to verify the api spec. Sat we have a spec that has one resource , and it takes in two fields, field a is of length 3, field b is of length 4. Can we have a test step to consume resource and…
0
votes
0 answers

Is it possible to generate two types (PDF and JSON) of reports in the same run with ReadyAPI test engine?

I want to generate two types of reports in the same run in testengine with command line. Is that possible? E.g - testengine -c .\testengine.conf run project tags=pet,user output=C:\Work\Reports format pdf,json environment=dev…
venkatesh
  • 1
  • 2
0
votes
0 answers

Report generated by ReadyAPI TestEngine in JSON format does not have the details of request and response

The report generated by TestEngine in JSON or Excel format doesn't have the details of request/response. However the report generated in PDF format has the request/response details. is there any additional parameters need to be passed for JSON…
venkatesh
  • 1
  • 2
0
votes
0 answers

Load library dynamically in ReadyApi WITHOUT using Thread.sleep

Here https://support.smartbear.com/readyapi/docs/testing/scripts/libs/groovy-lib.html at the bottom of the page, it says how to dynamically load a library in ReadyApi. However the solution proposed isn't qualitative; it says to do…
0
votes
0 answers

GroovyRuntime Error when validating Schema

I am learning how to use ReadyAPI and trying to validate a response's XML content against a Schema file. My code is pretty simple, but I am receiving "Could not find named-arg compatible constructor". I have confirmed the existence of the schema…
Michael Rowe
  • 870
  • 2
  • 11
  • 27
0
votes
0 answers

Does ReadyAPI support RAML specification import?

I am trying to explore if the ReadyAPI product by SmartBear supports the import of API definitions written in the RAML specification. After installing ReadyAPI v. 3.42.2 locally, there is no option to import RAML API definitions. If I select the…
Kundan Saini
  • 87
  • 2
  • 6
  • 15
0
votes
1 answer

How to execute ReadyAPI Data-Source loop test-step in cmdline (powershell wrapper)

I have built an XML project with a test-suite which includes a test-case containing a Data-Source which queries records from my SQL db, a test-step with the body (including variables to pass data from the Data Source), and finally the Data-Loop…
Klh
  • 134
  • 14
0
votes
0 answers

Readyapi - Update project variable when the environment is changed

I know how to create different SQL connection string depending on the selected environment. This however works only if I use the default JDBC functionality provided in Readyapi. However, sometimes there are too many calls in same test case and for…
ASE
  • 355
  • 2
  • 12
0
votes
1 answer

Groovy: assert that an array in the response is ordered alphabetically

I have a JSON response that contains an array of buckets (and sub-buckets) and I want to assert that they're ordered alphabetically based on one of the properties in the bucket. I've tried the following: String unsorted = new…
0
votes
1 answer

How do i assert in groovy with multple scenarios?

I am testing an API using ReadyAPI and currently I am trying to figure some solution for the following situation: I run 3 request in parallel that can affect the way they respond. The test is to add an object to a list and get errors on the other…
da_mit
  • 3
  • 2
0
votes
0 answers

Readyapi property expansion not working in kafka Connection Settings options

I am running readyapi from command line and passing a properties file as an system option. The properties are successfully resolved in most of the cases (rest api endpoint, database connection), the only problem seems to be in the kafka…
0
votes
0 answers

Sharing and updating ReadyAPI test projects with QA team

I have put few test projects together in ReadyAPI by now and I need to share them with the rest of Technology team. I was thinking to share the single xml file with the rest of the team but my concern is when the other testers update the xml file in…
0
votes
1 answer

Run only tagged testcases from testrunner

I've created two tags in ReadyAPI: "Test" and "Stage". I've tagged two testcases with "Test" and one with "Stage". When I launch testrunner I only would like to run testcase/s tagged with "Stage": I add follow parameters: "C:\Program…
user3624378
  • 417
  • 4
  • 22