简体   繁体   English

Jmeter中的记录控制器未记录在本地主机Web服务器中

[英]Recording Controller in Jmeter not recording in a localhost web server

I'm currently testing my application using phpmyadmin as my local web server.我目前正在使用 phpmyadmin 作为我的本地 Web 服务器来测试我的应用程序。

Here's the steps I've taken so far:这是我迄今为止采取的步骤:

  1. In the Test Plan, I added a Thread Group, an HTTP Request Defaults and Recording Controller.在测试计划中,我添加了一个线程组、一个 HTTP 请求默认值和记录控制器。
  2. In the Workbench, I added a HTTP(s) Test Script Recorder, and a View Results Tree.在工作台中,我添加了一个 HTTP(s) 测试脚本记录器和一个查看结果树。

I already removed the contents in the No proxy for field in my browser, after removing that, the View Results Tree is working and is recording the pages I've navigate in my application.我已经删除了浏览器中No proxy for 字段中的内容,删除后,查看结果树正在工作并记录我在我的应用程序中导航的页面。

My problems and questions are:我的问题和问题是:

  1. The Recording Controller is not recording the pages I navigated.记录控制器没有记录我浏览的页面。
  2. What did I do wrong?我做错了什么?
  3. Is Recording Controller not applicable for localhost web server testing? Recording Controller 是否不适用于 localhost Web 服务器测试?

I hope that someone may help me with this.我希望有人可以帮助我。 Thank you.谢谢。

Check in your browser configuration that localhost is not excluded from proxy managed urls.检查您的浏览器配置,以确保 localhost 未从代理管理的 url 中排除。

Also be aware that you shoud use the Recording Template.另请注意,您应该使用录制模板。

In Menu, select File > Templates > Recording.在菜单中,选择文件 > 模板 > 录音。

See:见:

另外请检查您是否在 HTTP(s) 测试脚本记录器 -> 记录控制器中使用正确的路径进行记录,HTTP(s) 测试脚本记录器和浏览器代理上的端口号也应该相同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM