Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Load Test

  • Load test was done with Locust tools.

Installation

> pip install locust
> locust --version

Run load test for each API

Go Adder

  • Request:

    POST /helloworld/go/adder application/json
    {
      "a": 2,
      "b": 3
    }
  • Load test command:

    > locust -f loadtests/go_adder.py
  • Result as http://localhost:8089 with 500 users:

#Go Write

  • Request:

    GET /helloworld/go/write?line=68
  • Load test command:

    > locust -f loadtests/go_write.py
  • Result as http://localhost:8089 with 500 users:

Node.js Adder

  • Request:

    POST /helloworld/node/adder application/json
    {
      "a": 2,
      "b": 3
    }
  • Load test command:

    > locust -f loadtests/node_adder.py
  • Result as http://localhost:8089 with 500 users:

Node.js Write

  • Request:

    GET /helloworld/node/write?line=68
  • Load test command:

    > locust -f loadtests/node_write.py
  • Result as http://localhost:8089 with 500 users: