{
"Success": true,
"Message": "",
"StatusCode": 200,
"Result": [
{
"Value": "47499BA1-33E8-4BB8-90BA-5A144A765455",
"Text": "Accident and Emergency Update",
"Criteria": "RequestingDepartment",
"DefaultValue": null
},
{
"Value": "B614B115-E333-4E46-819F-AA66434231A6",
"Text": "Cardiology",
"Criteria": "RequestingDepartment",
"DefaultValue": null
},
{
"Value": "C35E9804-63D2-4862-A099-4DF1757E3A01",
"Text": "OT Department",
"Criteria": "RequestingDepartment",
"DefaultValue": null
},
{
"Value": "7F4B6BBA-8CE1-466E-87AA-A3E5E26527AD",
"Text": "Pharamcy",
"Criteria": "RequestingDepartment",
"DefaultValue": null
},
{
"Value": "37D01334DCF4430A81",
"Text": "Floor 3",
"Criteria": "CSSDLocation",
"DefaultValue": null
},
{
"Value": "38B86EBBCF7F4BAAB9",
"Text": "Floor 01",
"Criteria": "CSSDLocation",
"DefaultValue": null
},
{
"Value": "5194786AD69C487C90",
"Text": "Floor 01",
"Criteria": "CSSDLocation",
"DefaultValue": null
},
{
"Value": "807D997A388148CC80",
"Text": "FLOOR 1",
"Criteria": "CSSDLocation",
"DefaultValue": null
},
{
"Value": "8F22B63244C640698A",
"Text": "Floor 05",
"Criteria": "CSSDLocation",
"DefaultValue": null
},
{
"Value": "97045784AE16418796",
"Text": "Floor 03",
"Criteria": "CSSDLocation",
"DefaultValue": null
},
{
"Value": "DACE75D3CA5D46A6AD",
"Text": "Floor 06",
"Criteria": "CSSDLocation",
"DefaultValue": null
}
]
}
I want to validate
- value field should kind of “47499BA1-33E8-4BB8-90BA-5A144A765455” & text value should be string
- response body has value , text ,criteria and default value
Help me to write test cases for such value