Hello Guys,
I am new to Mountebank and working as an Automation tester
I am trying to record the tests and replay tests with recorded mock data
My application has a UI user journey where it hits the same request multiple times and capture responses for the same request when I am playing back it only fetches the first response but my tests expecting the data from second or third responses
so how can I tell mountebank to give the responses back to the request calls as it got recorded
Kindly please let me on this
{
"protocol": "https",
"port": 35892,
"numberOfRequests": 0,
"name": "MB_Test",
"recordRequests": false,
"key": "-----BEGIN RSA PRIVATE -----\n",
"cert": "-----BEGIN-----END CERTIFICATE-----\n",
"mutualAuth": false,
"requests": [],
"stubs": [
{
"predicates": [
{
"equals": {
"method": "POST"
},
"caseSensitive": false
}
],
"responses": [{
"proxy": {
"key": "-----BEGIN RSA PRIVATE -----\n",
"cert": "-----BEGIN-----END CERTIFICATE-----\n",
"to": "
https://api-XXXX.XXXX.XXXX.com/",
"mode": "proxyAlways",
"predicateGenerators": [{
"matches": {
"path": true,
"method": true
},
"caseSensitive": false
}
]
}
}
]
}
]
}