Quantcast
Channel: Category Name
Viewing all articles
Browse latest Browse all 10804

Cloud Load Test Build Task information

$
0
0

We are updating the Visual Studio Team Services Build Steps and thought these topics would be of interest:

https://msdn.microsoft.com/en-us/Library/vs/alm/Build/steps/index.

If you want to create your own Build Task check out my post here:

http://blogs.msdn.com/b/charles_sterling/archive/2015/11/15/devops-php-sample-for-cory-fowler-and-his-phpworld-presentation.aspx

 

 

******************************

 

  icon.png 

Cloud Load Test Build Task

Use Visual Studio Cloud-based Load Test to understand, test and validate your Applications performance.

Cloud-based Load Test task can be used to trigger a load test on the Visual Studio Online Cloud-based Load Test Service.  The Cloud-based Load Test Service can be used for performance and load testing of your application by generating load from Azure. If you are new to Cloud-based Load Testing then the following links will help you:

Demands

The build agent must have the following capabilities:

  • MSBuild
  • Azure Power shell

For more information and the source code to this task please see: https://github.com/Microsoft/vso-agent-tasks/tree/master/Tasks/RunLoadTest

Arguments

Example

Scheduling Load Test Execution

 

More Information

 

In your Visual Studio Online account, under the 'Build' hub, you can create new Build definitions that can include either of the two Cloud-based load test task templates (for guidance on how to create a Build definition, go here):

  • For help on the "Cloud-based Web Performance Test" go here.
  • For "Cloud-based Load test" read on.

image

To be successful with this task, you should have already created a load test project with Visual Studio Ultimate IDE with the required web performance tests(Get started) and configured the load test appropriately. This task simply takes an already created load test as input and executes it via the Service.

To use this task, do the following:

1. For "Registered Connection":

Select an available connection from the drop down. The selected connection must be for the Visual Studio Online account that you want to use for the load test. If you're unsure or don't have a connection to select, click on "Manage" to see what the available connections are or to create a new one. You need to be a Project administrator with "Edit Project-level Information" privilege or can ask your administrator to create a connection for you. The connection type to select is "Generic". This is what you will encounter if don't have the required permissions:

Pick the connection you'd like to use and move on to step 2.

2. You now need to supply the path to the Load Test settings file in your load test project. You may have more than one test settings file for your Load test, so pick the one to be used for this task. It might be configured with setup and clean scripts (Learn more) that might be essential to the load test.

3. Provide the folder path to the Load Test project in this step. This is the path where this task looks for the files required for the load test - load test file, test settings file, any deployment items and setup/clean-up scripts . You can pick the path and the task will do a recursive search starting at that path for your files.

4. You also have to specify the name of the load test file (xyz.loadtest) that is to be executed as part of this task. You may have more than one load test file to perhaps cater to the various deployment environments that you deploy your App to. So pick the right one. Once these are provided, we have all the data to trigger a load test.

5. Optionally if your load test is already setup with threshold violations (Learn more about threshold violations), then you can specify the number of critical violations to wait for before the load test should be deemed unsuccessful, in which case, the load test would then be aborted and the load test task would be marked as failed.

6. You can now save the task and then queue a build.

For generic information on Load testing you can look up these additional resources.

If you have feedback for us - for this task or for any other feature, please add them here.


Viewing all articles
Browse latest Browse all 10804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>