【问题标题】:How to perform load testing using visual studio [ 2015 Enterprise ]如何使用 Visual Studio 执行负载测试 [ 2015 Enterprise ]
【发布时间】:2016-09-17 04:55:52
【问题描述】:

首先,我是测试新手。 我想对 web api 的 [ 大约 70 ] 执行负载测试。我正在使用带有负载测试功能的VS2015 Enterprise,但我不知道如何使用。

我要执行的步骤是:

1) Response time of the service when running a single request.

2) Memory consumption used by the service when running a single request.

3) Maximum number of concurrent requests supported by the service

4) Memory consumption used by the service when running the maximum number of concurrent requests.

5) Response time of the service when running the maximum number of concurrent requests.

6) Maximum number of concurrent requests that can be executed so that the response time is less than 2 seconds.

我已为所有 api 准备好单元测试。我找到了可以将它用于负载测试的地方,是真的吗?

如果需要对提出的问题进行更多说明,请回复而不是投反对票。

需要帮助....

【问题讨论】:

    标签: .net visual-studio asp.net-web-api performance-testing load-testing


    【解决方案1】:

    我不是使用 Visual Studio 进行负载测试的专家,但您可以找到这些链接以供参考,以便使用 Visual Studio 对 Web 应用程序和 Web 服务进行性能测试。

    1. https://www.visualstudio.com/en-us/docs/test/performance-testing/getting-started/getting-started-with-performance-testing
    2. https://msdn.microsoft.com/en-us/library/ms182557.aspx
    3. https://msdn.microsoft.com/en-us/library/ee923686.aspx

    他们应该回答你的大部分问题。

    【讨论】:

    • 问题是要求提供大量信息,远远超出 Stack Overflow 的问答格式所能包含的信息。正如您正确观察到的那样,有许多 Microsoft 页面提供了这些信息。提问者通过简单的网络搜索就能找到它们。您在此处的回答仅提供了其中一些页面的链接,因此可以被视为违反 Stack Overflow 的规则。 无需参考链接页面,此处的答案应该很有用。请阅读stackoverflow.com/help/how-to-answer“为链接提供上下文”部分
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-31
    相关资源
    最近更新 更多