目录
一 HTTP 协议详解.............................................................................................................................2
1 什么是 HTTP 协议..................................................................................................................2
2. Request 和 Response 的格式..................................................................................................2
2. 建立连接的方式.....................................................................................................................3
2.1 非持久连接...................................................................................................................3
2.2 持久连接.......................................................................................................................4
3. 缓存的机制.............................................................................................................................5
二 httpWatch 概述:...........................................................................................................................6
三 基本功能介绍................................................................................................................................6
1 Overview(概要)..................................................................................................................7
2 Time Chart(时间表).................................................................................................................8
3 Header(报头)......................................................................................................................8
3.1 Http 请求头发送信息...................................................................................................9
3.2 Http 请求头返回信息.................................................................................................10
4 Cookies...................................................................................................................................11
5 Cache(缓存)...........................................................................................................................12
6 Query String(查询字符串)....................................................................................................12
7 POST Data..............................................................................................................................13
8 Content...................................................................................................................................14
9 Stream.....................................................................................................................................14
四 HTTPWatch 请求信息框.............................................................................................................16
五 HTTPWatch 菜单区的功能介绍.................................................................................................17
附一:HTTP 状态码介绍................................................................................................................17
附二:请求 URL 的类型介绍.........................................................................................................19
附三 GET 方法和 POST 方法的区别.............................................................................................20
附四 浏览器缓存..............................................................................................................................20
如何生存缓存:.......................................................................................................................20
Last-Modified 和 If-Modified-Since 协商........................................................................20
Etag 协商...........................................................................................................................21
Expires(缓存过期前不会再发送请求)......................................................................21
Last-Modified,Etag,Expire 混合......................................................................................21
附五 数据压缩格式在 loadrunner 中的应用..................................................................................23