About Gatling Recorder

Learn about the Gatling recorder and how to set it up locally on your device.

In the previous lesson, we learned about the features offered by Gatling. In this lesson, we will learn about the Gatling recorder and how to set it up.

What is a Gatling recorder?

Gatling recorder allows us to proxy the browser actions and convert them into Gatling test scripts that mimic the user actions on the web browser.

Setting up Gatling recorder

The Gatling recorder can be downloaded here.

After downloading the archive file from the above link, it needs to be extracted to a folder. That folder will be referred to as $GATLING_HOME.

Launching Gatling recorder

Run the following command to launch the Gatling recorder:

Mac / Linux

bash $GATLING_HOME/bin/recorder.sh

Windows

%GATLING_HOME%\bin\recorder.bat

Note: GATLING_HOME is the extracted folder location. Please replace it before running the command.

Running the above command should open a GUI like below:

Web browser proxy configuration

Mac

Navigate to System PreferencesNetworkAdvancedProxies

Make sure you have done the following steps:

  • Select the options – Web Proxy (HTTP) and Secure Web Proxy (HTTPS).
  • Enter the Web Proxy Server host and port.
  • Click OK and apply the changes.

Linux (Ubuntu)

  • Navigate to System SettingsHardwareNetworkNetwork Proxy
  • Choose Manual in the Method drop-down list.
  • Enter details of HTTP and HTTPS with localhost & 8000
  • Click the Apply system wide button to save the settings.

Windows

Navigate to StartNetworkProxy

Make sure of the following:

  • Under Manual proxy setup, select use proxy server.
  • Enter the Web Proxy Server address and port.
  • Enter details of HTTP and HTTPS with localhost & 8000.

Make the changes and SAVE it.

Get hands-on with 1200+ tech skills courses.