Winslam!::Usage
 
NOTE: These will only really make sense if you're conversant in HTTP, otherwise, they'll only make partial sense.

1. Basic Usage
Use WinSlam! to perform 1 hit against www.suck.com's main page.
 
  1. Start the WinSlam! application.
  2. From the main menu, select "Configure" -> "Parameters/Url"
  3. Leave the default URL value of "/index.html"
  4. Leave the default Port value of "80"
  5. Set the "Host name or IP" value to be "www.suck.com"
  6. Click the "OK" button to close the dialog box.
  7. In the main WinSlam! window, click "Start". You will see results in all 3 Edit Box controls (Request Sent, HTTP Headers Received, HTML Response Received).
     
    The "Request Sent" will look something like so:
     
    [0|1|1] Sent: [GET /index.html HTTP/1.0
     
    ]
    The "HTTP Headers Received" will look something like so:
     
    [0|1|1] Hdrs: [HTTP/1.1 200 OK
    Date: Wed, 14 Nov 2001 13:11:42 GMT
    Server: Apache/1.3.12 (Unix) PHP/3.0.16
    Connection: close
    Content-Type: text/html]
    See Interpreting the Output for help on reading the output.

 
2. Basic Usage with Browser Headers
Use WinSlam! to perform 1 hit against www.suck.com's main page. Configure WinSlam! so the www.suck.com Web server thinks a Netscape 4.0 browser is making the request.
 
  1. Start the WinSlam! application.
  2. From the main menu, select "Configure" -> "Parameters/Url"
  3. Leave the default URL value of "/index.html"
  4. Leave the default Port value of "80"
  5. Set the "Host name or IP" value to be "www.suck.com"
  6. Click the "Ok" button to close the dialog box.
  7. From the main menu, click "Configure" -> "HTTP Headers"
  8. From the "Add Headers for a particular browser" select menu, select the 2nd choice ("Netscape Communicator 4.07 for NT")
  9. Click the "Add" button.
  10. You'll get a Message box indicating that you may want to edit the "Host" HTTP header value.. click "Okay" to close the message box.
  11. Select the "Host" header in the list box, click "Edit"
  12. In the "Header Value" edit box, change this value to be "Host: www.suck.com", click "Update".
  13. Click "Okay" to close the HTTP header config dialog box.
  14. In the main WinSlam! window, click "Start". You will see results in all 3 Edit Box controls, similar to basic operation, only there will be HTTP headers as if Netscape is hitting the server.
     
    The "Request Sent" will look something like so:
     
    [0|1|1] Sent: [GET /index.html HTTP/1.0
    Accept: application/vnd.ms-excel, application/msword, ...
    Referer: http://www.go.com/
    Accept-Language: en-us
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
    Host: www.suck.com
    ]
    See Interpreting the Output for help on reading the output.
:
 
3. Perform an HTTP POST against a Login form
Use WinSlam! to perform 1 hit against a dynamic page called "login.jsp", that takes as values 4 FORM POST Parameters:
 
1. username (the user's username)
2. password (the user's password)
3. "action" = "login" (a static value)
4. "Submit" = "Submit" (a static value)
 
  1. Start the WinSlam! application.
  2. From the main menu, select "Configure" -> "Parameters/Url".
  3. Fill in your "URL", "Port", and "Host name or IP" values.
  4. Check the "Perform HTTP POST" radio button at the bottom.
  5. Click the "OK" button to close the dialog box.
  6. From the main menu, click "Configure" -> "Form Post Data".
  7. In the "Name" field, type "username".
  8. In the "Value" field, type "slappy".
  9. Click "Add" to add this name/value pair.
  10. In the "Name" field, type "password".
  11. In the "Value" field, type "slapphappy".
  12. Click "Add" to add this name/value pair.
  13. In the "Name" field, type "action".
  14. In the "Value" field, type "login".
  15. Click "Add" to add this name/value pair.
  16. In the "Name" field, type "Submit".
  17. In the "Value" field, type "Submit".
  18. Click "Add" to add this name/value pair.
  19. Click "OK" to close the FORM POST dialog box.
  20. In the main WinSlam! window, click "Start". You will see results in all 3 Edit Box controls.
     
    The "Request Sent" will look something like so:
     
    [0|1|1] Sent: [GET /login.jsp?Submit=Submit
    &action=login
    &password=slapphappy
    &username=slappy HTTP/1.0
     
    ]
    See Interpreting the Output for help on reading the output.