随笔分类 -  Software Test

摘要:1、安装ffmpeg brew install ffmpeg 2、查看本机设备 ffmpeg -devices % ffmpeg -devices ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers built with 阅读全文
posted @ 2022-08-24 14:27 代码诠释的世界 阅读(2197) 评论(0) 推荐(0)
摘要:参考链接: http://events.jianshu.io/p/2405999c7c88 阅读全文
posted @ 2022-08-24 14:13 代码诠释的世界 阅读(76) 评论(0) 推荐(0)
摘要:1、代码 # -*- coding:utf8 -*- import cv2 as cv cap = cv.VideoCapture(0) while (True): hx, frame = cap.read() if hx is False: print('read video error') ex 阅读全文
posted @ 2022-08-24 11:55 代码诠释的世界 阅读(376) 评论(0) 推荐(0)
摘要:1、报错 2、修改IDEA配置 重新打开项目 参考链接: https://blog.csdn.net/liveforyourself/article/details/122059698 阅读全文
posted @ 2022-08-23 16:21 代码诠释的世界 阅读(528) 评论(0) 推荐(0)
摘要:1、docker hub https://hub.docker.com/r/alfg/nginx-rtmp/ 2、安装 docker pull alfg/nginx-rtmp docker run -it -p 1935:1935 -p 8080:80 --rm nginx-rtmp 测试关闭后删除 阅读全文
posted @ 2022-08-23 15:47 代码诠释的世界 阅读(1161) 评论(0) 推荐(0)
摘要:1、nginx http://nginx.org/en/ 2、docker-hub https://hub.docker.com/r/alqutami/rtmp-hls https://hub.docker.com/_/nginx 3、github https://github.com/TareqA 阅读全文
posted @ 2022-08-23 15:23 代码诠释的世界 阅读(4021) 评论(0) 推荐(0)
摘要:1、docker hub https://hub.docker.com/_/nginx 2、安装 默认配置安装 docker run --name nginx -d nginx 指定端口安装 docker run --name nginx -d -p 8080:80 nginx 文件映射主机安装 # 阅读全文
posted @ 2022-08-23 10:52 代码诠释的世界 阅读(57) 评论(0) 推荐(0)
摘要:1、使用os.popen 2、使用os.system 3、使用subprocess.Popen 参考链接: https://blog.csdn.net/weixin_43276033/article/details/125481262 https://blog.csdn.net/sirobot/ar 阅读全文
posted @ 2022-08-22 11:20 代码诠释的世界 阅读(36) 评论(0) 推荐(0)
摘要:1、使用国内的镜像地址 https://registry.npmmirror.com/binary.html?path=chromedriver/ 2、通过simulation模拟用户点击来下载(只贴出部分方法) #!/usr/bin/env python # -*- coding:utf-8 -* 阅读全文
posted @ 2022-08-19 20:49 代码诠释的世界 阅读(336) 评论(0) 推荐(0)
摘要:1、pip install BeautifulSoup报错 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting BeautifulSoup Using cached https://pypi.tuna.tsi 阅读全文
posted @ 2022-08-18 11:58 代码诠释的世界 阅读(847) 评论(0) 推荐(0)
摘要:1、打开powershell(管理员) 2、查看所有端口连接 3、查看端口进程及PID 4、获取指定PID的进程名称 5、根据PID杀死进程 检查 至此完成 阅读全文
posted @ 2022-08-15 17:36 代码诠释的世界 阅读(632) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2022-08-14 16:04 代码诠释的世界 阅读(294) 评论(0) 推荐(0)
摘要:1、官网 https://airtest.netease.com/ 2、项目地址 https://github.com/AirtestProject 3、官方文档 欢迎使用 - Airtest Project Docs 4、安装AirtestIDE 解压运行即可 5、设备唤醒 https://jue 阅读全文
posted @ 2022-08-12 15:21 代码诠释的世界 阅读(185) 评论(0) 推荐(0)
摘要:1、官网 https://httprunner.com/https://httprunner.com/docs/ 2、github https://github.com/httprunner/httprunner https://github.com/httprunner/QuickRunner 3 阅读全文
posted @ 2022-08-12 10:21 代码诠释的世界 阅读(309) 评论(0) 推荐(0)
摘要:1、pymongo官网 https://pypi.org/project/pymongo/ https://api.mongodb.com/ 2、github https://github.com/mongodb/mongo-python-driver 3、文档 https://www.osgeo. 阅读全文
posted @ 2022-07-30 21:58 代码诠释的世界 阅读(389) 评论(0) 推荐(0)
摘要:1、创建测试计划 2、创建线程组 3、创建JDBC连接 4、添加JDBC请求 6、添加数据库操作 7、添加结果报告 8、执行并查看结果 问题1、Cannot create PoolableConnectionFactory (The server time zone value '�й���׼ʱ�� 阅读全文
posted @ 2022-07-30 17:42 代码诠释的世界 阅读(425) 评论(0) 推荐(0)
摘要:1、原因,模拟用户并发插入数据库数据场景,评估系统吞吐量 2、jmeter官网 https://jmeter.apache.org/download_jmeter.cgi 3、用户手册 https://jmeter.apache.org/usermanual/index.html 4、启动jmete 阅读全文
posted @ 2022-07-30 17:36 代码诠释的世界 阅读(405) 评论(0) 推荐(0)
摘要:1、问题现场 自动化测试中,封装接口,用到requests, 封装目录为http, 用于存放相关api 别人下载工程下来之后,运行报错 ModuleNotFoundError: No module named 'http.client' 2、处理方法 经过各种排查,发现确实是目录命名导致 参考链接: 阅读全文
posted @ 2022-07-30 17:04 代码诠释的世界 阅读(1226) 评论(0) 推荐(0)
摘要:1、官网 https://www.fit2cloud.com/metersphere/index.html 2、文档 https://metersphere.io/docs/ https://github.com/metersphere/metersphere 3、环境 windwos10 jdk 阅读全文
posted @ 2022-07-28 16:44 代码诠释的世界 阅读(2199) 评论(0) 推荐(0)
摘要:1、官网 https://jmeter.apache.org/index.html 2、安装配置 安装JDK 安装Jmeter 3、模拟用户并发 创建测试计划 创建线程组 创建HTTP请求 创建测试报告 执行 Ctrl + r 参考链接: https://www.shuzhiduo.com/A/gA 阅读全文
posted @ 2022-06-28 18:09 代码诠释的世界 阅读(340) 评论(0) 推荐(0)