Overview

Loadmill users can easily record real user sessions as Loadmill test flows, then integrate the flows into their Continuous Delivery pipeline and run them per each code-change.

Loadmill provides two main options to record real user sessions: Loadmill Chrome recorder extension and Loadmill node recorder.

Loadmill Chrome recorder extension

  1. Download the extension herearrow-up-right.

  2. Go to Test Suitesarrow-up-right in Loadmill and create a Test Suite.

  3. Open the Chrome Developer Tools => switch to the Loadmill Rec tab and select name of the created Test Suite in the extension.

circle-exclamation

4. Click on the "Clear" button within the extension to clear the captured requests list and navigate to the tested website.

5. Start recording your test. By default, the recorder captures only requests from the main domain. In case you have more domains to record, click on FILTER SETTINGS and add them, also you can filter irrelevant strings out in these settings.

Note, you can also configure URL Filters within the Recordings Settingsarrow-up-right so that the entire team will have the same filters.

6. To make sure your recorded session includes only relevant requests, you can click on the expanding arrow within requests to see their request and response body. Delete irrelevant requests by clicking on the "Delete" icon.

7. When you are done recording your session, click the "Upload" button at the bottom.

8. Click on the small box next to the Test Suite name to open the recorded test in your Test Suite.

circle-info

🧙 For each test flow Loadmill automatically creates extractionsarrow-up-right and assertionsarrow-up-right:

  1. Default assertions - for any extraction we find in the recorded test, we add a default assertion to it (example: "id" exists).

  2. Specific assertions - for any parameter with given user key (for example, "success") we extract it and assign to it an assertion (example: "success" equals "true").

9. Run the Test Suite by pressing the "RUN SUITE" button and see your resultsarrow-up-right. 🥳

Loadmill node recorder

We've developed a smart recorder that allows users to capture traffic in the QA or Production environment and replay it as API tests.

The Recordings tabs
  1. Create a new recording from the Recordings tabarrow-up-right in Loadmill.

  2. Play your test scenarios in the recorded app. By default, the traffic is split to different sessions by its source (different IPs) and intermissions between user actions. (If you wish to manually split a recorded session in your test environment, use the Loadmill session splitterarrow-up-right, else you can use our advanced Recordings settingsarrow-up-right)

  3. When you're ready, stop the recording and generate a Test Suite from itarrow-up-right.

See how to set the recorder up in the next guidearrow-up-right.

Support

We are always here if you need any help! Click on the bubble chat button in the lower-right corner of the screen or drop us a line at [email protected]envelope.

Last updated