Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
63 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 ...
1
vote
0answers
39 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:...
1
vote
0answers
15 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. { "...
1
vote
1answer
43 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 ...
0
votes
0answers
60 views

How to send XML POST request with query parameters in Python

I am writing a python code to simulate the action that am doing in SOAPUI. Here is what am doing in SOAPUI Below are the post methods: I have a endpoint+recourse Select method as post Parameters ...
0
votes
0answers
13 views

Disable log4j in SoapUI programatically

I need to disable all logging in a soapUI project so that it's saved to the project file. I've researched and everywhere says to disable it in the log4j/bin config files but this will not work. We're ...
-1
votes
2answers
57 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 ...
0
votes
1answer
44 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(//...
1
vote
2answers
68 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 ...
0
votes
0answers
25 views

How can I stop JsonSlurper from converting objects/maps to arrays?

I have a JSON response item from a web service that looks like this: [ { "field1":"value", "field2":"value2", "field3":"value3", "field4":"value4" }, { ...
0
votes
2answers
302 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 ...
1
vote
0answers
69 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....
0
votes
2answers
54 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 ...
1
vote
0answers
73 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][\'...
2
votes
1answer
153 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?...
2
votes
1answer
55 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 ...
2
votes
2answers
2k 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 ...
2
votes
1answer
152 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 ...
5
votes
2answers
147 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 ...
0
votes
2answers
535 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 ...
0
votes
2answers
2k 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 ...
5
votes
4answers
779 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 (...
0
votes
2answers
1k 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?
0
votes
2answers
239 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 ...
1
vote
2answers
150 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 ...
0
votes
1answer
518 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 ...
1
vote
4answers
2k 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.
2
votes
2answers
1k 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 ...
5
votes
2answers
445 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 ...
1
vote
1answer
68 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
250 views

SOAP UI - unable to connect to network

Start page is not loading in SOAP UI, when i am trying to run any web service, i am getting the following error: ** Error getting response; java.net.SocketException: Address family not supported ...
1
vote
1answer
684 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. ...
1
vote
2answers
550 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 ...
0
votes
1answer
235 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 ...
2
votes
1answer
126 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 ...
0
votes
0answers
66 views

How to create DBunit for use in SoapUI?

In SoapUI automation, how do I to reduce the amount of test data for easy maintenance of test data. Can anyone tell me how to create a DBunit for SoapUI?
1
vote
1answer
585 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 ...
0
votes
2answers
3k 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 ...
1
vote
0answers
601 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 lauched via the UI or command line), but when running the build from TeamCity it hangs ...
3
votes
1answer
989 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 ...
2
votes
1answer
672 views

How to organise multiple SoapUI test scenarios to the same REST endpoint?

Let's say I have a REST service that allows you to search for rail journeys - and that once you have selected them, you can book them. The endpoint is example.com/service/v1/book, and to create the ...
3
votes
2answers
4k views

Integrating JIRA with Test Link using REST Interface

I am trying to integrate Test Link (version 1.9.14) with my JIRA cloud instance. I was earlier using the JIRA (interface- SOAP) to connect with JIRA, but wasn't successful, because JIRA, has ...
5
votes
3answers
9k views

How do you perform API Testing? I had an interview question

I had an interview and they asked me how you will perform API testing? What should be my perfect answer? I explained what ever I have experienced with API testing but I felt that they were not ...
1
vote
1answer
564 views

How do I change/toggle the path in all my SoapUI tests?

We have two different environments and for those environments the endpoint and the path changes, e.g. http://env-qa.domain.com/path1/serviceName http://env-uat.domain.com/path2/serviceName I know ...
1
vote
2answers
770 views

Groovy Script in SOAP UI: What is the scope of groovy script in Testing and beneficial for Future growth?

I am working as Manual Tester with 5+ years of experience. I have good experience about SOAPUI. Performed Functional Testing using SOAP. However the automation can be done using Groovy Script. So, I ...
2
votes
1answer
533 views

Change media type of SOAPUI response

I am sending a request with a custom accept header of application/content.bundle.v1+zip The REST service promptly responds; HTTP/1.1 200 OK content-type: application/content.bundle.v1+zip connection:...
2
votes
1answer
284 views

Assertion about size of an XML tag

Community, I'm trying to add an assertion for an XML Response that verifies the size of the info of one of the tags. So for example, this is my response: <description>This is your password</...
2
votes
2answers
2k views

AND/OR Operation in Contains Assertion in SOAP UI

There's one tag in my XML response whose elements (JSON Data) always come in different order. Is there any way to create a contains assertion with AND/OR operations or should I just use a Script ...
2
votes
2answers
5k views

Difference between SoapUI and Fiddler testing tools?

Well, I am able to test an API method using JSON request in Fiddler and can view the response correctly. Also web services can be tested in SoapUI. So what's the difference between them?