jmeter压力测试数据文件制作方法

split分割文件方法
https://kb.iu.edu/d/afar

https://unix.stackexchange.com/questions/81904/repeat-each-line-multiple-times
一行变多行
This might work for you (GNU sed):

sed 'h;:a;s/[^\n]\+/&/4;t;G;ba' file
Will repeat each line 4 times.

Or if you prefer:

sed 'h;:a;s/\n/&/3;t;G;ba' file
Where you repeat each line 3 more times.


一个文件拷贝成多个文件
tee /dev/null

你可能感兴趣的:(jmeter压力测试数据文件制作方法)