I want to set-up mountebank for the end-point /trends?param1=PT-31
. Following is the way, I am setting up the predicates in the imposter. However, there does not seem to be a match and I do not get a response.
What am I missing?
"predicates": [
{
"and": [
{
"deepEquals": {
"path": "/trends",
"query": {
"param1" : [
"PT-31", "PT-32"
]
},
"method": "GET",
"headers": {
"Content-Type": "application/json"
}
}
}
]
}
]