Tool for testing RESTful Web services [closed]

2019-03-12 08:24发布

I am trying to evaluate the right tool to test RESTful Web services and eventually automate the same for our project. Wondering, what are the specifications I need to look for such test, when i compare various tools on internet.

Definitely, one of the requirements would be an Open source tool.

I have looked on few tools, such as SOAPUI,RestClient,TestMaker, RestAssured. Wanted to know the pros and cons of them. Also, any ideas or pointers on how to go about it would be of great help.

3条回答
趁早两清
2楼-- · 2019-03-12 09:13

If you need complex parametrized soap and rest webservices testing and test automation, you definetly should try soapui. It is open source (https://github.com/SmartBear/soapui), free in base edition tool with great documentation. In addition to webservices tests it provide scripting, load testing tool, ide support, web services mocking, running tests from GUI or console and much more.

查看更多
▲ chillily
3楼-- · 2019-03-12 09:17

if you want to test from browsers,

use

POSTMAN -> Chrome

Rest Client -> Firefox

If you need an online tool or require automated API testing,

use

Runscope

查看更多
SAY GOODBYE
4楼-- · 2019-03-12 09:17

If you're looking for aa HTTP client (GUI) to test requests, I'd mention:

  • Paw, a native HTTP client on Mac that supports most of the popular authentication schemes, has full encryption and obfuscation of your server credentials and dynamic values a special feature that lets you sent back a field from a previous request (e.g. an auth token) or compute the hash of another part of the request. Also generates cURL or client code. (disclaimer: I'm the founder of Paw)
  • Postman, a Chrome app and a web wrapper for Mac that lets you send requests to servers. Generates cURL and client code. Cross-platform (web app). Has a cloud service for sharing of collections.
  • Insomnia, a Chrome app but with a really nice interface (a design I like). It feels like the author cares about UI and design. The feature set isn't as complete as Paw or Postman though.
  • HDC Client, Chrome app, quite old but Restlet acquired them and it seems like it's more active on the development. As test features like Postman.
  • Advanced REST Client, a Chrome app, similar to previous ones. Seems still quite popular but isn't very updated.
  • RESTed, a native Mac app, a very small feature set, just lets you test one request at a time. I mention this because I like the native feel (alike Paw) and I think it's a good alternative for those who just want something simple.

Also, you may consider this command line tool:

  • HTTPie: For a command line too, I personally love it. It's beautifully made, and easy to learn. Clearly not as handy as a GUI, but really worth a try.

I'd also recommend you to read through this list of tools I've made a few months ago: Tools that will help you develop a RESTful API

查看更多
登录 后发表回答