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

Caused by: org.apache.wss4j.common.ext.WSSecurityException: BSP:R5424: Any ENC_KEY_INFO MUST have exactly one child element

This is my WS-Security configuration with SoapUI Server Keystore - contains server's private key + server's public key + Client's public key Client Keystore - contains client's private key + client's public key + server's public key 2.WS-Security…
Joseph Hwang
  • 1,337
  • 3
  • 38
  • 67
1
vote
3 answers

Create request with SOAP ui

Is it possible to create soap ui request with data ? right now I know how to create new request which gives you template what you should send to your webservice (which is read from you wsdl), is there a way so your requests fills with data based on…
London
  • 14,986
  • 35
  • 106
  • 147
1
vote
1 answer

How to get array number with groovy script in SoapUI?

I want to assert the value of a property in Json response with the use of Groovy script in SoapUI. I know a value for name but I need to know on which position the id is. json response example: { "names":[ { "id":1, …
tras
  • 41
  • 1
  • 5
1
vote
1 answer

How to execute a groovy script within another groovy in SoapUI

I have a groovy script say test.groovy. It has all the instruction to be executed and is stored at a location. I am creating a SOAP test where I have a groovy step and I want to write in it the code to execute the above script test.groovy. How can…
smiles
  • 221
  • 1
  • 4
  • 19
1
vote
1 answer

How to pass Map between testCases using properties

I want to do the following in SOAPUI using Groovy: In a TestCase1 select values (Lastname, firstname) from database, and create a Map with dynamic values: def Map = [Login :"$Login", Nom: "$Nom"] I need my map to be transferred to another TestCase,…
scoopy
  • 43
  • 5
1
vote
1 answer

Reading hive data from soapUI framework

I am new to SoapUI framework. I am trying to use soapUI framework for testing REST API. While testing for REST API, I need to verify data from backend database as well like Hive and Cassandra. I could do the setup for SoapUI and could test a query…
pritid
  • 11
  • 1
1
vote
1 answer

Reading RawRequest JSON parameter value in SoapUI changes its value

I'm trying to transfer parameter from RawRequest using SoapUI but when reading it, value changes. The parameter is request ID (which is unique for every test), it is requested by every test case from Custom Properties, where it is stored as…
QB1979
  • 123
  • 1
  • 8
1
vote
0 answers

How to consume a RESTful service (GET) which downloads a file using SOAP UI

I have a REST service exposed like this. Note:Please observe the headers too. @GET @Path("/{id}/content") @Produces({ MediaType.APPLICATION_OCTET_STREAM }) public Response getDocumentContentById(@PathParam("id") String id) { ResponseBuilder…
Siva R
  • 427
  • 2
  • 8
  • 23
1
vote
1 answer

SOAPUI Groovy UI Support mapping with arrays

I am attempting to return the key of an array without the value appended to it in the UI prompt. However, using that I have at the moment I get both the Key and Value. When using log.info the console just shows the key which is what I want.…
user610
  • 353
  • 2
  • 18
1
vote
1 answer

2 way ssl web service testing

I wanted to call ssl web service. I have server certificate that i installed in trusted store. I am using SOAP UI tool and soap sonar to call ssl web service i am using with htts call to the service. Looks like certificate is not going through the…
Prashant
  • 710
  • 3
  • 7
  • 29
1
vote
1 answer

Mock SOAP service works in SoapUI but not with Spring Integration

I set up a mock SOAP service in SoapUI following the guide here. When executing the CurrencyConvertorSoap12 Request 1 within SoapUI, I get the appropriate response:
badjr
  • 2,166
  • 3
  • 20
  • 31
1
vote
1 answer

SOAPUI ability to switch between database connections for test suite

A bit of background: I have an extensive amount of SOAPUI test cases which test web services as well as database transactions. This worked fine when there were one or two different environments as i would just clone the original test suite, update…
user610
  • 353
  • 2
  • 18
1
vote
0 answers

Request with namespace not accepted by SOAPUI mockservice

Could someone help in ignoring the wsdl validation while receiving in SOAPUI. Actually I have two method of same request Method 1:Generated out of SOAPUI using WSDL --------
jag m
  • 13
  • 5
1
vote
1 answer

SOAP Response encoding issue

I have a soap client which call a SOAP WS method. Issue is, when I receive data in JAVA using below code, java parses SOAPMessage using some default encoding. As a result when I print WS response I see some garbage characters. SOAPConnectionFactory…
John
  • 371
  • 3
  • 11
1
vote
2 answers

How to create a SoapUI project with client certificate authentication

I have X509 certificate implementation in one of my projects and i want to use Client certificate while consuming it from SoapUI. I got some solution here but it applies the same certificate for all the invocations from SoapUI. what if I have…
Pruthvi007
  • 52
  • 1
  • 1
  • 6
1 2 3
99
100