Hi All,
I am try to test one of my API using POSTMAN tests. Below is my response JOSON
{
"privileges[3].privilegeName": "Privilege name is mandatory",
"privileges[2].privilegeName": "Privilege name should be Alphanumeric with underscore (_) and/or hyphen (-)",
"privileges[0].privilegeName": "Privilege name should be Alphanumeric with underscore (_) and/or hyphen (-)",
"privileges[1].privilegeName": "Privilege name should be at least 5 characters and not more than 80 characters"
}
Now, my problem is how to get the value of JSON property(field) - “privileges[3].privilegeName” as that I can assert it.
Thanks in advance