Giter Site home page Giter Site logo

load_tester's Introduction

Load Tester

HTTP load testing tool with concurrent calls support

Setup

Load tester uses a file called conf.yml in the same location as the binary

  • timeout: Default timeout for http request
  • requests: Total requests to be made for each target
  • concurrency: Concurrent calls count for each target, for instance, if you set concurrency to 10 the load tester will have 10 concurrent calls for each target, so if you have 3 targets the load tester will have 30 concurrent calls running
  • targets: Target hosts to test, you must set a target name as key
    • url: Host address
    • method: http method
    • payload: request body
    • header: request header, here you can specify multiple key/value
timeout: 2
requests: 100
concurrency: 10
targets:
  target_key_name:
    url: https://google.com
    method: GET
  other_target_key_name:
    url: http://api.example.com
    method: POST
    payload: '{"ping":"pong"}'
    header:
      Authorization: Basic 2321321321312312
      Ping: pong

By default the load tester will look for a file named conf.yml but you can specify another file using -c flag

Run

Open your bash/terminal and just run the downloaded binary, don't forget to place the config.yml file in the same location as the binary before running the load tester

./load_tester

Or with a custom config file

./load_tester -c customConf.yml

Now you can also specify an output file to store all requests responses, use -o flag for that

./load_tester -o results.json

load_tester's People

Contributors

gustavotero7 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.