Analyzing the error messages

Hi,

I am doing load testing on web application. i have created web test and i am calling that test in my load test.

I am getting these error messages frequently.

Error message 1

1. Exception LoadTestException 10 Could not find dependent counter needed to apply threshold rule: \\SHANKK-LP\LoadTest:Page\Avg. Page Time(_Total)

Reference link for Error message 1

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=88641&SiteID=1

It's telling you that the threshold rule could not be applied because the dependant counter did not exist on a specific sampling interval, which likely means the page didn't run during that 5 second period.

Questions

1. If I increase the sampling rate under run settings from 5 to 10 or 20, this message will not come? Is it right way of doing or not?

How to resolve this error or can I ignore this error message?

Error message 2

2. 00:01:40SHANKK-LPLoadTest:RequestAvg. Connection Wait Time_TotalThe value 17.93 exceeds the critical threshold value of 15.23438.

Reference link for Error message 2

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=334371&SiteID=1

This is to alert you that your agents may be overloaded and may not be capable of producing the load you've requested.

Questions

2. I am creating load using single machine now. i am not using rig functionality. Because of this reasons I am getting this error message 2?

3. If I create the load using rig, this error message 2 will not occur?

How to resolve this error or can I ignore this error message?

Now I have deleted the counters like

A yellow triangle with an exclamation point indicates that a warning threshold violation occurred in the current sampling interval.

After deleting the counters i have ran the load test with same users and time like which settings I have used earlier.

But now i am getting different error messages. Check the error messages under Error message 3.

Error message 3

1. HttpError 503 - ServiceUnavailable 130 503 - ServiceUnavailable

2. Exception WebException 35 Unable to connect to the remote server

3. Exception WebTestException 25 Context parameter '$HIDDEN1.__EVENTTARGET' not found in test context

Questions

4. Why these error messages did not come before deleting the counters when I ran the load test?

5. If I am keeping the counters and running test I am getting error messages of

Error message 1 andError message 2.This time I am not getting error message ofError message 3.

If I deleted the counters and run the load test I am getting the error message ofError message 3.

Should we delete the counters and run the test? Should we keep the counters and run the test’s. I prefer when I am deleting the counters and running the test is

Best way because at that time only I am getting critical error messages. Is it right?

What is the best way of running the test with or without counters?

How to resolve this error ?

Thanks,

Shankar

[13510 byte] By [ShankarK] at [2007-12-21]
# 1

Error message 1: the remedy for #1 is covered in FAQ.

Error message 2: You can get rid of this error by increasing the connection pool size in the run settings for your load test or use connection per user. You can get this error running on the rig or running local.

Error message 3.1 and 3.2: these messages are problems on the server. 3.1 says the server is too busy. 3.2 says the server wasn't taking additional connections.

Error message 3.3 is often a side effect of a previous error.

Page 1 fails.
Page 2 runs but returns an error page. This page doesn't have hidden fields on it, so you see the error above.

Question 4: I can't see how these errors are related to counter collection. The errors are generated from the load agent code, counters are collected from the controller object, so they should be unrelated. You should run the test with counter collection turned on. Did anything else change that would account for the differences between runs?

EdGlas at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified