如何断言来自 SOAP UI 的 JSON 响应中的字段是否为 NULL
示例:数据看起来像这样我需要使用 Soap UI 中的 Assert 选项断言 Children 是否为空。
{
"request": {
"parameters": {"SOURCE_NAME": {
"name": "Members_Sheet1",
"caseSensitivity": "CASE_SENSITIVE",
"inputMatchingOperator": "EXACT"
}},
"metadata": {}
},
"data": {
"results": [{"data": {"Members_Sheet1": [
{
"Sl No": 1,
"Member ID": 70000001,
"Member Name": "Fly Dorami",
"Location": "New York",
"DOB": "4/12/2008",
"Gender": "M",
"Marital Status": "Single",
"Children": "",
"Ethnicity": "Asian",
"Insurance Plan ID": 2002,
"Annual Income ($)": 0,
"Twitter User ID": 548900028