AI Summary for Load Tests
Understand the AI-generated summary of a load test, when Harness generates and refreshes it, and what it sends to the model in Harness Resilience Testing
The Summary is a short, plain-language description of what a load test does, written by Harness AI from the test definition. It tells someone opening the test for the first time which service it targets, how the load is shaped, and what the script exercises, without reading the script.
What you will learn from this topic
Where the summary appears and what it describes.
When Harness generates the summary, and which changes refresh it.
What Harness sends to the model, and what it removes first.
Before you begin
Load Testing enabled: Your account has the
CHAOS_LOAD_TESTING_ENABLEDfeature flag.AI features enabled: Your account has the
CHAOS_AI_RECOMMENDATION_DEVfeature flag, and Harness AI is turned on. Harness reads the Harness AI setting at the project scope first, then the organization, then the account, so a project or organization can turn it off for its own tests.A saved load test: Harness writes the summary after a save. Go to Create a load test to create one.
Where the summary appears
The summary appears in two places, marked with the AI icon and the label Summary.
Load test Overview. Open a test from Resilience Testing > Load Tests. The first entry under About This Test is the summary, shortened to three lines.

The About This Test panel of a load test, with the Summary entry showing the first three lines of the generated summary Load Test Studio. Select Edit on the test. The Metadata card on the Overview tab shows the full summary beside Name, Description, and Tags.

The Metadata card in the Load Test Studio, with the full summary beside the Name, Description, and Tags fields
The summary is read-only. Harness writes it, and you cannot edit it. Use Description for anything you want to say in your own words.
What the summary describes
The summary is at most 120 words, in three or four short sentences of plain text. It covers:
Purpose and target: what the test is designed to do and which service or endpoint it targets.
Load shape: the Load Test Engine, the number of users, ramp, and duration, and whether the test runs on Kubernetes or a Linux VM, using the numbers in the test definition.
What the script exercises: notable requests, checks, thresholds, the container image, and JMeter properties when they are present.
When the test has a Description, the model uses it as extra context for intent, without copying it. The summary describes the test as it is configured. It does not report results, latency, or error rates from any run. Go to Analyze load test results to read the results and the AI Insights analysis of a finished run.
When the summary is generated
Harness generates the summary after you create, clone, or save a load test. The save completes first, and the summary is written in the background.
While it is being written, a spinner appears next to Summary. The page checks for the new summary every five seconds and shows it as soon as it arrives. Generation has a 45-second limit. If it does not finish in time, or it fails, the previous summary stays in place.
A test that has no summary yet gets one on its next save. After that, Harness writes a new summary only when the parts of the test that the summary describes change.
The script or test plan, other than whole-line comments and blank lines
The Name, Description, or Tags
The Load Test Engine, or whether the test runs on Kubernetes or a Linux VM
The infrastructure or environment you selected
Users, ramp, duration, or other load settings
Environment variables
Thresholds
Secret variables and properties
The host URL, variables, or properties
The image pull secret
The container image
Whole-line comments, such as lines that start with # or //, and blank lines in the script
To get a new summary, change and save one of the items in the first column.
Harness does not generate a summary for:
A load test template.
A load test that a pipeline step creates on your behalf from a template.
A load test with nothing to describe yet, that is, no script, no container image, and no load settings.
What Harness sends to the model
Harness sends the model the test definition as YAML, with the script or test plan as text. For a Java test uploaded as a .zip, it sends the text of the test plan, not the archive. The document is capped at 12,000 characters, so a very long script is summarized from its beginning.
Before sending, Harness removes:
The test Name, Description, and Tags from the document. The name is sent with the request so the model can refer to the test, and the description is sent separately, as context only, cut at 2,000 characters.
The infrastructure, environment, service references, environment variables, and image pull secret.
Variables and properties marked secret, or whose names contain
PASSWORD,SECRET,TOKEN,CREDENTIAL,AUTH,KEY,PRIVATE,CERT,PEM, orPASSPHRASE.
It also replaces the following with [REDACTED], or removes them from URLs:
Harness secret expressions, such as
<+secrets.getValue("api_token")>.BearerandBasiccredentials.Values passed to command-line flags such as
--password,--token, and--api-key.Values assigned to names that contain the words listed above, such as
API_KEY = "...".User names, passwords, query strings, and fragments in URLs.
Troubleshooting
Next steps
Go to Create a load test to create a test that Harness can summarize.
Go to Analyze load test results to read the generated analysis of a finished run.
Go to Load testing key concepts to review virtual users, load profiles, and thresholds.
Last updated
Was this helpful?