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.
82
questions
0
votes
0answers
15 views
ReadyAPI-Can we filter AWS SQS receive message using filters
We have 'Transaction ID' as a Synchronous response from ReadyAPI
Please find the manual steps that we are doing for the validation.
Login to AWS Shared account with the role created
Navigate to “...
0
votes
1answer
8 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;
...
0
votes
0answers
20 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/...
0
votes
2answers
37 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 ...
1
vote
0answers
53 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 ...
-1
votes
1answer
97 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/...
-1
votes
2answers
23 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/...
2
votes
1answer
1k 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, ...
0
votes
1answer
45 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}"
...
1
vote
2answers
46 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 ...
0
votes
1answer
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?
0
votes
1answer
26 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?
1
vote
1answer
578 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 ...
1
vote
2answers
74 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.
2
votes
1answer
590 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
293 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
93 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
343 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 ...
-1
votes
2answers
589 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
251 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
3answers
967 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
2answers
738 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 ...
2
votes
1answer
111 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
290 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
117 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
556 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
108 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 ...
5
votes
3answers
13k 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
420 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 ...
6
votes
2answers
364 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
1k 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
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 ...
5
votes
4answers
1k 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
2k 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?
1
vote
2answers
462 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
475 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
2answers
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 ...
2
votes
4answers
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.
3
votes
2answers
4k 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 ...
4
votes
2answers
943 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
80 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
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 ...
1
vote
1answer
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. ...
1
vote
2answers
845 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
549 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
236 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 ...
1
vote
1answer
750 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
6k 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
683 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 ...
3
votes
1answer
1k 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 ...