...
- Each REST Client is set to be constrained to the specified service definition and schema (if applicable).
- Its resource URL, HTTP method, and payload (if applicable) are configured accordingly.
- The service's base URL is configured as a "BASEURL" variable, and each resource URL is parameterized with the "BASEURL" variable.
- Query parameters are included with default or sample values (if available) as defined by the service definition.
- If the service definition includes a schema, a sample payload is constructed from (and constrained to) that schema.
Additionally, test scenarios created with OpenAI will automatically have applicable smart test templates applied to them.
Info |
---|
|
When writing a general prompt for an app, it can be helpful to tell the AI what kind of app it is. For example: Panel |
---|
Generate test scenarios for this banking app. |
You can also write more detailed prompts for more control over the kinds of test scenarios generated. Here is an example prompt for CRUD: Panel |
---|
Generate 5 test scenarios that follow the pattern of: 1) GET request on a collection 2) POST request to add to the collection 3) GET request on the collection 4) GET request on specifically the newly added item to the collection 5) PUT request on specifically the newly added item to the collection 6) GET request on specifically the newly added item to the collection 7) DELETE request on specifically the newly added item to the collection 8) GET request on the collection |
|