Execute Generated Tests

Execute generated tests

The Test Executor makes generated tests operational. You point it at a target environment, supply the identities to test under, select the payloads you want, and run them — all without leaving the canvas.

The executor loads the generated Java test classes into an editor. Set the target URL (the example uses http://localhost:1234) and configure admin and user role tokens so RBAC behavior is exercised under realistic identities. Run the selected tests, and the execution output appears directly below the editor.

The Test Executor code editor with target URL and token configuration, and execution output
The Test Executor runs selected Java payloads against a configured target.

Steps and outcomes

ActionExpected outputCustomer value
Set target URLThe example uses http://localhost:1234.Generated tests can run against a staging or local service.
Set role tokensAdmin and user tokens are configured in the executor environment.RBAC behavior can be validated under realistic identities.
Run selected testsExecution output appears below the code editor.Teams can validate generated tests immediately.

Before you run

Confirm the target URL, admin token, and user token are all set — the executor cannot run without them.