51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1355|回复: 2
打印 上一主题 下一主题

[求助] 参数设置(高手进来)

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-4-3 17:23:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请教web_reg_save_param下的参数应该如何设置?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2006-4-3 20:59:19 | 只看该作者
不是高手也能回答:


NOTFOUND: The handling option when a boundary is not found and an empty string is generated.
"Notfound=error", the default value, causes LoadRunner to issue an error when a boundary is not found.
"Notfound=warning" ("Notfound=empty" in earlier versions), does not issue an error. If the boundary is not found, it sets the parameter count to 0, and continues executing the script. The "warning" option is ideal if you want to see if the string was found, but you do not want the script to fail.
Note: if Continue on Error is enabled for the script, then even when NOTFOUND is set to "error", the script continues when the boundary is not found, but an error message is written to the Extended log file. This attribute is optional.


LB: The left boundary of the parameter or the dynamic data. If you do not specify an LB value, it uses all of the characters from the beginning of the data as a boundary. Boundary parameters are case-sensitive. To further customize the search text, use one or more text flags. This attribute is required. See the Boundary Arguments section.
RB: The right boundary of the parameter or the dynamic data. If you do not specify an RB value, it uses all of the characters until the end of the data as a boundary. Boundary parameters are case-sensitive. To further customize the search text, use one or more text flags. This attribute is required. See the Boundary Arguments section.
RelFrameID: The hierarchy level of the HTML page relative to the requested URL. The possible values are ALL or a number. Click RelFrameID Attribute for a detailed description. This attribute is optional.
ORD: This parameter, also known as Instance, indicates the ordinal position or instance of the match. The default instance is 1. If you specify "All," it saves the parameter values in an array. This attribute is optional.
Search: The scope of the search-where to search for the delimited data. The possible values are Headers (Search only the headers), Body (search only body data, not headers), Noresource (search only the HTML body, excluding all headers and resources), or ALL (search body , headers, and resources). The default value is ALL. This attribute is optional.
SaveOffset: The offset of a sub-string of the found value, to save to the parameter. The default is 0. The offset value must be non-negative.
SaveLen: The length of a sub-string of the found value, from the specified offset, to save to the parameter. The default is -1, indicating to save to the end of the string.
Convert: The possible values are:
HTML_TO_URL: convert HTML-encoded data to a URL-encoded data format
HTML_TO_TEXT: convert HTML-encoded data to plain text format


主要用的是lb和rb

评分

参与人数 1综合技术指数 +10 收起 理由
steave5139 + 10 我很赞同

查看全部评分

回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2006-4-4 08:37:00 | 只看该作者
楼上非常感谢!谢谢啦!
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-23 06:23 , Processed in 0.070597 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表