Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot capture jmeter traffic in fiddler

Tags:

fiddler

jmeter

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

Steps:

  1. Create a Thread Group
  2. Add Http Request to the Thread Group and enter URL
  3. Add Recording Controller to the Thread Group
  4. Add HTTP(S) Test Script Recorder
  5. Change Firefox settings to localhost proxy and 8080 port
  6. Record Test
  7. Then start Fiddler and start the test

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 I run the test. Is there anything that I am missing?

like image 444
kedarp Avatar asked Jul 08 '14 01:07

kedarp


2 Answers

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

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

Then, run your test.

like image 79
EricLaw Avatar answered Oct 05 '22 05:10

EricLaw


To record traffic from JMeter via Fiddler use the next setup Importent

  • I used JMeter 5.0
  • Recheck that your Fiddler listing port set to 8888

UI Mode

  1. Create Thread Group --> HTTP Request
  2. Go to Advanced fill "Server Name or IP:" = 127.0.0.1 , "Port Number:" = 8888
  3. enter image description here

Non UI MODE

  1. Add to your command -H 127.0.0.1 for Proxy Host
  2. -P 8888 for Proxy port
  3. Example: C:\jmeter5.0\bin>jmeter -n -t C:\example.jmx -l C:\scriptresults.jtl -H 127.0.0.1 -P 8888
like image 40
Ru8ik Avatar answered Oct 05 '22 07:10

Ru8ik