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.
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.