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
4
votes
1 answer

response message in SOAPUI is displayed encrypted

I try to test a web-service using SOAPUI using a HTTPS endpoint. The problem is that the response message is displayed encrypted. What do I need to configure in SOAPUI in order to see the actual response message? I tried various settings (e.g. in…
Bogdan
  • 934
  • 7
  • 13
4
votes
1 answer

SoapUI mocking asynchronous services

We use SoapUI to mock web services to test our application (APP) before we have access to real webservices. Creating a synchronous Mock Service which will return predefined response is straightforward. However I have to mock some asynchronous…
poisson
  • 1,324
  • 11
  • 20
4
votes
2 answers

soapUI vs rest-assured for REST API testing

What's better for testing a REST API in built in Spring 3.1, soapUI or rest-assured? oAuth 2.0 is used for authentication.
at.
  • 50,922
  • 104
  • 292
  • 461
4
votes
4 answers

How to generate soap request xml from wsdl file in java

I am looking for some java opensource api for generating soap request xml file by passing wsdl_URL and operation name as parameters. Actually soapUI is doing this and I tried to go through the soapUI source code, but I am not able to understand the…
srini
  • 49
  • 1
  • 1
  • 2
4
votes
2 answers

SoapUi 5.7.0 the response is always viewed in the raw window

after an update to 5.7.0, the response is always viewed in the raw window what is the solution for this
Mohm Zanaty
  • 544
  • 7
  • 27
4
votes
3 answers

Formatting dates using XPath

I have the following xpath expressions... //ns:response[1]/ns:return[1]/legs[1]/startDate[1] (Value 01/01/2011) //ns:response[1]/ns:return[1]/legs[1]/startTime[1] (Value 12:13) I need to format and concat these values into something like…
Remotec
  • 10,304
  • 25
  • 105
  • 147
4
votes
2 answers

SOAP message with javax.xml.soap - namespace error?

The following is a generic sample SOAP request for .NET web service I'm supposed to invoke from my java web app:
Less
  • 3,047
  • 3
  • 35
  • 46
4
votes
3 answers

Retrieving data from WSDL webservice in PHP

I'll start out by saying I have no idea what so ever about what I am trying to do. My PHP skills is -beginner- and my experience with webservices is NULL. I have a WSDL URL http://example.com/ws/3.1/NNE?WSDL. I would like to call the…
kasperwf
  • 277
  • 2
  • 4
  • 16
4
votes
2 answers

Using Twilio to send Messages via POST, but will not accept the body as JSON or XML, only plain parameters of To, From and Body works

The platform I am using forces me to send POST requests with a body of JSON format or XML format, so to test I am using SOAPUI so I can specify exactly the body I need for testing. I am POSTing to the…
Ed Brandow
  • 41
  • 1
  • 2
4
votes
1 answer

Testing WSDL in Visual Studio

We have received a WSDL from our client that we use to communicate with their service. I have made a service reference to it in our project, and had developed the code to interact with it. I have used SoapUI to set up a mock service from their…
yourbuddypal
  • 543
  • 6
  • 18
4
votes
2 answers

Integrating SoapUI with JUnit

I am trying to integrate SoapUI into my preexisting JUnit tests. I have created a test in SoapUI 3.6.1. It works. My next step is to apply it to my development environment. In my Eclipse project I have added the jar to my classpath. I also created…
DDus
  • 435
  • 6
  • 17
4
votes
2 answers

Netsuite error: You must use account-specific domains with the 2019.1 SOAP web services endpoint

I am using SOAPUI to call soap API of netsuite but when i add wsdl https://5450407-sb1.app.netsuite.com/wsdl/v2019_1_0/netsuite.wsdl i am getting following error:
ankit
  • 2,591
  • 2
  • 29
  • 54
4
votes
0 answers

Generate in and out xsd(schema) for each operation from the wsdl

Generate in and out XSD(schema) for each operation from the WSDL using java. I have a WSDL file and want to generate the separate in and out XSD(schema) for every operation. I have used the soupUI jar for the same. Below is my WSDL and the code to…
Durgesh
  • 41
  • 3
4
votes
1 answer

How to set JSON tab as the default view for response in SOAP UI Open Source?

I am using SOAP UI Open Source for REST API testing. I want to set the JSON tab as the default view for response. The response I get already has content-type set to 'application/json'. It shows the XML tab and I need to click on JSON to view the…
4
votes
3 answers

soapUI: How to access Test Step property from assertion script?

I'm new to SoapUI and Groovy, but an experienced Java programmer. I created a TestCase with two Test Steps: Properties step called CID with single property correlationID and value ${=java.util.UUID.randomUUID()}. Test Request where I put…
parxier
  • 3,811
  • 5
  • 42
  • 54