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
1
vote
1 answer

Read SOAP UI Mock service properties

I am trying to read a property of a mock service in the Script Dispatcher But I get always error No such property [..] Reading the documentation and here Do you know how I can archive that? Thanks
Manuel Spigolon
  • 11,003
  • 5
  • 50
  • 73
1
vote
1 answer

How to set default value in request xml of SOAPUI other than '?'

When I load an WSDL file, the values for elements is by default appeared as follows: ? ? ? Don't want this ? want to set another…
user3363047
  • 41
  • 2
  • 11
1
vote
1 answer

SoapUI Auth Header with special characters

I am using SoapUI and encountered that if I add umlauts into the password, it does not work as expected. Here is an example: Lets assume as username "täst" and as password "!23Öüok". SoapUI will create the following Base64 encoded String: …
kukudas
  • 4,834
  • 5
  • 44
  • 65
1
vote
1 answer

How to remove custome properties from SOAPUI test case using java?

I have some custom properties for all the test cases in SoapUI. I am able to delete using Groovy script step as described in below question: How to remove Custom Properties from a SoapUI TestCase using Groovy? testRunner.testCase.removeProperty(…
HemaSundar
  • 1,263
  • 3
  • 17
  • 28
1
vote
2 answers

How do I get "keys" from an unkown .json saved in my computer using groovy

My end goal is to parse thru an unknown .json file stored on my laptop and get the key names (not the values only key names) using Groovy in SoapUI. I want to parse an unknown JSON file stored in my computer and get its keys (name of the keys, not…
Jigs
  • 21
  • 4
1
vote
3 answers

How to post json document into bucket using N1QL REST API in Couchbase

I am trying create document in an existing bucket in CouchBase using N1QL query. I am using soapUI to send request to localhost CouchBase server. I used this link to gain…
1
vote
1 answer

Web service returns an error creating context 'Spring.root' before to being installed

I have a web service that works fine when I run locally, I already installed the service in a server for some test and it works, but when I installed it in other server, all request trow the next error:
Jmperez
  • 47
  • 11
1
vote
2 answers

Excluding testcases from testsuite properties in Soapui

I want to disable certain test cases based on the value of some test suite properties (i.e if the property IsActive1 = false, then testcase1 will be disabled). I used this code at test suite setup script but got an error: def testSuite =…
M.Gawad
  • 65
  • 1
  • 2
  • 9
1
vote
0 answers

How to get SoapUI API into IBM Bluemix

I'm trying to push an API that I created in SoapUI into Bluemix using the cloud foundary console. I first created a war file as per this blog: http://alleyfield.com/?p=51 I've managed to get the API into Bluemix, but the results aren't pleasing. In…
Richard Ball
  • 540
  • 5
  • 14
1
vote
1 answer

Java- SOAP Web service over Https

I am very new in SOAP with https .One of my projects requires making a SOAP call to access a web service over HTTPS. the service provider only gave us three file .jks, .p12. and one code sample. .txt file my first question is it possible to call…
danish dani
  • 603
  • 2
  • 8
  • 16
1
vote
1 answer

messageExchange object not available on JDBC Teststep assertion but available on SOAP Request assertions

My motive is to assert the response from a JDBC call with an XML document which I have stored in 'Properties' test step. I need to validate some values. I am trying to use Script type assertions for the JDBC Test step in SoapUI 5.2.1. I have…
chepaiytrath
  • 678
  • 1
  • 9
  • 20
1
vote
1 answer

SoapUI how to hide password from request body

In SoapUI (I am using 5.2.1) one of requests is login. I have to pass username and password as element values in xml. Is there a way to hide my password from being displayed as plain text in request body?
Vladyslav K
  • 2,178
  • 3
  • 19
  • 25
1
vote
1 answer

SoapUI Groovy: Check if test step is a soap request

Is there a way to check if a certain test step is a soap request? Currently I have a Groovy Script at the end of the test case and looping through all the test steps to record the requests and responses. I would like to ignore steps that aren't…
chiangy77
  • 163
  • 1
  • 5
  • 14
1
vote
0 answers

ERROR loading WSDL into SOAPUI when testing the web service created by Anypoint(mule)

I am completely new to AnyPoint Platform, and wanted to give it a shoot by running the "howto-wrapping a SOAP web service over a data base" I strictly followed the instructions and successfully got the APP deployed in AnyPoint. However,when I…
wu cellin
  • 11
  • 1
1
vote
1 answer

Setting SOAP request Node value at runtime using XmlHolder in Java 1.8

I am working on an automation script that uses SoapUI api classes to read a wsdl and execute it after dynamically filling data from a excel file. I am using XmlHolder class to get or set Soap request Node values but I am facing issues in accessing…
Rupendra
  • 608
  • 2
  • 11
  • 42