• ACTIVE
  • HALTED
  • MONITORED
  • HUMAN

How to run and stop load tests with your AI

Connect LoadNinja to your agent to automate browser-based performance testing. You can trigger specific scenarios and halt them the moment things go wrong.

Ask AI about this page

Short answer

How can I use my AI to manage LoadNinja tests?

You tell your AI which scenario to start, and it uses LoadNinja to launch the browser-based load test. If you see performance degrading, you tell the AI to stop the run to save resources. This gives you direct control over the testing lifecycle through chat.

Test control outcomes.

Direct control over your tests.

What happens when your AI interacts with LoadNinja.

ACTIVE

Running scenarios

The AI starts the specific browser-based test you requested. You get immediate confirmation that the load is being applied.

HALTED

Emergency stops

If the site slows down or errors spike, the AI kills the test run instantly. This prevents unnecessary load on your infrastructure.

MONITORED

Performance oversight

Your AI watches the test progress. You can ask for status updates while the load is being applied to your target.

HUMAN

Manual intervention

The AI cannot write the actual test scripts or design the test logic. You still handle the core test engineering and scenario creation.

The workflow

What your AI does when <the thing arrives>.

The AI acts as the bridge between your natural language commands and the LoadNinja execution engine.

  1. Triggering tests

    When you ask to start a specific test, the AI identifies the right scenario and kicks off the execution.

    run_scenario
  2. Monitoring status

    The AI tracks the active test to ensure it is running as expected.

    run_scenario
  3. Stopping runs

    If you notice a performance dip, the AI sends the command to terminate the current load immediately.

    stop_test_run
  4. Managing lifecycle

    The AI handles the transition from starting a test to cleaning up a failed or finished run.

    run_scenariostop_test_run

Try it

Copy these to start.

Use these prompts to control your testing immediately.

Starting points

Swap out the bracketed text for your actual scenario names or test IDs.

LoadNinja Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_flwAteXzuZIz58RcBrW0pK5weKMRXmdJ8NviFra4/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — LoadNinja capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "loadninja-real-browser-load-testing-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_flwAteXzuZIz58RcBrW0pK5weKMRXmdJ8NviFra4/mcp"
    }
  }
}
Copy into chat04
  • Run the 'Checkout Flow' scenario in LoadNinja.

  • Stop the current load test run right now.

  • Start the 'Mobile User Simulation' scenario.

  • Check if the 'API Stress Test' scenario is still running.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect LoadNinja once, then ask.

One connection gives your AI access to your testing suite. Your credentials stay encrypted and secure.

Connect LoadNinja to your AI

FAQ

How the testing task behaves

  • 01

    Can the AI create new test scenarios for me?

    No. The AI can only run or stop scenarios that you have already created in LoadNinja.

  • 02

    Will the AI automatically stop a test if it sees high latency?

    Only if you tell it to. You must instruct the AI to monitor performance and stop the run if certain conditions are met.

  • 03

    Can the AI delete my test data?

    No. The available tools only allow for running and stopping tests, not deleting data or configurations.

  • 04

    Does the AI handle the browser rendering?

    Yes, the AI triggers the LoadNinja engine which handles the real-browser execution.

  • 05

    Can I use this with any AI client?

    Yes, as long as the client is MCP-compatible, like Claude, Cursor, or Windsurf.

  • More questions about LoadNinja? The Connector page answers them. See everything the LoadNinja Connector can do

Connect LoadNinja to Claude, Cursor, ChatGPT & more