HOW TO: Use Application Center Test with an SSL Application (327873)
The information in this article applies to:
- Microsoft Application Center Test, Developer Edition
This article was previously published under Q327873 SUMMARY
This step-by-step article describes how to use the Application Center Test tool with a Secure Sockets Layer (SSL) application.
back to the top
Open Application Center TestOn Microsoft Windows 2000- Click Start, point to Programs, and then click Microsoft Visual Studio .NET.
- Click Visual Studio .NET Enterprise Features, and then click Microsoft Application Center Test.
back to the top
On Microsoft Windows XP- Click Start, point to All Programs, and then click Microsoft Visual Studio .NET.
- Click Visual Studio .NET Enterprise Features, and then click Microsoft Application Center Test.
back to the top
Create a New Project
This step is not required, but it prevents any modifications to a current project you might have in the Application Center Test tool.
- On the File menu, click New Project.
- In the New Project dialog box, name your project SSLTEST. Take note of the path if you want to change it, or you can use the default path.
- Click OK create the new project. This step opens the default Microsoft Application Center Test page.
back to the top
Create a New Test- On the Actions menu, click New Test. This opens the New Test wizard.
- On the first page of the wizard, click Next.
- Select Record new test. This creates a test by recording a Web browser session.
- On the next page, select VBScript {.vbs} as the default script language, and then click Next.
- When you are ready, click Start Recording to start the browser recording session. This opens a Microsoft Internet Explorer window with a blank URL.
- In the Internet Explorer address bar, type the name of the Web server you are testing (for example, http://localhost), but do not include the "https".
- After you open the correct pages, click Stop Recording in the wizard.
- Click Next and give your test an additional property name, such as SSL TEST.
- Click Next, and then click Finish to close this wizard.
back to the top
Modify the Test Script
To modify the test script, make sure that you are in the Microsoft Application Center Test application. Also make sure that you have selected the correct test from the Tests folder, which is under the Project folder.
- First, change the connection string from
Set oConnection = Test.CreateConnection("localhost", 80, false)
to:
Set oConnection = Test.CreateConnection("localhost", 443, true)
- For each later request, change the following line in the script
oRequest.HTTPVersion = "HTTP/1.0"
to:
oRequest.HTTPVersion = "HTTP/1.1"
back to the top
Run the Script
After you create the script, you can start the test:
- In the Tests folder, select your test.
- On the tool bar, click Play.
- Follow the prompts to finish the test.
back to the top
Modification Type: | Major | Last Reviewed: | 10/26/2002 |
---|
Keywords: | kbhowto kbHOWTOmaster KB327873 |
---|
|