VSTS Web Load测试参数访问方法 [英] VSTS Web Load test parameter access methods

查看:86
本文介绍了VSTS Web Load测试参数访问方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在远离LoadRunner并转移到VSTS。我有以下查询

We are moving away from LoadRunner and shifting to VSTS.I have the following query

VSTS是否提供任何内置功能来控制参数的顺序与LoadRunner相比,在运行期间访问?有没有办法在VSTS中复制以下内容?

Does VSTS provide any in-built functionality to control the sequence of how the parameters are accessed during a run in comparison to LoadRunner? Is there a way to replicate the following in VSTS?

在LR中,我们有以下方式访问测试数据的脚本:

所有迭代都是唯一的
每次出现的唯一值

每次迭代的更新值
每次出现
顺序

In LR we have scripts which access test data following ways:
Unique for all iterations
Unique for each occurrence
Update value in each iteration
sequential each occurrence

推荐答案

Hi Shruti09,

Hi Shruti09,

不太确定您使用的是VS IDE还是Azure DevOps,但据我所知,有三种数据库访问方法(Sequential,在网络性能测试中,你可以从Tim的回复中得到一些建议:

Not very sure that you use the VS IDE or the Azure DevOps, but as far as I know, there are three database access method(Sequential, Random, and Unique) in the web performance tests, you could also get some suggestion from Tim's reply here:

https://social.msdn.microsoft.com/Forums/en-US / 85018ca8-3383-43ad-be5b-5bf85a8e8c8c / problem-with-access-methodquot-in-web-test?forum = vstswebtest

https://social.msdn.microsoft.com/Forums/en-US/85018ca8-3383-43ad-be5b-5bf85a8e8c8c/problem-with-quotaccess-methodquot-in-web-test?forum=vstswebtest

您也可以自定义代码来控制数据库。

You could also custom code to control the database.

最好的问候,

杰克


这篇关于VSTS Web Load测试参数访问方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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