{
"provider" : {
"name" : "test_provider"
},
"consumer" : {
"name" : "test_consumer"
},
"interactions" : [ {
"providerState" : "test state",
"description" : "test interaction with matchers",
"request" : {
"method" : "GET",
"path" : "/",
"headers" : {
"testreqheader" : "testreqheadervalue"
},
"query" : "q=p&q=p2&r=s",
"body" : {
"test" : true
},
"requestMatchingRules" : {
"$.body.test" : {
"match" : "type"
}
}
},
"response" : {
"status" : 200,
"headers" : {
"testreqheader" : "testreqheaderval"
},
"body" : {
"responsetest" : true
},
"responseMatchingRules" : {
"$.body.responsetest" : {
"match" : "type"
}
}
}
} ],
"metadata" : {
"pact-specification" : {
"version" : "2.0.0"
},
"pact-jvm" : {
"version" : ""
}
}
}