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
0 answers

setting soap request properties from T-sql

Below is the code I am using to connect to my api server. All works fine for other calls, but when it comes to uploading images, it's not working. If I copy the code into SoapUI and run from there, it does work but in SoapUI I have to change the…
4
votes
3 answers

soapUI access MS SQL DB from groovy script

I am trying to connect to MS Sql 2005 DB from SoapUI using Groovy script. import groovy.sql.Sql sql = Sql.newInstance("jdbc:jtds:sqlserver://servername\\inst1/databaseName", "username", "password",…
kumar
  • 8,207
  • 20
  • 85
  • 176
4
votes
1 answer

Generate random 16 digit HEX number using Groovy script

I am trying to Generate 16 digit random HEX number. import org.apache.commons.lang.RandomStringUtils; def randomhex = RandomStringUtils.randomNumeric(16); log.info randomhex def result = Integer.toHexString(randomhex); log.info result Expected :…
rAJ
  • 1,295
  • 5
  • 31
  • 66
4
votes
1 answer

Soap UI vs Curl Response tIme Difference

I have hosted a soap service built using spring in one of our data centers. When I test via SOAP UI , I get the response in 1 second or less. However when I run the same request via CURL , it takes more than 30 seconds to execute. I am running both…
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315
4
votes
1 answer

groovy with regular expression

I try to learn groovy in SoapUI and now I have a problem with a regular expression in groovy. I try build a regular expression in groovy to parse this…
Michael
  • 81
  • 1
  • 4
4
votes
1 answer

.net 2.0 wsdl.exe directory must be set in global preferences

I have a SOAP UI project and I am trying to convert its WSDL to .NET so that I can use it in my visual studio application. When I tried using the option, Generate Code - > .NET 2.0 artifacts I get the above error. can someone tell me how to resolve…
Prasadika
  • 897
  • 2
  • 20
  • 36
4
votes
2 answers

SOAPUI: timeStamp using groovy script

I have a requirement to parameter the time stamp in my SOAP Request. I'm planning to write groovy test step for the same. Could you please help on the same. 2017-10-11T01:51:08.410-05:00
VISHVAMBRUTH J T
  • 602
  • 4
  • 14
  • 29
4
votes
3 answers

How to trim (space) the variables in the the assertion section in SoapUI?

How to trim (leading and trailing spaces) the variables in the the assertion section of SoapUI/ReadyAPI ? Ex: Input String : "Failure " Output String : "Failure" Ready API Assertion Popup
Arbind Singh
  • 153
  • 1
  • 2
  • 12
4
votes
1 answer

SOAPUI: Found nothing to import in [file ...\test.wsdl]

Could anyone tell me how I fix this XSD and WSDL: XSD:
Milky
  • 143
  • 4
  • 15
4
votes
2 answers

Parallel Execution of requests in SoapUI

I have two request that I want to send simultaneously to an endpoint to see how it responds. For that reason, I created a test suite that have a test case, in which the two requests are added. From that test, I can run the requests sequentially,…
aName
  • 2,751
  • 3
  • 32
  • 61
4
votes
1 answer

Convert milliseconds to yyyy-MM-dd date-time format in Groovy

I am trying to convert milliseconds (e.g : 1503478800000) to yyyy-MM-ddTHH:mm:ss.SSS'Z' (e.g : 2017-08-23T09:00:000Z) date-time format. Milliseconds value stored in the Soapui Global variable. def testCase = messageExchange.modelItem.testCase; def…
rAJ
  • 1,295
  • 5
  • 31
  • 66
4
votes
2 answers

how to append to an array in groovy

I'm having a little issue with arrays in groovy. I am performing a data driven test where I am using a CSV and I am iterating through groovy script steps. What I am trying to do is for each iteration of my soap request, i should receive two flight…
Grigor123
  • 43
  • 1
  • 1
  • 3
4
votes
1 answer

WARN:Authentication error: ntlm authorization challenge expected, but not found in Soap UI

I am trying to access WCF Webservice using Windows Authentication in Soap UI. I am getting 401 unauthorized. Following are the set up I done. In Request Authorization Tab, I have given as NTLM I have given username, password and Domain. As well…
ChanGan
  • 4,254
  • 11
  • 74
  • 135
4
votes
1 answer

Does SoapUI support PKI/certificate authentication?

Does SoapUI support PKI authentication? I currently have version SoapUI 5.0.0 available to me. If so then... What versions support it? Are any of the versions free? How do I configure the tool to use PKI? If anyone can, please assist with details…
edjm
  • 4,830
  • 7
  • 36
  • 65
4
votes
0 answers

How to run load test for the REST SERVICE in soapui

I have list of testcases in my testuites for my application. Out of which I need to run load test for the app. Example of my first testcase is Steps: 1. Login as admin 1a. Extract session from response in step 1 2. Data source for list of users…
ChanGan
  • 4,254
  • 11
  • 74
  • 135