Postman簡單使用步驟

Postman簡單使用步驟 一、新增請求 一、新增請求 請求方式:get/post… 鏈接:url 參數:params 斷言:tests 1、params 可設置全局變量、環境變量等 2、斷言 注:斷言可在頁面右側直接點擊引用 常用斷言 (1)判斷返回值爲200 pm.test(「Status code is 200」, function () { pm.response.to.have.stat
相關文章
相關標籤/搜索