随笔分类 - Software Test
摘要:1、打开powershell(管理员) 2、查看所有端口连接 3、查看端口进程及PID 4、获取指定PID的进程名称 5、根据PID杀死进程 检查 至此完成
阅读全文
摘要:1、官网 http://appium.io/ 2、github https://github.com/appium/appium-desktop/releases/tag/v1.22.3-4 3、安装配置java环境 https://www.cnblogs.com/fireblackman/p/10
阅读全文
摘要:1、官网 https://airtest.netease.com/ 2、项目地址 https://github.com/AirtestProject 3、官方文档 欢迎使用 - Airtest Project Docs 4、安装AirtestIDE 解压运行即可 5、设备唤醒 https://jue
阅读全文
摘要:1、官网 https://httprunner.com/https://httprunner.com/docs/ 2、github https://github.com/httprunner/httprunner https://github.com/httprunner/QuickRunner 3
阅读全文
摘要:1、pymongo官网 https://pypi.org/project/pymongo/ https://api.mongodb.com/ 2、github https://github.com/mongodb/mongo-python-driver 3、文档 https://www.osgeo.
阅读全文
摘要:1、创建测试计划 2、创建线程组 3、创建JDBC连接 4、添加JDBC请求 6、添加数据库操作 7、添加结果报告 8、执行并查看结果 问题1、Cannot create PoolableConnectionFactory (The server time zone value '�й���ʱ��
阅读全文
摘要:1、原因,模拟用户并发插入数据库数据场景,评估系统吞吐量 2、jmeter官网 https://jmeter.apache.org/download_jmeter.cgi 3、用户手册 https://jmeter.apache.org/usermanual/index.html 4、启动jmete
阅读全文
摘要:1、问题现场 自动化测试中,封装接口,用到requests, 封装目录为http, 用于存放相关api 别人下载工程下来之后,运行报错 ModuleNotFoundError: No module named 'http.client' 2、处理方法 经过各种排查,发现确实是目录命名导致 参考链接:
阅读全文
摘要:1、官网 https://www.fit2cloud.com/metersphere/index.html 2、文档 https://metersphere.io/docs/ https://github.com/metersphere/metersphere 3、环境 windwos10 jdk
阅读全文
摘要:1、官网 https://jmeter.apache.org/index.html 2、安装配置 安装JDK 安装Jmeter 3、模拟用户并发 创建测试计划 创建线程组 创建HTTP请求 创建测试报告 执行 Ctrl + r 参考链接: https://www.shuzhiduo.com/A/gA
阅读全文
摘要:1、官网 https://httpd.apache.org/download.cgi 2、命令帮助 C:\Users\Administrator>ab /? Usage: ab [options] [http://]hostname[:port]/path Options are: -n reque
阅读全文
摘要:1、首先你要有一个无线网卡(我是台机) 2、点击网络图标,打开设置选项 3、点击移动热点,然后右键,转到设置 4、设置热点名称和密码 5、然后就可以使用手机或者其他设备,搜索连接了
阅读全文
摘要:1、使用lambda函数 # 匿名函数, 返回值为函数 func = lambda: "foo" print(func) 2、使用内部函数(局部函数) # 类似装饰器写法 def decorator(func): def _(*args, **kwargs): return func(*args,
阅读全文
摘要:1. 安装jenkins插件 JIRA Trigger Plugin 2. 全局配置,配置jira网址及账号信息 3. 配置jenkins的网络钩子到jira中 找到高级>网络钩子 配置网络钩子 配置信息如下, 换成自己的jenkins url http://192.168.10.99:8081/j
阅读全文
摘要:1. 问题现象 2. 权限问题处理方法 sudo chown -R jenkins:jenkins /var/lib/jenkins sudo chown -R jenkins:jenkins /var/cache/jenkins sudo chown -R jenkins:jenkins /var
阅读全文
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma
阅读全文
摘要:1. 导出csv 2. 打开之后乱码 3、处理方法(win10) 使用记事本打开, 然后另存为,选择带有BOM的UTF8格式 保存之后重新打开即可 参考链接: https://www.cnblogs.com/fengyudeleishui/p/15662860.html
阅读全文
摘要:1、官网 https://www.selenium.dev/selenium-ide/ Getting Started · Selenium IDE 2、插件安装 可以使用谷歌和火狐 3. 步骤 https://zhuanlan.zhihu.com/p/137206279 参考链接: https:/
阅读全文
摘要:1、下载地址 https://registry.npmmirror.com/binary.html?path=chromedriver/ http://chromedriver.storage.googleapis.com/index.html 2、工程配置 3、使用 class BaseActio
阅读全文
摘要:一. pytest内部机制 pytest自带失败重跑机制,在运行中传入参数即可。 --lf 参数:运行上次失败的用例,如果没有则全部运行。 --ff参数:运行全部用例,上次失败的优先运行。 --lf, --last-failed rerun only the tests that failed at
阅读全文