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

WCF: is there an attribute to make parameters in the OperationContract required?

I use [DataMember(IsRequired=true)] to make the DataContract properties required. There doesn't seem to be some IsRequired for the OperationContract parameters. How do I make them required and not allow null? The parameter in of OperationContract…
Dieko
  • 101
  • 1
  • 5
8
votes
1 answer

SoapUI Mock integrated in Maven test

I was wondering how to perform some integration tests for a WSClient. My project is built with maven. In order to test the configuration initialization and some requests I thought it was a good idea to start a SoapUI Mock service. Then I got into…
Ruben Romero
  • 611
  • 8
  • 15
8
votes
1 answer

SharePoint 2010: consuming web services from NetSuite - 403 Forbidden error

My company is working on a new SharePoint site, which will use Forms Based Authentication to allow our customers to log into the site for subscriber specific content (downloads, license info, etc). All these customers are located within our CRM,…
QMKevin
  • 1,101
  • 3
  • 13
  • 26
8
votes
1 answer

SOAP

I am having an issue with the SOAP , when I call my services I get this error: Fault occurred while processing. The following response is returned which doesn't give a clue where and why the error happens. How can I…
Talha Bin Shakir
  • 2,563
  • 10
  • 38
  • 54
8
votes
3 answers

SoapUI 5.4.0 works extremely slow on macOS High

I'm using SoapUI 5.4.0 in my MacBook Pro with macOS High Sierra (10.13.3). The application works very slow (especially the graphics) and sometimes it hang on and I need to force restart. Can someone help me?
Jose A. Matarán
  • 1,044
  • 3
  • 13
  • 33
8
votes
2 answers

SoapUI becomes unresponsive after starting on Mac OS X

Mac OS version: Sierra, 10.12.3 SoapUI version: 5.3.0 Steps to reproduce: Launch SoapUI Wait a few seconds The mouse cursor turns into a colourwheel Activity monitor shows the SoapUI process as not responding: need to kill the process to quit the…
Marcello Romani
  • 2,967
  • 31
  • 40
8
votes
1 answer

SoapUI REST webservice mock with path parameters

I am trying to create a mock webservice for a POST method on SoapUI. I made a REST Project, then created a MockService, a MockAction and defined a couple responses and resource paths. It works fine if I define a fixed regular path relative to my…
Eduardo Z.
  • 633
  • 3
  • 10
  • 32
8
votes
3 answers

Is there a way I can run all my SoapUI test suites at once, if they are under different projects?

On my SoapUI Workspace, I have several Projects. Each one of these may contain one or more test suites, with several test cases It is quite time consuming to expand each project, then open up the test suite, run it, open up the next etc. I do this…
Jimmy
  • 16,123
  • 39
  • 133
  • 213
8
votes
1 answer

Accessing file resources in SoapUI Mock Service Deployed in tomcat

Problem in short : Accessing local file in SCRIPT Dispatcher with respect to project path i.e., def file = new File(groovyUtils.projectPath+"/${responseFileName}.xml"). This is working fine when the test is run from SoapUI as Mock Service. But…
Rao
  • 20,781
  • 11
  • 57
  • 77
8
votes
5 answers

Access the request XML in a SOAP UI mock response script

I have a mock response, which needs to return a value that was in the request. For example, this request can come in: 123 I already have a…
Jonathan
  • 191
  • 2
  • 3
  • 8
8
votes
1 answer

How to set character encoding in SOAP request

I am calling a SAP SOAP Service from a web servlet in Java. For some reason SAP is giving me an error every time I use special characters in the fields of my request such as 'è' or 'à'. The WSDL of the SOAP Service is defined in UTF-8 and I have set…
raz3r
  • 3,071
  • 8
  • 44
  • 66
8
votes
2 answers

How to test a REST service that uses JWT in SoapUI?

I'm implementing some REST services. All my tests are made using SoapUI. Recently I decided to adopt JSON Web Token (JWT) for authentication but I could not find any support for this on SoapUI (native install or plugins, nothing). I found some…
Marim
  • 93
  • 1
  • 1
  • 7
8
votes
4 answers

SOAPUI: Validate response against xsd schema file

How can I validate a SOAP response against an XSD file that defines the response schema. the web service I'm calling has an XMLDocument as input and output, so can't use WSDL for response schema validation.
usman shaheen
  • 3,636
  • 4
  • 30
  • 36
8
votes
0 answers

Not introducing CDATA with just one value

My Wrapper class is this: @XmlRootElement(name = "GETA") public class EfGetAResponseWrapperXmlObject { private String something; @XmlElement(name = "result") public String getSomething() { return something; } public…
Goldbones
  • 1,407
  • 3
  • 21
  • 55
8
votes
1 answer

How set get request with json body from soapui?

It is legal (in some cases) to send get request with json data contained in the body. But soapui hides "body" subwindow where I can paste json string so only key-value pairs menu is available. Is there any workaround to send get request with body in…
Cherry
  • 31,309
  • 66
  • 224
  • 364