Can we rename the VSI operations to help to identify the scenarios for each transaction?

book

Article ID: 130961

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction



Is there a way we can rename the VSI operations to help identify the scenarios for each transaction?

Environment

Release:
Component: ITKOTF

Resolution

It is possible to rename the operations for each transaction, but we will have matching issues during playback.

The name of the transactions is created based on the operation it is captured.
An example, for the operation POST /humanresources/v2/collaborator/get/SEN0001ERRO, if SEN0001ERRO is part of the request, the operation in the request file needs to be something like the: POST /humanresources/v2/collaborator/get/SEN0001ERRO HTTP/1.1

We can also use pieces of the request as arguments or the operation name by using the request data manager data protocol. 
Here is a link to the request data manager DPH: https://docops.ca.com/devtest-solutions/10-4/en/using/using-ca-service-virtualization/using-devtest-workstation-with-ca-service-virtualization/creating-service-images/using-data-protocols/request-data-manager-data-protocol/

The Action Copy can be used to copy a piece of data in the request to another part of the request.

This DPH is available only with the Workstation, not in the Portal.

Additional Information

More information regarding match tolerance in the link below:
https://docops.ca.com/devtest-solutions/10-4/en/using/using-ca-service-virtualization/ca-service-virtualization-concepts/match-tolerance