Questions tagged [soapui]

soapUI and soapUI NG Pro are part of the ReadyAPI Suite of desktop applications for inspecting, invoking, monitoring, and simulating/mocking as well as testing of REST/WADL and SOAP/WSDL-based Web Services.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

SoapUI Load Testing - Define a Curve to Test On

I am trying to run a test with 11 steps, and I want to define a curve of how frequently tests will be sent. That is, I want to start off with one request per second, then graduate that until I hit a ...
user avatar
1 vote
1 answer
160 views

ReadyAPI-Request an access token in headless mode fails for oauth 2 token retrieval in CI/CD pipeline

I am using the below code to generate accessToken. import com.eviware.soapui.impl.rest.actions.oauth.OltuOAuth2ClientFacade; import com.eviware.soapui.support.editor.inspectors.auth.TokenType; ...
user avatar
  • 749
0 votes
0 answers
27 views

I have automated Soap request via Rest Assured code, but its written that Rest assured API can only be used for rest service [duplicate]

Here is my code public class xmlreq extends TestBase { @Test public void buildRequest() { logger.info("starting"); RestAssured.baseURI="http://webservices.oorsprong.org/...
user avatar
  • 1
1 vote
2 answers
57 views

Graphical front-end for jmeter

I use jmeter to test REST web services. For some customers, I'd like a graphical interface to show the flow of a script. I imagine tiles for each web service call and lines connecting those tiles to ...
user avatar
1 vote
0 answers
75 views

Replace SoapUI(or any equivalent tool) with code

(Disclaimer: you can replace in this post the term SoapUI with any tool doing end-to-end testing with a UI) My company use SoapUI to do end-to-end testing. They need to execute some tests on Selenium ...
user avatar
  • 241
-1 votes
1 answer
178 views

Sending SQS messages via SoupUI

I'm using SQS in local, and I try to send a query using SoapUI: My Query look like this : aws --endpoint-url=http://localhost:4576 sqs send-message --queue-url http://localhost:4576/queue/...
user avatar
  • 99
-1 votes
2 answers
71 views

Having issues in running SOAP API in JMETER

Hi I'm try to execute a soap api script on jmeter but is returning 500. It's executing fine on SOAPUI POST http://webservices.truckstop.com/v13/CACCI/Report.svc Header manager: Content-Type: text/...
user avatar
2 votes
1 answer
3k views

soapUI - REST API, parameters as variables in request body are empty (*previously posted as guest by accident)

[I am re-posting this; I posted it as "guest" inadvertently.] soapUI 5.5.0, community edition. Created REST requests with parameters (style = plain). Wanted to use them in request body as variables, ...
user avatar
0 votes
1 answer
73 views

soapUI - REST API, parameters as variables in request body are empty [duplicate]

soapUI 5.5.0, community edition. Created REST requests with parameters (style = plain). Wanted to use them in request body as variables, but that did not work. Tried "${#firstName}" and "{firstName}" ...
user avatar
1 vote
2 answers
48 views

How to control the state of databases in between API Tests?

I'm somewhat new to Automated API Testing and have been experimenting with doing some API (functional?/regression?) tests in SoapUI and Katalon against multiple microservices (no-UI, just API), along ...
user avatar
  • 119
0 votes
1 answer
44 views

What kind of Database Testing could be done based on soapui trnasactions? [closed]

The transactions are SoapUi transactions but the effect of them is that the database is updated. What sort of test cases or approaches can I use in this situation?
user avatar
0 votes
1 answer
46 views

Is there a way to read data from excel and set global variable in SOAP UI and send those global variable in request payload?

Is there a way to read data from excel set global variable in SOAP UI and send those global variable in request payload and how to call multiple rest services?
user avatar
  • 1
1 vote
2 answers
953 views

SoapUI/ReadyAPI: How to best compare two data sources

I am currently setting up some REST API tests. I have a test case that has the following Steps: Data Source - Get all Auth credentials in database REST Request - Auth POST getting auth token ...
user avatar
  • 159
1 vote
2 answers
78 views

Web Service Testing Site

I practice web services testing but I don't have any web service testing site. Could anyone please suggest a good web service testing site? Please help. Thanks in advance.
user avatar
  • 127
2 votes
1 answer
743 views

What are the pro's and con's of writing an API test automation framework at code level as opposed to using a tool

As I look into writing automation frameworks at the API layer(relatively new to this area), a question that keeps cropping up in my mind is.....why should I write an automation framework at code level ...
user avatar
1 vote
0 answers
330 views

Does SonarQube accepts SoapUi test reports?

I have an API Java project with somes development tools : Maven for build Gitlab for CICD SonarQube for unit test code coverage and quality code tests (using sonar-maven-plugin plugin and mvn sonar:...
user avatar
  • 111
1 vote
0 answers
126 views

How to assert or validate the sorting order of a response json data on SoapUI

For a get request im getting a json response and it contain some school data.The schools should be appear by descending order for the school rating number. Somthing looks like this. { "...
user avatar
  • 2,093
1 vote
1 answer
450 views

SoapUI response: Integer range validation

One of my API's is returning, "minStudentAge":12 For a one API out put there will be 5 ,6 "minStudentAge" tags with different integer value. Is there any way to validate the integer value which ...
user avatar
  • 2,093
-1 votes
2 answers
871 views

I have 1000+ request message in XML file and want to call SOAP Webservice end point

Is there any SOAP Client available for free that will allow me to trigger different request messages in sequence for the same SOAP Operation? I have 1000+ soap requests and I have created the file in ...
user avatar
0 votes
1 answer
291 views

SoapUI Xpath assertion: match the exact length of the field

I need to match, exact length of a string and I'm using below code for that : declare namespace ns123='urn:lt:sb:xmlns:services:customers:customerinformationfile:GetCustByGlobalId:1.2'; matches(//...
user avatar
1 vote
3 answers
1k views

SoapUI Execute Script before any tests are run

I'd like to execute a script to setup tests. It should be run once but only once if I start a single test manually or a testsuite or the whole project. (Whenever the execution starts.) I also need to ...
user avatar
0 votes
2 answers
812 views

SOAPUI asserting input xml against the database fields

In soapui, i have a request xml and for which i would get an response. I have established jdbc connection. Now i need to verify the input xml against the database persisted fields. the xml elements ...
user avatar
  • 63
2 votes
1 answer
116 views

Regarding the Build job in jenkins

When I am running maven goal in Jenkins which runs soap tests which are developed using groovy, whenever there is a test failure then all the other tests are failed without any test execution from job....
user avatar
0 votes
2 answers
336 views

How to save and share the data across multiple requests under same project in SoapUI?

I am new to the SOAPUI and have created few rest mock services in it. Now I have two separate rest mock services which do not interact with each other but are under the same project in SoapUI. The ...
user avatar
1 vote
0 answers
119 views

Multiply in Groovy SoapUI [closed]

I would like to multiply the below response by 100, then compare it with the request. How do I multiply using Groovy? This is for SoapUI. def response = context.expand( '${abcd#Response#$[16][\'...
user avatar
  • 11
2 votes
1 answer
603 views

Expression in Property Transfer for XML response in SOAPUI

I am trying to get a sessionID value from an XML response after a http request. However the response is not a clear XML, so I can't write a propertly expression to get this value. Any idea to do that?...
user avatar
2 votes
1 answer
152 views

SoapUI CE and ReadyAPI (SoapUI NG) encode URLs differently

I have created an HTTP request to the URL below in SoapUI (v5) and SoapUI Pro NG (ReadyAPI v2.0): http://localhost:8888/content-service/content/book?query=(collection="book title") However, the ...
user avatar
  • 2,023
9 votes
3 answers
18k views

Using REST Assured library for testing SOAP webservices

Is there a possibility of using REST Assured library for testing SOAP webservices? I have a bunch of Test Suites in SOAP UI and I need to check if there is possibility of using REST Assured. Can ...
user avatar
2 votes
1 answer
513 views

Getting issue while automating SOAP service using Karate framework

I am a bit stuck while automating SOAP service . I have below url and request xml : Background: url Scenario: soap 1.1 request """ When soap action '********' Then status 200 After running ...
user avatar
6 votes
2 answers
421 views

Unable to capture Rest API's in soapui with proxy

I am a SoapUI Beginner, using SOAPUI(version 5.3.0) open source for API testing. I want to fetch all Rest API with a proxy. But whenever I use HTTP Monitoring Tool in soapUI to fetch all the rest APIs ...
user avatar
0 votes
2 answers
2k views

java.sql.SQLException: No suitable driver found for jdbc:db2://URL/Database - pom.xml

In my Soapui project I am connecting Db2 for validation Groovy step. This seems to be working. When I run pop.xml with required dependency, its giving the following error: java.sql.SQLException: No ...
user avatar
0 votes
2 answers
3k views

Execute SoapUI project with Maven and Jenkins

I am new to Maven and Jenkins. I have automated my web service project with SoapUI (the free version). I need to include my project with DEV builds for continuous integration build. I searched in ...
user avatar
6 votes
4 answers
2k views

What reasons would companies have to use web testing (Selenium) and API testing (SoapUI) for the same functionality?

Scenario: I want to test a new functionality in the system "login and verification". I assume that developers have done the unit and integration test, and I am just doing a system test Do companies (...
user avatar
  • 61
0 votes
2 answers
3k views

API Testing - Test Cases [closed]

I am new to API Testing. Are there any template for test case creation for API testing? Any other advice on how to write a Testcase for API Testing?
user avatar
1 vote
2 answers
510 views

How to minimize number of connections to DB in SoapUI load tests?

I've been using SoapUI to test WS the next way (common structure of TestCase): Groovy script to generate data (for request compilation & response checking) SOAP Request with assertions Groovy ...
user avatar
1 vote
2 answers
524 views

SoapUI - Apply DataSource Loop to two excel sheets

I have a SoapUI script that is designed to compare two service calls. Right now all I have to use is the legacy service (the expected values). I'm calling the legacy system with a datasource to drive ...
user avatar
0 votes
2 answers
1k views

Error while running Test Cases in SoapUI from eclipse

I am getting the below error while invoking my test suite: 12:01:56,498 ERROR [SoapUI] An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for ...
user avatar
  • 314
2 votes
4 answers
4k views

SoapUI vs Jmeter for webservices

Which one is a better tool to run web service tests? I should have the following flexibility: Parameterize my requests. Integrate with Maven. Better test management.
user avatar
  • 314
3 votes
2 answers
5k views

How to access database from SoapUI for test-data generation?

The web-services testing would cover more cases if it is data-driven. So it is better to generate random data (but from the same boundary) for each request. E.g. in test case 1 we check users id ...
user avatar
4 votes
2 answers
1k views

SoapUI Groovy Script for date field to always use "last week"

I'm trying to use property as an input for API that requires a date. Since I'm remaking these tests every day, and will probably use them in future again, I want the value to be fluid. I encountered ...
user avatar
1 vote
1 answer
93 views

Start with soap ui [closed]

I want to do API testing in my project. I installed soap ui for api testing. I don't know to get start using soap ui. Can anybody help me to start doing soap ui testing . Is we have to write ...
user avatar
1 vote
1 answer
3k views

How do you send a ZIP file in the request body in SoapUI / ReadyAPI

I want to send a Zip file to an endpoint in the body of a REST request as a binary stream. How can I accomplish this using SoapUI? Simply adding the attachment to the tab does not include it in the ...
user avatar
  • 2,023
1 vote
1 answer
1k views

How do you generate an AWS Signature in ReadyAPI/SoapUI

I am trying to perform a GET of an object on S3 storage using ReadyAPI (or SoapUI). Here is the documentation for how it is done In order to make the request I require a "signature" to be generated. ...
user avatar
  • 2,023
1 vote
2 answers
923 views

JMeter - issues attempting to generate SOAP Security header using JSR223 PreProcessor

Putting together a SOAP Request in JMeter. My request is valid, as it succeeds in SOAPUI. My issue is getting the request's Security header populated. I'm attempting to generate the security header ...
user avatar
0 votes
1 answer
617 views

Transferring variable values in SoapUI (basic)

I'm firing off a GET request and then using a script assertion to populate a variable: def sValue = responseHolder.getNodeValue("//URL/url/value") I want to store the contents of sValue and use it ...
user avatar
  • 608
2 votes
1 answer
285 views

How to assert custom XML response does not return any unwanted tags in SOAPUI?

I wonder if there is a way to assert that XML response does NOT contain any other tags than those expected? I am using plain http requests (no WSDL, schema validation, not SOAP, not REST) and the ...
user avatar
1 vote
1 answer
780 views

SOAPUI and Microsoft test management

We are currently using SOAPUI to test SOAP and Restful API's. We then test our interfaces using Selenium automation tests. Where we are unable to automate or there is no value we test manually. We ...
user avatar
0 votes
2 answers
7k views

Property transfer in SOAP UI using xpath

I am using SOAP UI open source. In this version we don't have the option to create xpath like in pro version so I created the xpath using different tool and tried to transfer properties in my test ...
user avatar
  • 81
1 vote
0 answers
696 views

Integrate SoapUI with TeamCity - TeamCity waiting on a condition

I am trying to integrate SoapUI with TeamCity. I have a working MSBuild file (works fine on the TC server when launched via the UI or command line), but when running the build from TeamCity it hangs ...
user avatar
3 votes
1 answer
2k views

SoapUI: Refresh/update test step's payload or request headers from REST resource's request definition?

When I update a resource's path, or add query/matrix parameters to a resource, these changes get "pushed" down into the test steps that rely on (i.e. are associated with) that resource. I'm wondering ...
user avatar
  • 291