Add Test Role in Editor

Overview

You can associate a test role with a test to control which API role or context Akto uses while executing the test. Associating a test role helps align test execution with role-based access patterns observed in production traffic.

Steps to Add a Test Role

1

Log in to the Akto dashboard and navigate to Test Library.

2

Open the Test Editor by clicking Editor.

3

Select the test you want to edit from the list.

4

Click the API name box in the top-right corner.

5

In the dialog, choose the desired test role from the available options.

6

Click Save to apply the test role to the test.

Result of Test Role Association

The selected test role becomes associated with the test configuration. Akto uses the selected role context when executing the test against the chosen API, which helps ensure role-aware security validation.

Last updated

Was this helpful?