首先,我没有让 POST 在围攻中工作,
siege https://apicdntest.fadv.com/orders/kelly POST
这不会击中 URL,但是当我删除 POST 键时,它会使用 GET 击中 URL
我真正需要的是我想用键/值对点击 URL,就像下面一样
siege https://apicdntest.fadv.com/orders/kelly post MyXML='<root><test>test</test></root>'
有人请帮我这样做siege
吗?
获取结果如下
Transactions: 4 hits
Availability: 100.00 %
Elapsed time: 2.52 secs
Data transferred: 0.00 MB
Response time: 0.26 secs
Transaction rate: 1.59 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 0.41
Successful transactions: 0
Failed transactions: 0
Longest transaction: 0.26
Shortest transaction: 0.00
发布结果
Transactions: 0 hits
Availability: 0.00 %
Elapsed time: 16.20 secs
Data transferred: 0.00 MB
Response time: 0.00 secs
Transaction rate: 0.00 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 0.00
Successful transactions: 0
Failed transactions: 4
Longest transaction: 0.00
Shortest transaction: 0.00