> For the complete documentation index, see [llms.txt](https://docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akto.io/test-editor/concepts/custom-test.md).

# Custom Test

There will always be a lot of security test cases that are very specific to your business and won't be available in a generic testing tool. You can write and automate such tests in Akto.

You can write tests in YAML to check various aspects of your APIs, such as behavior, response times, error handling, and security vulnerabilities. Custom tests are especially useful when dealing with unique scenarios or complex systems that may not be covered by predefined tests.

The Test Editor in Akto includes a test library with over 200 built-in tests, a YAML-based editor for creating custom tests, and a feature to run tests on a sample API. This streamlines the testing process and makes writing and running effective tests for your APIs easier for you.

For more information on creating custom tests, please refer to this documentation- [Create a Custom Test](/test-editor/how-to/create-a-custom-test.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/test-editor/concepts/custom-test.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
