Winforms and others

1. Our application is being developed using Win forms, Visual Studio 2005, Web services & SQL Server 2005 technologies. Can i use VSTS Load test tool for Performance testing / Load testing on Win forms applications Or VSTS Load test tool can be used for only web applications Please let me know.

2. I have completed the Web test. I have added transactions. I want to measure the server response time after click on link in first page and until new page opens.

web test is running successfully.

Load testing I have done using Step load option. After the test is over i am not seeing any results for transactions and pages. Usually in results page after Graphs, tables there will be transactions and pages details. I am not getting any details.

From counters also I have selected total transaction and Avg transactions. Ever for that selected counters i am not getting any details. Please let me know how to view transactions results.

3. I am getting these error messages while doing load testing. What are these errors How to correct these errors

Error 1

Exception LoadTestException Could not find dependent counter needed to apply threshold rule: \\NUMBER1

\LoadTest:Page\Avg. Page Time(_Total)

view -

at Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters.CheckCounterValue

(PerformanceCounterValue counterValue, ICounterProvider counterProvider)

at Microsoft.VisualStudio.TestTools.WebStress.LoadTestResultsCollector.ApplyThresholdRules()

Error 2

00:00:10 NUMBER1 .NET CLR JIT % Time in Jit _Global_

The value 49.28626 exceeds the warning threshold value of 25.

Under counters window i have gone the hierarchy Computers -> Machine name ->NET CLR JIT->% Time in Jit.

But there is no option to edit the threshold value.

Thanks,

Shankar




Answer this question

Winforms and others

  • Jerry Sully

    If you have the Developer SKU or Team Suite, then you are able to do profiling. Strictly this is not a performance test, but will certainly allow you to find some bottle necks.

    Because Team Test does not includle any UI testing, so it will be difficult to create a direct UI performance test. Through third party UI testing, you maybe able to work up this direct UI performance testing.

    However, Bill is aluding to the fact that you can create unit tests for the non-UI components of your application, and subject them to load testing -- this will performance test the underlying infrastructure. Depending on the architecture of you application this may help, or it may be too difficult.

    Hope this helps,
    Dominic



  • Ralphp_Ai2x

    Hi,

    Regarding First query

    #1. Load tests can contain web tests and unit tests. A load test does not directly drive a WinApp. You may be able to construct a unit test that could exercise a portion of your WinApp.

    How to do performance testing on Win Forms applications is there any other tool available Please let me know.



  • palm2005

    #1. Load tests can contain web tests and unit tests. A load test does not directly drive a WinApp. You may be able to construct a unit test that could exercise a portion of your WinApp.

    #2. Do you see values for the overall page and transaction counters Have any pages/transactions completed Check to make sure page and transaction counters are being collected (by default they are included in the load test counter set, you would've had to delete them for them not to be in the counter set).

    #3. See the following post regarding this error.

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

    Also, I believe there is a Readme entry regarding this issue that may include additional information.

    Thanks,
    Rick


  • Winforms and others