Last active
April 1, 2024 03:48
-
-
Save rob-murray/dd77778b1770f32c46e8 to your computer and use it in GitHub Desktop.
Siege examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic example | |
siege -t60s -c20 -d10 'http://robertomurray.co.uk/' | |
# Basic auth; | |
auth=$(echo -n 'username:password' | openssl base64) | |
siege -t60s -c20 -d10 --header="Authorization:Basic $auth" 'https://staging.a-hostname.co.uk/' |
Please fix line 5!
# Basic example
siege -t60s -c20 -d10 'http://robertomurray.co.uk/'
# Basic auth;
auth=$(echo -n 'username:password' | openssl base64)
siege -t60s -c20 -d10 --header="Authorization:Basic $auth" 'https://staging.a-hostname.co.uk/'
What about Bearer token?
Just replacing Basic to Bearer is not helping.. Not getting any error but transactions seems 0%
Lifting the server siege...
Transactions: 0 hits
Availability: 0.00 %
Elapsed time: 4.23 secs
Data transferred: 0.00 MB
Response time: 0.00 secs
Transaction rate: 0.00 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 23.37
Successful transactions: 74
Failed transactions: 0
Longest transaction: 3.33
Shortest transaction: 0.86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you :)