Skip to Main Content
Visual Studio Hacks
book

Visual Studio Hacks

by James Avery
March 2005
Intermediate to advanced content levelIntermediate to advanced
304 pages
19h 23m
English
O'Reilly Media, Inc.
Content preview from Visual Studio Hacks
336
|
Chapter 10, Work with Visual Studio Tools
#79 Stress Test Web Applications
HACK
call SendRequest10( )
call SendRequest11( )
End Sub
Simple enough, so you run your performance tests, analyze the data, and
realize the page is not loading within acceptable limits. You can begin to
streamline the performance by simply commenting out the calls to some of
the
SendRequest( ) methods for the images. Then rerun your tests and ana-
lyze the results. This type of easy modification of the script allows you to
make quick changes to your test scripts without having to redesign your web
page and record a new test.
ACT Project Files
You’ve seen how to create an ACT Project in Visual Studio, add and config-
ure test scripts, run tests, and view the results. Another cool thing is that
ACT creates and manages all its project files in XML format. You can see a
sample of these files in Figure 10-9.
With the exception of the .vbs file, every file shown in Figure 10-9 is an XML
file, even the .act and .actproj files. As you configure and make changes to
your ACT Project and tests, the ACT tool is modifying these files behind the
scenes as needed. A quick look at the testProperties-GetOrdersDataSet.xml
file shows the following XML:
Figure 10-9. Some of the files generated by ACT
Stress Test Web Applications #79
Chapter 10, ...
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.
Start your free trial

You might also like

Microsoft Visual Studio 2015 Unleashed, Third Edition

Microsoft Visual Studio 2015 Unleashed, Third Edition

Mike Snell, Lars Powers
.Net Framework Essentials

.Net Framework Essentials

Thuan L. Thai, Hoang Lam
C# 5.0 Unleashed

C# 5.0 Unleashed

Bart De Smet
Programming .NET Security

Programming .NET Security

Adam Freeman, Allen Jones

Publisher Resources

ISBN: 0596008473Errata Page