比如用户列表接口返回接口如下内容,返回结果校验是校验全部数据还是用 jsonpath 解析出一条数据进行校验就可以

[
    {
    "name": "ceshi1",
    "age": 15,
    "counrty": "beijing"
    },
    {
    "name": "test2",
    "age": 18,
    "counrty": "xian"   
    },
    {
    "name": "tom",
    "age": 15,
    "counrty": "taiyuan"
    }
]


↙↙↙阅读原文可查看相关链接,并与作者交流