Hi Tamika,
Are you trying to add headers to your request and call another endpoint in the VSM based on what VS receive? If so, run the VSM in ITR in Workstation and a send a transaction against it. Once the VS goes through all the steps, you can stop the ITR and export all the properties in Properties tab. This can be done by:
. You should see a green arrow in the bottom of the ITR-->Properties. Click on the arrow which opens window.
. Select Export all which will export all properties to the run time.
If you are looking for the headers to make it as properties then you can use the Request Copier DPH also. Documentation is available at
https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/using/using-service-virtualization/using-devtest-workstation-with-service-virtualization/creating-service-images/using-data-protocols/request-data-copier-data-protocol.htmlThen in VSM-->Listen step, you can create filters on VSE request and you can use those filters in REST step.
If you want to modify the request headers to goto the Live endpoint then you need to modify the current transaction data using Scripted assertion. If you open a support ticket then support can do WebEx and look into the functionality you are looking.
Prema
Original Message:
Sent: 10-29-2020 08:50 AM
From: tamika moody
Subject: Async Test Case
Is it possible to create a vsm that receives a transaction - validate some header data and set a header and send it to a different backend? I tried creating one by adding a REST STep but the Headers that I set in the VSI is not passed on to the backend. I tried a REST Step and a Live Invocation step.