6

I was using SOAPUI to test SOAP web services.But now i have to Test Rest Services.

I understand that SOAPUI can be used to test REST services too.

But can SOAPUI be considered as Standard Testing tool for REST webservices from a QA standpoint.

4
  • 1
    From my personal view Soap UI has a really crappy user experience and as others have shown (in the answers) that there are other applications to test REST API's the answer is: NO, SoapUI cannot be considered at the standard testing tool for REST webservices. Commented May 20, 2015 at 10:01
  • 1
    Adding My Thoughts I Agree SOAPUI user experience is crappy and PostMan tool is very easy and user Friendly. But when thinking from REST service testing when we are testing from PostMan it saves lot of Data like cookies and session Variable kind of simulating a browser But REST service can be called from ETL scripts or command scripts. So for while Testing Through PostMan aren't we actually making ourself blind on the details of request and response through PostMan or any such browser based plugins?
    – mags
    Commented May 20, 2015 at 17:33
  • What do you mean by Standard testing tool for QA? What is standard for me will not necessarily be standard for you. Are you asking for alternatives? For instance, we use a number of tools, depending on the context: curl command-line tool for quick bug reproduction, RESTAssured Java library for HTTP-level automated tests and Retrofit Java library for business-level automated tests.
    – dzieciou
    Commented Jun 22, 2015 at 7:47
  • Check this one: sqa.stackexchange.com/q/14301/13048
    – masood ghz
    Commented Aug 26, 2015 at 14:26

13 Answers 13

3

We use Postman for considerable basic testing during the early stages of development. We then have used Gatling (http://gatling.io/#/) to facilitate load, regression, and stress testing.

1
  • I agree Gatling is good and features are too good for long run.Will definitely try it out.
    – mags
    Commented May 20, 2015 at 17:29
1

A lot of devs I know use PostMan, a Chrome app. I have written my own tool using .Net that allows me to use pre-formatted requests with a given type reflected from a .dll file. A REST client is like a browser. It makes a request and does something with the response (like printing out the JSON response).

1

Part of the issue with RESTful Web APIs is there really isn't a standard as of yet. If there is a WADL for the Web API than SoapUI will typically work well. If not, than you're going to spend as much time, if not more, using SoapUI to work with your system than you would with any of the slew of tools that either exist or can be custom created.

I am typically a proponent of SoapUI and if you are familiar with the workings of SoapUI, Groovy and such, and have others tests using it than I would likely suggest that you stick with SoapUI. If not, you might want to start looking into other tools and see which one fits your needs best.

Postman is good for making basic requests and doing smoke testing. JMeter is good for load testing. But ultimately, if SoapUI is what you are comfortable with than it will offer you what Postman and JMeter can offer you as well.

I'd recommend SoapUI, even though it may not be the best suited for your needs, it seems to be the best suited for you.

1
  • Total Agree But as you already know the learning curve is high for new people coming in.
    – mags
    Commented May 20, 2015 at 17:32
0

From functional point of view - yes.

However if you considering performing load testing at some point I would start looking into starting web services testing automation with a tool which is capable of running requests in multithreaded manner like Grinder or Apache JMeter.

0

Try HttpMaster which focuses on REST and API testing.
It supports dynamic parameters, validation of response data, various data viewers, etc. You can also save all your test definitions as HttpMaster project (single file) to reopen them later or use on another machine.

0

For testing web services, try Runscope. You can test services on your local machine, on staging, as well as those running in the cloud -- all using the same test definition. For production monitoring/testing, you can set up schedules to run automatically. For CI, you can trigger tests to run against your service in any environment. There's a usage tier that's completely free of charge, too.

1
  • What do you mean by staging?
    – dzieciou
    Commented Oct 26, 2016 at 11:29
0

I'm going to agree with PaulDonny's first sentence. There is no standard tool for web services. All of the answers here give great examples of tools that work well. As much as I personally dislike SoapUI, I have seen testers use it very well for REST services.

I'd like to present two additional options however.

The first, which really only works well if the service is in .NET, is the WCF Test Client. Although it says WCF, I've seen it work well for many services.

The second, which is my personal preferred, is to roll your own. For each of the services that I test, whether they be REST or SOAP, I build out a windows form to interface with the service with elements for each of the variables in the URI and the payload, as well as elements to change the verb, content type, headers, etc. Throw in the ability to do impersonation, links to documentation, health checks etc, and you've got yourself a one stop shop for testing your service. It takes some extra work up front, and some additional maintenance, but, works like a charm.

0

Postman is a simple and elegant tool for REST API's testing. It can be used for

  • Verifying response codes ( 200, 400, 500 )
  • Verifying json
  • Writing simple tests which gets executed each time you call API
0

If you would love to automate testing of REST API then Rest Assured is the best JAVA library that you can opt for. You can create Page Object Models and make it a part of your existing UI Testing Framework too.

Below is the official guide for the same:

rest-assured/rest-assured

OR

You may also follow the step by step tutorial which I have created for REST Assured:

Testing Rest Services using Rest Assured

Thanks,

Ashwin Karangutkar

0

Command-line tools for functional tests

UI-based for functional tests

Java libraries for functional testing

0

Karate is a relatively new project that is specialized for testing HTTP API-s of all kinds including SOAP and REST.

Disclaimer: am dev.

One of the highlights of Karate is that although it runs on the JVM - since it is based on Cucumber, you don't need programming knowledge to be able to write tests.

There is an extensive set of demos and examples that can get you started very easily.

0

Aggree with Paul Muir

SOAPUI is simple enough to get started on REST webservices. Just create a new SOAPUI rest project and import the WADL. Personally it took me couple of days getting to know the SOAPUI elements and groovy scripting.

Moreover you can use your SOAPUI projects to run through maven.

-1

I use Thor (http://www.mightythor.net), it integrates with jmeter and ALM. It's free and all the functionality is available (no professional version filtering)

1
  • www.mightythor.net
    – user12917
    Commented Aug 4, 2015 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.