Skip to content

Debug panel

debug

debug-occurences

The debug panel allows you to view the requests and responses played during the record of the Virtual User and during a Validate VU.

You can use the LEFT and RIGHT drop down lists to select an occurrence. When a different occurrence is selected in each of these lists, the Debug panel will switch to Comparison mode.

To revert back to the Detailed mode, just select the same occurrence in both FIRST and SECOND lists.


Tip

If you create a Virtual User by hand (without importing a HAR), recorded requests and responses are not present. You may run a validation to get requests / responses.

Icon Action Description
debug-save Save as recorded This action will overwrite the recorded response with the new one. Be careful, it cannot be undone.
debug-new-tab Open in a new tab Sends the response content in a new browser tab to attempt rendering it.

Timings

debug-timings

In this section you can see various metrics regarding the requests. Hover your mouse on one of the bars to see the nature of this metric.

The various metrics are:

Warning

The recorded shows timings from your browser, they can be very different from timings of the validations executed from our cloud agents.

Detailed mode

When only one occurrence is available or, the same occurrence is selected in both FIRST and SECOND drop down lists, the detailed mode is activated.

debug-detailed-mode

On top of this, you can use the top right menu to perform actions:

Icon Action Description
auto-format Enable/Disable auto format Toggle the content formatting for this box.
expand Expand in new window Opens a new window, giving you more space to work with.

Tip

You can use the same shortcuts as in code blocks. Check the dedicated page for more info.

Comparison mode

When a different occurrence is selected in FIRST and SECOND drop down lists, the debug panel switches to comparison mode. In that mode the text editor is slightly less powerful but instead you can use it to compare Headers or bodies across different occurrences.

debug-compare-mode

Icon Action Description
debug-unlock Go to Previous/Next difference Move through detected differences.
auto-format Enable/Disable auto format Toggle the content formatting for this box.
auto-format Switch comparison mode Toggle between side by side and in line comparison.
expand Expand in new window Opens a new window, giving you more space to work with.

Tip

You can use the same shortcuts as in code blocks. Check the dedicated page for more info.

Processor debug

When a Processor like the regex processor is selected, the debug panel will instead display the results of this extractor for the selected response occurrence:

debug-processor

Variable

If your post processor uses a variable, the debug will not work since the value of this variable is not known. But for testing purpose it is possible to specify the value of all variables in the context menu:

variable-regex

Playwright debug

When debugging Playwright virtual users, the debug panel is completely different, check the Playwright Action page for more information.