随笔分类 -  Python-接口自动化测试

摘要:测试日志: 测试报告: 阅读全文
posted @ 2018-12-29 15:18 JiaxyGogogo 阅读(1103) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: test_recharge.py @ide: PyCharm Community Edition @time: 2018-12-27 10:07 @blog: https://www.cnblogs.com/gotesting/ ''' impo... 阅读全文
posted @ 2018-12-29 15:15 JiaxyGogogo 阅读(569) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: test_login.py @ide: PyCharm Community Edition @time: 2018-12-22 09:33 @blog: https://www.cnblogs.com/gotesting/ ''' import... 阅读全文
posted @ 2018-12-29 15:14 JiaxyGogogo 阅读(2931) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: test_register.py @ide: PyCharm Community Edition @time: 2018-12-28 15:50 @blog: https://www.cnblogs.com/gotesting/ ''' imp... 阅读全文
posted @ 2018-12-29 15:13 JiaxyGogogo 阅读(965) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: get_logger.py @ide: PyCharm Community Edition @time: 2018-12-29 14:41 @blog: https://www.cnblogs.com/gotesting/ ''' import lo... 阅读全文
posted @ 2018-12-29 15:12 JiaxyGogogo 阅读(1401) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: basic_data.py @ide: PyCharm Community Edition @time: 2018-12-27 09:44 @blog: https://www.cnblogs.com/gotesting/ ''' imp... 阅读全文
posted @ 2018-12-27 14:14 JiaxyGogogo 阅读(740) 评论(1) 推荐(2)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: mysql_util.py @ide: PyCharm Community Edition @time: 2018-12-22 10:30 @blog: https://www.cnblogs.com/gotesting/ ''' ''' ... 阅读全文
posted @ 2018-12-22 16:18 JiaxyGogogo 阅读(1497) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: http_request.py @ide: PyCharm Community Edition @time: 2018-12-20 11:38 @blog: https://www.cnblogs.com/gotesting/ ''' import ... 阅读全文
posted @ 2018-12-21 16:25 JiaxyGogogo 阅读(651) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: read_config.py @ide: PyCharm Community Edition @time: 2018-12-21 13:53 @blog: https://www.cnblogs.com/gotesting/ ''' impo... 阅读全文
posted @ 2018-12-21 15:44 JiaxyGogogo 阅读(2611) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: contants.py @ide: PyCharm Community Edition @time: 2018-12-21 13:55 @blog: https://www.cnblogs.com/gotesting/ ''' # 常量管理 imp... 阅读全文
posted @ 2018-12-21 15:42 JiaxyGogogo 阅读(647) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: read_excel.py @ide: PyCharm Community Edition @time: 2018-12-20 10:34 @blog: https://www.cnblogs.com/gotesting/ ''' impor... 阅读全文
posted @ 2018-12-21 15:40 JiaxyGogogo 阅读(696) 评论(0) 推荐(0)
摘要:本次优化: 1. 各级分Package 2. 封装【ReadExcel】类 3. 封装【ReadConfig】类 4. 封装【GetLog】类 5. 引入ddt数据驱动测试,优化测试用例代码 工程如下: 代码分享: get_logger.py http_request.py read_config. 阅读全文
posted @ 2018-12-08 16:50 JiaxyGogogo 阅读(455) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*- ''' @project: jiaxy @author: Jimmy @file: study_ddt.py @ide: PyCharm Community Edition @time: 2018-12-06 14:48 @blog: https://www.cnblogs.com/gotesting/ ''' ''' study_d... 阅读全文
posted @ 2018-12-08 14:01 JiaxyGogogo 阅读(301) 评论(0) 推荐(0)
摘要:测试报告: 阅读全文
posted @ 2018-12-05 11:05 JiaxyGogogo 阅读(378) 评论(0) 推荐(0)
摘要:work_20181203_httprequest.py: import requestsclass http_request: def http_get(url,params): res = requests.get(url,params) return res def http_post(url,params,cookies = None): ... 阅读全文
posted @ 2018-12-03 15:41 JiaxyGogogo 阅读(701) 评论(0) 推荐(0)
摘要:'''题目要求1:自己写一个工具类,完成数学的加减乘除以及平方积操作2:对每个方法写2个用例3:针对测试用例选用不同的方法去执行,然后生成测试报告''''''实现: 3个文件: work_20181127_mathtool.py : 定义计算方法work_20181127_testcase.py : 定义测试用例 work_20181127_testrun.py : 定义测试集,生成测试报告 ... 阅读全文
posted @ 2018-11-27 15:37 JiaxyGogogo 阅读(452) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*-'''@project: jiaxy@author: Jimmy@file: study_接口测试基础知识一.py@ide: PyCharm Community Edition@time: 2018-11-27 09:07@blog: https://ww 阅读全文
posted @ 2018-11-27 14:15 JiaxyGogogo 阅读(399) 评论(0) 推荐(0)