本文介绍了无法捕获Fiddler中的Jmeter通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个JMeter录音.但是当我开始测试时我在Fiddler中看不到任何请求.我改变了我在JMeter中使用的Fiddler中的端口号为8080.

I created a JMeter recording. But when I start the Test,I don't see any request going in Fiddler. I changed theport number in Fiddler to 8080, that I am using in JMeter.

步骤:

  1. 创建线程组
  2. 将Http请求添加到线程组并输入URL
  3. 将记录控制器添加到线程组
  4. 添加HTTP(S)测试脚本记录器
  5. 将Firefox设置更改为localhost代理和8080端口
  6. 记录测试
  7. 然后启动Fiddler并开始测试

我不确定JMeter是否真的成功运行了测试.但是,当我显示用户数为10且没有错误时运行测试.有什么我想念的吗?

I am not sure whether JMeter is really running the test successfully.However it is showing the number of users as 10 and no errors when Irun the test. Is there anything that I am missing?

推荐答案

首先,将Fiddler的端口恢复为原来的8888.

First, change Fiddler's port back to 8888 as it was originally.

接下来,更改JMeter的代理设置,使其指向端口8888上的127.0.0.1作为其代理设置.

Next, change JMeter's proxy settings to point at 127.0.0.1 on port 8888 as its proxy settings.

然后,运行测试.

这篇关于无法捕获Fiddler中的Jmeter通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 21:05