7

I am manual tester and my responsibility is web, mobile application testing in which I need to test a web service but I have not using any automation tools yet.

Please suggest me a manual way for to perform web service testing. Thanks in advance.

The web service is REST.

  • We have used REST type of Web service. – jensi suthar Aug 12 '15 at 10:01
  • 1
    In case of REST you need a browser plugin (or Fiddler or other tool) to manage the different type of messages to the server. To handle the JSON files, XML files manually will be a nightmare very quickly, so I suggest that invest a little time to learn how to use these tools. – SayusiAndo Aug 12 '15 at 10:05
  • 2
    GET requests can be tested with just Web browser, POST, DELETE, PUT request will require tool, e.g. Postman plugin for browser or curl command line tool. There's no way to do this without any tool because you're actually mimicking a machine, a programmed client. – dzieciou Aug 12 '15 at 10:06
  • 1
    Very carefully with magnets, a bit of copper coil, a stop watch, and direct access to the ethernet cable... – atk Aug 12 '15 at 15:23
  • 1
    @atk Luckily, any normal gigabit ethernet port is backwards compatible to 10BASE-T... but it may still require some training. And an assistant with Parkinson disease, taking care of the clock, will surely help! – Volker Siegel Mar 31 '17 at 17:18
11

For the REST service testing Postman and HttpMaster are good tools. It supports dynamic parameters, validation of response data, various data viewers, etc. If you are looking for performing load testing of the REST services than Grinder and JMeter open source tools can be considered.

This data is taken from the post

Tools for REST webservice testing

  • +1: I use cURL command-line tool. – dzieciou May 2 '17 at 12:46
  • I'm suspicious of clicking on that "Grinder" link ¬_¬ – user2818782 Jun 5 '17 at 11:43
2

I would suggest using an open source tool such as http://www.soapui.org/

This will allow you to send requests to your end points and, in turn, see the responses. Should you choose to extend your test from manual into automated (ie run the same test again along with other tests) then SoapUI also gives you that option.

  • I think he suggested that his application use REST not SOAP. So, I dont think SoapUI is suitable for this case. – scorpion Aug 13 '15 at 3:08
  • 1
    SoupUI can be used for any restful services, not just Soap. If you wish it also supports (HTTP GET, POST, DELETE, PUT). They are renaming the product to ReadyAPI to avoid this confusion. – ECiurleo Aug 13 '15 at 9:11
0

As already mentioned here, there are lot of open source tools like SOAP UI etc.. and plugins like POSTMAN, RESTCLIENT etc... which can be used to send GET/POST request and check response. Other than these, if you are comfortable using java, you can write a simple code using httpclient library to send GET/POST request and validate the response. At the same time you can create a simple Data Driven test where you can have variety of requests, this will help you in increasing the test coverage.

If its works for you, I can post a simple example also.

0

You want to test the web service manually, and unfortunately it is only possible with some interface. Web services are not visible and only applications can communicate with this. So my suggestion is test the Applications that are using the web services. Doing so you will be indirectly test the web services.

0

Firefox has a rest posting addin. You can also use Excel VBA httppost capability.

  • 1
    You need to provide more information to make this a good answer. – Kate Paulk Aug 19 '15 at 12:02
0

cURL.

I recommend using this command-line tool for the following reasons:

Here's an example of curl command:

curl http://httpbin.org/post --data "some-data" -v

together with HTTP Request sent:

* Hostname was NOT found in DNS cache
*   Trying 23.21.245.14...
* Connected to httpbin.org (23.21.245.14) port 80 (#0)
> POST /post HTTP/1.1
> User-Agent: curl/7.37.1
> Host: httpbin.org
> Accept: */*
> Content-Length: 9
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 9 out of 9 bytes

and HTTP Response received:

< HTTP/1.1 200 OK
< Connection: keep-alive
* Server gunicorn/19.7.1 is not blacklisted
< Server: gunicorn/19.7.1
< Date: Tue, 02 May 2017 12:39:15 GMT
< Content-Type: application/json
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Content-Length: 387
< Via: 1.1 vegur
<
{
  "args": {},
  "data": "",
  "files": {},
  "form": {
    "some-data": ""
  },
  "headers": {
    "Accept": "*/*",
    "Connection": "close",
    "Content-Length": "9",
    "Content-Type": "application/x-www-form-urlencoded",
    "Host": "httpbin.org",
    "User-Agent": "curl/7.37.1"
  },
  "json": null,
  "origin": "88.221.209.14",
  "url": "http://httpbin.org/post"
}
* Connection #0 to host httpbin.org left intact

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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