Rest client browser-based testing tool

Source: Internet
Author: User

In the past, WebService services were developed based on the HTTP protocol, and a test program was written to test them. Recently, restful was researched, and the previous WebService services were reconstructed, summing up a lot of experience, today we will introduce several rest client testing tools.

Introduction to rest

The so-called rest is the representational state transfer. The Chinese translation of this word is not uniform and obscure. It is called "concrete State transmission" or "object state transition.

Restful Web Services provide resource links through a concise and clear URI. The client sends an HTTP request to the URI to obtain these resources, the process of obtaining and processing resources changes the status of client applications (unlike those called in remote processes ).

The following HTTP methods are commonly used to perform CRUD (create, read, update, and delete) operations on resources: Post, get, put, and delete.

Browser-based rest client Tool

There are many plug-ins in chrome or Firefox browsers. I usually use Chrome browsers. You can find the plug-ins you want in chrome WebStore. Here we will talk about advance rest client, postman-rest client, Dev HTTP client, simple rest client, and restclient plug-in under Firefox.

Advanced rest Client

Web page Developer support to create and test custom HTTP requests. It is a very powerful client-side testing tool that has won praise from programmers. More than 50 K developers use this application every week. So many people will not be wrong!

Supported Functions
  1. Make a HTTP Request (via XMLHttpRequest Level 2)
  2. Debug socket (via web socket API ).
  3. JSON response Viewer
  4. XML response Viewer
  5. Set custom headers-even does not supported by XMLHTTPRequest object
  6. Help with filling HTTP headers (hint + Code Completion)
  7. Add headers list as raw data or via form
  8. Construct post or put body via raw input, form or send file (s) with request
  9. Set custom form Encoding
  10. Remember latest request (save current form state and restore on load)
  11. Save (CTRL + S) and open (CTRL + O) saved request forms
  12. History support
  13. Data Import/Export
Postman-rest Client

Postman can help you work more effectively on APIs. Postman is a scratch-your-own-itch project. It requires developers to effectively create an APIs in the project, which can be retained for API testing.

Supported Functions
  1. HTTP requests supports File Upload
  2. Format JSON and XML of API response
  3. Open the responses HTML file and display it in a new window.
  4. Engine that supports the status of hypermedia applications based on rest rules-hateos
  5. Image Preview
  6. Request history
  7. Basic oauth 1.0 Assistant
  8. AutoComplete for URL and header values
  9. You can use key/value to edit or add a parameter or header value in URL parameters.
  10. Use environment variables to easily transfer between settings. It can be used for testing, production, staging, or local setup.
  11. The value of the global variable is in the whole APIs
  12. Use the quick search function to preview variables and their value usage
  13. Keyboard Shortcuts maximize your productivity
Simple rest Client

Simple rest client plug-in provides a simple form for various HTTP operations, and you can see the returned information. Build Custom HTTP requests to test your network services directly.

Restclient in Firefox

Firefoxrestclient plug-in, developed by Chinese people, supports sending Basic and oauth login headers, and can highlight the returned XML data

Common Linux tool curl

Curl is a powerful File Transfer tool that supports various protocols. using it to test restful Web Services is simply a piece of cake.

Curl has many command parameters. The following four parameters are used for restful Web Services testing:

  • -D/-Data: Post data content
  • -X/-Request: Specify the Request Method (it is automatically set to post when-D is used)
  • -H/-Header : Set header information
  • -I/-head: only the returned HTTP header information is displayed.
Java GUI rest-Client

This is a test tool written in Java. It is mentioned on the project homepage that it has two versions: Command Line and GUI. To facilitate the operation, select the GUI version. Since it is a software, it is obviously more powerful than the browser plug-in just introduced. It supports shrinking and highlighting the response body in JSON and XML format. It can also build a restful server with one click, and also provides the unit test function.

Rest client browser-based testing tool

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.