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
1
vote
1 answer

Azure Devops pipeline call separate e2e repo between ci and dev deployment stages

I have a yaml build pipeline for a project that has multiple stages, it runs build_and_test then if successful it runs ci_deployment, then dev_deployment etc. I want to add a stage between CI and DEV that runs a seperate repos pipeline, in this case…
1
vote
1 answer

READYAPI - Run multiple data per iteration on datasource

I tried to use this feature: Datasource -> Rows Per Iteration, I thought the tool will process 5 data per iteration, but instead, every 5th data on the Datasource got processed. Can anyone help me on this one? I got stuck here and cant find any…
1
vote
1 answer

Convert ReadyAPI xpath for use in Python 3

I'm having trouble converting xpath expressions that I use in ReadyAPI for use in Python 3 with the lxml library. I've read the lxml documentation but I'm not getting the same results. Here's my XML:
FWAF
  • 25
  • 7
1
vote
1 answer

Passing today's date in soapui with specific format

I want to pass today's date in this format 2020-12-07T20:15:15.783-06:00 by using this groovy script in soapui ${= new Date().format("yyyy-MM-dd'T'HH:mm:ss.SSSZ" )} But I am getting the following error Script48.groovy: 1: unexpected char: '' @…
dawit
  • 195
  • 1
  • 3
  • 15
1
vote
2 answers

DataSink step to return each response with all the children

I learnt very recently how to use data-driven testing in Ready API and loop calls based on the data. My goal is to run the steps in loop and at the end create an auto-export facility with DataSink so that the results get auto exported. Now when I…
smpa01
  • 4,149
  • 2
  • 12
  • 23
1
vote
1 answer

ReadyAPI docker error, The license is invalid: Failed to get floating license. Reason: Failed to create HTTPS service for floating license server

When trying to run ready-api-soapui-testrunner via docker I get the above error, I am using a floating licence and can ping the server locally. Below is the docker run command. docker run --net=bridge --add-host=TESTDB:10.30.214.251…
Jake
  • 91
  • 5
1
vote
1 answer

How to dynamically retrieve and make assertions of the responses from Rest ReadyAPI request

I'm new in readyAPI but not in rest API services. I created the data driven automation in ReadyAPI. I properly imported all the fields from excel file to the "DataSource" test step where the "DataSource Loop" iterates over it and loads the "REST…
maliSlon
  • 11
  • 1
1
vote
1 answer

SOAPUI: How to reuse part of XML

I have several XMLs that corresponds of Header and body. The header part of the XML is the same with all XMLs. Can I reuse this part somehow? instead of adding the exact same data and part in all XMLs can I have it in one place and just add it in my…
Adam
  • 283
  • 1
  • 5
  • 15
1
vote
1 answer

Selenium, groovy, can't perform any click(), sendKeys() or similar functions

I am not sure what I'm missing from my code. But I am trying to run a basic Groovy script, where I'm finding an element from the page, and clicking on it. My code works, to the point where I add .click() or .sendKeys(). A few things to note are I'm…
1
vote
0 answers

getDatabaseConnectionByName returns PASS_VALUE instead of actual db password from environment

I am working on a project where we have multiple environments and for each environment we have a separate database connection string which I have added in environments section. Now I want to get the environment connection string at runtime using…
Lavnya
  • 9
  • 2
1
vote
0 answers

How to read the data from 2 columns from an excel file and compare if they are equal in ReadyAPI - Groovy Script

I need some help in reading the values from 2 different columns from an excel file and compare them if they are equal in Groovy script - ReadyAPI. Actually, I need to compare them and keep an assertion if they are equal or not. The image of columns…
Madhav
  • 11
  • 2
1
vote
0 answers

Use ReadyAPI to send a JMS message without name for response

I would like to send a JMS message using ReadyAPI using the "Fire and forget" principle. So the JMS request URL I use is readyjms://ems::mydestination, but when I send the request, I get an ERROR: Wed Nov 28 11:47:29 CET 2018: INFO: Creating…
Johan Vergeer
  • 5,208
  • 10
  • 48
  • 105
1
vote
1 answer

Creating assertions using Groovy where JSON contains multiple objects with the same name

I'm currently writing some tests in ReadyAPI to test a new API that we are building. The API will return JSON in the following format: { "testJSON" : [ { "test1" : "111", "test2" : "ABC" }, { "test1" :…
Matt
  • 11
  • 1
1
vote
1 answer

How can we see log.info "Message" which is added in Script Assertion in groovy for Soapui under Script Log?

If we write a log.info "Running Test Case" This will come under Log Output when you run as a test Step When you run at test case level, it will go under Script Log But when you run the same statement from script assertion, it will be shown there,…
Gaurav Khurana
  • 3,423
  • 2
  • 29
  • 38
1
vote
1 answer

TFS Test Results Detailed Reports not keeping with the SoapUI Project Structure

I am currently triggering my SoapUI test suites from TFS command line, which it working correctly and I am able to trigger the build and view the results. My issue is that I have 3 test suites each with up to 16 test cases. When I view the detailed…
Ross
  • 2,463
  • 5
  • 35
  • 91
1 2
3
15 16