Skip to content

vanlehn/seatr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Embedded Assessment and Task Recommender

Prerequisites

  • Java 1.7
  • Eclipse (Mars)
  • Maven (eclipse plugin)
  • Tomcat server (version 8)
  • JMeter 2.13

Development

Connect to Server by PuTTY

Server (Ubuntu)

  • Install git - sudo apt-get install git
  • Install maven - sudo apt-get install maven
  • Checkout the project from git: git clone https://github.com/vanlehn/seatr.git
  • Edit the params.cfg (configuration file) - don't leave anything empty
  • execute the following command from project's home sudo bash deploy.sh
  • Basically, this script copies the newly generated war file onto the tomcat webapps location (sudo to get permissions to copy)

JMeter

  • JMeter tests cases for testing on aws ec2 server can be found at jmeter/tests/aws_ec2/.

  • JMeter tests cases for testing on local server can be found at jmeter/tests/local/.

  • The output of the testc can be found at jmeter/log/.

  • The tests can either be run using the JMeter GUI or on Command Line.

    JMeter GUI

  • Windows: In apache-jmeter-2.13\bin\ folder open JMeter.bat to access the JMeter GUI.

  • Linux: Browse to apache-jmeter-2.13\bin\ folder using terminal then type "sh jmeter" to open the JMeter GUI.

  • Click on the file button(top left corner of Menu bar) and then click on open and browse the test case.

  • Now run the test using the Run button(centre of Menu bar) and then click on start.

    Command Line
    jmeter -n -t "testcase location" "output log file location"
    eg. jmeter -n -t ../../Test_Plan1.jmx -l ../../log.jtl

MongoDB

  • Location of the configuration file: /etc/mongo.conf
    bindIp is comment out to allow any computers to connect to the server.

Apache Log4j

  • Log files can be found in tomcat/logs/seatr.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published