This topic has not yet been rated - Rate this topic

What's New for Web Performance and Load Testing

Visual Studio 2010

Visual Studio 2010 Ultimate includes new functionality for Web performance tests and load tests.

Feature

Associated topics and comments

Features that make it easier to fix a failed Web performance test playback:

Extensible recorder plug-ins for modifying recorded Web performance tests (including adding custom dynamic parameter correlation)

Find has been added to the Web Performance Test Results Viewer

View recording log has been added to the Web Performance Test Results Viewer

Jump to request has been added to the Web Performance Test Results Viewer

Add extraction rule has been added to the Web Performance Test Results viewer

Web performance test result is now in a separate file for better scalability

New API for Web performance test result

New extensibility API enables UI extensions to Web Performance Test Results Viewer

New API to add custom Web Test Post Body Editor

Web Performance tests can now handle binary post bodies

File Upload record/playback enhancements:

Uploaded file added to project and deployed

If the actions while using the Web Performance Test Recorder include a file upload, such as uploading a file to Microsoft SharePoint, the file will automatically be added to your project, and marked as a deployment item.

Option for generating a unique file name on each iteration

Additional new Web performance test features:

Looping and branching in Web performance test

New Request Details dialog box for editing think times, goals, reporting string across all requests in the Web Performance Test Editor

New validation and extraction rules for inner text and select tags

Test level validation rule for pages meeting response time goal

There are several new features for load testing in Visual Studio 2010 Ultimate. For example, the new Virtual User Activity Chart shown in the following illustration lets you see the virtual user activity that is associated with your load test after it has completed running and is opened from the Load Test Analyzer. Each row in the chart represents an individual virtual user. The Virtual User Activity Chart shows you exactly what each virtual user was executing during the test. This lets you see patterns of user activity, load patterns, correlate failed or slow tests, and see requests with other virtual user activity. The Virtual User Activity Chart is available only after the load test has finished running.

Virtual User Activity Chart

Virtual User Activity Chart

The following table lists the new load test functionality that is included in Visual Studio 2010 Ultimate.

Feature

Associated topics

Logging and data collection improvements:

Log entire test result on test failure or log entire result every n requests.

Remote profiler integration

Event Log Data Collection

Extensible data collectors to support more platforms

Analysis Improvements:

Load test virtual user activity visualization using the Virtual User Activity Chart (see preceding illustration)

New statistics are collected for performance measurements: 99th percentile and Standard Deviation

New counters and thresholds in counter sets

Computer Tags for identifying machines for counter collection

Microsoft Excel reporting:

Run to run performance and trend analysis reports in Microsoft Excel

Performance testing enhancements:

Run automated UI tests as performance tests

True network emulation

More flexible load test modeling:

New sequential test mix model

Delay start on scenario

Specify test iteration counts for scenarios

Select which agent(s) to run the scenario on

Disable during warm up

Additional new load test features:

Multiple load test plug-ins

64 bit test execution

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
How can i use dynamic post parameters in visual studio 2010 load test


how can i use dynamically changing post parameters for my simple "Login" application for 100 virtual users(load Test). Each  users must use different user name and password for their logins.How can i pass or assign those values to  form post parameter "LoginForm$UserName" & "LoginForm$Password".

eg: virtual user 1 use "admin1" as user name  and password as "P2ssw0rd"
 .
 .
 and virtual user user 100 use " admin100" as user name  and "!123456789&" as password.

Tks
mat

Answer:

Yes, this is possible. See the following articles that has specific content:

In coded web test:
http://visualstudiomagazine.com/articles/2010/06/17/web-performance-testing-with-visual-studio-2010.aspx

Data driving & dynamic parameterization article in declarative web test:
http://stevesmithblog.com/blog/using-dynamic-parameters-in-a-webtest-or-loadtest/





Does Visual Studio support sync points?
Can the virtual users running on different agents wait for a certain event or a condition before proceeding with the remaining test?

Answer:
Visual Studio Ultimate's load tests do not have a "sync point" feature that lets a load tester specify that some number of test instances for different virtual users should all sync up at the same point of execution in the test. However, with some caveats it is possible to implement sync points in a unit test or Web test that is run within a Visual Studio Team System load test. This is from 2005 but still applies: http://blogs.msdn.com/b/billbar/archive/2006/02/09/528649.aspx
Great enhancements
Thanks for all the great new enhancements in 2010. I was especially happy about the conditional logic for looping and branching. Also the ability to add an extraction rule from the playback response text, and the virtual user activity chart, etc.
Lots of good stuff!