
3 July 2024 Leave a comment QA
When working with Visual Studio 2013 Ultimate, you may encounter an issue where attempts to run a Web Performance Test are met with errors prompting a connection to Visual Studio Online. This can be particularly frustrating if your intention is to run the test on a local network. This guide will walk you through the steps to configure your test settings to run locally, avoiding the need for cloud-based testing.
Understanding the Error
The error message typically states:
An unexpected error occurred. Please close this page and re-open it using Load Test Manager, available in the Load Test menu. Failed to queue test run [test name] The active test settings is configured to run test using Visual Studio Online. Connect to a Visual Studio Online account using Team Explorer and try again.
To resolve this, you need to change the active test settings from Visual Studio Online to your local computer.
Steps to Run Tests Locally
- Open your existing project in Visual Studio 2013.
- In the Solution Explorer, expand the Solution Items folder.
- Open the Local.testsettings file.
- Edit the test settings file to configure your project to run your tests on the local computer.
Managing Multiple Test Settings
In some projects, it is beneficial to maintain multiple .testsettings
files. For example:
- Local.testsettings – For test development and low load tests on a single computer.
- Agent.testsettings – For testing with a controller and multiple agents to handle larger loads.
- Cloud.testsettings – For running tests on Visual Studio Online.
To switch between these settings:
- Right-click in the Solution Explorer.
- Select the context menu option Active load and web test settings.
- Tick the appropriate test settings file you wish to activate.
Additional Resources
For more detailed information on configuring virtual test devices, you can refer to our documentation.
Enhancing Test Automation with Repeato
While configuring and running tests in Visual Studio is essential, integrating a no-code test automation tool like Repeato can significantly streamline your testing process. Repeato allows you to create, run, and maintain automated tests for your iOS and Android apps effortlessly. Leveraging computer vision and AI, Repeato ensures fast editing and execution of tests, making it an excellent choice for quality assurance teams looking for a simple and effective solution.
Learn more about how Repeato can enhance your testing strategy by visiting our documentation.
Like this article? there’s more where that came from!
- Resolving the “xcrun: error: invalid active developer path” Error on macOS
- Adding Existing Frameworks in Xcode 4: A Comprehensive Guide
- Disabling ARC for a Single File in Xcode: A Step-by-Step Guide
- Resolving the Xcode-Select Active Developer Directory Error
- Resolving the “Multiple Commands Produce” Error in Xcode 10