当前位置:网站首页>JMeter operation redis
JMeter operation redis
2022-04-23 12:58:00 【qyykaola】
1. install Redis Data Set
Options -plugins Manager- Search for Redis Data Set, install
2. Thread group - add to - The configuration element


beanshell Script , eliminate redis
import redis.clients.jedis.Jedis;
import org.apache.commons.lang3.StringUtils;
String host = ""; // Server address
int port = ; // Port number
String password = ""; //redis password
int index = 11; //redis db Buffer zone
Jedis jedis = new Jedis(host, port);
if(StringUtils.isNotBlank(password)){
jedis.auth(password);
}
jedis.select(index); // choice redis db
String res = jedis.flushDB(); // eliminate redis
return res;
版权声明
本文为[qyykaola]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231257078520.html
边栏推荐
- Mysql8 installation
- mysql支持ip访问
- The accuracy and speed are perfectly balanced, and the latest image segmentation SOTA model is released!!!
- Process virtual address space partition
- 21 days learning mongodb notes
- Van uploader upload picture implementation process, using native input to upload pictures
- About the 'enum' enumeration type and structure.
- 4.DRF 权限&访问频率&过滤&排序
- 精度、速度完美平衡,最新图像分割SOTA模型重磅发布!!!
- Recovering data with MySQL binlog
猜你喜欢

22. 括号生成

STM32 project transplantation: transplantation between chip projects of different models: Ze to C8

Customize classloader and implement hot deployment - use loadclass

Free and open source agricultural Internet of things cloud platform (version: 3.0.1)

Custom nail robot alarm

4.DRF 权限&访问频率&过滤&排序

The accuracy and speed are perfectly balanced, and the latest image segmentation SOTA model is released!!!

There is no need to crack the markdown editing tool typora

Redis deployment of cloud native kubesphere

If you were a golang interviewer, what questions would you ask?
随机推荐
Synchronously update the newly added and edited data to the list
精度、速度完美平衡,最新图像分割SOTA模型重磅发布!!!
21 天学习MongoDB笔记
如何实现点击一下物体播放一次动画
风尚云网学习-input属性总结
Community version Alibaba MQ ordinary message sending subscription demo
At instruction of nbiot
Customize the shortcut options in El date picker, and dynamically set the disabled date
How to prevent the website from being hacked and tampered with
The continuous construction of the Internet industry platform is not only able to collect traffic
Free and open source agricultural Internet of things cloud platform (version: 3.0.1)
Aviation core technology sharing | overview of safety characteristics of acm32 MCU
V-model binding value in El select, data echo only displays value, not label
leetcode-791. Custom string sorting
Unable to create servlet under SRC subfile of idea
Image attribute of input: type attribute of fashion cloud learning -h5
Please help me see what this is, mysql5 5. Thanks
Go language mapping operation
Go iris framework implements multi service Demo: start (listen to port 8084) service 2 through the interface in service 1 (listen to port 8083)
leetcode-791. 自定义字符串排序