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

Document ID : KB000129068
Last Modified Date : 08/03/2019
Show Technical Document Details
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
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..