会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
2677989813@
博客园
首页
新随笔
联系
管理
订阅
10 2019 档案
接口测试第五步 --》 拼接url
摘要:#!/user/bin/python3#coding=utf-8#2019/10/22 --16:15#author :huiURL = "http://localhost/&" #后期读取配置文件dicts = {"method":"get",'body': '123456', 'headers'
阅读全文
posted @
2019-10-22 17:23
yanhuidj
阅读(485)
评论(0)
推荐(0)
编辑
接口测试第四步 --》 封装excel
摘要:import xlrd,jsondef open(): file = r'C:\Users\hui\Desktop\data.xlsx' # 创建data对象 data = xlrd.open_workbook(file) ck = data.sheet_by_index(0) rows = ck.
阅读全文
posted @
2019-10-22 15:43
yanhuidj
阅读(189)
评论(0)
推荐(0)
编辑
接口测试第三步 --》 封装请求方法
摘要:#!/user/bin/python3#coding=utf-8#2019/10/20 --13:17#author :huiimport json,requests#封装 get和post方法class Method: #post 方法 def post(self,url,body,headers
阅读全文
posted @
2019-10-21 16:13
yanhuidj
阅读(275)
评论(0)
推荐(0)
编辑
接口测试第二步 --》 推荐定义一个log 文件
摘要:import logging# 创建logger 对象logger = logging.getLogger()#设置log级别logger.setLevel(logging.DEBUG)# 保存到当前目录logfile = './log.txt'#a表示追加fh = logging.FileHand
阅读全文
posted @
2019-10-21 14:16
yanhuidj
阅读(238)
评论(1)
推荐(0)
编辑
接口测试第一步 --》读取excel
摘要:#!/user/bin/python3#coding=utf-8#2019/10/21 --10:04#author :huiimport xlrdfile = r'C:\Users\hui\Desktop\data.xlsx'data = xlrd.open_workbook(file) # 创建
阅读全文
posted @
2019-10-21 10:56
yanhuidj
阅读(322)
评论(0)
推荐(0)
编辑
查看mysql 安装目录
摘要:
阅读全文
posted @
2019-10-16 16:01
yanhuidj
阅读(192)
评论(1)
推荐(0)
编辑
超级直观理解tcp握手
摘要:更多详细见https://www.jianshu.com/p/8026fd508ef8
阅读全文
posted @
2019-10-16 11:21
yanhuidj
阅读(114)
评论(0)
推荐(0)
编辑
crash 潜水
摘要:参考:https://blog.csdn.net/qq_22795513/article/details/74590956?utm_source=bbsseo 及其他贡献值 App crash(全称Application crash) 潜水 分为:对于Crash可分为Framework/App Cr
阅读全文
posted @
2019-10-12 16:30
yanhuidj
阅读(163)
评论(1)
推荐(0)
编辑
公告
点击右上角即可分享