Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music
All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Loadtest gatling.io knowledge => Topic started by: golfreeze on กรกฎาคม 04, 2018, 09:11:48 pm
-
Lifting the server siege.. done.
Transactions: 109774 hits
Availability: 100.00 %
Elapsed time: 59.05 secs
Data transferred: 0.00 MB
Response time: 0.03 secs
Transaction rate: 1859.00 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 58.81
Successful transactions: 109774
Failed transactions: 0
Longest transaction: 1.17
Shortest transaction: 0.02
[root@Testonline2 kafka]# siege -c1000 -r100 -t1M -H 'Content-Type: application/json' 'http://10.101.86.156:8123/ad-hoc/cfrnew?keyfield=visitorID POST < jsonfile'
###Run 1 post
siege -c50 -t5S -H 'Content-Type: application/json' -g 'http://10.101.86.156:8123/ad-hoc/cfrnew?keyfield=visitorID POST < jsonfile'
###Run concurrent 150 , with user 10 user , time 1 minute with jsonfile
siege -c150 -r10 -t1M -H 'Content-Type: application/json' 'http://10.101.86.156:8123/ad-hoc/cfrnew?keyfield=visitorID POST < jsonfile'
10.101.86.156:8123 => load balance
8123 => port json จาก http-json