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
2 answers

How to change a given date in "yyyy-MM-dd HH:mm:ss.SSS" format to "yyyy-MM-dd'T'HH:mm:ss.SSS'Z" format in groovy

How to convert a given date in yyyy-MM-dd HH:mm:ss.SSS format to yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format in groovy For example, the given date is 2019-03-18 16:20:05.6401383. I want it to converted to 2019-03-18T16:20:05.6401383Z This is the code…
user10829672
  • 35
  • 2
  • 10
0
votes
0 answers

I am getting 406 when i am trying to hit a URI and find the count of number of requests in Ready API

Error Image I am getting 406 when i am trying to hit a URI and find the count of number of requests in Ready API.
0
votes
1 answer

Execute a command stored in a string, which replaces a value for a given key, both dynamically read from excel sheet

Below is Groovy code that is part of ReadyAPI test. A key, value pair is read from an excel sheet and replaced in the Json string. Issue is not sure how to execute the command stored in the variable "var". This is supposed to dynamically replace the…
user10829672
  • 35
  • 2
  • 10
0
votes
0 answers

How to pass input in the java main class from ReadyAPI/SoupUI

I am very new to java. Somehow(with the help of the internet) I created the java program for specific functionality using selenium. I created everything in the main class and it's working fine. Now I have to create the Jar file for this and use this…
0
votes
1 answer

Parameter transfer to URI in SOAP UI for a Rest Service

I have two REST Services: GET and PATCH. The GET Service has a JSON Response and from which I need to trasnfer a property named tripId. Add that property value to the URL of the PATCH Request as a resouce, i.e.,…
Mani
  • 87
  • 7
0
votes
1 answer

How to omit parameters in a REST call

For my automation project I will have a lot of testsuites and testcases with a lot of combinations. For this I'm using ReadyAPI to do the automation. For each testsuite I've entered the necessary parameters to be able to use in each testcase. In…
Chantal D
  • 3
  • 2
0
votes
1 answer

How to keep the same session between two REST request in ReadyAPI?

I have two REST requests in the same TestCase. login request getAllParameters request I am currently using ReadyAPI 2.6.0. I need to log in the first request in order to access the second one. Otherwise it does not work. Do you know how to keep…
Félix
  • 1
  • 1
0
votes
2 answers

how to get child node value from a paren preferenced by another child value in Groovy readyAPI

I am trying to get values from a web service response in readyAPI, so i can pass it to another web service request, so i can create a automated test flow. I have tried different code pieces most of them was a single line of code, which i prefer if…
0
votes
2 answers

SoapUI Comparing two XML responses is incredibly slow

In my test case I have two test step that produce an XML response. The XML structure is slightly different from one another but the data is the same and ordered the same. I have created a Groovy Script test step that will read the iterations of…
Ross
  • 2,463
  • 5
  • 35
  • 91
0
votes
0 answers

How to take screenshot of test stpes in ready API? Do we need to take screenshot of test cases?

-Test suite -Test steps -Test case execution -Apply assertion -generate report Do we take screenshot of test cases in ReadyApi?
0
votes
2 answers

Automatic Defect creation from ReadyAPI

I am working on ReadyAPI, and want to know whether defects can be raised automatically in HP ALM from ReadyAPI when the script fails.
kiran
  • 11
0
votes
2 answers

Soapui test case Running with command line mvn with external property file

I have a problem soupui test cases runnnig with maven. Normally we created test data in the program with groovy script. Now, i want to run with external properties file. I have a file named properties.txt . When i running with command line i use…
0
votes
1 answer

Parse jdbc response in Groovy script (until max row number value)

I am using a JDBC request in ReadyAPI 2.5.0 to retrieve data from our database. What I need to do is loop through all of the rows that are returned and pick out specific values for use in my SOAP request later on. How do I use a Groovy script to…
Ajay
  • 1
  • 1
0
votes
1 answer

SoapUI (Pro) > DataDriven > Message Content Assertion - How to handle decimal values

I am using ReadyAPI(SoapUI Pro) for testing of a RestAPI. As Test Data Im using DataSource (DataDriven), where i am giving the Inputs (API Input) from excel. And to test the API response i am comparing the Output from Excel (Expected results are…
0
votes
2 answers

Error with a SOAP message through ReadyAPI

I have sent the SOAP message below however i'm getting an error. I have amended the headers, i'm not sure if this is the impact: