Availability and Performance Testing
Share this post
So far in this activity, we have learned a lot about testing and the importance of testing. We discovered test automation with Selenium, using coded UI and using Test Manager and we experimented with adding and running tests and explored the outcomes of those tests and we were able to see that everything is kind of ok with our build.
But, the testing we performed did not test performance. And testing performance is key to successfully roll out new features.
Would it not be great if there was a way of releasing functionality into production, but then, ahead of releasing it into production, releasing it into a test environment and mimicking load that is production-like?
In this step, we will look at how you can supplement your build and release pipeline by adding out of the box tasks to test for performance and availability.
Run a Performance Test
By now, you should have experimented with semantic versioning, creating packages, publishing artefacts, consuming artefacts to provision infrastructure, deploying a web app and database and running functional tests.
The next step is to run a performance test.
To do this, you can navigate to the test section and find a cloud-based load test or cloud-based Web Performance Test Task. Follow these steps to complete the performance testing:
-
First, you need to establish a connection back to Visual Studio Team Services.
-
Next, you need to specify the web URL of the server that you will be testing. You will have the option of how much user load you want to mimic and the duration that you want the load to run for. Here you can also combine step load and threshold testing.
-
From there, you can opt to automatically provision your agent or you could self provision your infrastructure. You can also specify custom conditions within the task.
Triggering the execution of the task may take some time, but you will gain valuable insights from the results once thee execution is complete.
Join the discussion
What are benefits and challenges of releasing functionality into a test environment?Use the discussion section below and let us know your thoughts. Try to respond to at least one other post and once you’re happy with your contribution, click the Mark as complete button to check the step off, then you can move to the next step, Automated Provision and Deprovision Environments.
Share this post
Microsoft Future Ready: Continuous Integration Implementation

Microsoft Future Ready: Continuous Integration Implementation

Our purpose is to transform access to education.
We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.
We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.
Learn more about how FutureLearn is transforming access to education
Register to receive updates
-
Create an account to receive our newsletter, course recommendations and promotions.
Register for free