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

Read and write a file in groovy

I'm new to groovy and SOAP UI free. I'm using a groovy script to drive my test for SOAP UI. I want to write a script that reads a file of person IDs, removes the first one, sets a property, writes the file back out without the one I just…
Thom
  • 14,013
  • 25
  • 105
  • 185
6
votes
2 answers

How to add child elements dynamically to SOAP request in SOAPUI using groovy script

I have a request which accepts 1..n items to add to basket. default request has one "item" element with some child elements, i want to add N no of items with child element i'm able to add Item parent element using creaeElementNS now i want to add…
6
votes
3 answers

ClientProtocolException when trying to submit request to a SOAP WsdlRequest by setting username and password via Java

My purpose is to create a Soap UI project with a given wsdl URL, save it and send requests all via Java methods. I a getting org.apache.http.client.ClientProtocolException..... Caused by: org.apache.http.ProtocolException: Content-Length header…
priti
  • 639
  • 3
  • 8
  • 25
6
votes
2 answers

How to use Global Property name in my JSON input request using SoapUI?

I have a SoapUI project which contains around 60 plus services. Each service requires some input which will be changed for every execution. So I have created certain Global Properties and assign some values to that properties. I have to use these…
Karunagara Pandi
  • 634
  • 7
  • 16
  • 27
6
votes
1 answer

SoapUI doesn't send out query string after "Post QueryString" is checked

I tried to test RESTful web service by posting query parameters, however, after I checked "Post QueryString" check box, no parameters were send out with request Can someone please tell me what is wrong? BTW, I am using version 4.5.1 Thanks a lot
kevin
  • 159
  • 3
  • 9
6
votes
3 answers

SoapUI vs Java Web Service Client

If a SOAP web service is working well via SoapUI (producing the correct SOAP responses), while building a web service client in Java using different APIs/frameworks to call this web service is facing different issues, is it safe to consider this web…
Aziz Alfoudari
  • 5,193
  • 7
  • 37
  • 53
6
votes
6 answers

How can i start all mock services when SoapUI starts?

Are there any command line parameters, or other ways, so that all the mock services start up when soap ui is started?
6
votes
5 answers

How to define a global class in SoapUI as a groovy script?

I want to define a class in a groovy script that i could reuse trough other groovy script inside SoapUI. I alredy tried to define my class inside a TestSuite property but it doesn't work. I would like to avoid defining the class in a JAR because we…
Gab
  • 5,604
  • 6
  • 36
  • 52
6
votes
2 answers

WCF wsHttpBinding in SoapUI

I am trying to add WCF service with wsHttpBinding to soapUI. I am using message security and it works with test client but SoapUI returns An error occurred when verifying security for the message Here is service configuration:
jlp
  • 9,800
  • 16
  • 53
  • 74
5
votes
2 answers

Attaching file in SoapUI with groovy

I'm creating some tests in SoapUI. SOAP request, that i want to test has attachment. When I'm setting it manualy, everything is ok: But in my case, i need to set attachment dynamically. I'm trying to made it by properties to hold file path, and…
Thaven
  • 1,857
  • 3
  • 19
  • 35
5
votes
2 answers

how to save response when saving a SoapUI project

I am using SoapUI 2.5.1 - evaluation version In a testcase, how to save the response messages along with requests in a SoapUI project ? Here is what is happening currently: When I create a Web service SoapUI project and send SOAP request for an…
akjain
  • 1,787
  • 3
  • 20
  • 35
5
votes
1 answer

Groovy iterate Nodes with XMLHolder

i want to Iterate over Nodes of an XML-File with the XML-Holder. def reader = groovyUtils.getXmlHolder(test1 ); let's say the XML looks like the following:
john
  • 81
  • 2
  • 2
  • 5
5
votes
1 answer

SoapUI jetty thread still hanging after MockService stopped [SoapUI API]

I'm using SoapUI 4.0 and i'm starting my mockservices via SoapUI API : public static void startMockServices(String soapuiProject) throws Exception { WsdlProject proj = new WsdlProject(soapuiProject); List mockList =…
5
votes
3 answers

How to change the used java version of SoapUI?

I have multiple Java versions installed. I switch versions when needed. If I use Java 8 as default, SoapUI will use it. A Popup with with this error will show then : java.lang.UnsupportedClassVersionError: com/eviware/soapui/SoapUI has been compiled…
Belkasmi
  • 451
  • 5
  • 11
5
votes
1 answer

soapUI - issue with wsdl that includes xsd

I have a static wsdl that includes an xsd. The xsd and wsdl are in the same XML namespace hence the xsd include.
Dave
  • 231
  • 2
  • 6
  • 8