
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