AnsweredAssumed Answered

Create virtual service with dynamic header values

Question asked by Raghukrishna.d on Jul 16, 2018
Latest reply on Jul 16, 2018 by Joel NeSmith

I have a requirement to create virtual service with SOAP XML files which has header and body in the request. I need two responses, one for positive and one is error and I have prepared 2 R & R pairs. One value in the Header changes and nothing else in the request when compared to the positive and negative scenario. I have tried to create virtual service, but for both requests DevTest VS is giving only single response and not picking error response for error request, Maybe because value is in the request header ( I am not sure ). Please help to let me know how can I create virtual service by having dynamic changes in the values from header of the request.

Outcomes