测试执行的单个Web性能测试的持续时间和负载测试中的相同测试是不同的。为什么? [英] The test execution' duration of a singe web performance test and the same test in a load test is different. Why?

查看:96
本文介绍了测试执行的单个Web性能测试的持续时间和负载测试中的相同测试是不同的。为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们正在测试基于Java的Web应用程序,我一直在使用Visual Studio 2013 Ultimate创建Web性能测试并将它们组合到负载测试中。

We are testing Java-based web application and I have been working with Visual Studio 2013 Ultimate creating web performance tests and combining them into the load test.

我注意到,如果我手动运行单个Web性能测试的执行时间明显更短,那么如果我在负载测试中运行相同的单个测试1位用户

I've noticed that the execution time for a single web performance test is significantly shorter if I run it manually comparing to if I run the same, single test within the load test for 1 user.

例如,在大约5分钟内完成了一次网络性能测试和1位用户的负载测试执行。而如果我手动运行此网络性能测试,则需要大约50秒才能完成。 

For instance, the load test execution with one web performance test and 1 user was completed in about 5 min. whereas if I run this web performance test manually, it takes about 50 sec. to complete. 

为什么会这样?

  

  

推荐答案

默认情况下为".webtest"运行时忽略思考时间并且负载测试暂停。

By default a ".webtest" runs with think times ignored and a load test pauses for the them.

Web测试的默认值可以通过"web测试"进行更改。活跃的".testsettings"部分。文件。它也可以通过"编辑测试设置"暂时改变。 Web测试结果窗口中的链接。

The default for a web test can be altered via the "web test" section of the active ".testsettings" file. It can also be altered temporarily via the "edit test settings" link in the web test result window.

可以通过场景的属性更改负载测试的默认值。

The default for a load test can be altered via the properties of the Scenario.

问候

Adrian


这篇关于测试执行的单个Web性能测试的持续时间和负载测试中的相同测试是不同的。为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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