How to perform load testing using visual studio [ 2015 Enterprise ]

百般思念 提交于 2019-12-25 06:59:24

问题


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.

Steps that i want to perform are:

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.

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.

Need help....


回答1:


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/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.



来源:https://stackoverflow.com/questions/37337989/how-to-perform-load-testing-using-visual-studio-2015-enterprise

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!