Running Visual Studio Load Test in TFS 2015 locally

Rasika

I have configured a load test using VS 2013 ultimate to performance test a REST Api. We use TFS 2015 for source control and CI. Tests are pointing to a local (with in company's intranet) REST service endpoint. I want these test to run against every build and configured a build definition in TFS. TFS provides a build step called "Cloud-based Load Test" and thats is not going to help me as I am not planning to run tests on the cloud. what is the best approach to run *.loadtest files ? Has anyone done this ? Is command line my only option ?

Cece Dong - MSFT

Command line is the only option. You need to install VS/mstest on your build agent machine, then add a Command Line task in your build definition. In this task, specify the mstest tool path and add agrument /TestContainer:LoadTest1.loadtest to run the loadtest:

enter image description here

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Running Jasmine Unit Test within Visual Studio via TFS

Get the running instance of VersionControlServer(tfs 2015) from Visual Studio 2015 to bind a GettingEventHandler to it

Selenium UI Test Fails When Running On VS Test, But Runs In Visual Studio Locally Fine

Running Visual Studio Load Test Comparisons Against Different Domains

Where is TFS Build Explorer in Visual Studio 2015?

Visual Studio 2015. Files not added to TFS

Visual Studio 2015 - Check in to a different branch in TFS

MATLAB File Association in Visual Studio 2015 / TFS

TFS 2015 - XAML build progress inside Visual Studio 2015

PowerShell not running after Visual Studio 2015 install

Process with an ID #### is not running in visual studio 2015

Running a single .cpp file in Visual Studio 2015?

Unable to load C Project in Visual Studio 2015

How to also build when deploying locally with visual studio 2015

TFS 2015 running vNext build and test on same machine

Running with a different web.config locally in Visual Studio

Running gcloud test locally

TFS Build error after installing Visual Studio 2015 Update 1

Database project build errors in TFS with Visual Studio 2015 Update 3

MSSCCI provider for Visual Studio 2008 SP1 and TFS 2015

Visual Studio Team Services/TFS 2015 Project Structure

TFS 2013 Build force MSBuild to use Visual Studio 2015

TFS 2015 -> 2017 Update1 Projects Not Showing In Visual Studio

Querying TFS 2015 Source Code Repository with Powershell and Visual Studio 2019

Custom TFS Check-In Policy in Visual Studio 2015

Cannot add files to Visual studio 2015 (Community) Update 3 / TFS

Running a test category from the Visual Studio UI

Users distribution in Load Test Visual Studio

Visual Studio Load Test results database