json断言中的list如何读取(jmeter)
比如接口返回结果如下:
{
"result": 0,
"msg": "",
"exception": "",
"data": {
"total": 2,
"rows": [
{
"id": "3bb74c75f08b4eaa9ea1719ddcceae86",
"createTime": 1596181485000,
"keyword": "过期指甲油",
"dictionaryId": "9eeef06db37e45c9b8fc557c13a2aca4",
"searchCount": 0
},
{
"id": "c64eec548e4e4775bfb3d2a7d305f049",
"createTime": 1587691139000,
"keyword": "指甲油瓶子",
"dictionaryId": "9eeef06db37e45c9b8fc557c13a2aca4",
"searchCount": 9
}
],
"sn": 2
}
}
我们需要校验返回结果是否正确。那json断言如何写呢