随笔分类 -  postman

字符串数组转换为整数数组示例(自己学习)
该文被密码保护。

posted @ 2017-12-06 10:07 tianlintest 阅读(1) 评论(0) 推荐(0)

postman--tests脚本获取json格式返回值中data中的key属性值
该文被密码保护。

posted @ 2017-11-08 15:22 tianlintest 阅读(1) 评论(0) 推荐(0)

postman---控制台日志调试使用
该文被密码保护。

posted @ 2017-11-08 14:44 tianlintest 阅读(1) 评论(0) 推荐(0)

postman--Tests脚本学习
该文被密码保护。

posted @ 2017-11-08 14:41 tianlintest 阅读(1) 评论(0) 推荐(0)

postman---环境变量学习设置(一)
该文被密码保护。

posted @ 2017-11-08 14:31 tianlintest 阅读(0) 评论(0) 推荐(0)

postman环境变量的设置
摘要:相同的api接口因为部署环境不同,分为test和fromal 不仅重复,还容易出错 下面来介绍一下Postman的一个小技巧来解决这种问题: 设置环境变量 Tips: 不是在OS中设置环境变量哦 相同的api接口因为部署环境不同,分为test和fromal 不仅重复,还容易出错 下面来介绍一下Pos 阅读全文

posted @ 2017-11-08 09:49 tianlintest 阅读(501) 评论(0) 推荐(0)

postman的Testing examples(常用方法)
摘要:在实现接口自动测试的时候,会经常遇到接口参数依赖的问题,例如调取登录接口的时候,需要先获取登录的key值,而每次请求返回的key值又是不一样的,那么这种情况下,要实现接口的自动化,就要用到postman中设置环境变量这个功能了; 在postman中,可以利用tests将接口返回的response设置 阅读全文

posted @ 2017-11-08 09:38 tianlintest 阅读(424) 评论(0) 推荐(0)

postman的Testing examples(测试脚本示例)
摘要:测试代码会在发送request并且接收到responses后执行。 1.设置环境变量 postman.setEnvironmentVariable("key", "value"); 2.设置全局变量 postman.setGlobalVariable("key", "value"); 3.检查res 阅读全文

posted @ 2017-11-07 15:56 tianlintest 阅读(3273) 评论(0) 推荐(0)

导航