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
1
vote
0 answers

Include Test Steps info in JUnit SoapUI reports

I am using SoapUI to execute tests and Ant to generate html report from xml to publish in Jenkins CI. But html reports only shows the status of the testCases (http://www.luv2code.com/wp-content/uploads/2011/01/junit_report_screenshot-1024x567.png),…
koxta
  • 846
  • 2
  • 8
  • 30
1
vote
1 answer

Getting values from Properties in SoapUI's groovy

I wrote data driver script in Groovy and it seems to be fine. Data is propertly retrieved from xls file to "Properties" Next I am using a method to create user - I am sending simple address data do database. This is a part of it: …
nikasek11
  • 11
  • 1
1
vote
1 answer

how to check whether web service url is Soap or REST web service url

I have some web service URLs which I need to test over soapUI tool but I dont know whether my web service url is SOAP based or REST based in order to create project in SoapUI tool to test web service.
Ameya Patkar
  • 91
  • 1
  • 2
  • 10
1
vote
1 answer

SoapUI - Adding attachment in put request body

I'm testing this REST API on BlueMix endpoint. I'm going through it by trial and error, although I don't have any problem making other calls. ...Anyways, this request requires me to put binary zip file in message body. How can one do this in…
The Raven
  • 527
  • 1
  • 6
  • 31
1
vote
2 answers

How to ignore certain test step errors in SoapUI test case?

Goal I want "regular" test steps to break the SoapUI test case while a distinct subset of test steps should be allowed to fail. Rationale I have a SoapUI test case that performs a rather complicated functional test where some optional details are…
fheub
  • 249
  • 5
  • 14
1
vote
2 answers

SOAP UI - How to Capture REST raw Response in a file

I am trying to capture the raw response for REST (POST) API call into a file using groovy Script. I can see the response as below in RAW, but when file is produced it is blank. REST Response: HTTP/1.1 401 Unauthorized content-length: 0 Date: Tue…
Geeme
  • 395
  • 2
  • 6
  • 18
1
vote
1 answer

importing WSDL in SoapUI with simpletype referenced in extension

I'm importing a WSDL in SoapUI and getting the following error: Error: Could not find type 'MonthType'. Do you mean to refer to the type named MonthType@http://www.sainsburys.co.uk/eai/canonical/types/v1.0 (in sendPaymentOverride_v0.2.wsdl)? I…
Simon Edge
  • 141
  • 2
  • 10
1
vote
2 answers

How to test an API with query string from postman(or SOAP UI/Fiddler)

I have an api link as following https://hostaddress.com/api/v1/query The API currently supports one endpoint: query. The query endpoint allows the user to make queries. The query endpoint must be accessed with the GET HTTP method. Requests to the…
Santosh
  • 2,355
  • 10
  • 41
  • 64
1
vote
3 answers

A required header representing a Message Addressing Property is not present

I am getting this error in SOAPUI: http://www.w3.org/2005/08/addressing/fault
Raziye AYDIN
  • 21
  • 1
  • 2
  • 6
1
vote
1 answer

SOAPUI check request then mock response

I have set-up a mock SOAPUI project that returns mock responses when I call the endpoint. What I'm trying to do is return a different mock result depending on the requested content is. At the moment when I hit the endpoint URL, it is returning the…
chrisblue13
  • 263
  • 3
  • 18
1
vote
2 answers

How to remove table names in JDBC response in SOAPUI

In SOAPUI tool, in response for any DB step, response contains with tableName.column. please refer the below image. How can remove the tableName attribute from the response. I mean to ask, is there any setting in SOAPUI or is there any properties…
HemaSundar
  • 1,263
  • 3
  • 17
  • 28
1
vote
1 answer

Getting variable value from the REST response code(SoapUI)

This is the response(as XML) I get from TestCase1 when I run my REST request: I want…
user5653362
  • 161
  • 2
  • 15
1
vote
1 answer

Get method name of web service

I use SoapExtension to handle asmx web services and store request/response xml into database, here is my web service: [WebMethod] public DemoResponse demoService(DemoRequest demoRequest) { } How to get method name of web service [expect:…
minhhungit
  • 180
  • 4
  • 25
1
vote
1 answer

Jsonpath Sort array

Please could you help me sort array which I get using $..balanceChange. It is a small part of response. I need it for assertion in SoapUI. { "id": 182, "name": "49899 Consol Sick w S&S Pattern", "eventDefinition": { …
1
vote
2 answers

How to select the test suites dynamically in soap ui based on the command line argument value

In our organization we are using SOAP UI 5.2.1 (open source). We have a soapui-project file as below Project1.xml: Test Suite 1 (Smoke, Functional, Regression) Test Suite 2 (Functional) Test Suite 3 (Smoke, Functional) Test Suite 4…
Tester
  • 21
  • 4
1 2 3
99
100