ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to get differnt HTTP-Response-Code in the VS Response


Article ID: 129068


Updated On:


CA Application Test CA Continuous Application Insight (PathFinder)


We are getting the responses. But wanted to parametrize the response code as well. It is giving 200 always We wanted to check with 404 or other codes


Component: ITKOVS


You can do this from the Portal:

1. From the Portal choose Manage.
2. Choose Virtual Services.
3. Choose you virtual service you want to change the response code in.
4. On the right of the page choose Advance Mode and set to on.
5. Choose your specific transaction and then change the response Metadata to what you want the HTTP-Response-Code to be..