2022年8月12日

摘要: 转载地址:https://www.cnblogs.com/mini-monkey/p/12104821.html 前言有时候测试过程中会遇到日期控件场景,这时候需要特殊处理,下文以12306网站为例 1.处理方式通常是通过js去除只读属性(2种方法),然后通过send_keys重新写值 from t 阅读全文
posted @ 2022-08-12 09:51 在路上------ 阅读(236) 评论(0) 推荐(0) 编辑
 
摘要: 转载地址:(selenium+python)_UI自动化03_定位新开窗口内元素 - 测试一枝花 - 博客园 (cnblogs.com) 前言 浏览器点击web网站链接时,经常在当前窗口的基础上打开另一个新的窗口。如下: selenium定位新窗口元素,需要先切换到新窗口,再定位元素,否则会出现报错 阅读全文
posted @ 2022-08-12 09:40 在路上------ 阅读(551) 评论(0) 推荐(1) 编辑
 

2022年6月16日

摘要: ​ !/bin/bash echo "$1" pid=`ps -ef | grep $1 | grep -v grep | grep -v bash | awk '{print $2}'` echo "$pid" if [ -n "$pid" ] then echo "kill -9 pid:$pi 阅读全文
posted @ 2022-06-16 11:19 在路上------ 阅读(82) 评论(0) 推荐(0) 编辑
 

2022年6月9日

摘要: 阅读全文
posted @ 2022-06-09 16:56 在路上------ 阅读(59) 评论(0) 推荐(0) 编辑
 
摘要: 1.下载postgres_exporter插件 2.上传传服务并进行解压 tar -zxvf postgres_exporter-0.10.1.linux-amd64.tar.gz 3.添加环境变量 export DATA_SOURCE_NAME="postgresql://postgres:pos 阅读全文
posted @ 2022-06-09 14:45 在路上------ 阅读(1825) 评论(0) 推荐(0) 编辑
 
摘要: 内容转载至:prometheus常用exporter下载地址大全 - 墨天轮 (modb.pro) 1.node_exporter下载 https://github.com/prometheus/node_exporter/releases 2.blackbox_exporter下载 https:/ 阅读全文
posted @ 2022-06-09 11:21 在路上------ 阅读(1981) 评论(0) 推荐(1) 编辑
 

2022年5月16日

摘要: 代码如下: import java.io.FileWriter; import java.io.IOException; FileWriter filename = new FileWriter("./sha256.txt",true); BufferedWriter out = new Buffe 阅读全文
posted @ 2022-05-16 16:08 在路上------ 阅读(126) 评论(0) 推荐(0) 编辑
 

2022年4月8日

摘要: 1、进入kafka的bin目录:先启动内置zookeeper 执行命令:zookeeper-server-start.sh ../config/zookeeper.properties 后台运行命令:zookeeper-server-start.sh -daemon ../config/zookee 阅读全文
posted @ 2022-04-08 16:38 在路上------ 阅读(1564) 评论(0) 推荐(0) 编辑
 

2022年3月17日

摘要: 自动化123 阅读全文
posted @ 2022-03-17 10:03 在路上------ 阅读(11) 评论(0) 推荐(0) 编辑
 

2021年12月3日

摘要: 1.在jmeter中下载kafka插件: 在jmeter"选项"菜单中选择"plugins Manager" 安装ID KafKaMeter和kafka Support两个插件 2.在配置元件中添加KafkaProducerConfig 下图中只需要配置kafka Brokers,其他的无需填写 3 阅读全文
posted @ 2021-12-03 11:26 在路上------ 阅读(1518) 评论(0) 推荐(0) 编辑