I would like to create a virtual service which effectively would act as a proxy through to some other endpoints, for example:
Client sends a REST post request in JSON format which has a body, one of the properties of the body will be customer.firstName. Depending on what the first name is, then do the following:
1: firstName = Steve => forward the request onto another api endpoint, EG http://server/api/stubs
2: firstName = John => forward the request onto another different api, EG http://workstatios/api/real
3: firstName = NotAPerson => respond from the VSI with a canned response
We are currently using CA DevTest Workstation 8.1.0.843.
Can this be accomplished?