Skip to main content
All CollectionsAPI Portal - Technical Guides
Postman Configuration Guide for the AI Test Case Generator API
Postman Configuration Guide for the AI Test Case Generator API
Updated over 6 months ago

Follow the steps below on how to generate test cases via Postman application.

1. Open the Postman Application.

2. Click the ‘New’ button.

3. Select HTTP from the options displayed.

4. Click the Dropdown and select ‘Post’.

5. Paste the ‘https://api.bakeqa.com/testcases/generate-testcases’ url in the URL textbox.

6. Click the ‘Headers’ tab and enter ‘QAPI-Key’ in the Key field.

7. Paste the API key from the Bake QA portal to the Value field in the same row as the ‘QAPI-Key’.

Note: The API keys will be on the Bake QA Portal Profile page.

If you have not registered on Bake QA portal, follow the guide on https://app.intercom.com/a/apps/ngctdlk4/articles/articles/9388182/show

8. Open the ‘Body’ tab.

9. Click the ‘raw’ radiobutton and select ‘JSON’ format.

10. Paste the user story description and summary using the following format.

Sample:

{

"summary": "Login to the Online Shop",

"description": "The user can log in to the online shop by providing a registered valid email address and their password"

}

Note: You can also select the language by adding it on the body.

{

"summary": "Login to the Online Shop",

"description": "The user can log in to the online shop by providing a registered valid email address and their password",

"language": “Spanish”

}

11. Click the ‘Send’ button and start generating your test cases.

To know your current usage your API key, follow the steps below on how to check them using Postman.

1. Open the Postman Application.

2. Click the ‘New’ button.

3. Select HTTP from the options displayed.

4. Click the Dropdown and select 'Get' option.

5. Paste the following URL ‘https://api.bakeqa.com/testcases/usage’.

6. Click the ‘Headers’ tab and enter ‘QAPI-Key’ in the Key field.

7. Paste the API key from the Bake QA portal to the Value field in the same row as the ‘QAPI-Key’.

Note: The API keys will be on the Bake QA Portal Profile page.

8. Click the ‘Send’ button.

Did this answer your question?