如何在负载测试期间在运行时将一页的记录分配给VU? [英] How to assign records of one page to VUs on run time during the load test ?
问题描述
在一个 html页面有 10 NBSP; "创建记录"按钮。
In one html page there are 10 "Create Record" button.
网络测试脚本 标识每个"创建记录"按钮。按钮由唯一的查询字符串参数和表单发布参数组成。
The web test scripts identifies each "Create Record" button by unique set of query string parameters and form post parameters.
我想在运行时解析页面的html并指定一个 "创建记录"。按钮到一个虚拟用户?
I want to parse the html of the page on run time and assign one "Create Record" button to one Virtual User ?
我可以使用HtmlAgility包程序集解析html,但我是 想知道如何分配一个"创建记录"按钮给一个虚拟用户?
I can parse the html using HtmlAgility pack assembly , but I am wondering how to assign one "Create Record" button to one virtual user ?
有可能吗?
Is it possible ?
Abhisek Biswal
Abhisek Biswal
推荐答案
您好AbhisekB,
Hi AbhisekB,
欢迎来到MSDN论坛。
Welcome to MSDN forum.
>>但我想知道如何分配一个"创建记录"。按钮给一个虚拟用户?
我们无法在运行时向一个虚拟用户分配一个"创建记录"按钮。顺便说一句,你为什么需要这样做?
We could not assign one "Create Record" button to one virtual user during run time. Btw,why do you need to do this?
我们可以模拟在负载测试期间调整用户负载。以下文档描述了编辑加载模式以模拟虚拟用户活动的详细信息:
We could simulate user load is adjusted during a load test. Following document describe the details of editing load patterns to model virtual user activities:
https://msdn.microsoft.com/en-us/library/dd997551.aspx
感谢您的理解。
祝你好运,
Fletcher
这篇关于如何在负载测试期间在运行时将一页的记录分配给VU?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!