当前位置:网站首页>JMeter 21 天打卡 day12
JMeter 21 天打卡 day12
2022-07-18 01:49:00 【大田测试录】
Day11完成了CSV读取配置文件,但是发现只能取出来第一行数据,如果想把所有的数据取出来,就需要用到循环控制器,通过循环控制器依次读取CSV数据并执行。
现在有一个添加用户的接口,将CSV配置文件中所有数据都取出来并传入添加用户接口中(注意:CSV配置文件中所有的数据),该怎么操作?
知识点:
a.如果知道CSV文件中数据的行数,就设置为具体的循环次数.例如:CSV中测试数据为10行,那么这里的循环就为10

b.如果不知道CSV文件中数据的行数,这里设置为永远,CSV对应的遇见文件结束符结束线程,设置为True

脚本:


运行结果:
边栏推荐
- 如何下载ScienceDirect(Elsevier)文献的补充材料
- Leetcode 565 array nesting [dfs memory] the way of leetcode in heroding
- 劲旅环境深交所上市:市值50亿 于晓霞家族色彩浓厚
- 【深度学习基础】卷积是如何计算的
- dried food! Integrated fair cold start recommendation system
- Force buckle 565 Array nesting
- openresty lua-resty-lrucache缓存
- [dry goods] how much do you know about MySQL infrastructure design?
- 数据处理Numpy的基本使用方法
- Deep learning environment configuration tensorflow2+keras
猜你喜欢
随机推荐
Ch549/ch548 learning notes 8 - USB device interrupt processing
Basic usage of numpy in data processing
dried food! Integrated fair cold start recommendation system
信创环境下达梦数据库唯一索引异常无法拦截DuplicateKeyException
openresty ngx_ Lua shared memory
UGUI源码解析——IClipper
数据处理Numpy的基本使用方法
手写简易Promise代码注释
CH549/CH548学习笔记3 - UART
Okaleido or get out of the NFT siege, are you optimistic about it?
MySQL 正則錶達式
二手房房价分析与预测(图表绘制避免中文乱码、饼形图、折线图、条形图(柱形图)、enumerate函数、数据清洗(lambda\map)、二手房预测(scikit-learn))
LeetCode 300:最长递增子序列
After the media forwarding function is enabled in Vos, calculate the bandwidth occupied by several common codes
Is online fund account opening safe? Find the answer online
Solidworks装配体常见问题汇总(随时更新)
opencv笔记之读取图像去畸变并保存成新图像
Liquibase learning 2 - Introduction to the extension plug-in liquibase data
同花顺软件炒股线上开户可以免费吗?开户安全吗?
Leetcode 565 array nesting [dfs memory] the way of leetcode in heroding








