Hot answers tagged

7 votes

Difference between SoapUI and Fiddler testing tools?

The answer is similar to real world examples, both Motor Cycle (2 wheeler) and Car (4 wheeler) provides approximately same speed and can carry a person from one place to another, so why two (or in ...
Dhiman's user avatar
  • 4,580
7 votes

How do you perform API Testing? I had an interview question

In general your answers were valid. But to create a better impression you could communicate the points which show you have deeper understanding of APIs and API testing. You can mention about web ...
TestingWithArif's user avatar
6 votes
Accepted

How do you perform API Testing? I had an interview question

Well, an API is such a loaded term. It can be REST, SOAP, RMI, or native C++ library API, etc., so the tooling will depend on that. Particular test scenarios will depend on that as well. For instance, ...
dzieciou's user avatar
  • 10.5k
5 votes

SoapUI vs Jmeter for webservices

Both fit your requirements so feel free to choose the one you like more. The only area where JMeter is better is running load tests, SoapUI has limited load testing capabilities and reporting (you ...
Dmitri T's user avatar
  • 13.4k
5 votes

What reasons would companies have to use web testing (Selenium) and API testing (SoapUI) for the same functionality?

Yes, this is typically done in a commercial context, but it does not need to be exactly as described. As you already noticed, developers should write unit tests. Those tests as you probably know only ...
Renzeee's user avatar
  • 335
4 votes

What reasons would companies have to use web testing (Selenium) and API testing (SoapUI) for the same functionality?

why companies would have both API tests and web tests when this causes duplication of effort. In short, because those tests are different in nature, help discover different types of bugs and have ...
dzieciou's user avatar
  • 10.5k
4 votes

I have 1000+ request message in XML file and want to call SOAP Webservice end point

If you do not have a lot of programming skills you can just run command line utilities like CURL. Here is the post on SO describing how to send a single SOAP request having XML file. Above example ...
Alexey R.'s user avatar
  • 11.6k
4 votes
Accepted

What are the pro's and con's of writing an API test automation framework at code level as opposed to using a tool

👍Pros of coding: You can easily integrate your test into CI process You can code any assertion logic you need in your tests You can utilize any library that is suitable for your chosen ...
Alexey R.'s user avatar
  • 11.6k
3 votes

Difference between SoapUI and Fiddler testing tools?

Fiddler is a proxy that lets you view all network traffic, like WireShark. SoapUI is a full fledged testing tool. My recommendation is to try POSTman. It's a free API testing tool, you can save your ...
kirbycope's user avatar
  • 4,090
3 votes

Property transfer in SOAP UI using xpath

Here is how I would do it. Looks like you made a trivial mistake in the xpath. Here is how the test case is defined with following test step names. Soap Request Test step named as Test Request ...
Rao's user avatar
  • 226
3 votes

SoapUI vs Jmeter for webservices

Maybe just use plain JUnit tests? I think JMeter and SoapUI just add an extra layer of complexity. For example making it more complex to schedule the tests. Using JMeter and SoapUI might seem easier ...
Niels van Reijmersdal's user avatar
2 votes

I am about to automate the Web API testing, how to initiate

I believe for your second question you have enough and more answers so I'm not going to touch base on it. Coming to your first question, I.e what questions you need to ask, sharing some of my ...
Vikam's user avatar
  • 21
2 votes

Groovy Script in SOAP UI: What is the scope of groovy script in Testing and beneficial for Future growth?

I started learning automation down the exact same route. My suggestion is to download a Java IDE and work with Groovy and Java together. Remember Java will, for the most part, work as groovy. So ...
Paul Muir's user avatar
  • 3,272
2 votes
Accepted

Change media type of SOAPUI response

Using this tip/trick you can modify the response's header. The example shows modifying the content but you should be able to get the gist. if( request.response == null ) return // get response ...
kirbycope's user avatar
  • 4,090
2 votes
Accepted

Assertion about size of an XML tag

Regexp is your friend matches(//ns:XPathToIt/ns:password,'\w{7,}') The \w{7,} will match a string with 7 characters. In the Expected Result put "true". SoapUI Assertions
Paul Muir's user avatar
  • 3,272
2 votes

How to organise multiple SoapUI test scenarios to the same REST endpoint?

I have working in a not dissimilar industry and had the following setup; TrainTestSuite (this might be per supplier/operator) -testcase->SingleBooking -testcase->ReturnBooking Both would utilize ...
ECiurleo's user avatar
  • 2,043
2 votes
Accepted

Integrating JIRA with Test Link using REST Interface

We've succesfully integrated TestLink 1.9.10 with Jira in the Cloud. My configuration for the issue tracker record in TestLink is: <!-- Template jirarestInterface --> <issuetracker&...
Cecilia's user avatar
  • 36
2 votes
Accepted

How do you send a ZIP file in the request body in SoapUI / ReadyAPI

Figured out how this must be done. When you add an attachment you can set its "Media Type" to match its "Content Type" Your RAW request will then NOT display any content of the file (instead showing ...
ECiurleo's user avatar
  • 2,043
2 votes

How do you generate an AWS Signature in ReadyAPI/SoapUI

This is really easy if the use of the AWS JDK is an option for you. I tried many hours to generate my own signature for REST API access to AWS. After I discovered the AWS JDK it was a matter of ...
tneuschwanger's user avatar
2 votes

java.sql.SQLException: No suitable driver found for jdbc:db2://URL/Database - pom.xml

It cant find your driver. You need to download the driver from here: https://www.soapui.org/jdbc/reference/jdbc-drivers.html and then save the .jar file to your c:\Program Files\SmartBear\Soapui5.x\...
joCha's user avatar
  • 121
2 votes

Using REST Assured library for testing SOAP webservices

Yes, it is possible, however not necessarily easy. SOAP Web service is (usually) receiving HTTP requests with XML in the body and sending back HTTP responses with XML in the body. REST-assured can ...
dzieciou's user avatar
  • 10.5k
2 votes
Accepted

Using REST Assured library for testing SOAP webservices

Yes it is possible. I have written this code and it is working form me: Created a file SoapRequestFile.xml with the content: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/...
Ramani_naresh's user avatar
2 votes
Accepted

SoapUI response: Integer range validation

Here are the steps: Prepare a request returning the data you need Create a Test Suite Create a Test Case within that Test Suite Add that request as the step to the Test Case Open that step editor In ...
Alexey R.'s user avatar
  • 11.6k
2 votes

Web Service Testing Site

Try https://www.mockable.io There is a free plan that will allow you to build your own REST and Soap services and that will be enough to practice your interaction trials.
Alexey R.'s user avatar
  • 11.6k
2 votes

What kind of Database Testing could be done based on soapui trnasactions?

Although SOAPUI is NOT for database testing, perhaps you can test the effects on the database as with any messaging system. Does a successful 'new' message create the database object as expected ? Is ...
Michael Durrant's user avatar
2 votes
Accepted

soapUI - REST API, parameters as variables in request body are empty (*previously posted as guest by accident)

Steps I followed Create a new Rest project Add plain parameter to request called it in request body using ${test} (${#test} also works) Right-click the request and click 'Add to Testcase' Now run the ...
PDHide's user avatar
  • 11k
2 votes

How do I test a Web-Service with Single-Sign-On authentification?

Have never used SoapUI before, but in similar situations one way is to manually log in via SSO, then grab the cookie (or similar) it leaves from browser DevTools and copy that into the requests sent ...
grunet's user avatar
  • 176
1 vote

SoapUI: Refresh/update test step's payload or request headers from REST resource's request definition?

I would accomplish this with a groovy script, effectivly you would get the request from your project then use that to update your test step You can do it with something along the lines ofthe psudo ...
ECiurleo's user avatar
  • 2,043
1 vote

How to access database from SoapUI for test-data generation?

There is no need for Groovy. You can use a JDBC TestStep for that. https://www.soapui.org/jdbc/getting-started.html You can extract value from the, as a xml presented, results at the same way as you ...
Patrick's user avatar
  • 152
1 vote
Accepted

How to access database from SoapUI for test-data generation?

First of all you need to download DB driver, e.g. ojdbc7.jar and place it in bin\ext folder of SoapUI dir: C:\Program Files (x86)\SmartBear\SoapUI-5.3.0\bin\ext Then you can use groovy script to ...
Ivan Gerasimenko's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible