
Stress Test Web Applications #79
Chapter 10, Work with Visual Studio Tools
|
331
HACK
Identifying Test Cases
Before creating your tests, you must first identify your test cases. These
could range from simple web page requests to more complex tests that have
user workflow with several steps, tasks, and web pages. The key thing is to
identify the start and end points of the test. This will allow you to deter-
mine the scope of your test and know when to stop recording your test, as
you’ll see later.
Create an ACT Project
To use ACT for performance testing a web application, you’ll first need to
create an ASP.NET application in Visual Studio and run it to make sure it
does what you want. You can then create an ACT Project by following these
steps (assuming you chose to install ACT during the installation of Visual
Studio .NET Enterprise Edition; it’s selected by default):
1. In the Visual Studio Solution Explorer, right-click the solution, click
Add, and select New Project.
2. In the Add New Project dialog box, under Project Types, expand Other
Projects and click Application Center Test Projects.
3. In the Templates box, select the lone choice of ACT Project.
4. Type a name for the project, select the location, and click OK.
5. You will now see that your ACT Project has been added to your solution.
Creating a Test
Now that you’ve identified your test cases and created an ACT Project, you
can create and add ...