Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 12366

Part IV Running Load Tests directly from the web using Visual Studio Online

$
0
0

 

Be sure and check out the rest of this getting started with Performance Testing Series series:

    1. Part I Creating Tests to Load test
    2. Part II Creating Load tests
    3. Part III Taking your load test to the Cloud (i.e. creating a Cloud-based Load test)
    4. Part IV Running Load Tests directly from Visual Studio Online
    5. Part V Analyzing the load test reports
    6. Part VI Get application performance data with your Cloud Load Test

 

A natural extension to the cloud-based load service, this simplified browser-based authoring and configuration experience enables practically anyone to create and run a load test.

Performance testing is often relegated to specialist performance engineers and treated as one of the niche areas of testing, where the tester needs to a proficient in the performance testing space. 

This new simplified browser-based authoring experience reduces this down to three simple options: the URL you want to test, how many users and how long do you want the load test to run for.

If you are Visual Studio Ultimate user, to get started navigate to your Visual Studio Online account home page.   Once there you will see Load test hub or Load Test Tile on the Visual Studio Online account home page.

image

Clicking either takes you to the page where you can start load testing your app in just a couple of seconds.

image

Here you can also (optionally) specify other settings like how many users, duration, think time and browser distribution. The only option that doesn’t have a default is your application’s public URL.

View app performance when the run is in progress:  Users can see a graph which shows five different performance counters when the run is in progress.

 

In this example there where no errors while generating load on the application, if the application was not performing correctly and all the responses which are not http return code 200 would be listed below the performance graph.

 

 

To create complex tests with more scenarios, you can always customize your load test using Visual Studio Ultimate by adding multiple URLs, generating load on your app in various patterns and increasing the user load , adding data sources, monitoring application performance along with the load run, generating trends etc please see the getting started page:

Part II Creating Load tests

 

Being fully integrated with the load testing in Visual Studio Ultimate and Visual Studio Enterprise, you can view the output report either in Visual Studio Online or the Visual Studio Ultimate as well as compare load test runs between the made from Visual Studio Online to those made in the Visual Studio Ultimate.   In the image below you can see a cloud-based load tests Brian Keller ran as well as some load test run by Brian Randell and Charles Sterling that we initiated from Visual Studio Ultimate

image


Viewing all articles
Browse latest Browse all 12366

Trending Articles