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

How to remove Custom Properties from a SoapUI TestCase using Groovy?

I have created some list of properties under the TestCase. For example look at the following screenshot. I tried to remove Testcase_Property property through the following groovy script teststep: testRunner.testCase.testSuite.removeProperty(…
Karunagara Pandi
  • 634
  • 7
  • 16
  • 27
7
votes
3 answers

SoapUI endpoint error randomly

I don't understand something about SoapUI and his mockservice's behaviour. I'm using the client of SoapUI (testcase) and a Java EE application with JAX-RPC. My problem is : when I'm trying to call any webservice, from my Java Client, or the testcase…
Emmanuel Gauthier
  • 531
  • 2
  • 4
  • 15
7
votes
1 answer

Pass a time object to soapui and get exception

I use SoapUI to mock a WCF service. There is an object. CallBeginTime = {2/22/2013 8:22:54 AM} Date: {2/22/2013 12:00:00 AM} Day: 22 DayOfWeek: Friday DayOfYear: 53 Hour: 8 Kind: Unspecified Millisecond: 0 Minute: 22 Month: 2 Second: 54 Ticks:…
user1108948
7
votes
0 answers

How to control the log level in soapUI testrunner?

I am using the testrunner.bat to run soapUI tests. It's all good except that the its the log level is DEBUG and my test runs are too verbose. Please can someone guide me how to set the log level?
rahul
  • 249
  • 2
  • 6
7
votes
1 answer

How can I add parameters to the url as part of the path in a SOAP UI REST request?

I'm creating a test case for a REST API in soapUI 4.5 where I'm going to use the content from step X to make a new call in step Y. Ideally I'd create the REST request with some parameters, say A and B, and say that these parameters should be used in…
snaits
  • 330
  • 1
  • 3
  • 9
7
votes
3 answers

Error importing jar in groovy script (soapui)

I have a problem with running java code from groovy script (groovy script is a part of SoapUI test suite) i create simple script: import myjar.jar new TopClass().sayHello() the code of TopClass: public class TopClass { public void sayHello (){ …
Oleksandr Martynov
  • 320
  • 2
  • 5
  • 19
6
votes
1 answer

Capturing response to a soapUI test run

I am using soapUI's testrunner.bat to to perform a test from the command line. I would like to examine the response to the web service call. This is easily accomplished from the UI, but I haven't seen an option that will dump the response to…
laconicdev
  • 6,360
  • 11
  • 63
  • 89
6
votes
7 answers

Creating JDBC Connection in SOAPUI

I am new to SOAPUI and have been trying to do query and procedure testing using SOAPUI. I went through the SOAPUI documentation on net however I am not able to establish an connection to my DB.. I have copied the mysql jar in the lib folder of…
AngelsandDemons
  • 2,823
  • 13
  • 47
  • 70
6
votes
5 answers

SoapUI 5.7 & 5.6 MacOS Installer and multiple libprism warnings: "will damage your computer"

Using Apple M1 13.4.1 I do got since today multiple warning that "libprism_es2.dylib" will damage your computer. You should move it to the Trash. whenever I run the SoapUI-5.7.0.app.
Splioo
  • 370
  • 3
  • 11
6
votes
4 answers

Unable to Serialize A Multi-Dimensional Array From PHP to XML

I am testing this webservice by sending a SOAP request through SoapUi. I currently have this PHP array: array(7) { ["name"]=> string(9) "John Doe" ["date"]=> string(23) "2021-11-30 00:00:00.000" ["job"]=> string(31) "developer" …
user12532474
6
votes
2 answers

SOAPUI and Node.JS/Request- AccessException

I am trying to build a shipment tracking tool using the Estes Shipment Tracking Web Services which use SOAP. I talked with their web support, and they are able to create a working request using SOAPUI that receives a valid response using my…
Shane Sepac
  • 806
  • 10
  • 20
6
votes
2 answers

WSSE - Sign an element inside soapenv:Header

I want to add wsse:security to my soap message. This is my code: public Document signSoapMessage(SOAPMessage message) { try { Document doc = message.getSOAPBody().getOwnerDocument(); Crypto crypto =…
Maciej Pulikowski
  • 2,457
  • 3
  • 15
  • 34
6
votes
5 answers

GraphQL API - any automation tool for testing it?

I want to test a GraphQL API. For now, I'm using GraphiQL, but I'm looking for any automated tool... It seems that SOAPUI does not support GraphQL testing. Any ideas? Thanks.
Eden G.
  • 105
  • 1
  • 1
  • 4
6
votes
2 answers

SOAP request with mtom attachment: No attachment for id found in [attachment]

I try to connect to a SOAP web service using SoapUI (5.3.0). Additionally an mtom attachment should be send along. But it seems that there is some problem sending the attachment - I always get the following error message as a response: No…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
6
votes
1 answer

SoapUI Pro Groovy! ERROR:BUG! exception in phase 'semantic analysis' in source The lookup for class name caused a failed compilaton

ReadyAPI 'semantic analysis' error. I have stored my script libraries in bin folder and I am calling the getBuildingInfo method from the groovy test script of ReadyAPI. Most of the time this method works fine but once in a while I get this error. I…
ktmrocks
  • 361
  • 1
  • 5
  • 18