How can I validate an API response in postman using a data dictionary?
Need to check the Name matches the response filed name Type matches the response filed value
dictionary = [
{
“Name”:“item1”,
“Type”:“string”
} ,
{
“Name”:“item2”,
“Type”:“integer”
}
];
response = {
“items”: [
{
“item1”: “value1”,
“item2”: “value2”,
}
]