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

spring-ws: no endpoint mapping found

I made a simple web service but when I'am trying to test it on soapui its giving this error: WARN : [Oct-11 12:56:38,081] ws.server.EndpointNotFound - No endpoint mapping found for [SaajSoapMessage…
maria
  • 163
  • 1
  • 2
  • 9
14
votes
3 answers

where can I see the security header which soapUI adds to my request

I have created an axis 2 web service with ws - security (which is enabled by the rampart module). I want to test it in soapUi 4.5.1. and the request which soapUI proposes me is as it follows
Tania Marinova
  • 1,788
  • 8
  • 39
  • 67
13
votes
5 answers

SoapUI MockServices returning html rather than xml response

Using the following sample WSDL file, I've generated a new project in SOAP UI (version 3.5), and created the example test suite, test case, and mock service. WSDL
Jimmy
  • 16,123
  • 39
  • 133
  • 213
13
votes
4 answers

SoapUI window freeze

Currently using SoapUI 5.2.1 and am experiencing random UI window freeze. This abnormality often occurs right after invoking a rest service. The said rest service(s) from previous and fresh boot invoke runs smooth, but after series of invoke(s) the…
David B
  • 3,269
  • 12
  • 48
  • 80
13
votes
1 answer

SOAPUi and keystore

Recently, i had to enhance SOAP communications between me and a web service. After creating a private key file on my server and after CSR was created/sent, a certificate file was received in PEM format. I want to test it in SOAPUi but it keeps…
Tanc
  • 667
  • 3
  • 6
  • 25
13
votes
8 answers

Selenium UnreachableBrowserException - "Could not start a new session" in SoapUI Groovy TestStep

I use SoapUI Pro 5.1.2 on Win7 x32, and try to connect to Selenium Webdriver in Groovy TestStep. For this purpose I added selenium-standalone-server.jar v2.45.0 in $SOAP_HOME$\bin\ext folder. My Groovy TestStep code: import…
Maxim
  • 502
  • 1
  • 4
  • 13
13
votes
2 answers

Create MockService in soapUI without wsdl

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL from request and response examples with soapUI but I'm not able to find…
vrm
  • 1,312
  • 4
  • 20
  • 28
13
votes
1 answer

Why am I receiving a java.net.SocketException: Connection reset error from web service through SOAP UI and Java client?

I am converting a visual foxpro application to a java web application and one small, but important piece of the application makes a soap request to a web service. I have written 3 test clients to call this web service, and I have also tested…
s_urbuteit
  • 133
  • 1
  • 1
  • 7
13
votes
4 answers

SOAPUI: How to include Groovy script from an external file

How can I include groovy script from an external file? I was tried to use: def script = new GroovyScriptEngine('d:/soapui/payment.v2').with { loadScriptByName( 'proxy.groovy' ) } this.metaClass.mixin script But I get: Update Is there…
CAMOBAP
  • 5,523
  • 8
  • 58
  • 93
12
votes
2 answers

JVM crashes when running SOAPUI on Ubuntu

I just downloaded SOAPUI 4.0.1 and tried to run it in Ubuntu 11.10. I run the file soapui.sh. The application started up and the window actually appeared, but then after a few seconds it closed. Looking at the terminal I saw that the JVM crashed.…
Jeffrey Ramos
  • 269
  • 1
  • 4
  • 10
12
votes
2 answers

Jenkins Test Result Trend Graph Empty, but Tests Are Run

Where does the data that produces the "Test Result Trend" graph actually come from? I have a "Test Only" job that produces 2 files in target/surefire-reports. (Produced by maven) Inspecting the files directly shows that the tests are executing and…
sceaj
  • 1,573
  • 3
  • 12
  • 24
12
votes
5 answers

soapUI With WCF Message Security

I am trying to configure my WCF (.NET 4.0) service so that it can be tested using soapUI. I am using wsHttpBinding with message security. My goal is to expose the service on a public test endpoint and try to load-test it with loadUI which uses…
Milen
  • 121
  • 1
  • 1
  • 3
12
votes
1 answer

How to check file exists in Groovy script

Workbook aWorkBook = Workbook.getWorkbook(new File("C:\\Users\\Response.xls")); WritableWorkbook workbook1 = Workbook.createWorkbook(new File("C:\\Users\\Responses.xls"), aWorkBook); I am doing DATA DRIVEN TESTING using Groovy script in SOAP…
mona
  • 151
  • 2
  • 2
  • 8
12
votes
1 answer

java.net.SocketTimeoutException: Read timed out in SoapUI

I am using jboss7 server, when I am creating the client for web-service, then facing issue, java.net.SocketTimeoutException: Read timed out. And I also tried with soap UI by increasing the Socket Timeout(ms). in proxy setting I have changed to none.…
12
votes
1 answer

How do I get readyapi (formerly soapui) to respect the values I specify in pom.xml?

My pom.xml looks like this
moorecats
  • 3,242
  • 3
  • 21
  • 23