The stress test group needs to produce results very rapidly so other orchestras can test their network connections. You should immediately plan a meeting and get started -- I can either attend or talk to someone before the meeting to go over expectations.
The things to exercise are:
Make the port numbers configurable, e.g. maybe if we use the HTTP port, we'll have more success getting through firewalls.
This is probably going to require a machine at CMU that remote orchestras can connect to and that will connect to them. Dannenberg can provide a machine if necessary, but think about how we can just leave something running rather than scheduling tests and being involved from our end.
Deliverable includes code (jar file) and instructions.
ServerTest.java:
Driver for ConnectionTest. Tests your connection to the server and if it is successful outputs the server response, your IP address, the file that it downloads from the server, and your connection speed.
ConnectionTest.java:
extractIP - Returns the IP address extracted from the server response.
testServerConnection - Returns true if you can reach the server.
serverResponseIP - Executes the script and returns your IP address.
testDownloadServerFile - Downloads the default root file from the server and saves it locally as "testDownloadFile".
testConnectionSpeed - Pings www.music.cs.cmu.edu
Dalong Cheng (yuguess@gmail.com)
Max Gillett (migillet@andrew.cmu.edu)
David Levy (dblevy@andrew.cmu.edu)
Dalong: Wrote initial ConnectionTest.java and ServerTest.java
David: Updated ServerTest.java and ConnectionTest.java to use sockets and report logistics.
Max: Wrote documentation