擅长博弈 2014-12-03 07:25 采纳率: 0%
浏览 3734

loadrunner关联函数获取id报错,请问左右边界该怎么写



96
UN0096
第一
                                            </td>
                                            <td>
                                                    <span class="red">否</span>

                                            </td>
                                            <td>未知 </td>
                                            <td>未知</td>
                                            <td>未知</td>
                                            <td>ddd</td>
                                            <td>010-85261082</td>
                                            <td>13521327898</td>
                                            <td style="font-size: 12px;">
                                                <div class="hidden-phone visible-desktop action-buttons">

                                                    <a target="_blank" title="详情" class="green" href="/Assoc/Unit/Details/96">
                                                        <i class="icon-pencil bigger-130"></i>详情</a>

                                                </div>
                                            </td>
                                        </tr>                        
                                        <tr>
                                            <td>95</td>
                                            <td>UN0095</td>
                                            <td>33333

                                            </td>
                                            <td>
                                                    <span class="red">否</span>

                                            </td>
                                            <td>未知 </td>
                                            <td>未知</td>
                                            <td>未知</td>
                                            <td>ddddddd</td>
                                            <td>010-85261258</td>
                                            <td>13521327898</td>
                                            <td style="font-size: 12px;">
                                                <div class="hidden-phone visible-desktop action-buttons">

                                                    <a target="_blank" title="详情" class="green" href="/Assoc/Unit/Details/95">
                                                        <i class="icon-pencil bigger-130"></i>详情</a>

                                                </div>
                                            </td>
                                        </tr>           


        我现在要通过关联函数,获取96,95.....(是id号)的值。
        关联函数:
            web_reg_save_param_ex(
    "ParamName=FindId",
    "LB=<tr>\r\n<td>",
    "RB=</td>\r\n<td>UN",
    SEARCH_FILTERS,
    "Scope=ALL",
    "ContentType=text/html",
    LAST);


    运行结果报错:
    FindAction.c(59): Error -35061: No match found for the requested parameter "FindId". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 9999 bytes, use web_set_max_html_param_len to increase the parameter size    [MsgId: MERR-35061]

FindAction.c(59): web_submit_data("Unit") highest severity level was "ERROR", 4076 body bytes, 306 header bytes [MsgId: MMSG-26388]

请大家帮帮忙,指点一下。是不是左右边界写的不对。该怎样写?

  • 写回答

1条回答 默认 最新

  • WorldMobile 2015-01-09 00:47
    关注

    问题出在
    web_reg_save_param_ex(
    "ParamName=FindId",
    "LB=

    \r\n",
    "RB=\r\nUN",
    SEARCH_FILTERS,
    "Scope=ALL",
    "ContentType=text/html",
    LAST);
    这里了
    你在run-time setting --log--always send messages --extended log 中把parameter substitution 勾上,运行,查看FindId这个参数的值。
    评论

报告相同问题?

悬赏问题

  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)