Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.software.testing > #220
| From | Asher Vilensky <dorfa1@gmail.com> |
|---|---|
| Newsgroups | comp.software.testing |
| Subject | Re: need REST API test automation harness/tool |
| Date | 2012-08-17 05:54 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <10164dd8-05bc-4032-9ece-dd90cf667756@googlegroups.com> (permalink) |
| References | <a4606d64-671f-4d88-a8d5-7b8f030668c6@googlegroups.com> <a2f83514-cd89-4ce0-9a67-db951fe42a29@googlegroups.com> |
And just to clarify what I mean by "automate", here's an example of a single test case:
* Write a test assertion for each test case (that's outside of the automation itself).
* Define input.
* Run scenario (REST call + parameters + input) manually. Record it.
* Examine returned output; filter it as needed.
* Now I'd have an assertion, input, REST call + parameters, actual output. Save it as a test case.
* Run this test case via the automation harness/tool.
Develop many such test cases.
That is what I want the tool/harness for. Ideally such tool would know how to read the input-parameters-expected-output from a flat file (spreadsheet etc) and iterate over all test cases. But that's not a requirement. A test case can also be self-contained, that is, have all the input-parameters-expected-output saved within itself.
More suggestions would be welcomed. Thanks again.
On Friday, August 17, 2012 7:40:46 AM UTC-4, Asher Vilensky wrote:
> Many thanks for all the kind replies. Specifically:
>
> jas...@gmail.com: I know bourn/korn shell. Some Perl
>
> Jorgen: Yes, I'm already using curl. I'm looking for a tool to automate my curl calls
>
> dumitru.corobceanu: Will look at Soap UI (although we're doing REST, not SOAP).
>
>
>
>
>
>
>
> On Thursday, August 16, 2012 8:33:39 AM UTC-4, Asher Vilensky wrote:
>
> > Does anybody know of a tool to automate REST API testing? Let me give a brief example of what I'm looking for. Right now I'm using both Poster (FireFox add-on) or curl to do something like this:
>
> >
>
> >
>
> >
>
> > Post: http://host:8080/<some path>/<API name>/<parameters>
>
> >
>
> >
>
> >
>
> > Content to send (json):
>
> >
>
> > {
>
> >
>
> > "Name":"Asher-1",
>
> >
>
> > "Address1":"some St",
>
> >
>
> > "City":"some city",
>
> >
>
> > "Zipcode":"00000",
>
> >
>
> > "ContactPhone":"11231231234"
>
> >
>
> > }
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > I'm doing this manually. What I'd like to do is automate the above with different parameters and different json's. Also, I have many different API's to test. So the question is if anybody knows of an automated test tool that can do this. I'm already familiar with things like Selenium and other GUI-based tools. I'm NOT looking for that.
>
> >
>
> > Thanks.
Back to comp.software.testing | Previous | Next — Previous in thread | Next in thread | Find similar
need REST API test automation harness/tool Asher Vilensky <dorfa1@gmail.com> - 2012-08-16 05:33 -0700
Re: need REST API test automation harness/tool jasnow1@gmail.com - 2012-08-16 06:03 -0700
Re: need REST API test automation harness/tool Asher Vilensky <dorfa1@gmail.com> - 2012-08-16 11:54 -0700
Re: need REST API test automation harness/tool jasnow1@gmail.com - 2012-08-16 12:28 -0700
Re: need REST API test automation harness/tool Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-08-16 21:17 +0000
Re: need REST API test automation harness/tool jasnow1@gmail.com - 2012-08-16 14:58 -0700
need REST API test automation harness/tool "dumitru.corobceanu" <dumitru.corobceanu@gmail.com> - 2012-08-16 15:49 -0700
Re: need REST API test automation harness/tool Asher Vilensky <dorfa1@gmail.com> - 2012-08-17 04:40 -0700
Re: need REST API test automation harness/tool Asher Vilensky <dorfa1@gmail.com> - 2012-08-17 05:54 -0700
Re: need REST API test automation harness/tool Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-08-18 08:12 +0000
Re: need REST API test automation harness/tool "dumitru.corobceanu" <dumitru.corobceanu@gmail.com> - 2012-08-23 13:37 -0700
Re: need REST API test automation harness/tool merrin.kurian@gmail.com - 2012-12-19 05:14 -0800
Re: need REST API test automation harness/tool srinidhi23@gmail.com - 2013-09-09 04:51 -0700
Re: need REST API test automation harness/tool matti.hjelm@gmail.com - 2013-10-06 15:03 -0700
Re: need REST API test automation harness/tool yashwanthpanji@gmail.com - 2014-03-21 01:40 -0700
Re: need REST API test automation harness/tool markdrury <markdrury@gmail.com> - 2013-01-02 14:34 -0800
Re: need REST API test automation harness/tool frank.schroeder@gmail.com - 2013-05-27 01:49 -0700
Re: need REST API test automation harness/tool leonardaye@gmail.com - 2013-07-18 03:06 -0700
Re: need REST API test automation harness/tool srinidhi23@gmail.com - 2013-09-09 04:52 -0700
Re: need REST API test automation harness/tool TomKes <tomkessler3@gmail.com> - 2013-10-03 17:20 -0700
Re: need REST API test automation harness/tool huntgathergrow@gmail.com - 2014-04-08 14:52 -0700
Re: need REST API test automation harness/tool brandonwanamaker.emma@gmail.com - 2014-04-08 14:55 -0700
csiph-web