๐งช Keploy Test Run Reportsโ
Easily track and manage the outcome of your API test runs with detailed reporting on test executions, results, and creators.
๐ Search Test Run Reportsโ
Use the search bar to filter reports by Report ID, creator email, or status.
๐ Test Report Summaryโ
- Report ID
- Created At
- Creator
- Total Tests
- Passed
- Failed
- Status
๐งฉ Test Suitesโ
Manage and fine-tune your test suites for each API endpoint. You can edit request inputs, response expectations, and assertion types.
โ๏ธ Editable Test Casesโ
Each test case can be modified to:
- Change the request payload, headers, or query parameters
- Edit or update expected response bodies
- Select or modify assertion types
๐งช Supported Assertion Typesโ
Assertion Type | Description |
---|---|
statusCode | Asserts the HTTP status code matches expected (e.g., 200, 404) |
bodyContains | Checks if the response body includes specific text or keys |
jsonEquals | Validates deep equality of the JSON response |
headerMatch | Asserts presence or value of specific response headers |
schemaValidation | Validates against OpenAPI/JSON schema if available |
custom | User-defined scripts or match rules |
โ Example Test Case Structure (YAML)โ
- testName: Get All Users
method: GET
endpoint: /users
expectedStatus: 200
assertions:
- type: statusCode
- type: bodyContains
value: "username"
- type: jsonEquals
expected:
- id: 1
username: john_doe
๐งฑ Edit Test Stepโ
Easily customize individual test steps to simulate real-world API usage and validate your appโs behavior under different conditions.
๐ง Request Detailsโ
Update the request configuration for each test case:
-
Name:
Create Object P024 Invalid JSON
-
Method:
POST
-
URL Path:
/objects
-
Headers:
Key Value Content-Type application/json You can Add Header as needed (e.g., Authorization, Custom-Token).
-
Request Body:
{
"name": "AUT Test Object P024",
"data": {
"key": "value"
}
}```
๐พ Actionsโ
- โ Save Changes โ Apply edits to the test step and update the suite.
- โ Cancel โ Discard any unsaved modifications and revert to the last saved state.