Hi All, I am working on PACT Provider Verificatio...
# pact-jvm
g
Hi All, I am working on PACT Provider Verification using Pact JVM. I am stuck reading the request headers. Has anyone worked on writing Groovy scripts in pom.xml to modify the auth token during provider verification? When I add the groovy scripts in pom.xml, I am getting h Thanks in Advance !! Your help is much appreciated. !
b
I only used Maven once a few years ago, usually I use Gradle for JVM projects. But I've never tried to put scripts in the build files like this.
I've done 2 & 3 & 4 from these suggestions: https://docs.pact.io/provider/handling_auth
But that's always in app (test) code, not in build code.
g
Thanks @Boris, Do you have any samples for 4th option? I have a unique scenario to handle, so this one might be helpful for me
think up 1