Visual Studio Web Performance负载测试是否准确? [英] Are Visual Studio Web Performance load tests accurate?

查看:99
本文介绍了Visual Studio Web Performance负载测试是否准确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2013 Ultimate
场景:
设置Web性能测试,包括浏览到我的Intranet主页.
设置运行一项Web性能测试的负载测试-持续100分钟的100个用户负载.
测试组合模型:基于虚拟用户数. (用于测试混合"模型的选项使我感到困惑)
该测试是从一个工作站(没有测试台)运行的.

平均报告的页面响应时间很差,大约为45秒

我质疑测试的有效性,因为在测试运行期间,我可以在3秒钟左右的时间内将Intranet主页显示在浏览器中.在运行Visual Studio的同一台计算机上以及其他计算机上.

这是否表明Visual Studio无法正常工作?
我做错了吗?
任何建议表示赞赏.

Visual Studio 2013 Ultimate
Scenario: 
Set up Web Performance test consisting of browsing to my intranet home page.
Set up Load Test running the one Web Performance test - constant 100 user load for 10 minutes.
Test Mix Model:  Based on the number of virtual users.  (The options for Test Mix model confuse me)
The test is run from one workstation (no test rig).

The Avg. Page Response time reported is poor, around 45 seconds

I question the validity of the test because while the test is running, I can bring the intranet home page in my browser in about 3 seconds --  on the same computer that is running Visual Studio, as well as from other computers.

Does this demonstrate that Visual Studio is not working correctly?
Am I doing this wrong?
Any advice is appreciated.







推荐答案

您好,bankdog,

Hi bankdog,

Web性能测试与直接在浏览器中打开URL有所不同.

The Web Performance Test is a little difference with open the URL in browser directly.

在Web性能测试中,排除记录您在浏览器中访问的URL的情况,这是最依赖的请求.这些相关请求在Web Performance Test中被一一访问,这将花费一些时间.

In Web Performance Test, exclude record the URL that you access in browser, there are most dependent requests. These dependent requests are accessed in Web Performance Test one by one which will take some times.

但是在浏览器中,这些从属请求通常发送异步信号.浏览器将加载页面的主要内容,其他内容将在后台通过这些请求进行请求.

But in browser, these dependent requests often send asynchronous. The browser will load the main content of the page, and other content will request through these requests on background.

在Web Performance Test中,每个请求都有一个Think Time属性,该属性用于模拟用户访问网站时的想法.

And in Web Performance Test, every request has a Think Time property, which used to emulate users thinking something when access the website.

最好的问候,
Weiwei

Best Regards,
Weiwei


这篇关于Visual Studio Web Performance负载测试是否准确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆