【问题标题】:Why does my JMeter results tree show requests, but they are not shown in the test plan's Recording Controller?为什么我的 JMeter 结果树显示请求,但它们没有显示在测试计划的记录控制器中?
【发布时间】:2014-03-31 18:56:56
【问题描述】:

我正在尝试使用 http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf 记录测试我已按照以下所有步骤操作:

  1. 我使用 blabla.dev 作为服务器名称(映射到 /etc/hosts/ 中的 localhost)
  2. 我使用端口 8085 而不是 8080 作为代理。
  3. 我使用的是 Chrome 而不是 Iceweasel
  4. 我在要包含的模式中使用了 ** 和 /api/**(假设 ant 样式模式匹配有效)
  5. 我很确定没有其他区别,但我们不要假设我总是对的。

我的页面在浏览器中加载正常;我可以在查看结果树中看到请求。但是录制控制器中没有显示任何内容。我做错了什么?

【问题讨论】:

    标签: jmeter


    【解决方案1】:

    Jmeter 使用类似 Perl 的正则表达式,** 表示“任意数量的星星”。尝试.* 匹配所有内容。

    【讨论】:

      猜你喜欢
      • 2022-01-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-01
      • 1970-01-01
      • 2019-04-29
      • 1970-01-01
      • 2022-10-23
      相关资源
      最近更新 更多