Record your browser
LoadForge supports recording browser actions in Chrome, and then converting them into a LoadForge test. This allows you to simulate a real user browsing your site, logging in, ordering items, etc.
That recording is known as a HAR, and once you have created one you may use the LoadForge HAR Converter to change it into a LoadForge test file.
Record Your Scenario
Before you begin prepare for your scenario by thinking through the steps you want to execute, and being ready to do exactly that in your browser. You will need Google Chrome for this.
Once you are ready, follow exactly these steps:
- Open Chrome in Incognito mode (it’s important to have no cookies prior to starting).
- Open the Developer Tools.
- Open the Network panel.
- Select Disable cache and Preserve log.
- Clear the existing log by clicking the Clear 🚫 button.
- Ensure recording is enabled: the Record button should be red 🔴 (click it to toggle).
- Navigate to your target site by entering the URL in the address bar, like https://loadforge.com.
- Perform your scenario by clicking through the pages, filling in forms, clicking buttons, etc.
Tip from the pros
After each click/action, and before the next one, we recommend that you wait until the network panel stops showing activity to ensure all the page requests are complete.
Save Your Scenario
Once you are satisfied with your recording, it's time to stop and save it:
- End recording by clicking the Record 🔴 button.
- Right-click on any of the file names listed in the bottom pane of the Network panel.
- Select Save as HAR with content.
- Save the file on your machine.
That file can be uploaded to the HAR Converter on LoadForge.