文章目录 一、httprunner命名规范 二、httprunner的模块引入 三、待测接口命名 四、设置请求方式 五、.with_headers:headers入参传递 六、config:设置全局化参数 1、.base_url():设置全局化项目地址 七、.with_variables(**{ }):定义局部变量,仅在当前step可用 1、引用局部变量 八、${变量}:引用设置的变量 九、.with_cookies:设置cookie值 十、with_data:data参数传参 十一、with_json:json参数传参 十二、extract().with_jmespath():拿到接口的response,用作后续