接口自动化测试 | JsonPath 与 Mustache 请求传参的模板化技术

1.需求背景 在实际的接口测试时,传参有时候可能需要很多,也可能我们就是想要一份完整的参数,必填项和非必填项都包含在内,比如下面的 json: { “store”: { “book”: [ { “category”: “reference”, “author”: “Nigel Rees”, “title”: “Sayings of the Century”, “price”: 8.95 }, {
相关文章
相关标签/搜索