Hello ! I have a question / issue , essentially my...
# pact-jvm
c
Hello ! I have a question / issue , essentially my use case is we have an API gateway layer that maps the endpoint the UI calls (eg - /checkout/v2) to the endpoint published by service app (/checkout/v1) which results in contract tests failing with a 404 not found error (/checkout/v2 does not exist on service app). I was sent this to try - https://docs.pact.io/recipes/apigateway#use-case-1-basic To use something like a “request filter” to change the path in the test at producer verification time. Unfortunately, that document doesn't have an example, so I thought I'd ask here if anyone knows the solution.
y
See the request filters section in the pact-jvm docs, linked here https://docs.pact.io/faq#how-do-i-test-oauth-or-other-security-headers
2
albeit for use case three
c
Thank you ! I will try this and report back