Reference no: EM132239143
IT INFRASTRUCTURE ASSIGNMENT -
Assignment Name: Hypertext Transfer Protocol (HTTP)
Hypertext Transfer protocol is known as the mechanism for delivering web pages. The JASPER applet supports the simulation of HTTP. URLs (Universal Resource Locators) are abstract represented as URL1, URL2... URLn, and likewise for DATA which represents web pages.
Below are some experiments you can go through to understand HTTP and its commands. The first two experiments will give a feel to using the simulator and simply relate to real scenarios. Subsequent experiments will be complex, yet still relating to real events.
EXPERIMENT 1: RETRIEVING A WEB PAGE SUCCESSFULLY
This is the simplest example: fetching the data (which is the web page contents) of a particular URL (location). To do this the client will send a GET(url) command to the server, which will respond with a 200 response code along with the contents of the location specified in the GET command.
1. Click the Clear button to start a fresh simulation.
2. In the command panel, click on Client: GET(URL1) - get data for URL. You should be able to see in the simulation view a corresponding flow of this command from the client to the server via the medium. Notice that the available choices in the command panel change as the request is received at the server.
3. Now click the Server: 200 OK(DATA1) - send requested data. Similarly the simulation view reflects the response from server to the client.
The simulation is now complete for URL1. Observe the interaction between the client and server.
Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.
Q1: In reality, what does the client represent? Relate the client/server interaction you observed in this experiment to a regular activity that occurs on the Internet.
EXPERIMENT 2: UNSUCCESSFUL RETRIEVAL OF A WEB PAGE
Repeat Experiment 1 again, but this time selecting Server: 400 Error(Code) - report requested data unavailable at the last step.
The simulation is now complete for URL1. Observe the interaction between the client and server.
Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.
Q2: Identify a real scenario when this client and server interaction would occur.
EXPERIMENT 3: REDIRECTION OF REQUESTED DATA
Repeat Step 1 and 2 of Experiment One, and then do the following
1. In command panel, select Server: 301 MOVED(URL2) - report moved URL.
2. Select Client: GET(URL2) - get data for new URL.
3. Select Server: 200 OK(DATA2) - send requested data.
Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.
Q3: Observe the simulation and compare with the results in Experiment One. What is the difference in the flow, and what does it mean?
EXPERIMENT 4: POST INFORMATION TO WEB PAGES
It should be obvious that there are many types of interactions that a client might have with a web server. One such interaction is when a client appends data to the URL to be received by the server.
Start a new simulation similar to Experiment #1, but this time choose Client: POST(URL1, DATA1) for step 2.
Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.
Q4: What is the key difference that you observe in the interaction?
Q5: Relate the client/server interaction you observed in this experiment to a regular activity that occurs on the Internet.
Attachment:- Assignment File.rar