我想在JMeter中录制时排除某些URL。 我已在URL模式中添加脚本记录器以排除我不想获得的URL。例如:
http://googleads.g.doubleclick.net
http://eu1-search.doofinder.com/
似乎没有考虑到它。 我能做什么?我哪里错了?
答案 0 :(得分:1)
URL Patterns to Exclude
部分采用正则表达式来排除资源。如果要排除整个域,可以使用如下模式:
^((?!doofinder|doubleclick).)*$
如果整个网址中包含doofinder
或doubleclick
字样,则此表达式会排除整个网址。
答案 1 :(得分:1)
我相信Excluding Certain Domains from the Load Test指南就是您正在寻找的内容。