GithubHelp home page GithubHelp logo

isabella232 / load-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microservices-demo/load-test

0.0 0.0 0.0 27 KB

A load-test script & container for Sock Shop

License: Apache License 2.0

Python 22.26% Shell 77.74%

load-test's Introduction

Load / Integration Tests

These tests simulate actual end user usage of the application. They are used to validate the overall functionality and can also be used to put simulated load on the system. The tests are written using locust.io

Parameters

  • [host] - The hostname (and port if applicable) where the application is exposed. (Required)
  • [number of clients] - The nuber of concurrent end users to simulate. (Optional: Default is 2)
  • [number of requests] - The total number of requests to run before terminating the tests. (Optional: Default is 10)

Running locally

Requirements

  • locust pip install locustio

./runLocust.sh -h [host] -c [number of clients] -r [number of requests]

Running in Docker Container

  • Build docker build -t load-test .
  • Run docker run load-test -h [host] -c [number of clients] -r [number of requests]

load-test's People

Contributors

errordeveloper avatar idcrosby avatar jasonrichardsmith avatar nustiueudinastea avatar pidster avatar vlal 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.