{
"provider" : {
"name" : "test_provider"
},
"consumer" : {
"name" : "test_consumer"
},
"interactions" : [ {
"providerState" : "test state",
"description" : "test interaction",
"request" : {
"method" : "GET",
"path" : "/",
"query" : "q=p&q=p2&r=s",
"body" : {
"test" : true
}
},
"response" : {
"status" : 200
}
}, {
"providerState" : "test state",
"description" : "test interaction with encoded query",
"request" : {
"method" : "GET",
"path" : "/",
"query" : "datetime=2011-12-03T10%3A15%3A30%2B01%3A00&description=hello+world%21",
"body" : {
"test" : true
}
},
"response" : {
"status" : 200
}
}, {
"providerState" : "test state",
"description" : "test interaction with query values that contain an =",
"request" : {
"method" : "GET",
"path" : "/",
"query" : "broker=1&options=delete%2Etopic%2Eenable%3Dtrue",
"body" : {
"test" : true
}
},
"response" : {
"status" : 200
}
} ],
"metadata" : {
"pact-specification" : {
"version" : "2.0.0"
},
"pact-jvm" : {
"version" : ""
}
}
}