Git Product home page Git Product logo

alexandrepasc / locust-load-starter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 63 KB

A starter project to help creating a new Locust load test project, using this as base instead of creating it from zero. It gives the ability to map all the service endpoints using the open api v3 yaml file.

License: MIT License

Python 100.00%
load-testing locust locustio python python3 qa qa-automation test-automation testing

locust-load-starter's People

Contributors

alexandrepasc avatar

Watchers

 avatar

locust-load-starter's Issues

Generate test flow from a HAR file

A load test must sometimes replicate a client's behaviour (using the GUI). If the client uses a webpage to interact with the service we could retrieve from the browser an HAR file with the list of network communication.

So if we need to replicate a client behaviour using a webpage, and map that to a load test, it would be a nice addition to give the ability to do the behaviour using the webpage, export the HAR file, and import it to the load testing tool automatically.

  • Investigate how to read the HAR file
  • Find a way to integrate the flow with the existing generated artifacts
  • Create a new script to read, and create the flow artifacts

Run tests script - add the ability to pass tags directly to locust

The script run_tests.py has some flags that it supports and that are used to give the name to the reports, so the tester can run multiple tests in sequence without the need to in each run change the names.

But there are more options that the tester can use when executing Locust directly, add a way to pass the Locust options that the script doesn't support directly to the test call.

Remove debug prints from the scripts

When developing the scripts, some prints were added to help troubleshoot some behaviors, that are not needed now, and that create some clutter in the execution.

Look at all the scripts and remove all the unnecessary prints.
After removing the prints look if there is some information that could be helpful to the user that is not being shown and add it.

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.