Skip to main content
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Use groups in Requestly load tests

Group recorded requests by user step, then set thresholds and view results for each group.

Groups let you set up, check, and read a load test by user step, such as Login, Search hotel, and Book room, instead of by individual request. A group is a top-level folder in a Requestly collection. You create groups while you record a journey, set pass or fail thresholds on them, and see results for each group in reports, run comparisons, and exports.

Groups apply to API-only tests and to the API side of hybrid tests that use a Requestly collection. Browser tests and script-based API tests, such as k6, JMeter, Gatling, and Locust, don’t change.

Prerequisites

Ensure you have the following:

If you don’t see New group in the recorder, update the Requestly browser extension. Group views in reports appear for every Requestly run, including runs from before groups existed.

How groups work

Load Testing reads groups from the structure of your Requestly collection:

  • Each top-level folder in the collection is a group.
  • Requests that sit directly in the collection, outside any folder, form a group called Default group.
  • Requests in nested folders count toward their top-level folder, at any depth.
  • Folders with no requests aren’t listed as groups.
  • Requests outside folders run first. Groups then run in the order that Requestly lists them.
  • Two top-level folders with the same name are two separate groups that show the same name.

Requestly collection with loose requests and Login, Search hotel, and Book room folders mapping to four groups, with nested Payment counted in Book room

Record a journey in groups

To record a journey in groups, follow these steps:

Start the recorder

Create a load test and choose to record a user journey, as described in Capture API calls by recording a journey.

On Step 2/3: Load Sources, select Create Script > Record user journey. Enter the URL to record and click Start recording. Your app opens in a new window, and the Requestly recorder opens in the Chrome side panel.

Requestly recorder capturing requests into Default group while recording

Record and name the first group

Perform the first step of your journey, for example, log in. The recorder captures each request into Default group.

To rename the group, click the pencil icon next to its name, enter a name such as Login, and confirm. You can rename any group, including Default group.

Recorder with a Login group capturing session, login, and profile requests

Add a group for each step

Click New group before you start the next step of your journey. The recorder adds a group called Group 1. Each later group gets the next number, such as Group 2 and Group 3. Rename the new group, for example, to Search hotel. The recorder captures every new request into this group.

Repeat for each remaining step, for example, Book room.

New group button with a tooltip explaining that later requests go into the new group

Stop the recording

Click Stop. The recording also stops automatically 15 minutes after it starts. Pausing doesn’t extend this limit.

While you record, Load Testing shows Recording in progress…, or Recording is paused if you pause in the recorder. When you stop, Filter requests opens and lists your groups in the order you recorded them.

Group names

If a name breaks a rule, the recorder shows an error, such as A group with this name already exists. Each group name must follow these rules:

Rule Example of a name that isn’t allowed
Can’t be empty or contain only spaces A name made of three spaces
Must be unique within the recording A second group named Login
Can’t be longer than 60 characters A 61-character name
Can’t contain :: or a line break Checkout::Payment
Can’t start or end with : Login:

Recorder rejecting a second group named Login because the name already exists

Organize requests while you record

You can organize captured requests in the recorder while you record:

  • To skip actions between steps, click Pause, then click Resume when you’re ready. The recorder doesn’t capture requests while it’s paused.
  • To move requests, select them and click Move to. You can also click the â‹® icon on a row and select Move to group.
  • To delete requests, select them and click Delete.
  • To reverse a move or delete, click Undo in the confirmation banner.

Groups that are still empty when you stop recording aren’t saved.

Paused recorder with a banner saying requests made now are not captured

Two requests selected in the Checkout group with the Move to and Delete actions in the toolbar

Review the groups and save the collection

After you stop recording, review your groups on Filter requests, then save them as a Requestly collection.

Review the groups

On Filter requests, your requests appear under their groups:

  • The Groups tile counts the groups that have at least one included request. A group with no included requests is skipped when you save.
  • Each group has a header row with its name and the number of included requests, for example, 3 of 4 included. Click the header to collapse or expand the group.
  • A recording with a single group shows a flat list, without group headers.
  • Search and the Method, Host, and Type filters only hide rows. They don’t change which requests are included.
  • WebSocket connections are excluded by default. Select them to include them.

Filter requests screen listing requests under Default group, Login, and Checkout with a Groups count of 3

If Filter requests shows Grouping data is missing, Load Testing couldn’t read how your requests were grouped, so it can’t show or save them. Click Record again to record the journey with your groups again.

Save the collection

To save the collection, follow these steps:

  1. Continue through Review correlations as usual.
  2. On Save as a Requestly collection, enter a Collection name and select a Requestly project.
  3. Expand Review collection contents to check each group. Each group is a collapsed section that opens to show its requests.
  4. Click Save collection.

Save as a Requestly collection screen showing 6 requests and 3 groups included

The new Requestly collection has one folder per group, with each group’s requests in the order you recorded them. Every recording is saved this way, including a recording that has only Default group, so no request is left outside a folder.

Use groups from a collection you built in Requestly

You don’t have to record a journey to use groups. If you build or import a collection directly in Requestly, Load Testing turns each of its top-level folders into a group. It doesn’t change the collection in Requestly.

The following table shows the groups that Load Testing creates for different collection structures:

Your collection Groups that Load Testing shows
Requests only, with no folders One group, Default group. The Group threshold scope is unavailable.
Folders, plus requests outside any folder One group per top-level folder, plus Default group for the requests outside folders.
Nested folders, for example, Checkout > Payment > Pay by card Only the top-level folder, Checkout. Requests at any depth inside it count toward Checkout.
One folder that wraps every request One group. The Group threshold scope is unavailable.
A folder with no requests Not listed. A threshold that names it is treated as missing.
Two top-level folders both named Login Two separate groups, both shown as Login. Each has its own row in thresholds and reports.
A folder name that contains :: or a line break, or that starts or ends with a colon Load Testing adjusts the name within Load Testing so that the test runs. The folder keeps its name in Requestly.

Set a threshold on a group

To fail a run when one step of your journey is too slow or has too many errors, scope a threshold to that step’s group. In the Thresholds tab, select Group as the threshold scope and choose one or more groups. For the steps and rules, see Set a threshold on a Requestly group.

When a group is missing at run time

A group threshold identifies a group by its name. If someone renames, deletes, empties, or moves that folder in Requestly after you set the threshold, the group is missing from the collection. Load Testing can’t tell a rename from a removal, so it treats both as missing. A folder that someone adds becomes a new group and needs no action.

Load Testing checks the groups before every run. A missing group doesn’t block the run. You choose how to continue.

Choose how to continue

When you click Run Load Test or Re-run and a group threshold names a missing group, the Collection changed in Requestly prompt opens. It shows how many thresholds the run will skip, or how many thresholds use missing groups if each of them still has other groups to check.

You need edit rights on the load test to choose Run test or Review thresholds. Without edit rights, both buttons are disabled. Ask a project admin to continue the run.

Choose one of the following:

Action Result
Run test The run starts and leaves out the thresholds whose groups are missing. The thresholds stay on the load test, and no new version is created. Load Testing records the skip on that version, so later runs of it start without the prompt, including scheduled runs and runs started by other users. The report lists the skipped thresholds as Skipped.
Review thresholds Opens the Thresholds tab of the load test so you can replace or remove the missing groups. Nothing runs until you save. See Fix thresholds that use missing groups.
Close icon (X) Nothing runs and nothing is saved. When you click Run Load Test again, Load Testing checks the groups again.

Collection changed in Requestly prompt saying 3 thresholds will be skipped, with Review thresholds and Run test

Fix thresholds that use missing groups

To fix the thresholds, follow these steps:

  1. Click Review thresholds in the prompt, or edit the load test and open the Thresholds tab. A warning above the threshold rows shows how many thresholds use groups missing in Requestly.
  2. On each red chip, remove the group or pick another one. The message under the row names the missing group. Save Only and Save & Run Test stay disabled until you fix every red chip.
  3. Save the test.

Thresholds tab warning that 2 thresholds use groups missing in Requestly, with the group picker open

Saving creates a new version with no skipped thresholds. The next run checks every group, and its report shows nothing as skipped. Earlier runs keep their Skipped rows.

How thresholds are skipped

  • Only the missing groups are skipped. For example, if a threshold names Checkout and Login and Checkout is removed, Load Testing still checks the threshold on Login.
  • A threshold whose groups are all missing is skipped as a whole. It stays on the load test.
  • A skipped group stays skipped even if it comes back in Requestly. To check it again, add it back to the threshold in the builder and run the load test.
  • If another group goes missing later, the prompt opens again for that group.
  • If the collection changes while the prompt is open, Load Testing checks again when you choose an option. It never skips a group that the prompt didn’t show.

Re-runs and restored versions

  • A re-run uses the settings saved with that run. Editing the load test doesn’t change them. Run test on a re-run applies to every later re-run of that version. Re-runs of other versions prompt once each, because each version keeps its own thresholds.
  • Review thresholds from a re-run opens the current version of the load test, not the old run. To re-run the old run, use Run test.
  • You can restore an older version. If a group is missing, the next run of the restored version opens the prompt.

Runs that start from other places

The group check also runs when a test starts from other places:

Where the run starts What happens
Test builder The missing group appears as a red chip, and you can’t save until you fix it. See Fix thresholds that use missing groups.
Scheduled run The run doesn’t start, and the schedule owner receives an email that explains why. The schedule resumes after someone clicks Run test on the load test, which skips the same groups, or fixes the thresholds. As before, a schedule pauses after three failed runs in a row.
CLI and CI The run doesn’t start. The CLI prints a message that lists the missing groups.
API and MCP The run doesn’t start. The API returns HTTP 422 with the error code group_threshold_stale, and lists the missing groups in details.missing_groups. These callers can’t choose to skip groups.

Deleted, unreachable, or edited collections

  • If the collection is deleted in Requestly, the run doesn’t start and no VU hours are used. Scheduled runs don’t start either and show Didn’t run in the schedule’s last runs. To fix this, edit the load test, select a collection that exists, and run it again.

    Error saying the collection was deleted in Requestly and asking you to choose another collection

    Schedules tab with a Didn't run tooltip explaining that the Requestly collection was deleted

  • If Load Testing can’t reach Requestly before the run, the run starts as normal. A threshold whose group is missing shows Failed to compute at the end of the run.
  • If you change only the contents of a group, such as its subfolders or requests, the Collection changed in Requestly prompt doesn’t open, because the group still exists. Each group’s results reflect its contents at run time.

Read the report by group

Open a completed run to see its results by group. Past runs keep the group names they ran with, even if you rename a folder later. A Requestly run with no folders shows one group, Default group, including runs from before groups existed. In Requestly run reports, Folder is now Group. Reports for k6 runs don’t change.

Threshold Results on the Summary tab

  • The Threshold Results header shows a count for each status: Passed, Failed, and Skipped.
  • A threshold that was checked on only some of its groups counts only the groups that were checked.
  • A threshold whose groups are all missing shows an amber icon and Skipped as its value. Hover over the icon to see which groups are missing. If you can edit the load test, hover over the Skipped count to see a Review thresholds link.
  • Click See All to open the full list. Use the view selector to switch between All Thresholds and Skipped Thresholds Only.
  • Skipped thresholds don’t affect whether the run passes or fails.

Threshold Results with 1 passed and 1 skipped group threshold

Tooltip on the Skipped count explaining that the groups are missing in Requestly, with a Review thresholds link

Full Threshold Results list with the All Thresholds view selected

APIs tab

  • Requests: Switch between Request and Group. The Group view has one row per top-level group, and each row expands to show the group’s requests.
  • Slowest Groups: In the response time chart’s â‹® menu, select Slowest Groups to rank groups by response time. The chart title changes from Slowest URLs (Response Time) to Slowest Groups (Response Time).
  • Errors: In the error breakdown, switch between Response Codes, Requests, and Groups. In Highest error percentage, switch between Requests and Groups.
  • Assertions: Switch between Request and Group.

Hybrid runs show the same views for the API side. Groups with the same name always appear as separate rows.

API Performance by Group listing Checkout, Login, and Default group with count, error, and response time

Assertions Breakdown by Group with Checkout expanded to its requests

Compare runs by group

When you compare two Requestly runs, the API Performance by Groups section replaces the Folder view and has a Search Groups box. Load Testing matches groups between runs by their identity, so two different groups that share a name are never paired. A threshold or group that isn’t in one of the runs shows N/A for that run.

API Performance by Groups comparing two runs, with N/A for groups present in only one run

Compare Thresholds section listing group thresholds with N/A for the run that did not check them

Export results

  • In the CSV export, the aggregated network requests file for a Requestly run starts with the Group, Folder path, and API Scenarios columns, followed by the usual metrics: Req Rate, Error %, Min, Avg, P90, P95, P99, Max, and Count. CSV files for other test types don’t change.
  • The PDF report for a Requestly run adds a Slowest Groups (Response Time) chart and an HTTP Performance by Group section. It also adds an Errors Breakdown by Group section if the run has group errors.

The aggregated network requests file for a Requestly run now starts with two extra columns, Group and Folder path. This also applies to CSV files you download for past runs. If a script reads these files by column position, update it before you use it with new exports.

To download the CSV, see Export load test reports to CSV. To download the PDF, select Download PDF Report from the report’s ⋮ menu.

Where groups are supported

The following table lists what you can do with groups on each surface:

Surface What you can do
Requestly recorder Create, rename, move, and delete groups while you record.
Dashboard, Thresholds tab Set group thresholds. Group is available next to All Requests and Multiple Requests.
YAML and CLI You can’t write group thresholds in YAML, and CLI runs don’t check them.
API and MCP You can’t set group thresholds. A run with a missing group is refused with HTTP 422.
Reports, run comparisons, CSV, and PDF Read results by group.

The following table lists which test types support groups:

Test type Group thresholds Group views in reports
API-only, with a Requestly collection Yes Yes
Hybrid, with a Requestly collection on the API side Yes, on API metric rows Yes, for the API side
Script-based API tests, such as k6, JMeter, Gatling, and Locust No No. Reports stay as they are.
Browser tests No No

What’s next

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle