Skip to content

Load Testing

Lorenzo Mangani edited this page Sep 25, 2017 · 1 revision

Load-Testing PaStash

Requirements

  • autocannon

Basic Test

Recipe

input {
  http {
    port => 9000
    host => 127.0.0.1
  }
}

filter {
  json_fields {}
}

output {
  stdout {}
}

Execute

autocannon -m 'POST' -b '{"session":"a123", "type": 1, "event": "xyz"}' -c 10 -d 5 -p 10 http://127.0.0.1:9000
Clone this wiki locally