懒羊羊softwaretesting

导航

2019年3月16日 #

用postman做自动化测试

摘要: pre-request script: pm.environment.set("title", data.title);pm.environment.set("tab",data.tab);pm.environment.set("content", data.content);pm.environm 阅读全文

posted @ 2019-03-16 19:31 懒羊羊呐 阅读(158) 评论(0) 推荐(0) 编辑

2019年3月13日 #

Python发送四种格式的post请求的代码样例

摘要: x-www-form-urlencoded: form-data: 阅读全文

posted @ 2019-03-13 21:34 懒羊羊呐 阅读(617) 评论(0) 推荐(0) 编辑

Python返回值不同格式的取值方式

摘要: 例: { "success": true, "topic_id": "5c89021773798770589936b0"} 转换成text,再dict[success]是取不了success的值的,因为true既是一个字符串,有没有引号,所以不能像code那样取值,也不能像message那样取。 阅读全文

posted @ 2019-03-13 21:28 懒羊羊呐 阅读(179) 评论(0) 推荐(0) 编辑

2019年2月22日 #

调用公共方法样例

摘要: import unittestfrom public_method.test_public_get import test_public_getfrom public_method.test_public_post import test_public_post# 在写测试类以及测试用例时要规定一个 阅读全文

posted @ 2019-02-22 21:23 懒羊羊呐 阅读(165) 评论(0) 推荐(0) 编辑

重载方法写delete请求

摘要: #encoding=utf-8#__author__="Lanyangyang"import unittestimport requestsimport json# This is a public delete method.def test_public_delete(self, url, pa 阅读全文

posted @ 2019-02-22 20:21 懒羊羊呐 阅读(149) 评论(0) 推荐(0) 编辑

重载的方式写Python的post请求

摘要: #encoding=utf-8#__author__="Lanyangyang"import unittestimport requestsimport json# This is a public post method.def test_public_post(self, url, path, 阅读全文

posted @ 2019-02-22 20:08 懒羊羊呐 阅读(247) 评论(0) 推荐(0) 编辑

重载的方式写Python的get请求

摘要: #encoding=utf-8#__author__="Lanyangyang"import unittestimport requestsimport json# This is a public get method.def test_public_get(self, url, path, pa 阅读全文

posted @ 2019-02-22 20:06 懒羊羊呐 阅读(377) 评论(0) 推荐(0) 编辑

2018年5月24日 #

用swagger生成接口文档代码

摘要: package com.example.demo; import io.swagger.annotations.ApiOperation;import org.springframework.web.bind.annotation.GetMapping;import org.springframew 阅读全文

posted @ 2018-05-24 19:49 懒羊羊呐 阅读(485) 评论(0) 推荐(0) 编辑

2018年5月20日 #

软件上线标准

摘要: 至少要保证主流程能走通,在上线紧急的情况下,先保证主业务能通 阅读全文

posted @ 2018-05-20 20:27 懒羊羊呐 阅读(286) 评论(0) 推荐(0) 编辑

2018年5月9日 #

rap使用手册

摘要: https://github.com/thx/RAP/wiki/user_manual_cn 阅读全文

posted @ 2018-05-09 18:10 懒羊羊呐 阅读(142) 评论(0) 推荐(0) 编辑