Harley Thomas
07/23/2022, 2:22 AMwithRequest
with a header that is calculated at run time, but then my actual application code executes a second or two later, and generates a slightly different header since the time is off by a second or two.
I tried to use Matchers, but then those matches get sent to my provider within provider verification and fail since it is a malformed header and the service denies the request.
Is there a workaround here? Can I specify a Matcher within withRequest
but use the actual header from the application code to verify against the provider?
New to pactflow and contract testing in general so apologies in advance! Any help would be greatly appreciated.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Harley Thomas
07/23/2022, 3:08 AM