In the first post of this series on Cloud Load Testing with Visual Studio Team Services (VSTS) I showed you how to quickly get a cloud load test up and running. In the post we created a test than ran within the cloud and not on-premises. If you have a desire or need to run your cloud load tests using an on-premises test agent, the agents are very easy to setup and configure.
If you don’t want to read each of the required steps for installing the agent, there are only a few, I have created a video that will walk you through the process.
For those that would rather just see the steps, here they are:
- Download PowerShell script from here: http://bit.ly/InstallVSTSTestAgent
- Create a Personal Access Token (PAT) in VSTS
- Install the Agent by running the following command:
.\ManageVSTSCloudLoadAgent.ps1 -TeamServicesAccountName https://<account>.visualstudio.com -PATToken <PAT> -ConfigureAgent -AgentGroupName ‘<AgentGroupName>’
- Verify the agent installed successfully by running the following command:
.\ManageVSTSCloudLoadAgent.ps1 -TeamServicesAccountName https://<account>.visualstudio.com -PATToken <PAT> -GetAgentGroups
- Create and run a load test with the new agent.
For each of the bold items shown above replace the tags with your specific settings. If you’d like to see me walk through each of these steps then I’ll recommend you watch the video.
Hopefully this all makes sense. If you have any questions about setting up an on-premises cloud load test agent please let me know in the comments below or in the comments section on the video page.