Coder Social home page Coder Social logo

iam-load-testing's Introduction

IAM Load Testing

This package is simply a place to store Locust configurations for IAM tools. Locust is an open-source tool for generating requests against a server.

Technically, you could wire up locust to do pretty much anything you wanted, but its out-of-the-box use case is for making http calls to remote servers. Please read the Locust documentation for more details.

For more complex use cases, you can check out their write a client documentation

First-time Users

Make sure poetry is installed on your system.

  • Clone the repository and make sure you are in the repository directory.
  • Run poetry install to download dependencies.
  • Then you can use poetry run locust -f <locust-file-name> to create a locust server.

Example output when creating the husky_directory locust server:

❯ poetry run locust -f husky_directory.py
[2022-03-01 14:34:54,976] MacBook-Pro/INFO/locust.main: Starting web interface at http://0.0.0.0:8089 (accepting connections from all network interfaces)
[2022-03-01 14:34:55,052] MacBook-Pro/INFO/locust.main: Starting Locust 2.2.1

From here, you can visit http://0.0.0.0:8089 in your web browser to create request swarms and monitor them to your liking. Use <CTRL>+C to kill the server, which also prints out some statistics from your test(s).

Use poetry run locust --help for a full list of runtime options.

Contributing

Feel free to contribute to this as desired. Pull requests are not required, but if you are changing someone else's configuration, it might be a good courtesy to open a PR or let them know.

General Maintenance

poetry update will bump dependencies to the next allowable version and update poetry.lock.

poetry add <package-name> will add a new dependency to poetry. (For instance, you could do poetry add uw-webdriver-recorder if you wanted to write a client to flood using actual remote browser instances...as an idea.)

iam-load-testing's People

Watchers

 avatar  avatar  avatar  avatar  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.