JoeDog / siege

Siege is an http load tester and benchmarking utility
GNU General Public License v3.0
5.91k stars 386 forks source link

No details infos are showed with --verbose option #174

Closed puppyapple closed 4 years ago

puppyapple commented 4 years ago

Command using: siege -c 120 -r 1 -v --content-type "application/json" 'http://xxxxx POST <../siege_test.json'

Result from command line: { "transactions": 120, "availability": 100.00, "elapsed_time": 3.30, "data_transferred": 0.01, "response_time": 1.73, "transaction_rate": 36.36, "throughput": 0.00, "concurrency": 63.01, "successful_transactions": 120, "failed_transactions": 0, "longest_transaction": 3.30, "shortest_transaction": 0.22 }

Neither '-v' or '--verbose' gives any details of the transactions. Anyone has met the same issue?

JoeDog commented 4 years ago

Make sure you have 'json_output = false' in your .siege/siege.conf file

When json_output is true, all verbosity is forced off.

puppyapple commented 4 years ago

Make sure you have 'json_output = false' in your .siege/siege.conf file

When json_output is true, all verbosity is forced off.

@JoeDog Oh yes, thanks for the reply. I didn't noticed this configuration in .conf. The transactions information shows normally now after set it to false. Thanks again!