Author Topic: loadtest with siege command with json file  (Read 3446 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
loadtest with siege command with json file
« 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
« Last Edit: กรกฎาคม 04, 2018, 10:29:19 PM by golfreeze »