Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a RESTful web API application that consists of several URL calls that return XML content. These tests would consist of (my) declared query string parameters and methods, such as POST, GET, HEAD...

I would like to fully automate the testing of these services in the most simple way possible. It would also be a great benefit if this wouldn't cause any additional costs.

The possibility of saving these tests with my given parameters for later use (to test further API upgrades or changes) would be perfect.

share|improve this question

closed as not constructive by M42, freejosh, Cairnarvon, Peter Ritchie, nickhar Jun 6 '13 at 0:47

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Thanks to everyone for their answers, I really appreciate it. I also apologize for any inconsistencies in my question. –  Christian Ackerman Jun 6 '13 at 9:22

3 Answers 3

up vote 0 down vote accepted

You could try HttpMaster.

It allows you to define dynamic parameters and use them for URL paths or request body. You can then run multiple customized requests in a batch and review responses (with http return codes, of course).
It's quite intuitive with nice GUI and, the most important, it's free. It is also capable to save created tests to a project file.

But it's a standalone tool (not running in a browser), you did not state what type of tool would you prefer (browser or stand-alone).

share|improve this answer
    
This is exactly what I was looking for. The GUI doesn't really matter that much to me. Saving my projects for future testing and the fact that it's free is a definite win for me. I know I didn't specify my needs (software or browser add-on/plugin), but I prefer software any day. Thank you very much. –  Christian Ackerman Jun 6 '13 at 9:20

The way I'm handling it is by HTTP status codes. I map whatever HTTP status codes available to my API to make more sense out of it. In addition I return a JSON payload which carries more verbose message regarding the error and a helpful link to my docs for the developer.

share|improve this answer
    
This isn't exactly what I'm looking for. I'm in search of a tool for testing my RESTful web API application. A tool that would enable me to declare a query string parameter and/or method (POST, GET...). You can imagine a range of URLS being used, and I'd like to know what they return, instead of manually checking them one by one. –  Christian Ackerman Jun 5 '13 at 14:19
    
Take a look at this soapui.org Or you can make a text file of the URLs you want to check and pass them one by one to CURL and log the responses OR the most proper one, write a unit test! –  bolbol Jun 6 '13 at 1:28
    
SoapUI seems like the thing (free download option + saving projects for later use), but it's a little bit too feature packed for my needs. Second best choice, thank you! –  Christian Ackerman Jun 6 '13 at 9:32

You can do one off testing with Postman: https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en

You can also do one off testing with curl: Run cURL commands from Windows console

Postman sounds exactly like what you're looking for.

share|improve this answer
    
Postman sounds like something I'm searching for, but the fact I have to use it as an "add-on" is a show stopper for me. I clearly didn't specify what type of tool (standalone or add-on/plugin) I imagined, and I apologize for that. Thank you very much for your assistance and suggestions. –  Christian Ackerman Jun 6 '13 at 9:10

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