Skip to content

Performance

This page is generated from the live QualityMax MCP registry. Examples use placeholders; replace them with values for your workspace.

Convert a Gatling Scala simulation to k6 JavaScript. Handles HTTP builders, injection profiles, checks, and feeders.

Parameter Type Required Description
gatling_code string Yes Gatling Scala simulation code
target_url string No Override target URL
test_type string No Target k6 test type
project_id integer No Project to save converted script to

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"gatling_code": "your-gatling-code"
},
"tool": "gatling_to_k6"
}

Convert a JMeter .jmx test plan to k6 JavaScript. Handles thread groups, HTTP samplers, timers, assertions, and extractors.

Parameter Type Required Description
jmeter_xml string Yes JMeter .jmx XML content
target_url string No Override target URL in converted script
test_type string No Target k6 test type
project_id integer No Project to save converted script to

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"jmeter_xml": "your-jmeter-xml"
},
"tool": "jmeter_to_k6"
}

Check the status and results of a k6 test execution. Poll this after k6_run_test.

Parameter Type Required Description
execution_id string Yes Execution ID from k6_run_test
include_receipt_details boolean No No description supplied.
include_artifacts boolean No No description supplied.

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"execution_id": "your-execution-id"
},
"tool": "k6_check_status"
}

Create a k6 performance test script. Supports load, stress, spike, soak, smoke, breakpoint, API, security, and browser test types.

Parameter Type Required Description
project_id integer Yes Project ID to create script in
name string Yes Script name
test_type string No Type of k6 test
target_url string Yes Target URL to test
code string No k6 script code (optional - will be generated if not provided)
test_case_id integer No Optional test case ID to link to
description string No Script description

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"name": "your-name",
"project_id": 1,
"target_url": "https://example.com"
},
"tool": "k6_create_script"
}

Generate a k6 performance test script from a target URL and optional endpoint list. Auto-creates load profiles with thresholds.

Parameter Type Required Description
project_id integer Yes Project ID
target_url string Yes URL to generate test for
test_type string No Type of test to generate
endpoints array No API endpoints to test [{method, path, body?}]
vus integer No Virtual users
duration string No Test duration
name string No Script name

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"project_id": 1,
"target_url": "https://example.com"
},
"tool": "k6_generate"
}

Generate a k6 performance test from an existing QualityMax test case. Extracts HTTP interactions and builds a load test.

Parameter Type Required Description
test_case_id integer Yes Test case ID to generate k6 script from
test_type string No k6 test type
vus integer No Virtual users
duration string No Test duration

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"test_case_id": 1
},
"tool": "k6_generate_from_test_case"
}

Get a k6 script by ID including its code

Parameter Type Required Description
script_id integer Yes k6 script ID

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"script_id": 1
},
"tool": "k6_get_script"
}

List k6 performance test scripts for a project

Parameter Type Required Description
project_id integer Yes Project ID to list scripts for
test_type string No Filter by test type

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"project_id": 1
},
"tool": "k6_list_scripts"
}

Generate a performance test report. Supports single execution reports, comparison reports, and project-level summaries.

Parameter Type Required Description
execution_id string No Single execution ID for detailed report
project_id integer No Project ID for project summary report
compare_executions array No List of execution IDs to compare
format string No Report format

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {},
"tool": "k6_report"
}

Execute a k6 performance test. Returns an execution ID for polling status. Supports overriding VUs, duration, and thresholds.

Parameter Type Required Description
script_id integer Yes k6 script ID to execute
vus integer No Number of virtual users (overrides script default)
duration string No Test duration (e.g., ‘30s’, ‘5m’)
env_vars object No Environment variables for the test

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"script_id": 1
},
"tool": "k6_run_test"
}

Update a k6 script’s code, name, or configuration

Parameter Type Required Description
script_id integer Yes k6 script ID to update
code string No Updated k6 script code
name string No Updated name
test_type string No Updated test type

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"script_id": 1
},
"tool": "k6_update_script"
}

Convert a Locust Python load test to k6 JavaScript. Handles HttpUser tasks, wait times, on_start/on_stop, and task weights.

Parameter Type Required Description
locust_code string Yes Locust Python test code
target_url string No Override target URL
test_type string No Target k6 test type
project_id integer No Project to save converted script to

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"locust_code": "your-locust-code"
},
"tool": "locust_to_k6"
}

Convert Playwright API tests or page navigations to k6 load tests. Extracts HTTP calls and builds k6 equivalents.

Parameter Type Required Description
playwright_code string Yes Playwright JavaScript/TypeScript test code
target_url string No Override target URL
test_type string No Target k6 test type
project_id integer No Project to save converted script to

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"playwright_code": "your-playwright-code"
},
"tool": "playwright_to_k6"
}