Check your first user path
NeoLoad CheckVU (neoload checkvu) checks that your project file is valid, then runs each user path once against your application. It tells you whether a user path is correct before you spend virtual user resources on it. For a syntax-only check, validate the syntax with neoload validate.
The check runs entirely on your machine. You don't need a NeoLoad Web account, a token, or a license to run it. This topic explains how to run the check, read the results, and find out why a user path failed.
Before you start
To check a user path on your machine, you need the following:
-
The NeoLoad command-line interface (CLI) and Java Development Kit 21 or later. For the setup, check out Install the NeoLoad CLI.
-
An as-code project file, for example, default.yaml.
-
Your application, running and reachable from your machine.
Run the user paths
Use this command to run the user paths against your application:
neoload checkvu default.yaml
The command reports every user path that completes without a blocking error as passed.
The first run also downloads the CheckVU engine, so it takes longer than the ones after it.
To run only one user path, add the -u option and the user path name:
neoload checkvu -u "Login" default.yaml
Read the results
The command returns exit code 0 when every user path passed. It returns 1 when a user path failed or the command couldn't run. Pipelines use the exit code to pass or fail a build, so you rarely need it when you run the check by hand. For the detailed result, check out The NeoLoad CheckVU result file.
To find out why a user path failed, read the console output and the logs. Use the following options to keep the logs and the result files:
-
-w names a work directory, which keeps the engine logs instead of deleting them with the temporary directory. Every new run replaces the contents, so copy out anything you want to keep.
-
--output names a folder for the result file and the request and response content.
Alongside the JSON, --output writes one file per request and one per response. These files contain the full headers and bodies as plain text, and the command doesn't mask anything. This includes every credential, token, and piece of personal data that your user paths send or receive. Keep the folder out of your repository, restrict who can read it, and delete it when you're finished.
Investigate a failure
A failure usually means your YAML file and your application no longer match: a URL that moved, an extractor that no longer matches, or an assertion that's no longer true.
To investigate a failure, work through the output in this order:
-
Check that CheckVU ran the file you expect. Before it runs, CheckVU copies your project to the work directory. The output shows the path of your project file first, then the path of the copy in the work directory.
-
Read the result line. It reports the result and the number of blocking errors, and the tree below marks the step that failed.
-
Read the response content. The checkvu-content folder, inside the folder you named with --output, holds the request and response files for each step. Open the ones for the failing request to see what your application returned, then fix the YAML file.
-
Rule out problems with the load generator, the engine component that sends the requests to your application. The work directory holds one zipped log for each user path. Unzip it to confirm that the load generator started and connected to the controller, the engine component that manages the run.
Once you fix the YAML file, run the command again. The check runs on your machine, so it uses no virtual user resources. An AI assistant can run the same command.
This run checks a project with two requests and keeps both the engine logs and the response content. The second request fails.
The command writes the engine logs to ../work and the result content to ./checkvu_output. Both folders sit outside the project.
neoload checkvu -w ../work --output ./checkvu_output myProject.yaml
The output shows that NeoLoad loaded your myProject.yaml file, and the tree shows the two requests that the project defines. The result line reports one blocking error, and the tree traces it to request #0002, which returned http=400 for /v4/tests:
Yaml file is valid.
Loading the as code project definition: /home/jdoe/wks/demo/myProject/myProject.yaml.
Logging to /home/jdoe/wks/demo/work/logs, as user: jdoe
Launching agents
Agents launched
Loading the as code project definition: /home/jdoe/wks/demo/work/project-input/myProject.yaml.
Project NeoLoad_CLI_simpledemo loaded
Initializing...
Running
Stopping...
Stopped.
CheckVU virtual user: userPathSimpledemo
CheckVU result: FAILED (blocking errors: 1)
CheckVU wall time: 27260 ms
+-- OK duration=12273ms userPathSimpledemo
+-- OK duration=0ms Init
+-- OK duration=12273ms Actions
+-- OK duration=12273ms simpledemo_transaction
+-- OK #0001 duration=11026ms http=200 /
+-- FAILED #0002 duration=246ms http=400 /v4/tests
| error: (no additional detail; see NeoLoad logs)
+-- OK duration=1001ms DELAY
+-- OK duration=0ms End
Content dump: /home/jdoe/wks/demo/myProject/checkvu_output/checkvu-content
Report: /home/jdoe/wks/demo/myProject/checkvu_output/checkvu-result.json
Next, open the request and response files in checkvu-content to see what the application returned for request #0002.
To rule out the load generator, print its log from the work directory:
unzip -p /home/jdoe/work/logs/checkvu/userPathSimpledemo_log.zip
The first lines of the log show whether the load generator started and connected to the controller:
2026/09/22 16:13:44 INFO - neoload.LG_INFO: Starting LoadGenerator Version 2026.3.0 ;build=20260914-1570
2026/09/22 16:13:44 INFO - neoload.LG_INFO: JVM Version: 21.0.12.1 - OpenJDK 64-Bit Server VM - Xmx= 3663200256 bytes
2026/09/22 16:13:44 INFO - neoload.LG: Registered to Agent. Port 40175
2026/09/22 16:13:45 INFO - neoload.LG_INFO: Connection established with the Controller localhost:7101:42773
The load generator started and reached the controller, so the failure comes from the test rather than the infrastructure.
What's next
Now that your user path passes, here's what you can do next:
-
Run the project in NeoLoad Web to test it under real load.
-
Automate as-code checks in your pipeline to catch a broken user path on every commit.