First, clone the project using git clone https://github.com/deepdeev/alive.git
Then in the project directory, run meteor
. This will run the application and tell you if there are any missing dependencies that you should install
When you run the application, you will get warnings related to the meteor version that we are using. Ignore them.
Make sure you have the required packages with meteor add practicalmeteor:mocha
Now, in order to open Mocha test pages:
meteor test --driver-package practicalmeteor:mocha --port 3005
This will open testing page on port 3005
We are using Locust, a python load testing framework which is configurable via code and offers a nice and useful web interface.
In order to install Locust, create a virtual environment using virtualenv and inside of it, run pip install locustio
Once inside, create your testfile and name it locustfile.py
Then run the tests using locust --host=http://localhost:3000
as our Meteor application is running at port 3000 of the localhost
Enter http://127.0.0.1:8089 in your browser. That should display the web interface for locust.
Our results are on the load_testing folder
We followed guidelines specified here. here
We followed guidelines specified here. here