Reputation: 1
The current state of my JMeter setup and test plan is:
Has anyone else encountered a situation in JMeter in which the proxy server seems to be working correctly but no sampler/requests are actually being recorded? And even if this case is novel, do you have any suggestions? Thank-you in advance for your advice.
Upvotes: 0
Views: 3610
Reputation: 1
just a late reply but facing same issue... Have you tried to clean the 'URL Patterns to include' in HTTP(S) Test Script Recorder ? It did work for me and could record was the proxy was not recording.
Upvotes: 0
Reputation: 41
you need to add ApacheJMeterTemporaryRootCA certificate in your firefox by setting Go to tools > option > Certificate > View Certificate > import certificates.
Now restart the firefox.
Upvotes: 0
Reputation: 168207
Take a look at jmeter.log file - if there is an issue with your setup you should get some clues regarding what's wrong from there. It is also a good idea to add the next line to log4j2.xml file:
<Logger name="org.apache.jmeter.protocol.http.proxy" level="debug" />
it will increase log level verbosity for the HTTP(S) Test Script Recorder
Make sure your Firefox is configured to use the proxy for all protocols and there are no exclusions for localhost
, 127.0.0.1
or your IP address/hostname
As the last resort be aware of an alternative way of recording a JMeter test using JMeter Chrome Extension - in this case you will not have to worry about proxies and SSL certificates.
Upvotes: 1
Reputation: 58892
You shouldn't create your own Test Script Recorder script, simply because you can make mistakes, just use predefined JMeter's template
Choose Menu: File -> Templates
(Recording is selected) Click Create
Your Recording script is set
Upvotes: 0