David的测试技术空间,收藏好文档和分享我的技术理解。5年的数通产品测试和安全产品测试经验,3年Web产品测试和多年测试管理和测试工具开发经验。目前关注性能分析调优、Jmeter和TestNG+WebDriver+Hamcrest的培训推广。Welcome沟通交流,请留言或者发邮件到daviwang_2004 at soguo.com。

Hits per Second 的真正含义

上一篇 / 下一篇  2008-01-30 12:19:05 / 个人分类:旧资料

copy from : http://hi.baidu.com/insight/blog/item/3c452f73735c1f1f8601b051.html
每一个Hit 对应与HTTP服务器访问日志中的每一个HTTP请求。
172.168.1.111 - - [08/Nov/2007:14:37:21 +0800] "GET / HTTP/1.1" 200 0 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"

172.168.1.111 - - [08/Nov/2007:14:42:24 +0800] "GET /images/shouye/left_01.jpg HTTP/1.1" 304 - "http://172.168.1.6:82/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"


上面就是2个Hit。

附:HTTP请求的几个常用类型

HTTP method

Descrīption

GET

Send named resource from the server to the client.

(从服务器上发送给客户端指定的资源)

PUT

Store data from client into a named server resource.

(从客户端存储数据到一个指定的服务器资源)

DELETE

Delete the named resource from a server.

(从服务器上删除指定的资源)

POST

Send client data into a server gateway application.

(发送客户端数据给服务器上的gateway应用)

HEAD

Send just the HTTP headers from the response for the named resource.

(对于指定的资源只发送HTTP header响应信息,即不传输主体数据)        


TAG: 与目前工作有关的杂项

 

评分:0

我来说两句

Open Toolbar