Sequence | Leapwork Docs

This guide helps you get started with Sequence in Leapwork Go, understand what you see on screen before you start building complex sequences and start recording, editing, and previewing performance tests.

What is a Sequence?

A Sequence is a list of steps that represents one user journey or API flow. In Go, sequences are the building blocks for load tests:

You typically create or open a sequence, validate it with a preview run, and then add it to a timeline to run under load.

The Sequence workspace

If you’re new to Leapwork Go, start with the Overview of the Go workspace for a tour of the user interface:

When you open a Sequence, the workspace shows Sequence‑specific information inside that same layout:

  1. Project Explorer: shows where the sequence is stored together with related assets (data items, timelines, etc.).
  2. Sequence Tab: shows the sequence name and provides actions such as Close and Refresh for that sequence.
  3. Sequence Canvas: shows the sequence steps list and the step details panel, plus Record and Preview controls for this specific sequence.

Sequence tab bar and toolbar

The Sequence tab bar and toolbar at the top of the window show the current environment and the sequences you have open.

When you work with multiple sequences, the tab bar helps you switch between them quickly.

Sequence canvas

The sequence canvas appears in the large dark area at the center of the window. Use the canvas to build and edit the sequence. Here you can view the list of steps in the sequence, edit request details, add variables and assertions, control the flow, and reorder or group steps.

At the top of the canvas, several controls help you configure how the sequence works.

Data and user selection

These controls appear from left to right across the top of the canvas.

The sequence editor includes a search field. Use it to find steps or properties within the current sequence.

Open a picker to choose the data items that the sequence uses. Data items can include tables with test data or CSV-style lists of user accounts or payloads. After you select them, you can reference these items in step parameters and formulas.

Choose the Azure Active Directory (AD) user profile that the sequence uses for authentication. Use this option when the recorded flow requires authenticated traffic, such as Dynamics 365 endpoints. Go uses this information to obtain tokens when it runs the sequence.

Select the geographic region where Go runs the sequence. The selected region affects network latency and behavior during preview and load execution, and determines which agents and runners perform the work. These settings control how the sequence runs, not how you edit its steps.

Run and Preview controls

On the far right of the canvas toolbar, you can start recording or run a quick test of the sequence.

Start the proxy. When you route HTTP(S) traffic through the recorder, Go captures requests and responses and converts them into steps in the active sequence. Use this option to build a sequence by interacting with the target system instead of creating steps manually.

Run the sequence once without starting a full timeline. Use Preview to confirm that requests reach the target system and that parameterization, data items, and AD user settings work correctly. Run previews frequently while building or editing sequences before you add them to a load timeline.

Sequence steps and step details

This section introduces the sequence steps list and the step details panel. Together, these areas help you move from a recorded flow to a reusable, data-driven performance test.

The steps list provides an overview of the entire sequence, while the step details panel lets you configure how each request behaves.

Sequence steps list

The middle section of the window displays the steps list for the selected sequence. Each row represents a step in the flow, typically an HTTP(S) request captured during recording or added manually.

The steps list gives you a quick overview of the entire sequence so you can understand how the flow will execute.

You can use the steps list to:

You can also manage the flow directly from the steps list. You can right-click on steps to perform various actions:

Use the steps list as the main overview of your sequence.

Enlarges the table by opening it in a full screen dialogOpen

Option Description
Generate random value Creates a step that generates a random value (e.g., string/number) for use in later requests.
Add set value Adds a step that assigns a fixed value to a variable or header/parameter.
Copy as cURL (bash) Copies the selected HTTP step as a curl command formatted for Bash shells.
Copy as cURL (CMD) Copies the selected HTTP step as a curl command formatted for Windows Command Prompt.
Add loop ▸ Opens options to insert a loop controller to repeat one or more steps.
Add if..else Inserts a conditional controller to run different branches based on a condition.
Add http call Adds a new HTTP request step to the sequence.
Add Sequence Nests another sequence inside the current one as a reusable block.
Paste cURL as HTTP step Converts a previously copied curl command into a fully configured HTTP step in the sequence.
Add Wait Inserts a wait/delay step between other steps.
Group Groups selected steps so they can be managed or moved together.
Skip step Marks the selected step so it is not executed during a run/preview.
Create duplicate Creates a copy of the selected step (or group of steps).
Add Comment Adds a non-executing comment step for documentation and notes.
Delete Removes the selected step or group from the sequence.

Use table header to sort columns

Step details panel

The right side of the window shows the step details panel for the step you have selected in the middle list. This area is focused on one API call or request at a time and is where you configure how that step behaves.

At the top, you see a request overview:

Next, you can refine the request through dedicated sections:

The step details panel also provides tools for parameterization and variables. During a Preview run, the step details panel also displays the response for the selected step, including:

This information helps you verify that parameterization works correctly, identify values to reuse in later steps, and troubleshoot errors directly in the sequence editor.

Viewing and editing an API step

When you work with sequences, the step details panel becomes your main workspace for configuring requests. A common workflow is to start with a recorded flow and then refine each step so it becomes maintainable and data-driven.

To open a step, simply select the request in the steps list. The right panel updates immediately to display its method, URL, headers, body, parameterization, and assertions.

Once the step is open, you can adjust how the request behaves. For example, you might:

Preview run log

When you use Preview in a sequence, Leapwork Go runs the sequence once and shows detailed results without starting a full load test. The preview run log gathers this information in one place so you can quickly understand what happened during the run.

You can think of the preview run log as a debug view for your sequence. It shows which steps ran, how they behaved, and where any problems occurred.

What the preview run log shows

After you run Preview, the log provides a structured view of the run results. It helps you quickly determine whether the sequence behaved as expected.

The log typically shows:

Use the preview run log for troubleshooting

The preview run log is most helpful when you are building or adjusting a sequence and want to validate your changes quickly. By iterating between the step details panel and the preview run log, you can gradually refine the sequence until it behaves as expected and is ready to run in a load timeline.