Converting a HAR file to a Gatling Simulation


Converting a HAR file to a Gatling Simulation provides an accurate representation of user behavior than record & playback. We import HAR files in Gatling Recorder to understand user behaviors to create simulations. Our suggestion to a newbie is “Use record and playback option to learn a tool, however, do not record your scripts.” From our experience in performance testing, we have rarely seen an accurate representation of user behavior through record and playback, in spite of that we have one more option for recording that is saving & importing web browser’s interactions in Gatling recorder. Lee’s see how to do it.
Step-1
Menu -> More Tools -> Developer Tools, Go to Network Tab and Make sure Preserve log is checked Converting a HAR file to a Gatling Simulation
Step-2
After you finish navigating the website, right click on the requests you want to export Converting a HAR file to a Gatling Simulation
Step-3
Launch Gatling recorder
Step-4
Select HAR Converter in Recorder Mode Performance Testing Services
Step-5
Import the saved HAR file in the recorder and click Start button Performance Testing Services
Step-6
After the successful import, you can view the recorded file in the below path.

Download Converting a HAR file to a Gatling Simulation

Please fill out the form below to download Converting a HAR file to a Gatling Simulation.

Leave a Reply

Your email address will not be published. Required fields are marked *