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

Continue after failed assertion

Once an assertion fails( typically API response ), the remaining test steps in a test case do not get executed. How do I get SoapUI to continue on and complete the rest of the test steps? I am also looking for a way to retry that step again with the…
Sunilkumar V
  • 912
  • 2
  • 8
  • 28
19
votes
3 answers

How to post values in SOAPUI in rest

I am analyzing SoapUI for Rest services and cant get my head around on how to post values in a request. There are options available to send the values in a querystring or header (query/template/header/matrix/plain) but I am not sure if any of these…
man_luck
  • 1,605
  • 2
  • 20
  • 39
19
votes
3 answers

Tool for testing RESTful Web services

I am trying to evaluate the right tool to test RESTful Web services and eventually automate the same for our project. Wondering, what are the specifications I need to look for such test, when i compare various tools on internet. Definitely, one of…
user2640248
  • 393
  • 1
  • 4
  • 14
18
votes
1 answer

SOAPUI Certificate authentication

I am trying to hit a remote web service and check if the service is working. To hit the service I am using SOAPUI client. The first time I tried, I got a 403/Forbidden response. The team developing the remote service provided me with a digital…
17
votes
2 answers

WADL Generation Tool

Is there a tool which takes a Java File what describes a REST service as a parameter and generates a wadl file out of that.
Sven Malvik
  • 765
  • 2
  • 8
  • 18
17
votes
2 answers

Import swagger definition to SoapUI community edition?

I'm playing around with SoapUI (the free/open source edition) to see if it could be useful at work for the kind of extensive API testing we often do because right now we do most of our testing right on the swagger-ui page in each server/app and some…
Laucien
  • 511
  • 2
  • 5
  • 17
17
votes
2 answers

Passing Array Elements for Savon 2 (SOAP)

I'm trying to write code in Ruby with the Savon gem (v2) that fetches account information from a SOAP api, but I'm having an issue with passing an Array. CampaignIds is supposed to be an array of integers. Here is my code: client =…
Sam Lehman
  • 343
  • 3
  • 8
17
votes
4 answers

Pass Null Value in DateTime Field in soap ui

I Want to Pass null value from Soap UI for Datetime Field one option is that i should delete the tag . There is any other way where i can pass null or some other value in date field.
Dilip
  • 697
  • 6
  • 16
  • 35
17
votes
2 answers

soapUI changes (disables) proxy settings of Internet Explorer

installed soapUI 4.5.1. When i start soapUI it disabled all checkoxes in IE 8 Internet Options > Connection > LAN Settings. If i enter a proxy in soapUI > File Preferences > Proxy Settings, then soapUI overwrites the configuration in IE with this…
jimmybondy
  • 2,092
  • 3
  • 21
  • 33
16
votes
2 answers

Sending cookie as request header in SOAP UI request for rest web service

I am testing a Rest API using SOAP UI tool. First, I hit another API which gave me the jSessionid and then in my actual request I added a parameter to the request header by the name "Cookie" and provide it the above extracted jsessionid value.…
Anand
  • 20,708
  • 48
  • 131
  • 198
15
votes
6 answers

Soap UI: ERROR:java.net.SocketException: Connection reset

I am getting ERROR: java.net.SocketException: Connection reset. I have followed the below link to resolve the issue. But no luck.. SOAPUI Certificate…
ChanGan
  • 4,254
  • 11
  • 74
  • 135
15
votes
3 answers

How to create datetime string in soapui using groovy

Hi I am using SoapUI for testing web services. I need to create a customer record with email address and password. Create customer record service contains emailid and password, when I click the run(submit request) button in create customer record in…
Arunkumar
  • 159
  • 1
  • 1
  • 4
15
votes
5 answers

Content length already present error soapUI 4.5.1

I've recently started using soapUI 4.5.1 and I'm still not familiar with all the settings. I've set up a few web requests and all but one are working correctly. I'm trying to send content of type application/xml but I'm getting:…
idunno
  • 713
  • 3
  • 10
  • 25
14
votes
3 answers

SoapUI Groovy API documentation

I'm using Groovy scripts as part of our SoapUI automation efforts. I tried looking in SoapUI's website for documentation on their object model and how Groovy can be used properly within the testRunner context, but I was unable to find anything…
RonK
  • 9,472
  • 8
  • 51
  • 87
14
votes
4 answers

How set timeout for one test step in soapui?

I have create a test step in soapui. I need to set a long delay like 5 minutes for it. I mean that there is no delay between test steps, I have to wait a response only for one step. How can I do it?
Cherry
  • 31,309
  • 66
  • 224
  • 364