public void RequestIdIsReturnedInResponse() { Run(() => { SearchServiceClient client = Data.GetSearchServiceClient(); // We need to use a constant GUID so that this test will still work in playback mode. Guid myRequestId = new Guid("c4cfce79-eb42-4e61-9909-84510c04706f"); client.SetClientRequestId(myRequestId); IndexListResponse listResponse = client.Indexes.List(); Assert.Equal(HttpStatusCode.OK, listResponse.StatusCode); Assert.Equal(myRequestId.ToString(), listResponse.RequestId); }); }