CSE 291
2018 April 17: Project 1 verifier

I’ve uploaded to the ieng6 server a basic verifier tool to test two simple cases for your project 1 submission.

The tool submits the following two requests to your server, and checks that it returns the correct response. Those requests are:

Request 1:

GET /index.html HTTP/1.1
Host: localhost
User-Agent: cse291-tester/1.0
Connection: close

Request 2:

GET /kitten1.jpg HTTP/1.1
Host: localhost
User-Agent: cse291-tester/1.0
Connection: close

These two requests are relative to a sample htdocs document root which is located in the directory $PUBLIC/project1/sample_htdocs.

The tool is located at $PUBLIC/project1/bin/cse291HttpdTester.

To use the tool:

Usage: bin/cse291HttpdTester host port altport [server_exec] [htdocs]

  • host: use localhost
  • port: pick a port that is not in use
  • altport: pick a different port that is not in use
  • server_exec: the path to your web server binary
  • htdocs: the path to the sample_htdocs directory ($PUBLIC/project1/sample_htdocs)