Jmeter代理设置问题

Jmeter proxy setup issue

我试图在 JMeter 中启用录音。为此,我正在关注此文档:http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf

我在 JMeter 中找不到 workbench 选项,因为我使用的是 Jmeter 4.0。

所以我将 HTTP(S) 测试脚本记录器添加到我的测试计划中。但是无法继续第 11 步,因为我找不到任何“URL Patterns to Include”。

下面是我的 JMeter UI:

如何从第 11 步开始?任何帮助将不胜感激。提前致谢。

TL;DR 单击“请求过滤”选项卡

所以你可以在测试计划下添加它。

JMeter 的 Componenet reference 拥有最新更新

  • 注意到JMeter 5也改进了录音,所以建议使用最新版本:

Recording feature has been improved to provide a popup that is always on top when you navigate in browser allowing you to name transactions while you navigate in your application.

因此关于第 11 步,命名已更改为 Patterns to Include:

Patterns to Include Regular expressions that are matched against the full URL that is sampled. Allows filtering of requests that are recorded. All requests pass through, but only those that meet the requirements of the Include/Exclude fields are recorded. If both Include and Exclude are left

为了快速设置,使用具有 Recording template

的 JMeter 模板

Select Templates… on the menu bar

Select Recording template on the list