Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Load Testing

Run Actions

Run, edit, clone, download, report on, annotate, and read the logs of a load test from the action rail on its run page

The run page of a load test has an action rail along its right edge. From the rail you can start the test again, change it, copy it, download its definition, open the run report, add notes, and read the logs, without leaving the run.

FEATURE FLAG

Load Testing is behind a feature flag (CHAOS_LOAD_TESTING_ENABLED). Contact your Harness sales representative to enable it for your account.


What you will learn from this topic

  • What each action does: The actions on the rail, when each one is available, and the permission it needs.

  • How to rerun or change a test from a run: Run, Edit, and Clone, and how they affect the run you are viewing.

  • How to keep a record of a run: The manifest, the report, and run notes.

  • How to read the logs: The log sources for a run and the tools in the log viewer.


The action rail

To open the rail, go to Load Tests, open a load test, and select a run from its run history.

The action rail on a load test run page, with Run, Edit, Clone, Download Manifest, View Report, Add/View Notes, Show Logs, and Workers
Action
What it does
Available
Permission

Run

Starts a new run of the load test.

When this run is not Pending, preparing infrastructure, Running, or Stopping.

Edit load test

Edit

Opens the load test in the Load Test Studio.

Always.

Edit load test

Clone

Opens a copy of the load test in the Load Test Studio.

Always.

Edit load test

Download Manifest

Downloads the load test definition as a YAML file.

Always.

View load test

View Report

Opens the report for this run.

When the run is Finished, Stopped, or Failed.

View load test

Add/View Notes

Opens the notes for this run.

Always.

View load test to read, edit load test to add

Show Logs

Opens the logs for this run. The button reads Hide Logs while the logs are open.

Always.

View load test

Workers

Shows the resource use of each worker pod while the run is in progress.

Runs on Kubernetes infrastructure only.

View load test

An action that needs a permission you do not have is disabled on the rail.


Rerun, edit, or clone the test

These three actions work on the load test, not on the run you are viewing. The run keeps its own configuration and results.

Run

Run starts a new run of the load test with its current configuration.

  • If the test has no runtime inputs, the run starts as soon as you select Run.

  • If the test has runtime inputs, the Run Load Test dialog opens with Tool Inputs and Variables tabs. Enter a value for each input, and then select Run.

When the run starts, Harness opens the page of the new run.

Edit

Edit opens the load test in the Load Test Studio. The changes you save apply to the next runs of the test. They do not change the run you came from, which keeps the configuration it ran with.

Clone

Clone opens the Load Test Studio with a copy of the load test. The copy has the name of the original followed by a short random suffix, which you can change. Harness creates the new load test only when you save it, and then opens its page. The copy starts with no runs and no notes.

Use Clone to try a different load profile or script without changing the original test or its run history.


Keep a record of the run

Download the manifest

Download Manifest saves the load test definition as a YAML file named after the load test, such as checkout-flow.yml. The file is the same YAML that the YAML view of the Load Test Studio shows.

View the report

View Report opens the report for the run, with the run details, headline metrics, charts, and per-endpoint table on one page. The action is disabled until the run ends, because the results are not final before then.

From the report page, select Download Report to save the report as a PDF through the print dialog of your browser.

Add or view notes

Add/View Notes opens Participants' Run Notes for the run. Use notes to record what a run was for and what you found, for example the build under test, a change you made to the target, or the cause of a failure.

The Participants' Run Notes drawer for a run with no notes, with the Add your own feedback box and Save button

To add a note, type it in the Add your own feedback box, and then select Save.

  • Who can add notes: Anyone with permission to edit the load test.

  • Who can change a note: Only the person who added it can edit or delete it.

  • Length: A note can be up to 10,000 characters and cannot be empty.

  • Updates: The list refreshes every 10 seconds, so notes that others add appear while the drawer is open.

Notes also appear at the end of the run report.


Read the logs

Show Logs opens the logs for the run in a drawer. The logs stream while the run is in progress.

The logs drawer for a run, with the Load Test Logs, DDCI Logs, and Harness Delegate Logs tabs and the Console Logs panel

The drawer has a tab for each log source that the run produced:

Tab
Contents
Shown

Load Test Logs

The output of the load test: script validation, the inputs Harness resolved for the run, and the output of the engine.

Always. If the run has not started, the tab shows Logs are not generated for this step.

DDCI Logs

The output of the runner that the Delegate-Driven Chaos Infrastructure (DDCI) started for the run.

When the run has these logs.

Harness Delegate Logs

The steps that the Harness Delegate ran for the run, one section per step.

When a Harness Delegate handled the run.

The Console Logs panel has buttons to search the logs, download them, and open them full screen.

Read the logs first when a run fails, or when it ends with no metrics. The first lines show whether the script was valid and which inputs the run used.


Troubleshooting

View Report is disabled on the action rail

The report is available only when the run is Finished, Stopped, or Failed, because the results are not final before then. Wait for the run to end, then select View Report.

Run is disabled on the action rail

Run requires permission to edit the load test, and it is unavailable while the run is Pending, preparing infrastructure, Running, or Stopping. Ask an administrator for edit permission on the load test, or wait for the current run to end.

The downloaded manifest does not match the configuration of the run

Download Manifest describes the load test as it is now, not as it was when the run started. If the test was edited after the run, the file contains the edited configuration.


Next steps

Last updated

Was this helpful?