Hi team, how to perform an exact match for message...
# pact-jvm
q
Hi team, how to perform an exact match for message pact, like: now it seems like pact will only verify the type of the field rather than the exact value.
Copy code
PactDslJsonBody body = new PactDslJsonBody();
 body.stringType("name", "almost-anything");
u
Use
stringValue
q
Thanks!