Giter Site home page Giter Site logo

r3itosv87 / jitsi-stress-test Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 6.2 MB

๐Ÿš€ Jitsi Meet Stress Tester: Easily simulate & stress test your Jitsi server with multiple sessions. Made with ๐Ÿ’™ for Microsoft Windows!๐Ÿ’ป

License: The Unlicense

Python 100.00%
chromedriver jitsi jitsi-meet load-testing microsoft python3 stress-testing webrtc windows

jitsi-stress-test's Introduction

๐Ÿš€ Jitsi Meet Stress Test Tool ๐ŸŽ‰

Welcome to this open-source stress testing tool for Jitsi Meet, specifically designed to run on Windows operating systems. The tool leverages the power of Selenium and ChromeDriver to simulate a bunch of users joining a Jitsi Meet conference, allowing you to see how your Jitsi Meet server performs under various loads. Pretty neat, huh? ๐Ÿ˜Ž

๐ŸŒŸ Features

  • Simulate a swarm of users joining a Jitsi Meet conference
  • Customize the number of sessions and runtime to your liking
  • Choose the media option (video and audio, video only, audio only, or none)
  • Keep an eye on progress during the test
  • Easy to use and modify, so you can make it your own!

๐Ÿ› ๏ธ Requirements

  • Python 3.x (who doesn't love Python?๐Ÿ)
  • Selenium (our automation buddy)
  • Google Chrome Browser
  • ChromeDriver compatible with your installed Google Chrome version

๐Ÿš€ Getting Started

Downloading ChromeDriver

Download the right version of ChromeDriver that plays nice with your installed Google Chrome version. Extract the chromedriver.exe file and place it in the same directory as the stress test script.

Installing Python 3.x on Windows

  1. Visit the official Python website at https://www.python.org/downloads/ and download the latest version of Python 3.x for Windows if you havent already.

  2. Run the installer, and during the setup process, make sure to check the "Add Python to PATH" checkbox before clicking on "Install Now."

  3. Once the installation is complete, open the Command Prompt and run the following command to check if Python is installed successfully:

python --version

You should see the Python version in the output.

Installing Node.js on Windows

  1. Download the latest LTS version of Node.js from the official website at https://nodejs.org/en/download/.

  2. Run the installer, and follow the on-screen instructions. The installer will automatically add Node.js and NPM (Node Package Manager) to your PATH.

  3. After the installation is complete, open the Command Prompt and run the following commands to check if Node.js and NPM are installed correctly:

node --version
npm --version

You should see the Node.js and NPM versions in the output.

Installing PIP (Python Package Installer)

PIP should already be installed with Python 3.4 and later versions. To check if PIP is installed, open the Command Prompt and run:

pip --version

If PIP is not installed or you want to upgrade it, download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py and save it to your computer.

Then, open the Command Prompt, navigate to the folder where you saved the get-pip.py file, and run the following command:

python get-pip.py

PIP will be installed or upgraded to the latest version.

Installing the Selenium Package

Now that you have Python, Node.js, and PIP installed, you can install the Selenium package. Open the Command Prompt and run:

pip install selenium

That's it! You've successfully installed Python 3, Node.js, PIP, and Selenium on your Windows machine. Time to rock. ๐Ÿš€

๐ŸŽฎ Usage

  1. Fire up a command prompt or terminal in the directory containing this repository.

  2. Run the script using Python:

python jitsi_stress_test.py
  1. Follow the prompts to tailor the stress test to your needs:
  • Enter the Jitsi Meet server address (e.g. https://meet.jit.si).
  • Enter the number of sessions to simulate (Donยดt go wild or your CPU will Burn๐Ÿ”ฅ๐Ÿงฏ!).
  • Enter the runtime in seconds for the stress test.
  • Choose the media option (1 - Video and Audio [default], 2 - Video only, 3 - Audio only, 4 - None).
  1. Sit back and relax as the sessions start and the progress shows up.

  2. Wanna verify the test? Join the meeting with the URL provided in the output. ๐Ÿ‘€

  3. The script will run for the specified duration and display the progress. Once completed, it'll close all sessions and give you a nice report to look at.

๐Ÿ› ๏ธ Customization & Contribution

Feel free to tweak the script to better suit your needs or to add some shiny new features. Contributions are more than welcome! If you have any suggestions, improvements, or bug reports, just open an issue or submit a pull request on GitHub.

๐Ÿ“œ License

This project is free to use and modify under the MIT License. Check out the LICENSE file for more information.

Happy testing! ๐Ÿฅณ๐Ÿš€

jitsi-stress-test's People

Contributors

r3itosv87 avatar

Stargazers

Mustafa ร–ztรผrk avatar Chen Sun avatar Pflegende Angehรถrige avatar

Watchers

James Cloos avatar  avatar

jitsi-stress-test's Issues

Run in same user context as open browser

Great tool!

Is there any way to get the tool to run in an in the same context as an already opened Google Chrome browser? This to make session and authentication cookies available to bypass login to Jitsi?

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.