摘要: 1.命令行中,输入 git init 2.将文件夹中的内容全部添加到git管理中 git add . 3.提交 git commit -m 'first commit' 4.连接github仓库 git remote add origin https://github.com/shench56123 阅读全文
posted @ 2019-10-31 09:59 yile 阅读(4639) 评论(0) 推荐(0) 编辑
摘要: $ ssh-keygen -t rsa -C "youremail@example.com" 一直回车就可以看到id_rsa和id_rsa.pub这两个文件 把刚才id_rsa.pub里面的内容复制到Title下面的Key内容框里面,最后点击Add SSH key,这样就完成了SSH Key的加密 阅读全文
posted @ 2019-10-30 14:12 yile 阅读(5608) 评论(0) 推荐(0) 编辑
摘要: 转https://www.cnblogs.com/linkenpark/p/8079337.html 阅读全文
posted @ 2019-10-25 11:54 yile 阅读(164) 评论(0) 推荐(0) 编辑
摘要: from xlrd import open_workbookclass Read_xlxs: def __init__(self, file): self.file = file self.test_data = [] def read_file(self, sheetname): self.dat 阅读全文
posted @ 2019-10-24 14:19 yile 阅读(260) 评论(0) 推荐(0) 编辑
摘要: jsonpath, hamcrest,json schema jq curl http://www.baidu.com | jq '.' | grep 阅读全文
posted @ 2019-09-15 18:14 yile 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1.curl:http请求和模拟的工具标准,所有的工具都会提供curl命令的转换功能 2.postman 交互很强,但是不适合做自动化,离真正的框架还有很大的距离 3.requests 4.jmeter 阅读全文
posted @ 2019-09-14 17:19 yile 阅读(127) 评论(0) 推荐(0) 编辑
摘要: fake:替代real环境,有简化的逻辑 stub:纯预定数据,不能动态变更 mock:可自定义返回 proxy:挡板,可在原结果上进行修改 spy:监听特定方法的调用 Charles map remote:切换线上环境、备份环境或者内部的测试环境 Fake 不同请求-->不同结果 map loca 阅读全文
posted @ 2019-09-13 20:59 yile 阅读(365) 评论(0) 推荐(0) 编辑
摘要: curl http://www.baidu.com -x http://127.0.0.1:8888 访问百度加代理 阅读全文
posted @ 2019-09-11 21:30 yile 阅读(2541) 评论(0) 推荐(0) 编辑
摘要: which emulator $(which emulator) -list-avds 列出模拟器 $(which emulator) @Nexus_5X_API_28_x86 启动模拟器 Nexus_5X_API_28_x86 为模拟器设备 阅读全文
posted @ 2019-09-11 21:28 yile 阅读(165) 评论(0) 推荐(0) 编辑
摘要: sudo tcpdump port 80 -v -w /tmp/http.log TcpDump + WireShark 网络嗅探 wireshark nc www.baidu.com 80 -v 模拟浏览器发送请求 GET / HTTP/1.0Host: www.baidu.com telnet 阅读全文
posted @ 2019-09-09 07:44 yile 阅读(355) 评论(0) 推荐(0) 编辑