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
2 answers

Specifying Query and template parameters in POSTMAN

I moved from SOAPUI to Postman for API testing and can't find a way to specify parameters as Query or template in Postman. SOAPUI gives you an option to specify the type of parameter in its parameter table. But in Postman, it just gets recognized…
CodeJockey
  • 423
  • 5
  • 18
5
votes
2 answers

Property Transfer from a testcase response to a request in different testcase

Testing a rest service in SoapUI, I need to do a property transfer from a testcase response to a request in different test case. JsonResponse in the first testcase is as follows: {[{ "items":[{ "id": "1234", "state":…
Binoy Cherian
  • 364
  • 1
  • 6
  • 23
5
votes
3 answers

SOA Services Testing

What is the best way to test SOA services? Should I write my own tests using WCF or should I be using a testing framework such as SOAPUI. What are the limitations to each method and are there better tools?
Reflux
  • 2,929
  • 4
  • 26
  • 27
5
votes
1 answer

SOAPUI Error : java.io.IOException: Attempted read from closed stream

Am trying to view a wsdl file from SOAPUI but it throws the following error. I have researched the internet for a way to fix this but to no avail. What could be the issue here? Error loading [http://XX.X.X.X:XXXX/XXXXXXXXX?xsd=xsd0]:…
Lawrence
  • 485
  • 3
  • 8
  • 22
5
votes
2 answers

How could I set value of json object as a Request in soapUI

I have a json Request like this: { "scopeId":"", "scopeType":"", "userId":"", "fieldToBeEncryptedList":[ { "srNo":"", "fieldName":"", "value":"", "echoField":"" } ] } Now what I want is to set the value of…
Bugasur
  • 101
  • 2
  • 5
  • 12
5
votes
0 answers

Soapui websocket transport testing

I tried to add WebSocket Transport Plugin for soapUI following: https://github.com/pbielicki/soapui-websocket-transport Tried to use the demo: ws://echo.websocket.org, by entering it as a wsdl. But I got the error: Wed Dec 17 09:51:14 IST…
Jacky Sedi
  • 61
  • 5
5
votes
1 answer

WCF client authentication scheme 'Basic'. to a java server

I'm trying to consume a java web service using basic authentication. Using Soap UI I can receive a response when running a request with basic authentication. The problem is using VS studio i'm having this error using basic authentification "The…
5
votes
1 answer

Use wild card in mock service URL

I need to mock a rest service, the mock is already working on SoapUI. The problem is that I have created a mock with a URL like this /test/userA/. Is there a way to create a mock that would also respond to a url /test/userB/? I was thinking…
Federico Nafria
  • 1,397
  • 14
  • 39
5
votes
4 answers

SoapUI Error: Reference to undefined entity: nbsp while importing WSDL in New SOAP UI project

I am trying to connect and send a request to a service via Soap UI. I connected via putty.In the browser, i am able to get wsdl but while importing the WSDL in New SOAP UI project ,i am getting error:Reference to undefined entity: nbsp. Complete…
utkarsh gupta
  • 71
  • 1
  • 1
  • 5
5
votes
1 answer

Can SoapUI generate .wadl for REST projects? If yes, how?

I am currently working on REST project using the SoapUI v5.0.0 Tool. The intention is to make the project's WADL (web application description languag) available on web. I would like to know if Soap UI provides facilities to generate .wadl for the…
Satt
  • 63
  • 1
  • 1
  • 8
5
votes
1 answer

What t is the difference between "Context" and "TestRunner" in SOAPUI?

While writing groovy in SOAPUI some times we use context and some times we use TestRunner, Need help to understand the difference.
Best Questions
  • 67
  • 1
  • 1
  • 4
5
votes
1 answer

SoapUI WS-Security Token

I'd like to make a call against a web service that uses WS-Security with SoapUI. No luck so far with SoapUI tutorials. Would love any advice.
kakridge
  • 2,153
  • 1
  • 17
  • 27
5
votes
4 answers

How to pass session id as part of Soap request?

I invoke an authentication request in order receive a session id :
blue-sky
  • 51,962
  • 152
  • 427
  • 752
5
votes
2 answers

Checking HTTP status codes in groovy

I have created a RESTful service and I am testing it in SOAPUI project. In a test case I want to verify the HTTP response status codes in groovy script. I have tried using the following: def value =…
Amrit
  • 2,295
  • 4
  • 25
  • 42
5
votes
1 answer

SoapUI - Automatically add custom SOAP headers to outgoing request

So what I want to do is to automatically add SOAP header to every request that is generated in SoapUI as I've got hundreds of them and doing this manually is annoying. Lets say that this is my example request generated from the WSDL which looks like…
Kyle
  • 184
  • 2
  • 13