"If-Match" header removed when recording

book

Article ID: 140124

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

- create a HTTP recording: http://virtualize:20000 <-> http://realservice:20000

- send GET request with Postman: http://virtualize:20000/testbasepath with Postman (for example)
This request MUST contain the "If-Match" header

  "If-Match" header is dropped in meta section of transaction. Due to this, backend application is not responding properly

 

Environment

Release : 10.4

Component : CA Service Virtualization

Resolution

 If-match header is not supported in virtual service as of November 14th 2019. Because, we use if-match header to update a resource if the resource has expired. But this decision cannot be taken by a virtual services.

   So, we can not record service with If-match header.