Menu

stress

Roger B. Dannenberg Dalong Cheng Max Gillett David levy

Home

Stress Test

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:

  • connect to server (www.music.cs.cmu.edu) and download a web page
  • open a TCP connection with a remote machine
  • allow a remote machine to open a TCP connection
  • sending two 100 byte messages per second and measuring round trip message time would be a good test.
  • The best test will be running audio and video at the same time, so coordinate with video evaluation and audio-video configuration.

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.

Design

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

Subtask Assignments

  1. Build a simple GUI
  2. setup server connection test
  3. sending packet and measure time
  4. integrate video performance test

Team Members

Dalong Cheng (yuguess@gmail.com)
Max Gillett (migillet@andrew.cmu.edu)
David Levy (dblevy@andrew.cmu.edu)

Who Did What

Dalong: Wrote initial ConnectionTest.java and ServerTest.java
David: Updated ServerTest.java and ConnectionTest.java to use sockets and report logistics.
Max: Wrote documentation

Home


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.