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
4
votes
1 answer

Create a mongo connection and make it alive for execution of an Entire Test Suite in Ready!API

If you want to make an gmongo connection alive for an entire test suite and then close it in a tear down operation after the entire test suite is executed then, How could we do that? Currently what am I doing is, I am creating an connection for an…
subby
  • 71
  • 6
4
votes
2 answers

Content-Type application/soap+msbin1 in SOAP UI / SOAP UI PRO

I have a WCF service and I am attempting to use it with SOAP UI PRO. On the first execution I got the following response: HTTP/1.1 415 Cannot process the message because the content type 'application/soap+xml;charset=UTF-8;' was not the expected…
4
votes
1 answer

org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Reference to undefined entity: trade

I am trying to use SoapUI 5.3.0 for the first time. Here is what I have done: Created a default WCF Project and published it to IIS. Ensure that I can reach the WSDL here: http://MyComputer/WCFTest/Service1.svc?wsdl Open Soap UI and select…
w0051977
  • 15,099
  • 32
  • 152
  • 329
4
votes
1 answer

Testing a secured webservivce in SOAP UI

I am using AXIS2 framework for my webservices creating. Now I am secured my webservices using ramprt. Now entire requests and response will be signed and encrypted. Now my doubt is how can i test it in SOAP UI. when I am loading wsdl file it giving…
Narendra
  • 5,635
  • 10
  • 42
  • 54
4
votes
1 answer

How to retreive endpoint of a service

i want to add my project's endpoint in the project tear down script. What is the syntax in order to get the endpoint for all requests and test requests as the user will assign their endpoint via all requests and test requests before running the…
BruceyBandit
  • 3,978
  • 19
  • 72
  • 144
4
votes
1 answer

How will I load wsdl in soap UI with xsd extensions?

I have a wsdl with xsd extensions. If I load the wsdl in soap UI, I am not able to view my extensions. Is it possible to load a wsdl with its xsd extensions? Thanks, Priya.
priya
  • 950
  • 1
  • 10
  • 15
4
votes
0 answers

Error when importing wsdl to SoapUI

I am getting the following error when trying to load the WSDL into SoapUI: WSDLException (at /wsdl:definitions/wsdl:porttype): faultCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}porttype' in the…
Comforse
  • 2,027
  • 4
  • 25
  • 40
4
votes
2 answers

SoapUI Free Edition - Can we execute the tests via command prompt and take advantage of test reports?

I am trying to run the SoapUI project.xml using windows command prompt w/ and w/o options to generate the test report but getting below access denied error. Does test runner execution works for free edition? Or is this related to admin access on…
bodhi
  • 203
  • 3
  • 14
4
votes
2 answers

Connecting to MySQL using Groovy

I'm trying to connect to a MySQL database using the below Groovy code on MAC OS 10.10.5 Yosemite import groovy.sql.Sql try{ def dbURL = 'jdbc:mysql://localhost:3306/sakila' def dbUserName = 'root' def dbPassword = 'Orange@27' def…
Srinivasan Ramu
  • 1,033
  • 4
  • 11
  • 23
4
votes
0 answers

An error was discovered processing the header in SoapUI

I try to intercept encrypted soap message in wildfly 10 with soapUI. Deployment is successful. First below pics are outgoing ws-security configuration which includes signature and encryption. * Signature Keystore - client keystore Alias - alias of…
Joseph Hwang
  • 1,337
  • 3
  • 38
  • 67
4
votes
2 answers

Is there an advantage in using SOAP UI over REST-assured to automate REST Services for CI

I have to automate REST API testing in my project and integrate it in to existing CI in jenkins. I am about to start coding using REST-assured.However I happened to see SOAP UI REST tutorial and understand that there is a maven plugin in SOAP UI to…
QVSJ
  • 1,165
  • 2
  • 12
  • 22
4
votes
4 answers

How to use API documentation

People generally say they use API documentation and code. I'm relatively okay in JAVA language,meaning I can write simple programs. Recently for the project am working on, I'm asked to work on SOAPUI tool and am reading SOAPUI API for writing code…
karthi
  • 1,405
  • 2
  • 14
  • 13
4
votes
0 answers

C# Send a SOAP Message signed with an X.509 certificate

I am trying to message a SOAP service that requires a X.509 certificate. In Soap UI I set the certificate path and password in SSL settings, enter the envelope in request window, hit Submit and get the result. In C# it gets complicated, mostly…
Valdas
  • 368
  • 4
  • 14
4
votes
2 answers

Removing special characters from a string In a Groovy Script

I am looking to remove special characters from a string using groovy, i'm nearly there but it is removing the white spaces that are already in place which I want to keep. I only want to remove the special characters (and not leave a whitespace). I…
csman
  • 81
  • 1
  • 2
  • 9
4
votes
4 answers

How to comment strings of code in SOAP UI editor?

How to comment out strings of code in SOAP UI editor using shortkeys? I have SOAP UI 5.2.1.
Bilow Yuriy
  • 1,239
  • 3
  • 13
  • 20