GATLING_HOME is set to /Users/erdem/Downloads/gatling-charts-highcharts-bundle-3.5.1
Using .HAR File
In order to record a .HAR file you need to open the Chrome developer tools, Navigate to Network Section and start recording.
After that you can right click and choose the "Save All As Har with Content". This should generate a .HAR file to use with Gatling.
Keep in mind: Loadium also supports HAR files and it can convert your HAR files to JMX and run your tests with provided HAR File.
Gatling Recorder can convert your HAR files easily to Scala you can simply switch the recorder mode to HAR Converter and select the HAR file. When you click to start it’ll convert your HAR Gatling Compatible Scala Test.
HTTP(S) Proxy Recorder
In order to record your first script you need to import your CA to your browser, after that you can use the proxy recording with Gatling.
Oops! Here comes the error. When we tried to exporting the CA from Gatling Recorder we welcomed by a roadblock. Even if we tried to Generate CA button on the Recorder it didn’t generated anything.
Here comes the thinking…
What we are gonna do?
How to Generate Certificate Authority For Gatling Recorder Proxy?
It’s as simple as writing 2 liner code, in fact literally two line code!
Open the terminal on macOS or Linux Machine and type the following codes and hit enter