使用vsts 2010进行负载和WebPerformance测试 [英] Load and WebPerformance testing using vsts 2010

查看:100
本文介绍了使用vsts 2010进行负载和WebPerformance测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试对使用vsts 2010 ultimate在第三方系统上部署的网站进行webperformance测试。在这个测试中,我试图记录上传文件的操作。但我的测试失败。它显示"请求失败:无法
查找文件"C:\ Users \ System1 \documents \ visual studio 2010 \Projects\TestProject1 \TestResults\system1_SYSTEM1-PC 2010-10-21 14_03_18\Out\MS_61-1996.pdf'。但通常它上传得很好。(即不在webperformance测试中)。那么请你帮我找到解决方案。
告诉我是否有任何测试设置我们必须更改为对部署在第三方系统上的网站进行负载测试。这很紧急。



我正在使用vsts 2010 ultimate,windows-7操作系统。



谢谢你提前。

Hi to all, I am trying to do webperformance test to a website which is deployed on third party system using vsts 2010 ultimate. In this test I am trying to record actions of Uploading a file.But my test is failed .It shows "Request failed:Could not find file 'C:\Users\System1\documents\visual studio 2010\Projects\TestProject1\TestResults\system1_SYSTEM1-PC 2010-10-21 14_03_18\Out\MS_61-1996.pdf'.But normally it is uploading well.(i.e not in webperformance test). So can u please help me in finding solution. And tell me is there any test settings that we have to change for doing a load test to a website which is deployed on third party system. It's urgent.

I am using vsts 2010 ultimate,windows-7 operating system.

Thanks in advance.

推荐答案

Hi Venkat,

Hi Venkat,

我从你的测试中可以理解的是,基本上你在尝试记录试图上传文件的动作,然后你就会出现上述错误。

What i could understand from your test is that basically when you are trying to record an action which tries to upload your file, then you are getting above error.

实际上,当我们尝试从VSTS测试中记录或运行测试时,它会从TestResult运行路径和所有变量/值从那里作为绝对路径。

Actually, when we try to record or run a test from VSTS test,then it is run from TestResult path and all the variables/values are taken as absolute path from there.

这里你的绝对路径(来自测试正在执行,即TestResults路径)不包含pdf文件,你是试图上传。那么你可以做什么,你可以尝试将pdf文件放在上面提到的路径中,然后尝试执行你的
测试。

Here your absolute path(from test is being executed i.e. TestResults path) does not contain the pdf file,which you are trying to upload. So what you can do,you can try to physically put the pdf file in the path mentioned above, and then try to execute your test.

希望这应该有效。

谢谢......

Akashdeep

Akashdeep


这篇关于使用vsts 2010进行负载和WebPerformance测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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