擅长博弈 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 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建