Winslam!::Usage
NOTE: These will only really make sense if you're conversant in HTTP,
otherwise, they'll only make partial sense.
Use WinSlam! to perform 1 hit against www.suck.com's main page.
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.
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. Basic Usage
Use WinSlam! to perform 1 hit against www.suck.com's main page.
- Start the WinSlam! application.
- From the main menu, select "Configure" -> "Parameters/Url"
- Leave the default URL value of "/index.html"
- Leave the default Port value of "80"
- Set the "Host name or IP" value to be "www.suck.com"
- Click the "OK" button to close the dialog box.
- 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.0The "HTTP Headers Received" will look something like so:
]
[0|1|1] Hdrs: [HTTP/1.1 200 OKSee Interpreting the Output for help on reading the output.
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]
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.
- Start the WinSlam! application.
- From the main menu, select "Configure" -> "Parameters/Url"
- Leave the default URL value of "/index.html"
- Leave the default Port value of "80"
- Set the "Host name or IP" value to be "www.suck.com"
- Click the "Ok" button to close the dialog box.
- From the main menu, click "Configure" -> "HTTP Headers"
- From the "Add Headers for a particular browser" select menu, select the 2nd choice ("Netscape Communicator 4.07 for NT")
- Click the "Add" button.
- 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.
- Select the "Host" header in the list box, click "Edit"
- In the "Header Value" edit box, change this value to be "Host: www.suck.com", click "Update".
- Click "Okay" to close the HTTP header config dialog box.
- 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.0See Interpreting the Output for help on reading the output.
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
]
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)
- Start the WinSlam! application.
- From the main menu, select "Configure" -> "Parameters/Url".
- Fill in your "URL", "Port", and "Host name or IP" values.
- Check the "Perform HTTP POST" radio button at the bottom.
- Click the "OK" button to close the dialog box.
- From the main menu, click "Configure" -> "Form Post Data".
- In the "Name" field, type "username".
- In the "Value" field, type "slappy".
- Click "Add" to add this name/value pair.
- In the "Name" field, type "password".
- In the "Value" field, type "slapphappy".
- Click "Add" to add this name/value pair.
- In the "Name" field, type "action".
- In the "Value" field, type "login".
- Click "Add" to add this name/value pair.
- In the "Name" field, type "Submit".
- In the "Value" field, type "Submit".
- Click "Add" to add this name/value pair.
- Click "OK" to close the FORM POST dialog box.
- 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=SubmitSee Interpreting the Output for help on reading the output.
&action=login
&password=slapphappy
&username=slappy HTTP/1.0
]