随笔分类 -  Jmeter

摘要:一、jmeter使用; 1、获取请求参数; 入参可以写固定值,可以使用用户定义变量,可以读取文件获取、可以通过函数助手生成、可以通过beanshell前置处理器加工生成,以加密为例介绍2种; (1)使用函数助手的加密方法(算法摘要,可输入值:MD2、MD5、SHA-1、SHA-224、SHA-256 阅读全文
posted @ 2024-01-23 17:05 梧桐潇雨 阅读(92) 评论(0) 推荐(0) 编辑
摘要:import org.apache.jmeter.config.Arguments; import org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient; import org.apache.jmeter.protocol 阅读全文
posted @ 2023-08-29 18:49 梧桐潇雨 阅读(30) 评论(0) 推荐(0) 编辑
摘要:错误提示: An error occurred: Error while processing samples:Mismatch between expected number of columns:17 and columns in CSV file:23, check your jmeter.s 阅读全文
posted @ 2022-12-05 15:09 梧桐潇雨 阅读(287) 评论(0) 推荐(0) 编辑
摘要:1、Beanshell不支持泛型 原java请求: import cn.***.*** public class App { private static RestTemplate restTemplate; static { restTemplate = new RestTemplate(); } 阅读全文
posted @ 2022-10-25 15:23 梧桐潇雨 阅读(82) 评论(0) 推荐(0) 编辑
摘要:1、启动nmon: $./nmon -fT -s30 -c60 //(每30秒抓一次,抓60次,大概30分钟,因为一般都测试30分钟) 2、启动Jmeter: $./jmeter -n -t test.jmx -l log.jtl 3、生成报告: $ cd jmeter/bin $ jmeter - 阅读全文
posted @ 2022-10-14 17:28 梧桐潇雨 阅读(66) 评论(0) 推荐(0) 编辑
摘要:步骤1:打开浏览器-管理证书-导出证书到本地(常用方法,有些纯接口项目需要拿到证书和私钥) 步骤2:执行下面的语句把导出的.cer文件生成jmeter要求的.store文件 不需要私钥: keytool -import -alias "***.store" -file "D:\tools\apach 阅读全文
posted @ 2022-10-14 15:46 梧桐潇雨 阅读(186) 评论(0) 推荐(0) 编辑
摘要:1、服务器最大连接数 [root@ecs-493b-0007 config]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file s 阅读全文
posted @ 2022-10-14 11:46 梧桐潇雨 阅读(23) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示