2016-03-03 77 views
0

首先我沒有收到POST攻城工作的,POST key = value對攻城

siege https://apicdntest.fadv.com/orders/kelly POST 

這不打的網址,但是當我刪除帖子鍵,然後它擊中的URL GET

我究竟需要的是我想打的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 

回答

0

嘗試重新格式化您的要求,像這樣:

siege "https://apicdntest.fadv.com/orders/kelly POST" 

注意引號,它根據傑弗裏富爾默(作者Siege)爲required:「由於POST URL在POST之前和之後都包含空格,你必須在命令行中引用它們。「

相關問題