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


边栏推荐
- From "running distractor" to data platform, Master Lu started the road of evolution
- STM32 key state machine 2 - state simplification and long press function addition
- Red hat install kernel header file
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- 【日常训练--腾讯精选50】235. 二叉搜索树的最近公共祖先
- On the discrimination of "fake death" state of STC single chip microcomputer
- EMMC打印cqhci: timeout for tag 10提示分析与解决
- [FPGA tutorial case 13] design and implementation of CIC filter based on vivado core
- 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]
- Opensergo is about to release v1alpha1, which will enrich the service governance capabilities of the full link heterogeneous architecture
猜你喜欢

cf:C. Column Swapping【排序 + 模拟】

【FPGA教程案例13】基于vivado核的CIC滤波器设计与实现

PowerPivot——DAX(函数)

Career experience feedback to novice programmers
![[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

Ctfshow-- common posture

SubGHz, LoRaWAN, NB-IoT, 物联网

Interview skills of software testing

JVM命令之- jmap:导出内存映像文件&内存使用情况

Jstat of JVM command: View JVM statistics
随机推荐
[shell] clean up nohup Out file
成为资深IC设计工程师的十个阶段,现在的你在哪个阶段 ?
Dc-7 target
话说SQLyog欺骗了我!
STM32 key state machine 2 - state simplification and long press function addition
What is make makefile cmake qmake and what is the difference?
往图片添加椒盐噪声或高斯噪声
Detailed explanation of platform device driver architecture in driver development
Forkjoin is the most comprehensive and detailed explanation (from principle design to use diagram)
Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
k8s运行oracle
JVM命令之 jstat:查看JVM统计信息
PTA 天梯赛练习题集 L2-003 月饼 测试点2,测试点3分析
Data storage 3
那些自损八百的甲方要求
[InstallShield] Introduction
Flask 1.1.4 werkzeug1.0.1 analyse du code source: processus de démarrage
Check Point:企业部署零信任网络(ZTNA)的核心要素
[SQL practice] a SQL statistics of epidemic distribution across the country
Chain storage of stack