问题
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.
- https://www.visualstudio.com/en-us/docs/test/performance-testing/getting-started/getting-started-with-performance-testing
- https://msdn.microsoft.com/en-us/library/ms182557.aspx
- 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