Tip

Watch the metrics during your load tests

Load tests are important for applications that will have a lot of people using them, such as a Web site like Amazon where millions of hits are generated in an hour or so on any given day.

It's important to have adequate setup before executing the load test for an application. It's especially important to decide on the metrics than you need to monitor for the load tests.

Take a scenario where you are testing an application for performance-related issues. You must monitor the four main things: processor, memory, disk and network. Once the load test completes, you should have an overview of the application performance.

Now you can move to next level of monitoring and so on until you are satisfied with the investigation. For example, if after the first load test you find that the page faults occur at a level higher than the accepted threshold -- indicating memory problems -- then you may want to investigate further the cause of the page fault, such as if it is a hard page fault or soft page fault. Therefore, you may want to monitor the transition faults, pages input and pages output to answer your doubts.

Keep in mind that further investigation requires knowledge of the application, server, network, and what the counters and metrics mean. It's also helpful if you have a good understanding of the internal working of the components.

So, keeping a good watch on the metrics during your load tests will build your confidence

    Requires Free Membership to View

in the application.


This was first published in November 2007

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.