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

Why am I receiving java.lang.NullPointerException rather than soap response?

I am sending the following request to the server, when I copy the request and use the SOAPUI it shows the correct response, but when I use the following code to generate and send it, returns java.lang.NullPointerException on line 50, which…
user1386522
5
votes
1 answer

How to use particular value from SOAP UI response into a new SOAP UI request

From a SOAP UI response below;
Sohaib
  • 75
  • 1
  • 1
  • 8
5
votes
4 answers

Mocking Http-503 for a web service

I would like to mock a web service response for an HTTP 503 (Error 503--Service Unavailable) when The server is unable to handle the request due to a temporary overloading or maintenance of the server. What is the best strategy? Thanks, D
Dawit
  • 61
  • 1
  • 4
5
votes
1 answer

How to pass a Stream using soap UI

I am having trouble testing a WCF service method with soap UI which accepts a Stream object. This is the Object the service method has as input parameter: [DataContract(Namespace = Constants.NAMESPACE)] public class RemoteFileInfo : IDisposable { …
amaters
  • 2,266
  • 2
  • 24
  • 44
5
votes
6 answers

SOAP UI - "Error getting response"

I am trying to use SOAP UI by connecting to my organization's VPN from home. But I am getting this error - "Error getting response: org.apache.http.conn.HttpHostConnectException: Connection to https ://xxx.xxxxxxx.xxxxxx.xxx:xxxx refused" How can…
R11G
  • 1,941
  • 8
  • 26
  • 37
5
votes
2 answers

Where does Soap UI look for a file in new File() Groovy Script by default? How do i change this?

I have a groovy script which reads the text from a file and returns it as a response i have to read it as follows text = new File("D:/text.xml") now the problem is i'd like to use relative paths.. so i was wondering If i just say text = new…
5
votes
2 answers

How do you insert the same random variable into multiple soapui testcase requests?

I may be going about this in the completely wrong way, but how do I pass a dynamic variable to a bunch of requests within the same testsuite in SoapUI? My first test step is a Groovy script. I need to generate a random account name, and then use it…
user83598
  • 161
  • 1
  • 3
  • 10
5
votes
2 answers

switching request and response using keyboard in SOAPUI

i'm using the free version of SoapUi i really want to switch from the request and response windows using keyboard only i found that ctrl+alt+tab should do the work but it seems that the windows shortcut is blocking it how can i work around this…
Yosefki
  • 383
  • 7
  • 22
5
votes
1 answer

how to pass xml file as parameter in soapui

I need to pass and xml file(complete xml content) as parameter in SoapUI but i could not found how to send it. I tried this <test>like this</test> or…
Abhendra Singh
  • 1,959
  • 4
  • 26
  • 46
5
votes
2 answers

generic soap client tool

I have created a soap service which I want to test.But I dont want to create a soap client for testing it.I am looking for some tool which can parse wsdl and give list of parameters which can be inputted and then gives response from soap service. I…
vishesh
  • 2,007
  • 6
  • 32
  • 67
5
votes
2 answers

Web application testing using FitNesse and soapUI - any best practice on test management and maintainability?

To all test automation experts :-) ! I'd like to hear your opinions on the following scenario: There is a web application that I need to test. I have to run back-end tests on the server and front-end tests on the client. I also need to run…
David Kaplan
  • 53
  • 1
  • 6
4
votes
1 answer

How to modify the xml on onRequestscript() in SOAP UI

Here is my code which i wrote in onRequestscript def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context) path = "D:\\Service\\something2.xml"; log.info("path = "+ path); if (mockRequest.method == "POST" ) { mockRunner.returnFile(…
coderslay
  • 13,960
  • 31
  • 73
  • 121
4
votes
3 answers

Can you test a certificate-secured WCF service with SoapUI?

I have a WCF service that is: Using the BasicHttpBinding (if you can answer for WsHttpBinding even better!) Using TransportWithMessageCredential Security Using X.509 Certificates for Transport and Message security I would like to be able to test…
Matt Mitchell
  • 40,943
  • 35
  • 118
  • 185
4
votes
1 answer

How do I make soapUI attachment paths relative?

I'm using soapUI to test an HTTP server. I need to send a multipart/form-data request, and the request works fine when I go through the file chooser and attach it, but it's saving the path as an absolute path, and I need to save a path relative to…
Jared
  • 1,887
  • 3
  • 20
  • 45
4
votes
1 answer

soapui soap digital signature

I need to digitally sign a soap message in a client. A PEM file with both private key and certificate has been given to me. I thought to test with SoapUI. Configuration for signature is done OK in Outgoing WS Security configuration - see the…
sari
  • 169
  • 2
  • 6
  • 10