h-tadagawa / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

Store configurations as Projects #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be ideal if you could add a feature that would allow me to save
the settings (including headers and body) into a "Porject". A Project
should be named after the domain name of the site being tested. A project
could contain several configs for the different resources on the site (one
for GETing Resource A, one for POSTing to Resource A, One for DELETEing
Resource B, etc;) and could all be run as a test suite against the site.

If you want to go nuts, add the ability to populate headers and body
content from a database (SQLite or XML doc or similar) so that I could run
several different body contents against the same resource settings (several
different POSTs with different entity content to the same resource, with
the settings for the Resource (auth, headers method etc;) pulled from the
Project).

That would rule. It would be trivial then to create test suites for a ReST
service, enabling developers to modify their site internals, confident that
the ReST service continues to operate for third-parties.

Cheers!

Jalf

Original issue reported on code.google.com by omarshar...@gmail.com on 11 Dec 2007 at 4:52

GoogleCodeExporter commented 8 years ago
Sorry, I don't know how to set this issue as a feature request!

Original comment by omarshar...@gmail.com on 11 Dec 2007 at 4:52

GoogleCodeExporter commented 8 years ago
Excellent observation. I had the same in mind for v2.0. Recently Ravi 
Subramanian
joined in this project. His main responsibility is exactly implementing this 
feature.

Original comment by subwiz on 12 Dec 2007 at 2:33

GoogleCodeExporter commented 8 years ago
The file save format has been defined:

http://code.google.com/p/rest-client/wiki/XMLFormat

Original comment by subwiz on 13 Dec 2007 at 2:38

GoogleCodeExporter commented 8 years ago
It would be really useful if the client used the wadl https://wadl.dev.java.net
format for saving requests so that clients could be auto generated. 

Original comment by spea...@gmail.com on 8 Jan 2008 at 5:40

GoogleCodeExporter commented 8 years ago
Take a look at SOAP UI and converge!

Original comment by marek.po...@gmail.com on 14 Jan 2008 at 12:14

GoogleCodeExporter commented 8 years ago
WADL cannot be used as a request storage type. WADL describes the REST 
webservice.
The request is just one subset among all the possible requests described in a 
WADL.

Original comment by subwiz on 21 Jan 2008 at 11:27

GoogleCodeExporter commented 8 years ago
Closing this issue as it has been implemented.

Original comment by subwiz on 21 Jan 2008 at 11:31