hi, i am facing an issue when i start the recordin...
# wiremock-java
a
hi, i am facing an issue when i start the recording: the headers are not captured, can any one helps me?
l
Hi, could you give any more information. Are you running wiremock standalone, how are you starting it etc ?
a
i am using the wiremock library in my java project, and when i start the recording and then stop it, in the mappings i didn't get the request headers (NB: in the target base url i have request headers) and in my code i am using wireMockServer.startRecording(targetBaseUrl);
l
So do you mean that the requests you make have headers in them and those headers are not appearing in the stub definitions or is it the headers in the responses that are not appearing in the stub definitions?
a
the response headers are appearing, but the request header no
i tried with recordSpec and i add a method to capture these request headers, it works but not from the first recording, they will be added from the 2nd one 🙂