录制时如何在 Jmeter 中排除 URL?
how can i exclude a URL in Jmeter while recording?
我想在 JMeter 中记录时排除某些 URL。
我在 URL 模式中添加了脚本记录器,以排除我不想获取的 URL。例如:
http://googleads.g.doubleclick.net
http://eu1-search.doofinder.com/
好像没有考虑。
我能做什么?我哪里错了?
记录器的 URL Patterns to Exclude
部分采用正则表达式来排除资源。如果你想排除整个域,你可以使用这样的模式:
^((?!doofinder|doubleclick).)*$
如果其中包含单词 doofinder
或 doubleclick
,则此表达式将排除整个 URL。
我相信 Excluding Certain Domains from the Load Test 指南就是您要找的。
我想在 JMeter 中记录时排除某些 URL。 我在 URL 模式中添加了脚本记录器,以排除我不想获取的 URL。例如:
http://googleads.g.doubleclick.net
http://eu1-search.doofinder.com/
好像没有考虑。 我能做什么?我哪里错了?
URL Patterns to Exclude
部分采用正则表达式来排除资源。如果你想排除整个域,你可以使用这样的模式:
^((?!doofinder|doubleclick).)*$
如果其中包含单词 doofinder
或 doubleclick
,则此表达式将排除整个 URL。
我相信 Excluding Certain Domains from the Load Test 指南就是您要找的。