Skip to content

Instantly share code, notes, and snippets.

@shapeshed
Last active December 28, 2015 02:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shapeshed/7428673 to your computer and use it in GitHub Desktop.
Save shapeshed/7428673 to your computer and use it in GitHub Desktop.
Seige Test on Auth Service
# Test completed with seige http://www.joedog.org/siege-home/
# Test runs for 2 minutes, repeated 5 times
# siege --log=loadtest.log -H 'Content-Type:application/json' "https://qa01-sgp.bedegaming.net:18203/Auth/Login POST < ./postdata.json" -c 50 -t 2m
# postdata: {"Email": "gornbo@gmail.com", "SiteCode": "bingostars.com", "Password": "xxxxx", "IpAddress": "127.0.0.1"}
# 50 concurrents
Date & Time Trans Elap Time Data Trans Resp Time Trans Rate Throughput Concurrent OKAY Failed
2013-11-12 10:06:18 3966 119.87 3 1.00 33.09 0.03 33.13 3966 0
2013-11-12 10:08:32 3806 119.44 3 1.04 31.87 0.03 33.15 3806 0
2013-11-12 10:11:17 3575 119.77 2 1.16 29.85 0.02 34.76 3575 0
2013-11-12 10:13:33 3696 119.92 2 1.12 30.82 0.02 34.62 3696 0
2013-11-12 10:15:51 2101 119.54 1 1.19 17.58 0.01 20.86 2101 38
# Test completed with seige http://www.joedog.org/siege-home/
# Test runs for 2 minutes, repeated 5 times
# siege --log=foo.txt -H 'Content-Type:application/json' "https://qa01-sgp.bedegaming.net:18203/Auth/IsTokenValid POST < ./postdata.json" -c 70 -t 2m
# postdata: {"SiteCode": "bingostars.com", "UserId": 57534, "Token": "s6lwq5HvZZCkhXZJHgj5MbKvoeEGE4p1xeef8ZCeREkYb33vSl-qr0ycuqaM-M03Zas4Ktz6O7LoGyQ0AoWniQ2", "IpAddress": "127.0.0.1"}
# 50 concurrents
Date & Time Trans Elap Time Data Trans Resp Time Trans Rate Throughput Concurrent OKAY Failed
2013-11-12 12:10:58 5245 119.17 0 0.62 44.01 0.00 27.48 5245 0
2013-11-12 12:12:58 5137 119.98 0 0.66 42.82 0.00 28.26 5137 0
2013-11-12 12:14:58 5149 119.99 0 0.66 42.91 0.00 28.46 5149 0
2013-11-12 12:16:58 4817 119.99 0 0.75 40.15 0.00 30.18 4817 0
2013-11-12 12:18:58 5017 119.98 0 0.68 41.82 0.00 28.45 5017 0
# 70 concurrents
Date & Time Trans Elap Time Data Trans Resp Time Trans Rate Throughput Concurrent OKAY Failed
2013-11-12 11:39:27 5098 119.40 0 1.12 42.70 0.00 47.92 5098 0
2013-11-12 11:41:39 5157 119.29 0 1.12 43.23 0.00 48.27 5157 0
2013-11-12 11:45:06 5214 119.94 0 1.10 43.47 0.00 47.87 5214 0
2013-11-12 11:47:16 5203 119.32 0 1.10 43.61 0.00 47.89 5203 0
2013-11-12 11:49:27 5191 119.44 0 1.10 43.46 0.00 47.79 5191 0
2013-11-12 11:51:11 27 1.60 0 0.67 16.88 0.00 11.25 27 0
# 100 concurrents
Date & Time Trans Elap Time Data Trans Resp Time Trans Rate Throughput Concurrent OKAY Failed
2013-11-12 11:54:38 5189 119.80 0 1.79 43.31 0.00 77.62 5189 0
2013-11-12 11:56:55 5145 120.01 0 1.82 42.87 0.00 77.95 5145 0
2013-11-12 11:59:39 5383 119.89 0 1.70 44.90 0.00 76.21 5383 0
2013-11-12 12:01:44 5415 119.60 0 1.69 45.28 0.00 76.43 5415 0
2013-11-12 12:03:48 5380 119.43 0 1.70 45.05 0.00 76.79 5380 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment