I noted a missing step in the Test Script Recorder documentation. It may be obvious to some, but I didn't do it and it creates the exact situation above.
You have to start the Test Script before you navigate to the website!
Otherwise the Thread Group is not started and neither is the Recording Controller. However the Test Script Recorder is working.
So the definitive steps would be (using @RiponAlWasim's list):
- Setup the Test Script Recorder
- Go to "HTTP(S) Test Script Recorder" under "Workbench" and set the correct Target Controller at the right panel.
- Start the "HTTP(S) Test Script Recorder" by clicking Start button at the bottom
- Setup the Recording Controler
- In "HTTP Request Defaults" under "Thread Group": Input "Server Name or IP" correctly
- Make sure only the Recoding Controller's Thread Group is active - We don"t want to inject transactions, just record what goes through the proxy.
- Start the Test Script cby clicking the green Arrow "Start" in the main JMeter toolbar or by selecting "Run" -> "Start"
- Set up the browser proxy perfectly. (Default port in "HTTP(S) Test Script Recorder" of JMeter is 8080. Use the 8080 in the browser proxy also. If you want to change the proxy say, 9090 use the same proxy (9090) in the browser proxy set up)
I'll see what I can do to fix the documentation.