https://www.cnblogs.com/testwjr/p/9156705.html
https://blog.csdn.net/loner_fang/article/details/81455476
正则表达式提取参数 https://www.cnblogs.com/telescope11/p/9849893.html
后置处理器之JSON Extractor https://www.cnblogs.com/loveapple/p/9852456.html
节点选择 http://www.mamicode.com/info-detail-2432921.html
beanshell常用语法 https://www.jianshu.com/p/6acdea08c810
连数据库 https://blog.csdn.net/smooth00/article/details/67638033
https://blog.csdn.net/qq_39620483/article/details/88687207
https://www.cnblogs.com/flyyingzi/p/10196907.html
元件介绍 https://blog.csdn.net/qq_35417815/article/details/87784369#1sampler_6
Jmeter教程汇总 https://www.hissummer.com/loadtesting-jmeter.html
http https://blog.csdn.net/kebi007/article/details/103059900
打开fiddler之后,电脑端浏览器无法访问页面
来自 https://blog.csdn.net/u010662488/article/details/48753077
连数据库
1、添加JDBC驱动
Jmeter需要使用JDBC功能时,需要添加对应PostgreSQL数据库的驱动包,可以将下载好的jar包放到路径\apache-jmeter-3.1\lib下面即可,或是在测试计划中添加引用到Library。postgresql的驱动包可以到官网下载:https://jdbc.postgresql.org/download.html
2、在线程组内添加数据连接配置 (JDBC Connection Configuration)
3、添加JDBC请求,填入语句
org.apache.activemq.jndi.ActiveMQSslInitialContextFactory
dynamicQueues/acs.acs.queue.dist_event
beanshell内置函数
1.UUID
import java.util.UUID;
UUID uuid1 = UUID.randomUUID(); //获取UID
//把uuid中的‘-’去掉,然后传给zichuan。vars.put是beanshell的赋值函数
vars.put(“zichuan”,(uuid1.toString()).toUpperCase().replaceAll("-",""));
//不去掉‘-’的写法
//vars.put(“zichuan”,(uuid1.toString()).toUpperCase());
2.用户密码加密
import com.qmj.jmeter.*;
String psw = vars.get(“passWord”);
byte[] encryptByPublicKey;
String publicKey = vars.get(“publicKey”);
String result = “ERROR”;
try {
encryptByPublicKey = RSA.encryptByPublicKey(psw.getBytes(),publicKey);
result = Base64Utils.encode(encryptByPublicKey);
}
catch (Exception ex) {
}
vars.put(“userpsw”,result);