当前位置:网站首页>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函数


边栏推荐
- SAP Spartacus checkout 流程的扩展(extend)实现介绍
- 搞懂fastjson 对泛型的反序列化原理
- SQL Server 2008 各种DateTime的取值范围
- How to improve website weight
- PTA TIANTI game exercise set l2-003 moon cake test point 2, test point 3 Analysis
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- A freshman's summary of an ordinary student [I don't know whether we are stupid or crazy, but I know to run forward all the way]
- 老板总问我进展,是不信任我吗?(你觉得呢)
- C. colonne Swapping [tri + Simulation]
- Go language learning notes - Gorm use - native SQL, named parameters, rows, tosql | web framework gin (IX)
猜你喜欢

Jstat of JVM command: View JVM statistics

为不同类型设备构建应用的三大更新 | 2022 I/O 重点回顾

If you don't know these four caching modes, dare you say you understand caching?

yarn入门(一篇就够了)

OpenSergo 即将发布 v1alpha1,丰富全链路异构架构的服务治理能力

Career experience feedback to novice programmers

JVM命令之 jstack:打印JVM中线程快照

Check point: the core element for enterprises to deploy zero trust network (ztna)
![[FPGA tutorial case 13] design and implementation of CIC filter based on vivado core](/img/19/1a6d43c39f2cf810ba754ea9674426.png)
[FPGA tutorial case 13] design and implementation of CIC filter based on vivado core

SAP ABAP BDC (batch data communication) -018
随机推荐
PTA ladder game exercise set l2-002 linked list de duplication
Check point: the core element for enterprises to deploy zero trust network (ztna)
10W word segmentation searches per second, the product manager raised another demand!!! (Collection)
牙齿干细胞的存储问题(未完待续)
如果不知道这4种缓存模式,敢说懂缓存吗?
SAP Spartacus checkout 流程的扩展(extend)实现介绍
JVM命令之 jstack:打印JVM中线程快照
CMD permanently delete specified folders and files
PowerPivot - DAX (function)
ML之shap:基于adult人口普查收入二分类预测数据集(预测年收入是否超过50k)利用shap决策图结合LightGBM模型实现异常值检测案例之详细攻略
[cloud native] what is the microservice architecture?
关于STC单片机“假死”状态的判别
Loss function and positive and negative sample allocation in target detection: retinanet and focal loss
苹果cms V10模板/MXone Pro自适应影视电影网站模板
SQL Server 2008 各种DateTime的取值范围
产业金融3.0:“疏通血管”的金融科技
A freshman's summary of an ordinary student [I don't know whether we are stupid or crazy, but I know to run forward all the way]
New Year Fireworks code plus copy, are you sure you don't want to have a look
Solve pod install error: FFI is an incompatible architecture
Bat instruction processing details