/mpp-pricing/v1/agreements?accountId=a00194a5-22f4-40bc-ae38-036d060a97fdmpp-pricing/v1/revenue/transactionfees/1589967b-d350-4b08-80d7-50e269492fe3
{
"mappings" : [
{
"request": {
"method": "GET",
"urlPattern": "/mpp-pricing/v1/agreements(?(([\\w-]+?),?)*?)?"
},
"response": {
"jsonBody": [{
"id": "a00194a5-22f4-40bc-ae38-036d060a97fd"
}]
}},
{
"request": {
"method": "GET",
"urlPattern": "/mpp-pricing/v1/revenue/transactionfees(/([\\w]+?)*?)?"
},
"response": {
"status": 200,
"jsonBody": {
"accountId": "12321321"
}}
}]
}
Request was not matched as there were no stubs registered:tried with different approaches as well like
"urlPattern" : "/mpp-pricing/v1/agreements"
"queryParameters" : {
"accountId" :{
"matches" : "(.*)"
}
}
"request": {
"urlPath": "/mpp-pricing/v1/agreements/",
"method": "GET",
"queryParameters" : {
"accountId" : {
"matches" : ".*"
}
}-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
/mpp-pricing/v1/agreements/ | /mpp-pricing/v1/agreements?accountId=e4343eef-5495-4b83-b<<<<< URL does not match
| a46-49a509757fe7
|
Query: accountId [matches] .* | accountId: e4343eef-5495-4b83-ba46-49a509757fe7