本文介绍了如何使用Visual Studio执行负载测试[2015 Enterprise]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

First of all i am new to testing. I want to perform load testing on web api's [ around 70 ]. I am using VS2015 Enterprise that comes with load testing feature but i am not aware how to use.

我要执行的步骤是:

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准备了单元测试.我发现我可以在某处使用它进行负载测试,是真的吗?

I have unit test ready for all api's. I found somewhere that i can use it for load testing, Is it true?

如果需要进一步澄清所提出的问题,请回覆而不是否决该问题.

If need more clarification on question asked, reply back rather than downvoting the question.

需要帮助....

推荐答案

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

I am no expert in load testing with Visual Studio, but you can find these links for reference to conduct performance testing with Visual Studio for both web applications and web services.

  1. https://www.visualstudio.com/zh-CN/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
  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

他们应该回答您的大多数问题.

They should answer most of your questions.

这篇关于如何使用Visual Studio执行负载测试[2015 Enterprise]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 06:54