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

how do I test an MTOM webservice with soapUI?

I've built a webservice that wraps Apache FOP. You send it XML, and it gives you an MTOM stream that contains the rendered PDF. Now that its working, I'd like to run some performance tests on it. soapUI says they support MTOM, and I use it for all…
nont
  • 9,322
  • 7
  • 62
  • 82
8
votes
2 answers

how to create a SOAP UI project and run requests to it in Java

I want to create a Java class that will do the following 1. load/create a SOAPUI project using a wsdl. 2. run requests to the operations in that wsdl. This is my SoapJavaTest.java file(though this is not complete, it is just registering a project in…
priti
  • 639
  • 3
  • 8
  • 25
8
votes
3 answers

Javascript in SoapUI

Javascript in SoapUI How to's? In SoapUI, you are allowed to write Groovy Scripts ! but since even javascript is also supported in SoapUI how can we write a javascript in SoapUI Is there a simple example which would explain this in much detail.Is…
Namita
  • 81
  • 1
  • 1
  • 2
8
votes
3 answers

WCF WebService with UserName Authentication test on SoapUI

I have WCF WebService with UserName Authentication and not able to test it with SoapUI. Here you have web.config:
cziz13
  • 81
  • 1
  • 1
  • 3
8
votes
4 answers

How to Use Query_Match for Soap UI

I am having trouble using the MockOperation Editor in Soap UI. I have got this request:
amaters
  • 2,266
  • 2
  • 24
  • 44
8
votes
6 answers

Getting JVM error after SOAP UI installation

I am trying to install SOAPUI tool. After the installation, when executed, I amm getting this error: The JVM could not be started. The maximum heap size (-XMx) might be too large or anti virus or firewall tool could block the execution When…
Piyush
  • 372
  • 3
  • 8
  • 19
7
votes
2 answers

SoapUI Maven plugin- executing multiple projects

I am working on converting an Ant execution of the SoapUI TestRunner to use the maven plugin and I cannot get a good answer on how to execute multiple projects using this plugin. I found a forum post from 2010 on the Smartbear forum and there are…
Steve Miskiewicz
  • 1,114
  • 1
  • 10
  • 23
7
votes
4 answers

What is wrong with XPath query in SOAP response

I need to create a xpath query that will return everything listed under availabilty element.
Nobody
  • 549
  • 1
  • 10
  • 24
7
votes
1 answer

How to get WS-Security certificate to be accepted by Java application

So I've been struggling with WS-Security for some time now, slowly making progress. First let me briefly describe my setup. I have Java application running in a tomcat, which offers a webservice endpoint (using Spring). I want incoming messages to…
VHristov
  • 1,059
  • 2
  • 13
  • 25
7
votes
5 answers

Store request/response files in local directory with Groovy teststep in soapUI

Through a groovy teststep in soapUI i want all request and response files to be stored in a local directory with system date. The groovy teststep in soapUI: def name = context.expand( '${Input#TG}' ) def locatie = context.expand(…
makhlo
  • 346
  • 1
  • 5
  • 16
7
votes
1 answer

soap ui generated code

I have a webservice I am trying to build a client for. I have the following wsdl: http://www.cmicdataservices.com/datacenter/service.asmx?wsdl It requires authentication. Looking at the WSDL description I see no method that takes an authentication…
grantk
  • 3,958
  • 4
  • 28
  • 37
7
votes
1 answer

How to do cross site scripting for Json in soap ui?

Below is my Json request. {"description":"${#TestCase#description}","assignedToName":null,"title":"${#TestCase#title}","priority":"2"} In this description and title are user input field. I am trying to do cross site scripting and SQL Injection for…
ChanGan
  • 4,254
  • 11
  • 74
  • 135
7
votes
0 answers

JAXB SOAP Client outbound message has empty soap body ()

I am using a mocked service in SOAP UI as my server side to get a response for a soap request I make from my Java web service client. My Java web service client forms a proper request but I get below response: 03-05-2016 00:03:00,562 |ERROR…
dev
  • 1,343
  • 2
  • 19
  • 40
7
votes
1 answer

How to set Project property value using Groovy?

I want to set property in Project level, with my groovy code I can set a property in TestCase level. How can do the same to set property in Project level Here is my code: import groovy.json.JsonSlurper responseContent =…
kirk douglas
  • 577
  • 5
  • 18
  • 35
7
votes
1 answer

Failed to read an adapted Java Bean property Soap ui

I have created the project in Soap UI 5.0.0. It is working fine on my machine.. But when some uses 4.5.1, not able to open the request. Is it due to the lower version? Can any one have the…
ChanGan
  • 4,254
  • 11
  • 74
  • 135