Attached below is the general outline of the marking scheme that we will use for the proxy-server project. Note that the web sites listed are only examples of the types of sites we might test on. The actual sites used in the test might be different.
|
Test Schema |
Operations |
Expected Result |
% |
|
Preliminary: Compile and run successfully, no error message. (JDK 1.4.2) Well documented |
40 |
||
|
Basic Requirement: |
|||
|
Basic proxy function |
Open Netscape/IE and go to: |
html/gif displays perfectly; Content-Length:5611 + 39516 |
20 |
|
Header processing |
Check the server console output |
Does NOT forward the Connection, Proxy-Connection,
Keep-Alive, If-Modified-Since and If-None-Match
Headers |
10 |
|
Other Requirements |
|||
|
304 Not Modified |
refresh |
Response header: HTTP/1.1 304 Not Modified |
10 |
|
501 Not Implemented |
http://www.ust.hk/intranet/stu/ "communications directory" This is an example of a method you are not supposed to implement |
Browser message: 501/505 –
Not implemented / Not supported |
10 |
|
502 Unknown Host |
Go to : http://www.qwert.com |
502 Bad Gateway / Unknown Host |
10 |