How to verify the JSON result using the Robot Framework RESTinstance library

Refresh

April 2019

Views

10 time

1

How to verify the JSON result using the Robot Framework RESTinstance library. I have API response body that have attached through the mail how to verify the result of the response body using RESTinstance library can anyone help regarding this.

INFO 
{
    "totalCount": 2,
    "successCount": 2,
    "errorCount": 0,
    "records": [
        {
            "failed": false,
            "identity": {
                "documentNo": "NPR45787",
                "idType": 1,
                "verified": true,
                "ifscCode": "",
                "nameAsPerDoc": "S Raj Kumar",
                "expiryDate": "2021-01-01",
                "verifiedDate": "2019-02-01",
                "employee": 1,
                "id": 1179
            },
            "error": null
        },
        {
            "failed": false,
            "identity": {
                "documentNo": "********5413",
                "idType": 2,
                "verified": true,
                "ifscCode": "",
                "nameAsPerDoc": "D Mohan Rao",
                "expiryDate": "2022-02-02",
                "verifiedDate": "2019-02-02",
                "employee": 5,
                "id": 1180
            },
            "error": null
        }
    ]
} 

0 answers