摘要: Docker 镜像使用 当运行容器时,使用的镜像如果在本地中不存在,docker 就会自动从 docker 镜像仓库中下载,默认是从 Docker Hub 公共镜像源下载。 下面我们来学习: 1、管理和使用本地 Docker 主机镜像 2、创建镜像 列出镜像列表 我们可以使用 docker imag 阅读全文
posted @ 2024-04-26 19:04 小白龙白龙马 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/wangyuxiang946/article/details/133880048 firewalld firewall-cmd 常用命令 网址:https://www.cnblogs.com/klvchen/p/10063875.html # 开启防 阅读全文
posted @ 2024-04-26 15:05 小白龙白龙马 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 给你一个web接口,如何进行测试? 设计Web接口的用例通常需要遵循一定的步骤和原则,以确保接口的完整性、安全性、可用性和性能。以下是进行Web接口用例设计的一些基本步骤: 1. **理解需求**: - 明确接口的目的和功能。 - 确定接口的输入和输出数据格式。 2. **定义接口规范**: - 确 阅读全文
posted @ 2024-04-26 13:32 小白龙白龙马 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 柠檬班jmeter教程参考:https://www.bilibili.com/video/BV1st411Y7QW/?spm_id_from=333.337.search-card.all.click&vd_source=79bbd5b76bfd74c2ef1501653cee29d6 黑马jmet 阅读全文
posted @ 2024-04-23 20:46 小白龙白龙马 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-04-23 20:43 小白龙白龙马 阅读(1) 评论(0) 推荐(0) 编辑
摘要: User Class 一个用户类代表一个用户(如果你愿意,也可以是一群蝗虫)。Locust 将为正在模拟的每个用户生成一个 User 类的实例。用户类可以定义一些通用属性。 on_start 和 on_stop 方法 User和TaskSets可以声明一个on_start和on_stop方法, Us 阅读全文
posted @ 2024-04-22 18:04 小白龙白龙马 阅读(6) 评论(0) 推荐(0) 编辑
摘要: locusts脚本,初步简介: 参数: C:\Users\lenovo>locust --help Usage: locust [OPTIONS] [UserClass ...] Common options: -h, --help show this help message and exit - 阅读全文
posted @ 2024-04-22 11:29 小白龙白龙马 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 官网:www.locust.io/ 产品文档:docs.locust.io/en/2.4.1/ 安装 配置好pthon、pycharm cmd窗口执行:pip3 install locust 验证:locust -V 编写python性能接口自动化测试脚本 learn_demo03.py impor 阅读全文
posted @ 2024-04-22 10:23 小白龙白龙马 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 2个参考: 小菠萝:https://www.cnblogs.com/poloyy/p/12219145.html Centos7安装Grafana Grafana官网下载路径:https://grafana.com/grafana/download 1、直接执行以下命令进行安装: wget http 阅读全文
posted @ 2024-04-20 22:25 小白龙白龙马 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 参考小菠萝博客笔记:https://www.cnblogs.com/poloyy/p/12375039.html 小菠萝是在一个服务器上面装的,我是2个服务器分别装的,下面需要新增一个命令: useradd prometheus NODE_PATH='/data/prometheus/node_ex 阅读全文
posted @ 2024-04-20 14:44 小白龙白龙马 阅读(5) 评论(0) 推荐(0) 编辑