OpenAPI Spec
Generated Cases
9 deterministic test cases
| Endpoint | Method | Test Name | Description | Expected Status |
|---|---|---|---|---|
| /users | GET | Happy path | Send a valid GET request to /users using example values and valid parameters. | 200 |
| /users | POST | Happy path | Send a valid POST request to /users using example values {"name":"sample","age":18}. | 201 |
| /users | POST | Missing required field name | Remove required body field "name" from the request payload. | 400 |
| /users | POST | Missing required field age | Remove required body field "age" from the request payload. | 400 |
| /users | POST | Invalid type for name | Send 123 for body field "name" instead of the expected string type. | 400 |
| /users | POST | Boundary value for name: empty string | Set "name" to "" to verify boundary handling. | 400 |
| /users | POST | Invalid type for age | Send "not-a-number" for body field "age" instead of the expected integer type. | 400 |
| /users | POST | Boundary value for age: minimum 18 | Set "age" to 18 to verify boundary handling. | 400 |
| /users | POST | Boundary value for age: maximum 65 | Set "age" to 65 to verify boundary handling. | 400 |