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

ReadyApi why does authorization header not work, but basic auth tab does

I'm attempting to re-create a REST call I use in Ready-API from java but having issues. If I make a GET request in ReadyAPI with and I use the AUTH tab in the UI, and set it to Basic, with a username and password and I check "USE GLOBAL PREFERENCE"…
DAC
  • 231
  • 4
  • 12
0
votes
0 answers

Unexpected character in SoapUi

In my project in soapui I'm testing and getting a mistake. Can anyone help me where the problem is? I read data from database and I'm putting in offerID. My request { "offerID": ${offers_pm5#OFFERS_PM}, "participation": 0.9, "description":…
danio900409
  • 265
  • 2
  • 6
  • 22
0
votes
1 answer

Groovy script keeps running when running a test suite

I've encountered a wierd behaviour of a groovy script when running the whole suite. I have a script which orders my testcases alphabetically before they run and it seems to be running forever even when the whole test suite finishes. After I click…
Dropout
  • 13,653
  • 10
  • 56
  • 109
0
votes
1 answer

SoapUI Mock Server on AWS EC2 with Load Balancer SSL

I’m trying to setup a SoapUI Mock Service on an AWS EC2 Windows instance with a Load Balancer that has an SSL certificate. The problem I’m encountering is I cannot connect to the Mock Server from my ReadyAPI desktop application. I have successfully…
0
votes
1 answer

XPath result returns an array

I've upgraded to SoapUI Pro (ReadyAPI) recently and I've come across the following problem. I have an XPath assertion like this: declare namespace ns2='http://some.schema.tld/foo/bar/1.0';//ns2:GenerateOrResetPasswordFault//faultCode it's matched…
Dropout
  • 13,653
  • 10
  • 56
  • 109
0
votes
1 answer

testRunner results are not coherent

I'm currently facing a problem with ReadyAPI testRunner results. In order to design my tests, I use a small teardown script in order to check my testCase's steps status: log.info "****************** EXECUTION SUMMARY *****" log.info "nb test steps =…
A.Joly
  • 2,317
  • 2
  • 20
  • 25
0
votes
1 answer

Multiple maven plugins to run a phase

I am doing a maven smartbear soapui project. I have dependency for two plugins. ` com.smartbear.soapui soapui-pro-maven-plugin
ChanChow
  • 1,346
  • 7
  • 28
  • 57
0
votes
1 answer

How to identify if the test case has been triggered at Test case, Test Suite or Project level using groovy in ReadyAPI

How do i identify if the test case has been triggered from a Test Case level, Test Suite Level or a Project level in the called test case. The structure of my project is as follows: E.g say my test case TC1 has 2 test steps
AutomateFr33k
  • 562
  • 2
  • 8
  • 26
0
votes
2 answers

Set HTTP Header value in rest api using Groovy in SOAP UI

I have a REST API project in SOAP UI which contains 20 test cases in a test suite. I want to add some header value and sslkeystore in every test step. Here is my code. import com.eviware.soapui.support.types.StringToStringMap testCaseList =…
Mohammad Hasan
  • 123
  • 1
  • 6
  • 22
0
votes
1 answer

Regular expression to match two JSON objects in Ready API

I am implementing a ready api project in which I have to compare two JSON objects. Say Obj1 = {"A":"Test1","B:"Test2"} is an input. I have a regular expression inside the script file in which I have Obj = '''{"A":".*","B":".*"}''' and I tried to do…
ChanChow
  • 1,346
  • 7
  • 28
  • 57
0
votes
2 answers

SoapUi request returns 404 but curl works fine

I'm attempting to use an API in ReadyAPI but it is not working for me. When I do the request via CURL it works fine. Any help would be appreciated. Here is a sample of the format for the request via Curl, the end part is URL encoded: curl -k -X…
DAC
  • 231
  • 4
  • 12
0
votes
1 answer

Groovy script that runs a test case in another project

I have two separate projects in SoapUI. I need to transfer a property from Project 1 to Project 2. Also every time Project 2 is executed I need it to run a test case within Project 1 to get an updated property value. Project 1 Request-Add A…
0
votes
0 answers

GroovyScript Name Generator

I'm using READYAPI! for testing purposes. I'm currently at a road block. Is there a way to use a Groovy Script to Generate Random American Names? I've done some research online and I don't see anyway to do this with Groovy Script. This is the…
0
votes
1 answer

groovy JsonSlurper assertion for random number, random alphanumeric and date

I am pretty new to service testing and Groovy. The following is my response, { encodedDiscountId=1275479, encodedGuid=gOHSkGzQEee4-AJiXJP2jg, expirationDate=2017-08-17 17:00:00 } I need help for the following assertions: I need…
peter
  • 391
  • 1
  • 4
  • 17
0
votes
1 answer

Excluding sections for SoapUI coverage

I'm using SoapUI PRO (Ready!API) for SOAP testing (surprise). In my requests I have some sections that are generally nto used by the system I'm testing, so I'd like to exclude them from coverage, but I'm not sure how to do that. Assuming I have this…
tom
  • 1,223
  • 6
  • 16
  • 26