使用Visual Studio 2015 webtest,我们可以同时提交100个或更多请求吗? [英] Using Visual Studio 2015 webtest, can we submit 100 or more requests at the same time?

查看:104
本文介绍了使用Visual Studio 2015 webtest,我们可以同时提交100个或更多请求吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,( 使用Visual Studio 2015 webtest,我们可以同时提交100个或更多请求吗?)


我使用2015 VSTS创建webperformancetest脚本一个功能提交50到100个异步请求。


我试图通过更新for循环来提交它们,但它们是顺序提交。我想知道是否有更好的方法同时提交100个请求(模拟异步)


问候


Satish




satish k

解决方案

是的。这是负载测试的目的。创建一个拥有100个虚拟用户(VU)的虚拟用户,让它运行一个发送您的请求并处理响应的Web测试。因此,在所有VU中,100个请求将同时发送。


如果您的目标是仅运行100个并发测试然后停止,则设置运行中的迭代次数设置,或通过负载测试创建向导到100.负载测试也可以在一段时间内创建持续负载。


问候


阿德里安


Hi, ( Using Visual Studio 2015 webtest, can we submit 100 or more requests at the same time?)

I am using 2015 VSTS for creating webperformancetest scripts and one functionality submits 50 to 100 requests asynchronous.

I am trying to submit them by updating in for loop but they are sequential submission. I wanted to know if any better approach to submit the 100 requests at the same time ( to simulate async)

Regards

Satish


satish k

解决方案

Yes. That is the purpose of a load test. Create one that has 100 virtual users (VUs), have it run one web test that sends your request and handles the response. Thus across all the VUs 100 requests will be sent at the same time.

If your goal is to just run the 100 simultaneous tests and then stop, then set the number of iterations in the run settings, or via the load test creation wizard to 100. The load test can also create a sustained load for a period of time.

Regards

Adrian


这篇关于使用Visual Studio 2015 webtest,我们可以同时提交100个或更多请求吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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