当前位置:网站首页>jmeter 函数助手 — — 随机值、随机字符串、 固定值随机提取
jmeter 函数助手 — — 随机值、随机字符串、 固定值随机提取
2022-07-07 01:08:00 【咪咕!小小南国搞测试】
Random (随机数)、RandomString (随机字符串)、
RandomFromMultipleVars (固定值随机提取)
Random函数+CSVRead函数 (对文件中固定值随机提取)
数字随机提取
一、找到Random函数
二、通过输入纯两个纯数字——控制随机数的范围——生成的值包含最大值和最小值
三、点击生成,即可直接复制,使用时直接粘贴即可


字符串随机提取
一、找到RandomString函数
二、1、填写字符串长度 2、填写这个字符串所包含的字符 0-9、a-z、A-z
三、点击生成,即可直接复制,使用时直接粘贴即可


固定值随机提取方法一、 使用 用户自定义变量+RandomFromMultipleVars函数
一、找到并添加自定义变量——将要随机的值——每个值添加一个变量
二、找到RandomFromMultipleVars函数 (1)填写多个自定义变量名用 | 隔开 (2)下面置空即可
三、点击生成,即可直接复制,使用时直接粘贴即可



固定值随机提取方法二、 使用 Random函数+CSVRead函数
一、编写text文件,多个数据写在同一列用逗号隔开
二、通过Random函数 最小0 最大总列数-1 (进行随机列)
三、通过CSVRead函数 (1)指向数据所在文本路径+文件名 (2) 填写生成的Random函数


边栏推荐
- [cloud native] what is the microservice architecture?
- MFC BMP sets the resolution of bitmap, DPI is 600 points, and gdiplus generates labels
- 外设驱动库开发笔记43:GPIO模拟SPI驱动
- PowerPivot - DAX (function)
- Cloud acceleration helps you effectively solve attack problems!
- Dc-7 target
- Deep clustering: joint optimization of depth representation learning and clustering
- 深度聚类:将深度表示学习和聚类联合优化
- EMMC打印cqhci: timeout for tag 10提示分析与解决
- @Detailed differences between pathvariable and @requestparam
猜你喜欢

如何在Touch Designer 2022版中设置解决Leap Motion不识别的问题?

Add salt and pepper noise or Gaussian noise to the picture

Check Point:企业部署零信任网络(ZTNA)的核心要素

VScode进行代码补全

软件测试知识储备:关于「登录安全」的基础知识,你了解多少?

mac版php装xdebug环境(m1版)

Jstat of JVM command: View JVM statistics

Apple CMS V10 template /mxone Pro adaptive film and television website template

EMMC print cqhci: timeout for tag 10 prompt analysis and solution

Web authentication API compatible version information
随机推荐
Detailed explanation of platform device driver architecture in driver development
linear regression
From "running distractor" to data platform, Master Lu started the road of evolution
软件测试知识储备:关于「登录安全」的基础知识,你了解多少?
The solution of a simple algebraic problem
make makefile cmake qmake都是什么,有什么区别?
[FPGA tutorial case 14] design and implementation of FIR filter based on vivado core
Check Point:企业部署零信任网络(ZTNA)的核心要素
Go语学习笔记 - gorm使用 - gorm处理错误 | Web框架Gin(十)
ML's shap: Based on the adult census income binary prediction data set (whether the predicted annual income exceeds 50K), use the shap decision diagram combined with the lightgbm model to realize the
New Year Fireworks code plus copy, are you sure you don't want to have a look
Why does the data center need a set of infrastructure visual management system
[daily training -- Tencent selected 50] 292 Nim games
Red hat install kernel header file
Introduction to yarn (one article is enough)
Ten stages of becoming a Senior IC Design Engineer. What stage are you in now?
[FPGA tutorial case 13] design and implementation of CIC filter based on vivado core
Check point: the core element for enterprises to deploy zero trust network (ztna)
Determine whether the file is a DICOM file
Jstat pour la commande JVM: voir les statistiques JVM