在 loadrunner 的 truclient 中参数化 url
parameterize url in truclient in loadrunner
我正在尝试在真正的客户端协议中为 url 值设置参数,但数据未通过。
URl: https://test.com/testfolder/mytest?testid=1234567
我试过按以下格式进行参数化
https://test.com/testfolder/mytest?testid=TC.getParam("testid")
在加载测试时,url 没有替换参数值。
这是一个解释如何操作的视频。
如果您已经在其他地方定义了参数,则不需要 TC.setParam
我正在尝试在真正的客户端协议中为 url 值设置参数,但数据未通过。
URl: https://test.com/testfolder/mytest?testid=1234567
我试过按以下格式进行参数化
https://test.com/testfolder/mytest?testid=TC.getParam("testid")
在加载测试时,url 没有替换参数值。
这是一个解释如何操作的视频。 如果您已经在其他地方定义了参数,则不需要 TC.setParam