Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dragon86cn/load-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

31 Commits

Repository files navigation

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]

About

A load-test script & container for Sock Shop

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 72.9%
  • Python 20.9%
  • Dockerfile 6.2%

AltStyle によって変換されたページ (->オリジナル) /