当前位置:网站首页>实战 | 电商业务性能测试(二): Jmeter 参数化功能实现注册登录的数据驱动
实战 | 电商业务性能测试(二): Jmeter 参数化功能实现注册登录的数据驱动
2022-04-21 20:14:00 【hogwarts_beibei】

此例使用的是 GitHub 上一个开源的电商项目 mall,需要的可以去 GitHub 上下载部署,有详细的部署教程:
- GitHub地址:
- https://github.com/macrozheng/mall 1
- 部署教程:
- Document
- 业务流程:验证码->注册->登录,
- 接口比例:这三个接口场景的比例为1:1:1关系
- 数据传递:获取的鉴权信息需保存后未后续的请求做数据支持

- Filename:填入你需要导入的文件地址
- File encoding:选择编码方式,特别是有中文的时候记得要选UTF-8
- Variable Names:设置变量名,要和数据文件中的格式一一对应
- Ignore first line:是否忽视第一行,有时候我们数据文件的第一行可能是个说明title,并不是我们实际需要的数据,这个时候就可以在此选择true,将其忽略
- Delimiter(use ‘\t’ for tab):如果你的数据文件的数据之间使用tab进行分割的,这里就填\t用来说明是tab分割,如果是用逗号,分割的,那么就直接填入逗号,即可

版权声明
本文为[hogwarts_beibei]所创,转载请带上原文链接,感谢
https://blog.csdn.net/hogwarts_beibei/article/details/124326385
边栏推荐
- StopWatch
- Pfsense configuring IPSec site to site tunneling using certificate authentication Guide
- Practice of spark SQL in snowball
- docker中安装MySQL、MSSQL、Oracle、MongDB、Redis集合
- C # cannot be used for characters of file name
- php处理视频ffmpeg(转)
- webrtc入门:3.使用enumerateDevices获取设备中可用的流媒体
- [original] popular saying is the story behind the so-called "dynamic pixels" and "static pixels" of digital cameras
- 人机验证reCAPTCHA v3使用完备说明
- VIM from dislike to dependence (6) -- insertion mode
猜你喜欢

接口非幂等性解决
Practice of spark SQL in snowball

Know that Chuangyu issued a heavy strategic plan to build a practical defense system for continuous exchange of fire

JUC queue interface and its implementation class

C语言:简单的利润与奖金

How does the Mui tab realize circular rotation

Im instant messaging development technology: 1-10 million high concurrency architecture evolution

Pfsense configuring IPSec site to site tunneling using certificate authentication Guide

你的独立站转化率低?三个小技巧帮助提高转化率

R language data analysis from entry to advanced: (8) data format conversion of data cleaning skills (including the conversion between wide data and long data)
随机推荐
Use of auto keyword
Interface non idempotent solution
La différence et la relation entre glew, Glee et GL Glu glut glx glext
表面点云法线
STL container (I) -- vector
redis
Considerations for index creation
esayCode模板
C语言题目一:1,2,3,4能组成的三位数
Fiddler's solution to the failure of capturing PC wechat applet
【转】SSE2 SSE简介和C代码示例
[reprint] devm_ XXX mechanism
glew, glee與 gl glu glut glx glext的區別和關系
StopWatch
Jerry's low power sleep [chapter]
R language data analysis from entry to advanced: (8) data format conversion of data cleaning skills (including the conversion between wide data and long data)
MySQL view (detailed explanation)
Solution when the port is occupied
After learning this tutorial of capturing packages by Charles, I unloaded Fiddler directly
Redis Foundation

