NeoLoad as-code

With NeoLoad as-code, you define or override the elements of a test project in YAML files, without opening the Controller. In an automated test, you can:

  • Reuse a scenario you designed in the NeoLoad GUI, then set the run context in code, such as the test duration and the load profile.

  • Override the settings that change between environments, such as server host names, variables, and SLAs. This lets you run the same test against development, staging, and pre-production.

  • Describe a whole test in YAML, including virtual user paths, scenarios, and SLAs. This suits API testing, where you don't need the Controller to design the test.

As-code tests are plain text files. You manage them like source code and keep their history in Git, Subversion, or whichever version control system your team already uses.

In this section