The AI Assistant can help you parameterize responders using an available data source. See AI Assistant for more information about accessing the AI Assistant. Be aware that LLMs can provide inaccurate information, which can affect this feature. Due diligence is recommended.
Getting the AI Assistant to parameterize the responders in a PVA is as easy as asking it to. The request can be as simple as "Parameterize MyVirtualAsset.pva" or it can be more detailed. The more specific your request is, the more likely you are to get the results you're after. Keep the following in mind when making requests:
You need to specify the file path to the PVA. The file path can be specified in several ways. For example:
/VirtualAssets/myFolder/myAsset.pva
. Alternatively, you can use:myFolder/myAsset.pva
. If the PVA is located directly at the root, you can specify just the file name:myAsset.pva
. Include the .pva extension.Message Responders must have their response payload configured in Form mode (for example, Form JSON or Form Input). See Input Modes. They must also have content in their Request Template options. See Options Tab. These items are configured automatically when Message Responders are constrained to a service definition. See Definition Tab.
- The PVA must contain the data source you want to use when parameterizing. The AI Assistant can't parameterize a PVA using a Data Repository or File data source.
- If the PVA contains multiple data sources, specify which one you want to use by name. If one is not specified, the first data source found will be used.
- If the PVA contains multiple responders, specify which one or ones you want to parameterize by name. If none are specified, the AI Assistant will try to parameterize all of them.
- You don't necessarily need to specify them all by their exact name. For example, if you have several responders in your PVA that are all contain "Form Input" as part of their name, you can ask the AI Assistant to parameterize "all Form Input responders" and it should find them all. Just be aware that the AI Assistant will be examining names of the responders, not their configurations.
Before the AI Assistant carries out the parameterization request, it will ask you whether you want to overwrite the existing PVA or create a copy and parameterize that. A best practice would be to have the AI Assistant parameterize a copy of your PVA which you then review to ensure that the desired results have been achieved, then have your tests start using it.