2. In another window run mozilla. Clean the cache and connect to the server typing http://localhost:5555
mozilla should load default index. (reload 3 times).
Does index.html loads
fine(4points)?___________________________________
3. Complex test (reload 3 times)
Are there any broken icons(4points)? ______________________________4. Type "ps -u $USER"
5. In another window type "telnet localhost 5555". Now in mozilla select the complex test
Does the server hang(4points)?__________
6. Kill the server.
a) Now run the server in the pool of threads mode: "myhttpd -p 5555&"
b) In another window type "telnet localhost 5555"
c) With mozilla connect to the server: http://localhost:5555 and select complex testDoes the server hang(4points)?_______
d) Identify the process id of the server by typing "ps -u $USER"
e) To find out how many threads are in the server, in Linux type "ls /proc/<pid>/task" or in Solaris type "/usr/proc/bin/pstack pid"How many threads does it show(2points)? _____________
myhttpd -f 5555Try Browsing dir1/
Do names of files appear correctly(2 points)? _______8. Try browsing dir (without / at the end). Does it work(2points)? _________Last modified field appears(1point)? ________
Icons appear(1point)? ________
Are names sorted(1point)? _______
Looks fine aesthetically(1points)? (aligned and formatted) _______
Click into "Parent Directory". Does it work(1points)? _________
Click into subdir1/ . Does it work(1points)? __________
Click in links "name" "last modified" and "size"
Does it sort by name(1point)? _______ By "last modified"(1point)? _______ by size(1point)? _______
Click into subdir1. Does it work(2points)? __________
Is REQUEST_METHOD=GET and QUERY_STRING= (no value)(2points)? _________
Is output formatted(1point)? (one variable in each line) _____________10. Click cgi-bin: finger(2points)Set up one of the environment variables and rerun test-cgi, Does this environment variable show up in the output(1point)?_____________
Does the initial form appear(1point)? ___________________
When typing a login in the form and submitting, does finger respond with the right info(1point)? ______________11. Click: cgi-bin: pizza(4points)
Does the initial form appear(2points)? _____________When typing info and submitting, does pizza respond with the right info(2points)? ________________
http://localhost:5555/cgi-bin/hello.so?a=bDoes the hello message appear on the screen(3points)?__________
Type:
http://localhost:5555/jj-mod.so
Does the initial form appear correctly(2points)?________________Fill in the form and submit it.
Does the response appear correct(3points)? __________________
How many times the server crashed during the test(2points if crashed once, 0point if crashed more than twice)? _________
Observations? _________________
Does a help message print on typing wrong arguments? ______