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

In a groovy script for a DataGen property get the corresponding Property name

I have a Ready API DataGen step that applies default values to the output of a DataSource step. Any given property will use the same name in both steps. When processing the property "Address.AddressLine1" the values are in retrieved from…
Paxic
  • 1,760
  • 16
  • 28
0
votes
1 answer

Stored Procedure not being called with Groovy in Ready API

I am trying to call a stored procedure through groovy in ReadyAPI. I am doing it this way, because the built in JDBC request does not seem to handle INOUT parameters. The call seems like it works, but it doesn't actually make the call from what I…
JesseN
  • 47
  • 1
  • 9
0
votes
1 answer

How to read node name via Groovy script in soapUI

How do I read the nodename from a given XML response? I was using xmlSlurper in readyAPI Groovy editor but not able to get the values I wanted to fetch the ROOM,GENR values from rom1:RoomType Code from xml response. def RoomTypes = new…
0
votes
1 answer

Data Source Groovy Script Infinite Loop Occuring Over Finite Data Set

I'm trying to parse a bunch of ids out of an xml and loop over them to run some other test steps. The xml basically boils down to this (removing all the extra): 11111 11112
canpan14
  • 1,181
  • 1
  • 14
  • 36
0
votes
1 answer

Convert JDBC fetched Date data as XML into Date object

I am using Ready API and I was wondering how to convert a date value that is fetched from Oracle SQL Database from a JDBC connection which is stored in an XML Holder inside a Script Assertion and then using the same to assert with a timestamp value…
subby
  • 71
  • 6
0
votes
1 answer

Hermes JMS with SOAPUI - Message browse

I am trying to work with the MQ messages in SOAPUI using hermes JMS. I am able to send receive messages to the queues through a SOAP test request. Plugin used in hermes is IBM Websphere MQ. Now to the problem :) When I want to get the messages from…
Eiston Dsouza
  • 394
  • 2
  • 13
0
votes
1 answer

Open an image in Groovy Script

I'm testing web services atm and I'm pulling files in a Base64 format. I've managed to covert the files and save them to a location. However I'd like the files to open directly, I'm working with PDF files and images so I think a browser would be the…
0
votes
1 answer

How do I change the value of a header for each request inside a datasource loop?

I have a header called RequestID that has a value of a UUID I generated in the groovy script below: import static java.util.UUID.randomUUID import com.eviware.soapui.support.types.StringToStringMap def uuid = randomUUID() as String def headers =…
Jeffrey Lee
  • 51
  • 10
0
votes
0 answers

Encrypt external global properties file in Ready! API

In my project, we store DB passwords in an external Global Properties file and the project is there in git. We use jenkins to execute the builds. In external global properties file, the password is stored in plain text format. I somehow want to…
Kumar Sourav
  • 389
  • 4
  • 17
0
votes
2 answers

Get the token and send it as value for Authorization header for the rest of the steps

After I get a token from a Post request as shown below: { "access_token": "12345", "expires_in": 3600, "token_type": "Bearer" } I want to use this token in different TestSteps Headers values. For example I have to make a GET request after I…
Adrian
  • 3
  • 1
  • 4
0
votes
1 answer

How to run an specific test case in the selected environment in SoapUI

I have multiple Environment and a lot of test cases, but not all test cases are needed to be run in all environment. Is there a way to run only an specific test cases from a test suite based on the selected Environment. For Example If I select…
raiqee
  • 3
  • 3
0
votes
0 answers

How to use oauth scope with spaces

Currently i've been using Ready!API Soapui NG for my Rest apis. In my client credentials, I have my single string scope like scope_api which is able to generate access token. But now I have received new scope for my credentials that contains white…
creulo
  • 1
  • 1
0
votes
2 answers

How do you modify the contents for username, password, and domain of a selected auth profile?

I have the following profile "TPG" for a REST Request already selected and set at the framework level: Auth Profile How do I modify the username, password, and domain fields; along with changing the choice between the two options for Pre-emptive…
Jeffrey Lee
  • 51
  • 10
0
votes
1 answer

soapui + groovy + mongo db assert issue

With given code I try to connect to mongo db than, select event by Event type, than assert for what I just selected @Grab('org.mongodb:mongodb-driver:3.4.1') import com.mongodb.MongoClient import com.mongodb.MongoClientURI import…
0
votes
2 answers

Passing custom property from environment into JSON using SOAPUI

I am using Ready! API trying to pass a custom variable from an environment into one of the Soap UI NG test cases, however when I set up the property expansion, no value is passed. I have the following JSON structure: { "password":"password", …
Emmanuel F
  • 1,125
  • 1
  • 15
  • 34