locust性能测试5-参数化登录
时间:2018-09-20 23:14:16
收藏:0
阅读:520
前言
实现场景:所有并发虚拟用户共享同一份测试数据,并且保证虚拟用户使用的数据不重复。
例如,模拟10用户并发注册账号,总共有100个手机号,要求注册账号不重复,注册完毕后结束测试
准备数据
| 虚拟用户 | locust1 | locust2 | locust3 | locust4 | locust5 | locust6 | locust7 | locust8 | locust9 | locust10 |
|---|---|---|---|---|---|---|---|---|---|---|
| 共享数据 | tel1 | tel2 | tel3 | tel4 | tel5 | tel6 | tel7 | ...... , tel99 | tel100 |
原文:https://www.cnblogs.com/yoyoketang/p/9683897.html
评论(0)