Questions tagged [soapui]

SoapUI is an open-source desktop application providing functional testing, load testing, security testing, API mocking, and API monitoring for both SOAP/WSDL and REST/WADL web services. Questions about the professional versions of these tools, such as SoapUI Pro, should be tagged with ready-api.

SoapUI is an open-source desktop application providing functional testing, load testing, security testing, API mocking, and API monitoring for both SOAP/WSDL and REST/WADL web services. Besides web-service protocols and standards, it also supports JMS, AMF, JDBC, and other technologies.

Notable features of SoapUI include (among many):

Information to Provide When Asking Questions

  • Which version of SoapUI 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, JavaScript, XPath, XQuery, or JSONPath. A minimal reproducible example is not just a big code dump, but something that succinctly reproduces your problem.
  • 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

Other Technologies in SoapUI

You need to understand a couple of other technologies to use SoapUI effectively, particularly when crafting assertions and automating your testing:

Note: SoapUI 5.5 uses an older version of the JayWay JSONPath library (version 0.9.1) compared to that used in SoapUI Pro (version 2.4 in SoapUI Pro version 2.3+), so you may get different behaviour if you're using both products.

Books

The SoapUI documentation is good enough to help you install the product and get a few projects up and running, so you may not need books that walk you through those procedures. So cookbooks and how-tos might be of more benefit. For example:

Related Tags

4614 questions
5
votes
1 answer

SoapUI API: WsdlProject unable to load a 'composite' project

We are using SoapUI's APIs for running automatic tests during our build. I tried changing our project to be a composite project ( meaning it is not a single XML file but a Directory with a Sub-Directory per Test Case). Ever since that I'm receiving…
RonK
  • 9,472
  • 8
  • 51
  • 87
5
votes
1 answer

How to use @odata.count property in JSONPath expression?

Using the following JSON object from a response of a OData v4 API: { "@odata.context": "https://api.asdfasdf.com/", "@odata.count": 2, "value": [ { "id": 123456789, "name": "Random name" }, …
Piemol
  • 857
  • 8
  • 17
5
votes
4 answers

Spring-ws SOAP 404 error

i did a tutorial after this -> http://java.dzone.com/articles/spring-ws-how when i go to url http://localhost:8080/myService/services/MemberDetailsRequest.wsdl , i get the static wsdl file.. but when i use SoapUI to import in the wsdl file and then…
user365314
  • 337
  • 4
  • 15
5
votes
0 answers

WCF server and WS-Security to Java client (SoapUI)

I'm trying to add WS-Security to an existing service I have, where said service is accessed over TLS, and I've mostly succeeded in testing it with SoapUI. However I'm having a problem with the response coming back; even though the response looks…
Chris J
  • 30,688
  • 6
  • 69
  • 111
5
votes
1 answer

SoapUI LoadTest execution fail

I try to generate load test from my testcase in SoapUI. It has a lot of test steps, from which the first 10 covers the login process. LoadTest stops in a Groovy script, which should get parameter values from the previous test step's output. It is…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
5
votes
3 answers

How can I disable authorization in SoapUI?

I'm testing my WS with and without authorization (turning it on and off and restarting). I spent a lot of time wondering why it is connecting to WS with security even when I provided No Authorization: In between I tested the same with curl, later…
Betlista
  • 10,327
  • 13
  • 69
  • 110
5
votes
2 answers

How to automatically running multiple load tests in SOAP UI free version?

I have two load tests below with each one being in their separate test cases. This is using SOAP UI free: Currently I have to manually select a load test, run it manually, wait until it finishes and then manually export the results before manually…
BruceyBandit
  • 3,978
  • 19
  • 72
  • 144
5
votes
2 answers

How to place the Groovy in centralized Groovy Library and access that class from any script

I have the below Groovy script which i need to place it in centralized Groovy Library and then access the class mentioned in the Groovy from any script in my Ready API Project Path:…
Kalaiselvan
  • 110
  • 9
5
votes
7 answers

SOAP UI - ERROR:Exception in request: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

I am trying to hit the third party webservice using SOAP UI and getting below exception: ERROR:Exception in request: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure I dont have cacert or keystore from the third party…
AntonyManoj
  • 157
  • 1
  • 2
  • 8
5
votes
0 answers

soapui rest multipart content + json

I have rest service which accepts multipart data in meaning of file/content and metadata/json. When I'm testing it with curl everything works perfectly: curl -X POST http://localhost:8080/upload/multi -F "file=@/tmp/1.csv" -F…
bilak
  • 4,526
  • 3
  • 35
  • 75
5
votes
2 answers

Get values from json request in SOAPUI

I am trying to get value of TxnType from json request while mocking a response from SOAPUI. I want to respond with different responses based the value of TxnType. { "Request": { "UserId": "user", "TxnType": "fetch" } }
5
votes
1 answer

How to increment time by 10 minute intervals

For a certain date (this is a hard coded date), I want to increment through the time for LastModifiedTimeFrom and LastModifiedTimeTo by 10 minutes each time. I have tried the below but it is not performing the increment and I am not sure why? Date d…
BruceyBandit
  • 3,978
  • 19
  • 72
  • 144
5
votes
1 answer

Workday request works in SoapUI but not in Postman

I am trying to call the Put_Background_Check operation of the Workday Recruiting web service. I have opened the WSDL file in SoapUI and successfully sent the following XML...
Imran S.
  • 935
  • 3
  • 15
  • 32
5
votes
1 answer

How to fix Unsupported major.minor version 52.0 in SOAPUI

I am running a selenium script using the groovy script test step in SOAPUI but I am getting the following error? How to fix this? java.lang.UnsupportedClassVersionError: org/openqa/selenium/support/ui/ExpectedCondition : Unsupported major.minor…
user5653362
  • 161
  • 2
  • 15
5
votes
3 answers

How to return http 500 with soapUI

I am mocking my web service using soapUI. Now, I also want to test fault. For this, the mock service (=soapUI) should return a HTTP 500. Does anyone know, how soapUI can do this? thanks
Markus
  • 151
  • 1
  • 4