![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
自动化测试
图图技术小栈
测试
展开
-
脚本运行.py文件提示import requestsModuleNotFoundError: No module named ‘requests‘ pycharm运行不报错
python 自动化测试原创 2022-10-18 16:58:49 · 679 阅读 · 1 评论 -
Charles抓不到localhost包
抓包转载 2022-09-22 20:05:53 · 449 阅读 · 0 评论 -
JMeter使用JSR223 PreProcessor
Jmeter JSR223 前置处理器使用原创 2022-09-21 18:00:29 · 748 阅读 · 0 评论 -
Jmeter正则表达提取参数失败
Jmeter脚本小记原创 2022-09-21 14:23:36 · 1469 阅读 · 0 评论 -
要多坑有多坑springboot内置定时任务本地可以执行,部署到服务器就不执行了
定时任务原创 2022-09-05 17:45:30 · 1402 阅读 · 0 评论 -
springboot部署到服务器提示no main manifest attribute, in xx.jar
自动化测试环境部署原创 2022-09-01 16:57:54 · 234 阅读 · 0 评论 -
lunix定时器执行python代码
python 自动化测试转载 2022-08-24 10:34:52 · 96 阅读 · 0 评论 -
接口性能测试总结慢sql定位
压力测试原创 2022-08-23 16:42:22 · 478 阅读 · 0 评论 -
自动化测试插入数据兼容多表设计
最近接了一个需求要造数据但是不同的场景下对应数据落入的表却又不同,当时想了很多办法后来觉得这个办法最好记录一下思路:step1.分析各个表的通用字段及字段类型:step2 :封装通用字段:step3 兼容不同表字段:实现:创建一个接收各个字段的bean类:import lombok.Data;import org.jetbrains.annotations.NotNull;/** * @author hwatu * @version V1.0 * @Title: T原创 2022-04-25 10:05:58 · 138 阅读 · 0 评论 -
python+selenium 安装 xlrd 报错解决xlrd.biffh.XLRDError: Excel xlsx file; not supported
xlrd.biffh.XLRDError: Excel xlsx file; not supported原因xlrd 2.0版本后只能支持.xls格式文件解决方式:安装1.2.0版本的xlrdpip uninstall xlrdpip install xlrd==1.2.0 遇到问题2:ERROR: Could not find a version that satisfies the requirement xlrd (from versions: none)解决方式:pip原创 2021-07-07 14:57:56 · 238 阅读 · 0 评论 -
Pyset+jenkins+allure配置及及解决Allure-results does not exists 问题
头大 解决了将近一天也找了很多资料真实难的不会会的不难也是对自己技术如此渣也是呵呵哒~~下载pyset首先要在jenkins的“插件管理”中安装allure插件搜索allure即可 安装后可在“已安装”里面看到这里碰到第一个问题 jenkins版本低于2.22.4不支持allure插件 所以安装前先坚持jenkins版本不然就呵呵哒~第二步配置allure点击Manage Jenkins ->Global Tool Configuration然后 安装Allure...原创 2021-07-06 16:37:26 · 635 阅读 · 0 评论 -
Selenium+Python3+Jenkins创建新任务
点击新建Item创建一个自由任务点击确定点击构建然后添加脚本D:cd D:\TestFireFox\testCase (脚本位置)python allTests.py (运行脚本)原创 2021-07-02 17:05:46 · 137 阅读 · 0 评论 -
Selenium+python+Jenkins自动化测试 脚本运行成功却没有启动浏览器
解决方式我是安装的Jenkins的exe包 通过Tomcat打开运行Jenkins 这种打开方式在运行测试脚本的时候打不开浏览器解决方式 :点击桌面此电脑——》管理——》服务和应用程序——》找到Jenkins服务一定要确认停止服务然后window+R 输入cmdcd到jenkins.war包所在的路径下java -jar jenkins.war --httpPort=8080访问http://localhost:8080重新配置即可...原创 2021-07-02 16:58:57 · 624 阅读 · 0 评论 -
Selenium+Python自动化测试 笔记1
在使用unittest.TestCase时 运行pyCharm时 报错ImportError: Failed to import test module: test4解决方法在Terminal中运行python test.py test --pattern="*_models.py"原创 2021-07-01 10:01:32 · 83 阅读 · 0 评论