Describes two back-end testing tools THAT I have used

  1. IDEA comes with the Resful tool
    • Tools >HTTP Client >Test RESTful Web Service on the toolbar.
    • The specific use


      1. Fill in the server host and method path [picture]

      2. Select the HTTP method

      3. Set interface parameters

      The name-value format is used

      4.Request Body

      You can choose to test local file upload

Generally speaking, these can easily handle most simple back-end tests, but there are some problems related to the Request Body part, such as file upload if a name is required, I did not find that the built-in tool of IDEA provides the form of name-value. So I started using Postman.

  1. Basic use of Postman
    • You can download it for free from the official website.
    • At the beginning, it is recommended to sign up for an account where you can share your Collection and create a team.
    • Before creating a new request, you can create a Collection that holds all the interface requests for the related project
    • Formally create a Reuqest that works in much the same way as the tools that come with IDEA.

      Arguments are also key-value
    • Postman’s Request Body can be uploaded in a variety of formats. If the file type is Text, enter it in the Value field

      If you Select the File type of File, Select Files is displayed. You can upload local Files.

Welcome to comment if there are any mistakes.