Skip to Content
Visual Studio Hacks
book

Visual Studio Hacks

by James Avery
March 2005
Intermediate to advanced
304 pages
19h 23m
English
O'Reilly Media, Inc.
Content preview from Visual Studio Hacks
332
|
Chapter 10, Work with Visual Studio Tools
#79 Stress Test Web Applications
HACK
8. You will now see that the test script file (e.g., TestName.vbs) has been
opened up in the editor and has been added under your ACT Project in
the Solution Explorer.
One thing to understand before creating your tests: all ACT
tests are either VBScript or JScript, and you have the option
of letting ACT generate the scripts for you (recommended)
or writing the test scripts yourself. If you let ACT autogener-
ate the test scripts, they will be created using VBScript.
Test Properties
Now that you’ve created your ACT Project and added some tests, you need
to set the properties of those tests. The Properties window is where you set
your load levels, test duration, and test iterations. To view these settings,
right-click on a test and select Properties. The Properties window appears, as
shown in Figure 10-5.
By default, a brand-new test is set up to run one browser connection for five
minutes (Connections = 1, RunTime = 300; RunTime is in seconds). This
default configuration is actually a good “smoke test” to get started.
To gather a wide range of metrics, it’s best to perform tests with varying
load based on duration and iterations. A test based on duration will tell you
Figure 10-5. The Properties window of a test
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mastering Visual Studio .NET

Mastering Visual Studio .NET

Chris Sells, Ian Griffiths, Jon Flanders
C# 4.0 Unleashed

C# 4.0 Unleashed

Bart De Smet
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 0596008473Errata Page