摘要: 参看:https://blog.csdn.net/q13554515812/article/details/87876552 1、将工具下载后解压,比如解压到 E:\pairs,然后在解压目录中创建一个excel文件,写上各种因素以及可能的值 2、然后将这些值复制到 text1.txt 文件中,并另 阅读全文
posted @ 2020-02-19 22:43 jameslailai 阅读(507) 评论(0) 推荐(0)
摘要: 视频课程:https://edu.aliyun.com/course/1995/learn#lesson/17800 阅读全文
posted @ 2020-02-10 18:03 jameslailai 阅读(112) 评论(0) 推荐(0)
摘要: httprunner 是基于 requests 库的,requests 库对 multipart/form-data 的请求支持不好,所以用 httprunner 时 yaml 文件也不支持 multipart/form-data 数据。 发 form-data 请求要用 requests-tool 阅读全文
posted @ 2020-02-08 22:32 jameslailai 阅读(340) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-02-03 15:27 jameslailai 阅读(235) 评论(0) 推荐(0)
摘要: postman 可以在 newman 或 runner 里实现工作流,方式是在前一个请求中获取其request id 或 request name: pm.info.requestName; pm.info.requestId; 然后在后面的请求中指定下一执行的请求: postman.setNext 阅读全文
posted @ 2020-02-02 18:04 jameslailai 阅读(905) 评论(0) 推荐(0)
摘要: 在 postman 的 pre-request script 发送 GET 请求 const options = { 'method': 'GET', 'url': 'https://httpbin.org/uuid', 'header': { 'Foo': 'bar' } }; pm.sendRe 阅读全文
posted @ 2020-02-02 14:06 jameslailai 阅读(329) 评论(0) 推荐(0)
摘要: pre-request script 中发送post请求,代码如下: const options = { 'method': 'POST', 'url': 'http://yourhost:18001/civilization/login', 'header': { // 'Content-Type 阅读全文
posted @ 2018-07-07 18:00 jameslailai 阅读(466) 评论(0) 推荐(0)