【问题标题】:How to view load test reports by individual request in Visual Studio Team edition如何在 Visual Studio Team 版中按个人请求查看负载测试报告
【发布时间】:2008-11-26 15:14:31
【问题描述】:

当使用 Visual Studio 的 Load Web Test 对网站进行性能测试时,可以获得结果摘要。显示了有用的度量,例如平均响应时间、最大响应时间等。

让我感兴趣的一件事是能够在需要时深入了解特定请求,回答诸如单个请求花费最多时间之类的问题。可以将 Run Settings 的 Timing Details Storage 属性设置为“All Individual Details”,但这似乎只为每个 URI 提供聚合,而忽略了对查询参数的更改。在我的场景中,http://somewebsite/dosomething.ashx?cmd=findhttp://somewebsite/dosomething.ashx?cmd=nothing 非常不同。如何生成区分这些的报告?

【问题讨论】:

    标签: visual-studio testing load-testing


    【解决方案1】:

    AFAIK,VSTS 2008 中的负载测试不允许您在粒度级别捕获请求详细信息。我读过 VSTS 2010(仍处于测试阶段)有一个功能可以让你做类似的事情。 http://blogs.msdn.com/billbar/archive/2009/06/09/vsts-2010-load-test-feature-saving-test-logs.aspx

    【讨论】:

      【解决方案2】:

      或者您可以尝试在 http://www.qualiwebsolutions.com/ 上查看 Visual Studio 报告工具

      【讨论】:

        【解决方案3】:

        (此功能是 VS 2008 或 2010 中的新功能,不确定是哪个):在您的请求中选择查询字符串参数,然后在“属性”窗格中有一个属性“显示单独的请求结果”。将此设置为 True,然后 Visual Studio 将为该查询字符串参数的所有变体记录单独的页面结果。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2014-07-20
          • 1970-01-01
          • 1970-01-01
          • 2017-03-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多