Run Load Tests during build within Visual Studio Online
NickName:DvanderStarre Ask DateTime:2015-02-23T19:48:22

Run Load Tests during build within Visual Studio Online

I've created a Web Performance and Load Test Project which, for the moment, performs a couple of simple tests on our Dynamics CRM 2013 solution using Visual Studio Online. (Tests will be expanded at a later time)

(The Load Test solution itself resides in a on-premises TFS along with all our other projects)

When I run my Load Tests on my local machine it all works like a charm.

My goal now is to run these Load Tests during the build of the solution.

It seems I have to use MSTest as Visual Studio Test Runner doesn't support Load Tests.

So I have modified my Build Template to use MSTest, with a little help of this post: https://social.msdn.microsoft.com/Forums/vstudio/en-US/93c8634f-b6d6-4d8a-8c8c-b6eb6c1fad06/tfs-2013-and-webtests-and-load-tests?forum=tfsbuild

This is were I run into a problems. As I don't see an option where I can direct my Load Test to use a specific VSO account, let alone the credentials for this account.

My questions are:

  • Is MSTest the best solution to start Load Tests during a build in Visual Studio Online? Is there a better one?
  • If so, how do I tell MSTest to use a specific VSO account?

Copyright Notice:Content Author:「DvanderStarre」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/28673115/run-load-tests-during-build-within-visual-studio-online

More about “Run Load Tests during build within Visual Studio Online” related questions

Run Load Tests during build within Visual Studio Online

I've created a Web Performance and Load Test Project which, for the moment, performs a couple of simple tests on our Dynamics CRM 2013 solution using Visual Studio Online. (Tests will be expanded a...

Show Detail

Running Load Tests against Visual Studio Online From TFS Build

I created a Load Test that I would like to run every night so that I can compare the results over time. I'm trying to trigger the load test to run from a TFS build. Tests are run by Visual Studio

Show Detail

Visual Studio Online CI Nunit references not resolved during build

I have been trying to get my solution to build in a CI configuration using Visual Studio Online and the hosted build controller. I have created a folder in the root of my workspace with the required

Show Detail

Run Visual Studio Load Tests in Microsoft Azure from build

I know that it is possible to run Load Tests within Azure manually. But is it possible to run Visual Studio Load Tests in Azure from build?

Show Detail

Database integration tests in Visual Studio Online

I'm enjoying the new Build tool in Visual Studio Online. Allows me to do almost everything that I do my local build server. But one thing that I'm missing is integration database tests: for every b...

Show Detail

Selenium tests with WebDriver and Visual Studio Online

I'd like to run a number of Selenium tests as a part of my product's Contionous Integration mechanism. We're using Visual Studio Online. I've tried using IE WebDriver and it could not connect t...

Show Detail

Load test performance counters using Visual Studio Online in Azure

I have Visual Studio Online which I use to run load tests against a remote web app (this app is not hosted within Azure). What would be the best way to gather performance stats from the load test?

Show Detail

Running Silverlight unit tests in Visual Studio Online

I'm in the process of moving from on-premise TFS to Visual Studio Online (VSTS) and I'm trying to create a new CI build definition as our local one is xaml based. For our server based tests I'm us...

Show Detail

Visual Studio Online - Load Testing API Error

I am using Visual Studio Online to run the Load Tests. Lately we started using the Load Test service API to run the load tests instead of running them manually. Everything works perfectly. However...

Show Detail

How do I install a SQL Server on the hosted build agent in Visual Studio Online?

One of our customers uses Visual Studio Online ( http://www.visualstudio.com/en-us/products/what-is-visual-studio-online-vs.aspx ) which is based on capabilities of Team Foundation Server (TFS) We...

Show Detail