HTTP protocol Overview

Source: Internet
Author: User

Testing industry from the initial manual testing development to today basically has formed two major directions, one is the direction of business experts, the second is the direction of testing development, business experts require the overall framework of the system and data flow industry is very familiar with the test development requirements can be self-developed testing tools, build a test framework to replace pure manual testing, To achieve such a level of at least three years development experience, in the test development of this piece of fire or popular is the interface Automation testing, the next series of essays will tell the Python interface automation testing needs to master the knowledge, will also add some actual combat content, I hope you have patience to see.

Today's Web program development technology is a great contention, Asp.net,php,jsp,perl,ajax, there are now more popular Python,django. But regardless of how web technologies evolve in the future, it is important to understand the basic protocols for communicating between web programs, because it gives us an understanding of how the Web application works internally. Understand the Web program working principle is to carry out the basis of interface testing, this article mainly on the HTTP protocol detailed strength to explain, the content is more complex, I hope you look patiently, but also hope that everyone's testing work is helpful, using the Fiddler tool is very convenient to capture the HTTP Request and HTTP Response, about the use of the Fiddler tool, will be detailed in the following articles, in this article with you in conjunction with fiddler tools to learn the HTTP protocol.

First, what is the HTTP protocol

So, so many people will ask what is the HTTP protocol? Protocol refers to the rules or rules that must be adhered to in communication between two computers in a computer communication network, Hypertext Transfer Protocol (HTTP) is a communication protocol that allows Hypertext Markup Language (HTML) documents to be delivered from a Web server to the client's browser. In order to let everyone better understand, the following approximate introduction of the network communication Five layer architecture:

The above is just a simple introduction, want to learn more about Baidu can be their own, haha, in fact, I do not understand.

As can be seen above, HTTP is the Web Application Layer Hypertext Transfer Protocol, currently we are using the http/1.1 version

Second, Web server, browser, proxy server

Why do we open the browser while surfing the Internet, enter the URL in the Address bar, and then we can see the page, what is the principle?

In fact, after we enter the URL, our browser sends a Request,web server to the Web server to process the request, generate the response, then send it to the browser, the browser parses the HTML in response, so we can see the page , as shown in the procedure

It is possible that our request was passed through a proxy server and finally arrived at the Web server, as shown in the following procedure:

Proxy Server is a transit point of network information, what is the function?

1. Improve access speed, most of the proxy server has the cache function.

2. Break the limit, that's FQ.

3. Hide identities.

HTTP protocol Overview

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.