Web Interface test Tool---poster and postman

Source: Internet
Author: User
Tags soap soapui

There is a lot of time in the work of writing and maintaining interface automation test cases. I'm going to tidy up some interface-related tools first.

A simple docking of Web port testing related tools/technology to do a division.

Functional testing of the HTTP/SOAP protocol interface:

1. Browser URL (GET request) http://127.0.0.1:8000/login/?username=zhangsan&password=123456

2, browser plug-in: Poster, Postman simple interface test.

3. Independent Interface Tools: Jmeter (SOAP supported), Robot Framework (Requestslibrary), SoapUI (SOAP protocol)

4, write code (Interface test Framework): Urllib, URLLIB2, requests (URLLIB3) + unittest + Htmltestrunner + pymysql.

Performance testing of the HTTP protocol interface:

1. Interface performance test tools: LoadRunner, Jmeter, SoapUI

2, Write code: Requests + Threading---> (can test the encrypted interface)

Poster

  Poster to be Firefox a plugin for a browser that is used primarily to simulate hair and HTTP request. With The popularity of Chrome, it also has a chrome version:Chrome Poster

in the the installation in the Fiefox browser is very simple. First, open the fiefox Browser, the menu bar "Tools" and "Add Components", search "poster", in the Search example table, click " Install, and then restart the browser.

Open method: Menu bar "Tools" -"Poster". such as .

Send GET Request:http://127.0.0.1:8000/polls/questions

Send POST Request:http://127.0.0.1:8000/polls/question_vote/

in the The Parameters tag adds a post request parameter, "name" to the parameter name, and "value" as the argument value. Then click on the "add/change" button to add.

then, switch to the "Content to Send" tab and click on the "Body from Parameters" button to add the post the requested parameter. Then, click on the "post" button to send the post request.

Postman

Postman is a powerful Web page debug with a Chrome plugin that sends Web HTTP requests .

Postman official website:http://www.getpostman.com/

(Note: Scientific Internet is required to install)

When the installation is complete, click The top right corner of the Chrome browser menu bar "More Tools"-"extensions".

such as, represents Postman The installation is complete. Next you can find the Postman program Open in the System menu bar .

for example, the Postman main interface. Postman are used in a similar way to poster .

GET Interface:http://127.0.0.1:8000/polls/question_option?qid=1

POST Interface:http://127.0.0.1:8000/polls/question_vote/

It is important to note that The parameters of the GET request are spliced directly behind the interface (? qid=1), and the POST interface parameters need to be added to the Body tag.

relative to Poster ,Postman features are more powerful, the application is also extensive, online easy to find the use of tutorials.

Web Interface test Tool---poster and postman

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.