...
You can use the AI Assistant to help you create tests in SOAtest. Just ask it for help creating a test and provide it with a the URL(s) or absolute file path to a OpenAPI/Swagger service definition that you want to create a test for. It will analyze the service definition and path(s) to one or more OpenAPI/Swagger service definitions it should use, and it will suggest possible scenarios. You can choose one of its suggestions or describe the scenario you want to test yourself. For example, you might ask the AI Assistant:
...
The AI Assistant will show you the test it created based on your request, including a scenario with related steps and populated payload data when applicable, and ask you if you want to save it. You can choose to accept the test it proposes or ask for changes. For example, after seeing the scenario it created from the previous request, you might decide you want to add a step to withdraw funds to your test scenario. When it asks you if you want to proceed, you could say:
...
| Info |
|---|
Smart test templates (.stt) will be automatically applied, when applicable, during test creation by the AI Assistant. These templates can help optimize test scenarios by automatically applying configurations, such as authentication settings or assertions. See About Smart Test Templates for more information. |
The AI Assistant can also create other elements of a test for you as well, including:
- Data sources: It can create a data source
...
- as part of test creation and even parameterize it. Mention either of those tasks in your conversation to be sure it knows what you want. See Creating Data Sources with the AI Assistant and Applying Parameterization with the AI Assistant for more information and examples.
- AI Assertors: It can chain AI Assertors to messaging tools to determine whether the message satisfies one or more assertions or requirements. See AI Assertor for more information about this tool.
Creating Data Sources with the AI AssistantAnchor creatingDataSources creatingDataSources
| creatingDataSources | |
| creatingDataSources |
...