Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 1997

Astra SiteTest


RSS
Subscribe to Windows IT Pro | See More Performance Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Determine your Web site's throughput limitations

If your Web site is growing and you are concerned about performance, I know a product you need to consider. Mercury Interactive created Astra SiteTest to let Web masters stress test their Web site easily, with minimal testing resources.

Astra SiteTest is the easiest program I've used to test Windows NT Magazine's Web site. When I first launched the program, a start screen asked whether I wanted to use the scenario wizard, open an existing scenario, or create a new scenario. Because I hadn't used the product before, I chose the wizard, shown in Screen 1. The wizard lets you create a scenario in a four-step process: select the script, configure the number of virtual users, set rendezvous points, and determine transactions.

Creating a Script
If you don't already have a script, you can create a new one with the Virtual User Generator tool. To generate a test script, run Virtual User Generator from the wizard or the program group. When I launched Virtual User Generator, it started my browser and recorded the pages I visited and the actions I performed on each page. When I finished browsing, I simply saved the script. Using the interface is as easy as pressing Record on a tape recorder and then pressing Stop when you've finished recording.

This script is a text file, which you can easily edit with Microsoft Notepad. Each line of the script represents one of five types of statements: http get, rendezvous, transaction, FormSubmit, and server login. Http get is the most common statement and references each universal resource locator (URL) for the script to access. The script I used for my test is shown in Listing 1, page 122, which includes four of the five types of statements (the script does not use server login).

What Is a Vuser?
To understand user behavior at your Web site, Astra SiteTest lets you create virtual users (vusers) to simulate Web users. Vusers traverse the Web site simultaneously, but they don't stop and read--vusers just move from page to page. However, Astra SiteTest lets you create a think time for vusers to simulate users reading a page. I selected the range to be 0 milliseconds, which forced the vusers to go immediately to the next page without pausing, because I was more interested in pounding the server to see how it performed with an extreme load.

Choosing the number of vusers depends on several variables, because the number of vusers does not correspond directly to the number of real users. The amount of RAM on your test machine also plays an important part in the number of vusers you can run. Initially, I selected 30 vusers, but the test failed. I soon learned that each vuser needs about 2MB of RAM. Because I had only 64MB of RAM, I needed fewer vusers to allow for system overhead. I used 20 vusers to perform the final testing, which worked well.

Because of the lack of direct correspondence, I looked at my Web log to calculate what 20 vusers would mean in real terms. I analyzed the average response time, the average time spent between pages, the number of users on the site at a given time, and the number of simultaneous requests. I found that 200 real users create 1.5 to 1.75 simultaneous requests. This calculation means that 20 vusers equal 7000 real users (20 users * 1.75 requests * 200 real users).

Transactions and Rendezvous Points
The wizard lets you select which transactions to use and which rendezvous points are active. You must manually add rendezvous points and transactions to a script. Rendezvous points let vusers wait for other vusers to join them so that they can enter an area together, which creates a peak load on the server. You can disable or enable rendezvous points anytime during a test scenario, and you can set how many vusers will rendezvous.

   Previous  [1]  2  Next 


Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Home Tech? Work Tech? Increasingly, It's Just Tech

Paul discusses how the consumer market is influencing business technology in ways that are unprecedented. ...

Where is Microsoft NetMeeting in Windows XP?

...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Cloud Computing Forum: Integrating Software, Server and Storage as a Service into Your Enterprise IT Delivery Model

Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing