Hi- I am in need of creating the virtual service for following scenario-
1. REST API for POST request
2. Request structure varies but there is one field- ""accountableDocumentNum" which comes always and response needs to be selected based on this field.
3. i want to ignore other fields and request structure and look only for -"accountableDocumentNum".
4. if that matches, send the response. If this doesn't match, make a live invocation.
5. Since there are multiple requests, I want to drive this from excel sheet.
6. When I create service, it adds all the arguments in image. Now I create data data sheet only for two arguments- ""accountableDocumentNum"" and "Response". If I do that, I ended up in mismatch.
7. Not sure what is correct way to achieve this. I don;'t want to create 1000 of RR pairs for each structure of req and then create the service. and every time if any change in req, I don't want to re create the service.
Please help how to achieve.
Regards,
Ritu