我们可以从参数集中填充QueryString参数和值吗? [英] Can we populate the QueryString Parameters and values from Parameter sets?

查看:122
本文介绍了我们可以从参数集中填充QueryString参数和值吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该如何在VSTS中配置基于URL的负载测试,以便可以使用不同的参数值重复进行负载测试. 我可以从参数集中加载参数和值吗?如果是,该怎么办?

How should i configure my URL based load test in VSTS such that i can repeat the load test with different parameter values. Can I load the parameters and values from Parameter sets ? If yes, How to do that?

推荐答案

您可以从查询字符串参数中加载参数和值.它将在您配置的URL中添加字符串?para=value.但是它不能使用不同的参数值重复进行负载测试.您要实现的功能是数据驱动测试,可以参考此文章进行设置:

You can load the parameters and values from the Query String Parameters. It will add the string ?para=value in the URL you configured. But it cannot repeat the load test with different parameter values. The feature you want to achieve is Data-Driven test, you can refer to this article to setup it: Data-Driven Load Tests using Visual Studio Online and SQL Azure.

这篇关于我们可以从参数集中填充QueryString参数和值吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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