Many of Us has difficulties to Record Scenario with Jmeter. Most problems appears in configurations and browser connection. I will try to explain step by step to setup Jmeter for recording scenario.
- Right Click in Test Plan > Add > Thread Groups.
- Right Click in Thread Groups > Add > HTTP Request Defaults. And filled your Server name or IP to be recorded by Jmeter.
- Right Click in Workbench > Non Test Elements > HTTP Proxy Servers. And fill available port, I used 8080.
- Drag HTTP Proxy Servers to below HTTP Request Defaults. Use "Insert Before" options. It should become like this:
- Right Click in Thread Groups > Logic Controller > Recording Controller.
- Right Click in Thread Groups > Listener > View Result Tree
- Right Click in Thread Groups > Listener > View Result in Table
- Go to File > Save As Test Plan. Save it.
- Open your FireFox browser. Go to Edit > Preferences > Advanced > Network > Settings
- Clik OK. And Open Jmeter.
- Go to HTTP Proxy Servers and click Start.
- Go to Your Browser, Type URL, and do the scenario.
- In Recording Controller it will appear some result, Expand it for further details.
(Example) - To watch Generation Time and more advanced recording, In your Jmeter go to Run start and open View Result Tree, it will collected all data in previous scenarios.