Here is json structure
{
"mfsCommonServiceRequest":
{
"mfsSourceInfo": {
"channelId": "22",
"surroundSystem": "1"
},
"mfsTransaction": {
"request": "9086544566665",
"service": "0",
"time": "1517218465350"
}
}
}
My code
Scenario Outline: To validate the response for crosscategory merchant list
Given headers req_headers
And url baseUrl
And path tokenApiUrl
And request { mfsCommonServiceRequest:, mfsTransactionInfo: }
When method post
Then status
Examples:
| mfsCommonServiceRequest! | responseCode | mfsTransactionInfo! |
| "mfsSourceInfo": {{"channelId:22","surroundSystem": "1"} | 200 | {"request:9086544566665","service": "0","time":"1517218465350"} } |