You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "AaronAsAChimp (via GitHub)" <gi...@apache.org> on 2023/02/03 19:10:50 UTC

[GitHub] [jmeter] AaronAsAChimp commented on issue #4797: Add ability to import a HAR

AaronAsAChimp commented on issue #4797:
URL: https://github.com/apache/jmeter/issues/4797#issuecomment-1416286992

   I think this would be a really useful feature, and see as the original ticket didn't go into a lot of detail I'll provide my use case. When I need to run a load test on a website I want to capture all of the requests that happen during a page load and replay them through JMeter. The current way of doing this is:
   
   - Create an HTTP(S) Test Script Recorder
   - Create a Recording Controller
   - Click start on the Test Script Recorder
   - Configure your browser to use JMeter as a proxy
   - Load the page, **ignoring the TLS warning**
   - Stop the recording
   - Remove the proxy configuration from your browser
   - Go through the recorded requests to remove requests from other browser tabs and the browser itself.
   
   This can be a very time consuming process if you need to add many pages to your test plan. Compare this to a potential workflow that uses HAR files.
   
   - Open the developer tools in your browser
   - Load the page
   - In the Network tab of the dev tools, right click and export as a HAR file.
   - In JMeter right click on the Thread Group and click "Add HTTP requests from HAR file"
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org