create_test_case
Create a test case for an API endpoint by specifying endpoint ID, response ID, name, and path. Optionally add categories, tags, parameters, request body, and assertions.
Instructions
Create a test case for an API endpoint. Requires apiDetailId (from list_api_endpoints) and responseId. Use list_test_case_categories and list_test_case_tags first to get valid categoryId and tagIds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | Auth configuration (e.g. bearer token) | |
| name | Yes | Test case name | |
| path | Yes | API path (e.g. /v2/organisations/{organisationId}/users) | |
| tagIds | No | Tag IDs to apply | |
| categoryId | No | Test case category ID | |
| parameters | No | Request parameters (query, header, cookie, path) | |
| responseId | Yes | The response definition ID for this endpoint | |
| apiDetailId | Yes | The API endpoint ID to create a test case for | |
| requestBody | No | Request body configuration | |
| preProcessors | No | Pre-processors / pre-request scripts | |
| postProcessors | No | Post-processors / assertions |