BBB stresstest adapted for deploying on heroku. Forked from https://github.com/openfun/bbb-stress-test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
yova 901621b72c
finetuning
2 years ago
.circleci 👷(project) add CircleCI configuration 4 years ago
docker/files/usr/local/bin (bbb-stress-test) initial working version of the stress testing tool 4 years ago
lib heroku stuff 2 years ago
.dockerignore (bbb-stress-test) initial working version of the stress testing tool 4 years ago
.env.default (bbb-stress-test) initial working version of the stress testing tool 4 years ago
.gitignore (bbb-stress-test) initial working version of the stress testing tool 4 years ago
CHANGELOG.md 🐛(stress-test) fix invalid mute status 3 years ago
Dockerfile heroku stuff 2 years ago
LICENSE 🎉(project) initialize the project 4 years ago
Makefile 🐛(project) fix bootstrap target in the Makefile 3 years ago
README.md finetuning 2 years ago
cli.js (bbb-stress-test) initial working version of the stress testing tool 4 years ago
docker-compose.yml (bbb-stress-test) initial working version of the stress testing tool 4 years ago
env-example heroku stuff 2 years ago
heroku.yml heroku stuff 2 years ago
package.json (bbb-stress-test) initial working version of the stress testing tool 4 years ago
set-heroku-env.sh finetuning 2 years ago
yarn.lock (bbb-stress-test) initial working version of the stress testing tool 4 years ago

README.md

A stress testing tool for BigBlueButton

Overview

This is a stress testing tool for BigBlueButton.

It simulates client activity in a BBB conference thanks to Puppeteer.

Getting Started

Preparation

  1. Clone this repository

  2. Run make bootstrap

  3. Update the generated .env file to specify BBB_URL and BBB_SECRET.
    You can get these values by running bbb-conf --secret on your BBB server.

Ready to launch your test?

  1. Manually start a meeting on your BBB server.

  2. Get the meeting ID by running make list-meetings

  3. Update your .env file to set the following variables :

    • BBB_MEETING_ID : the meeting ID
    • BBB_CLIENTS_LISTEN_ONLY: the number of simultaneous clients to connect in "Listen only" mode
    • BBB_CLIENTS_MIC : the number of simultaneous clients to connect with an active microphone
    • BBB_CLIENTS_WEBCAM : the number of simultaneous clients to connect with an active webcam and microphone
    • BBB_TEST_DURATION : the duration of the test in seconds
  4. Run make stress to launch the test suite

heroku

https://devcenter.heroku.com/articles/build-docker-images-heroku-yml

heroku login
heroku create --region eu bbb-stress-test
heroku stack:set container
git push heroku master

Change env with heroku config:set ENV=DATA.
Restart with heroku ps:restart.

Contributing

This project is intended to be community-driven, so please, do not hesitate to get in touch if you have any question related to our implementation or design decisions.

We try to raise our code quality standards and expect contributors to follow the recommandations from our handbook.

License

This work is released under the MIT License (see LICENSE).