接口自動化測試 | JsonPath 與 Mustache 請求傳參的模板化技術

1.需求背景 在實際的接口測試時,傳參有時候可能需要很多,也可能我們就是想要一份完整的參數,必填項和非必填項都包含在內,比如下面的 json: { 「store」: { 「book」: [ { 「category」: 「reference」, 「author」: 「Nigel Rees」, 「title」: 「Sayings of the Century」, 「price」: 8.95 }, {
相關文章
相關標籤/搜索