也许有人反映sipp-3.1版本加载csv文件会失败。sipp -inf xxxx.csv ..........
看了以下sipp-3.1的帮助
-inf : Inject values from an external CSV file during calls into
the scenarios.
First line of this file say whether the data is to be
read in sequence (SEQUENTIAL), random (RANDOM), or user
(USER) order.
Each line corresponds to one call and has one or more
';' delimited data fields. Those fields can be referred
as [field0], [field1], ... in the xml scenario file.
Several CSV files can be used simultaneously (syntax:
-inf f1.csv -inf f2.csv ...)
需要在csv文件的第一行注明该csv文件是一个个队列式的读呢?还是随机读呢?还是按照用户命令读呢?
所以需要在csv文件第一行写上要读取该文件的方式,我写得是
random
阅读(250) | 评论(0) | 转发(0) |