COMP3004 Repository for the Group Project
- Java 1.8 or greater
install from https://www.oracle.com/ca-en/java/technologies/javase-downloads.html
- MongoDB
brew install mongodb
orhttps://docs.mongodb.com/manual/installation/
- JMeter for testing only
https://jmeter.apache.org/
1.Run the Mongo daemon run the command mongod
from the terminal. If MongoDB is not part of your path, navigate to the bin folder of mongo and run mongod
2.Refresh maven dependencies
3.Build
4.Run the server.java
class
method 1:
- Make sure the server is running before performing any testing
- navigate to where jmeter was installed
- run the file
jmeter.bat
- Using the gui open the test file stored in
src/test/jmeter
run
the file using the Gui and check the results
method 2:
- Make sure the server is running before performing any testing
- run the command
mvn verify
- you will see the results of the test in a csv file stored in
target\jmeter\results