Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于带有参数中随机数据的多个请求轰炸服务器,我该怎么做?
炮兵脚本中的消息块如下,
"message": { "order1": "jngfj2434", "size": "4433", }
我需要随机发送 1 到 10,000 范围内的随机字符串和大小的 order1。
下面的代码对我有用。
"message": { "order1": "{{ $randomString() }}", "size": "{{$randomNumber(1,10000)}}", }