偶然路过的靓仔-胡阳

为中华之崛起而读书!中国加油! 问题不能及时回答,有需要的话加微信:921308494

   ::  ::  ::  ::  :: 管理

2024年3月1日

摘要: 在界面上操作 抓住相关的接口,有点类似于loadrunner的录制 安装: pip install mitmproxy mitmproxy分为三个组件: mitmproxy mitmweb 可视化的web界面 mitmdump 命令行格式,可用于对接python脚本 前置步骤: 1.如果是https 阅读全文
posted @ 2024-03-01 16:00 偶然路过的靓仔-胡阳 阅读(10) 评论(0) 推荐(0) 编辑

2023年1月31日

摘要: 安装beautifulsoup pip install beautifulsoup4 简单代码示例: import requests #导入requests包from bs4 import BeautifulSoup #导入beautifulsoup 包def getit(): r=requests 阅读全文
posted @ 2023-01-31 14:52 偶然路过的靓仔-胡阳 阅读(31) 评论(0) 推荐(0) 编辑

2023年1月27日

摘要: models.CharField(max_length=1000,null=True,blank=True) 其中blank=True是admin管理后台自动校验放开 阅读全文
posted @ 2023-01-27 20:32 偶然路过的靓仔-胡阳 阅读(31) 评论(0) 推荐(0) 编辑

2023年1月4日

摘要: print (response.json()['data']['patientId'])TypeError: list indices must be integers or slices, not str 原因:{...'data':[{'patientId':''}] } 解决方法: print 阅读全文
posted @ 2023-01-04 18:07 偶然路过的靓仔-胡阳 阅读(255) 评论(0) 推荐(0) 编辑

2022年9月27日

摘要: lr_rendezvous("test"); 阅读全文
posted @ 2022-09-27 15:53 偶然路过的靓仔-胡阳 阅读(2) 评论(0) 推荐(0) 编辑

摘要: 先用soupUI调试 fiddler抓包 然后再写: web_custom_request("createSoapOrder", "URL=http://{hosts}:****/****/webService/eifWebService", "Method=post", "TargetFrame= 阅读全文
posted @ 2022-09-27 15:51 偶然路过的靓仔-胡阳 阅读(15) 评论(0) 推荐(0) 编辑

摘要: web_save_timestamp_param("tStamp", LAST); //取时间戳 阅读全文
posted @ 2022-09-27 15:46 偶然路过的靓仔-胡阳 阅读(58) 评论(0) 推荐(0) 编辑

摘要: loadrunner获取当前年月日时分秒 时间 lr_save_datetime ("%Y-%m-%d %H:%M:%S",DATE_NOW+TIME_NOW,"createtimes"); 阅读全文
posted @ 2022-09-27 15:42 偶然路过的靓仔-胡阳 阅读(10) 评论(0) 推荐(0) 编辑

摘要: web_add_cookie("reloadCount=1;domain={Host}"); 清除 cookies web_cleanup_cookies(); 阅读全文
posted @ 2022-09-27 15:41 偶然路过的靓仔-胡阳 阅读(66) 评论(0) 推荐(0) 编辑

摘要: web_add_auto_header("token_id", "{token_id}"); 或 web_add_header("token_id", "{token_id}"); 阅读全文
posted @ 2022-09-27 15:39 偶然路过的靓仔-胡阳 阅读(5) 评论(0) 推荐(0) 编辑