Wednesday, June 21, 2006
Where I work, we have to do load testing of just about everything. However we are a small shop and can't spend our budget on some of the bigger testing products out there. So we use Microsoft Application Test. It's included with VS.NET 2003 and has a recorder that works fairly well. There is one little problem, HTTPS. It doesn't record in that protocol, but it will test in it. What you have to do is to record your test on your local machine (localhost) once the test works you just make some changes to the script.

1. First, change the connection string from
Set oConnection = Test.CreateConnection("localhost", 80, false)
to:
Set oConnection = Test.CreateConnection("localhost", 443, true)

2. For each later request, change the following line in the script oRequest.HTTPVersion = "HTTP/1.0"
to:
oRequest.HTTPVersion = "HTTP/1.1"


That's it! If you would like to read more about it, here is the link to Microsoft's Knowledge Base Article about it: http://support.microsoft.com/?id=327873
6/21/2006 9:57:48 AM (Pacific Daylight Time, UTC-07:00)  #    Comments [0]
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):