Schedule Tests

Learn all about scheduled tests.

Choose an API Endpoint for Scheduling Tests

Akto enables you to schedule tests for API endpoints. It ensures consistent and regular verification of API functionality, even in complex and dynamic environments.

By scheduling tests to run at predetermined intervals, you can continuously monitor API performance and detect potential issues before they escalate into critical problems.

In the demonstration below, let’s run a test and schedule it for the “rest/products/search” endpoint within the collection name "demo_collection."

Go to API Inventory >API Collection. Select the API Collection and click on the Run Test. Select the Test Categories and Tests that you want to test. Select Time to trigger your test, then click on Run Test to schedule the test.

In the above demonstration, we have scheduled tests to run daily at 2 am till its completion for “GET https://juiceshop.akto.io/rest/products/search” endpoint within the collection name "demo_collection".

Results of Scheduled Test

By analyzing the results of scheduled tests, you can identify and address any issues or vulnerabilities, ensuring that the API functions as intended and meets the requirements.

Moreover, these results can inform decisions related to data breaches, and performance optimization.

In the demonstration below, after running the scheduled test named “test_for_one_endpoint” for an endpoint, let’s check for the vulnerabilities present in the selected endpoint.

Go to Testing > Results. Click on the scheduled test to identify vulnerabilities based on the selected endpoint tests.

In the demonstration above, after running the scheduled test named “test_for_one_endpoint”, we checked the endpoint “GET https://juiceshop.akto.io/redirect” and found an error named “Kernel open command injection in Ruby” present in the endpoint.

Last updated