Microsoft KB Archive/327873

= HOW TO: Use Application Center Test with an SSL Application =

Article ID: 327873

Article Last Modified on 10/26/2002

-

APPLIES TO


 * Microsoft Application Center Test, Developer Edition

-



This article was previously published under Q327873



IN THIS TASK
SUMMARY Open Application Center Test
 * On Microsoft Windows 2000
 * On Microsoft Windows XP

Create a New Project Create a New Test Modify the Test Script Run the Script



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

On Microsoft Windows 2000

 * 1) Click Start, point to Programs, and then click Microsoft Visual Studio .NET.
 * 2) Click Visual Studio .NET Enterprise Features, and then click Microsoft Application Center Test.

back to the top

On Microsoft Windows XP

 * 1) Click Start, point to All Programs, and then click Microsoft Visual Studio .NET.
 * 2) 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.
 * 1) On the File menu, click New Project.
 * 2) 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.
 * 3) Click OK create the new project. This step opens the default Microsoft Application Center Test page.

back to the top

Create a New Test

 * 1) On the Actions menu, click New Test. This opens the New Test wizard.
 * 2) On the first page of the wizard, click Next.
 * 3) Select Record new test. This creates a test by recording a Web browser session.
 * 4) On the next page, select VBScript {.vbs} as the default script language, and then click Next.
 * 5) When you are ready, click Start Recording to start the browser recording session. This opens a Microsoft Internet Explorer window with a blank URL.
 * 6) 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 &quot;https&quot;.
 * 7) After you open the correct pages, click Stop Recording in the wizard.
 * 8) Click Next and give your test an additional property name, such as SSL TEST.
 * 9) 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(&quot;localhost&quot;, 80, false) to: Set oConnection = Test.CreateConnection(&quot;localhost&quot;, 443, true)   For each later request, change the following line in the script oRequest.HTTPVersion = &quot;HTTP/1.0&quot; to: oRequest.HTTPVersion = &quot;HTTP/1.1&quot; 

back to the top

Run the Script
After you create the script, you can start the test:
 * 1) In the Tests folder, select your test.
 * 2) On the tool bar, click Play.
 * 3) Follow the prompts to finish the test.

back to the top

Keywords: kbhowto kbhowtomaster KB327873

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.