本文介绍了VS不尊重Windows 10代理进行测试运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设置我的Windows代理服务器以通过VPN工作到我的代理服务器,这适用于其他应用程序,但是当我通过测试运行器运行集成测试时,Visual Studio不使用这些设置。 我已按照以下说明进行设置:
I setup my Windows Proxy to hit my proxy server at work over the VPN and that works for other apps but Visual Studio does not use these settings when I am running integration tests via the test runner.  I have followed these instructions for the setup:

推荐答案

欢迎来到MSDN论坛。

Welcome to MSDN forum.

根据您的描述,我们认为您希望远程运行测试。如果为true,则为测试项目配置测试控制器,测试代理和测试设置文件。

According to your description, we consider you want to run test remotely. If true, you would configure a test controller, test agents, and test settings file for your test project.

测试控制器 -  测试控制器用于管理测试代理并收集测试结果。它提供了运行测试的通用体系结构,并包含用于运行负载测试的特殊
功能。测试控制器将测试发送给所有测试代理并等待,直到所有测试代理都初始化测试。当所有测试代理都准备就绪时,测试控制器会向测试代理发送一条消息以开始测试。

Test controller --  The test controller is used to administer the test agents and collect test results. It provides a general architecture for running tests, and includes special features for running load tests. The test controller sends the test to all test agents and waits until all the test agents have initialized the test. When all test agents are ready, the test controller sends a message to the test agents to start the test.

测试代理 -  测试代理用于运行测试,并收集包括系统信息和测试设置中定义的ASP.NET概要分析数据的数据。它作为服务
运行,侦听来自测试控制器的请求以启动新测试。当测试代理收到请求时,测试代理服务会启动运行测试的过程。

Test agent --  The test agent is used to run the tests, and collect data including system information and ASP.NET profiling data defined in the test setting. It runs as a service that listens for requests from the test controller to start a new test. When the test agent receives a request, the test agent service starts a process on which to run the tests.

请检查  here  了解如何配置它们

Please check here to learn how to configure them.

测试设置文件   -  运行设置文件可用于配置从中运行的测试命令
line,在IDE中,或在使用Azure测试计划或Team Foundation Server(TFS)的构建工作流程中。

test settings file -- Run settings files can be used to configure tests that are run from the command line, in the IDE, or in a build workflow using Azure Test Plans or Team Foundation Server (TFS).

如果我们误解了您,请随时联系我们。

If we misunderstand you, please feel free to contact us.

最诚挚的问候,

Dylan


这篇关于VS不尊重Windows 10代理进行测试运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 14:38