【Postman】

官网下载:https://www.getpostman.com/


1、

用postman请求,请求头中的cookie、referer、content-type(只要有请求体 就会自动填写上 不用管),这三个参数必须要

2、json返回值断言

https://blog.csdn.net/zengting927/article/details/79826649

3、csv外部文件依赖

https://www.cnblogs.com/hong-fithing/p/7601859.html#datafile

https://blog.csdn.net/romon19/article/details/87934146?from=singlemessage

 

4、常用断言

https://testerhome.com/topics/15355

5、postman读取csv表格文件时中文乱码(完美解决)

1、csv表格文件中写好postman需要的参数后(不做任何装换,中文会乱码)效果如下

2、将此csv文件通过notepad打开,并编码中选择 “转为UTF-8编码”,并保存。这时候再用postman去读这个csv文件,效果如下

3、有个弊端:csv文件每次只要在excel中有修改的话 则每次都需要去转换一次 麻烦

原文地址:https://www.cnblogs.com/danhuai/p/11025671.html