TA的每日心情 | 奋斗 5 小时前 |
---|
签到天数: 2805 天 连续签到: 4 天 [LV.Master]测试大本营
|
楼主参考下人家总结的,感觉说的是HTTP头的区别
UserAgent–
"User-Agent" is the name of an HTTP header identifying the application, usually a browser, which represents the user in the interaction with the server.
"User-Agent"是一个HTTP头的名称来明确这个应用程序。通常情况下 一个浏览器,该浏览器就代表证用户和服务器之间的交互
For example, the header "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" identifies Microsoft Internet Explorer 6.0 for Windows NT. Other User-Agent strings are used for different browsers and for other, non-browser applications. Usually, all requests from an application use the same User-Agent value, which the recorder specifies as a Run-Time Setting. However, even within a regular browser session, there may be non-browser components (for example, Active-X) that interact with a server directly, and usually have a different User-Agent string than the browser. Specifying a UserAgent indicates that this is such a non-browser request. The specified string is used in the "User-Agent:" HTTP header, and affects the Replay's behavior. in some points, for example, by not using the browser cache, assuming the specified URLs are resources, etc.
通常,所有的从一个应用程序中的发出的请求都是使用相同的User-Agent的值。对于录制的脚本在running-setting中设置。通常即使在一个规则的浏览器session中,也存在非浏览器的元件(例如Active-X: )这些元件直接和服务器交互,并且通常使用和一个浏览器不同的User-Agent string。明确一个UserAgent指出这是一个非浏览器的request.这个明显的String使用在HTTP header "User-Agent:"。在某些方面影响着回放的行为,例如,不使用 浏览器的cache,假设的指出的URL是一个resources.
|
评分
-
查看全部评分
|