且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JMeter HTTP代理服务器未记录

更新时间:2022-06-27 05:54:41

删除所有内容:

  • 要包含的URL模式

  • URLs patterns to include

要排除的URL模式

点击添加建议的排除项

应该可以.

当前,您的包含模式是错误的:

Currently your include patterns are wrong :

包含和排除模式被视为正则表达式(使用Jakarta ORO).它们将与每个浏览器请求的主机名,端口(实际或暗示)路径和查询(如果有)相匹配.如果您正在浏览的网址是 " http://jmeter.apache.org/jmeter/index.html?username = xxxx ", 然后将针对字符串测试正则表达式: "jmeter.apache.org:80/jmeter/index.html?username=xxxx". 因此,如果要包括所有.html文件,则正则表达式可能类似于: . .html(\ ?. )?" -或.*.html"(如果您知道没有查询字符串,或者只希望没有查询字符串的html页面).

The include and exclude patterns are treated as regular expressions (using Jakarta ORO). They will be matched against the host name, port (actual or implied) path and query (if any) of each browser request. If the URL you are browsing is "http://jmeter.apache.org/jmeter/index.html?username=xxxx" , then the regular expression will be tested against the string: "jmeter.apache.org:80/jmeter/index.html?username=xxxx" . Thus, if you want to include all .html files, your regular expression might look like: "..html(\?.)?" - or ".*.html" if you know that there is no query string or you only want html pages without query strings.

有关如何记录的信息,请参见此参考文档:

See this reference documentation for how to record:

如果您想正确学习jmeter,请参阅这本本书将为您提供帮助.

If you're looking to learn jmeter correctly, this book will help you.