51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[原创] LoadRunner 错误 -27225

[复制链接]
  • TA的每日心情
    擦汗
    2017-9-20 10:17
  • 签到天数: 2 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2011-8-29 16:31:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    Action()
    {

            web_url("192.168.0.22:8081",
                    "URL=http://192.168.0.22:8081/",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t22.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "URL=/Content/Images/Framework/head_bar_bg.jpg", ENDITEM,
                    "URL=/Content/Images/Framework/menu_Top.png", ENDITEM,
                    "URL=/Content/Images/Framework/subMenu_leftDot.png", ENDITEM,
                    "URL=/Content/Images/Framework/subMenu_leftDot_last.png", ENDITEM,
                    "URL=/Content/Images/Framework/footBar.png", ENDITEM,
                    "URL=/Content/Images/Framework/nav_bar_bg.png", ENDITEM,
                    "URL=/Content/Images/Framework/splitLine.png", ENDITEM,
                    "URL=/Content/Images/Framework/menu_adminUserManangeIcon.png", ENDITEM,
                    "URL=/Content/Images/Framework/menuItem_bg.png", ENDITEM,
                    "URL=/Content/Images/Framework/menu_financeManangeIcon.png", ENDITEM,
                    "URL=/Content/Images/Framework/menu_systemManageIcon.png", ENDITEM,
                    "URL=/Content/Images/Framework/menu_userManangeIcon.png", ENDITEM,
                    LAST);

            web_url("CreateReport.png",
                    "URL=http://192.168.0.22:8081/R/C",
                    "TargetFrame=",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=http://192.168.0.22:8081/",
                    "Snapshot=t23.inf",
                    "Mode=HTML",
                    EXTRARES,
                    "URL=../Content/Images/Framework/head_bar_bg.jpg", ENDITEM,
                    "URL=../Content/Images/Framework/menu_Top.png", ENDITEM,
                    "URL=../Content/Images/Framework/subMenu_leftDot.png", ENDITEM,
                    "URL=../Content/Images/Framework/subMenu_leftDot_last.png", ENDITEM,
                    "URL=../Content/Images/Framework/footBar.png", ENDITEM,
                    "URL=../Content/Images/Framework/nav_bar_bg.png", ENDITEM,
                    "URL=../Content/Images/Framework/splitLine.png", ENDITEM,
                    "URL=../Content/Images/Framework/menuItem_bg.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_adminUserManangeIcon.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_financeManangeIcon.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_userManangeIcon.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_systemManageIcon.png", ENDITEM,
                    LAST);

            lr_start_transaction("tran_scyl");

            lr_think_time(15);

            web_submit_data("DoCreateReport",
                    "Action=http://192.168.0.22:8081/R/D",
                    "Method=POST",
                    "TargetFrame=",
                    "RecContentType=text/html",
                    "Referer=http://192.168.0.22:8081/R/C",
                    "Snapshot=t24.inf",
                    "Mode=HTML",
                    ITEMDATA,
                    "Name=stockCo", "Value={NewParam} 这里以前是60000",ENDITEM,
                    "Name=reTemp", "Value=1", ENDITEM,
                    "Name=reportRe", "Value=国际", ENDITEM,
                    "Name=x", "Value=77", ENDITEM,
                    "Name=y", "Value=21", ENDITEM,
                    EXTRARES,
                    "URL=../Content/Images/Framework/head_bar_bg.jpg", ENDITEM,
                    "URL=../Content/Images/Framework/menu_Top.png", ENDITEM,
                    "URL=../Content/Images/Framework/subMenu_leftDot.png", ENDITEM,
                    "URL=../Content/Images/Framework/subMenu_leftDot_last.png", ENDITEM,
                    "URL=../Content/Images/Framework/footBar.png", ENDITEM,
                    "URL=../Content/Images/Framework/nav_bar_bg.png", ENDITEM,
                    "URL=../Content/Images/Framework/splitLine.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_adminUserManangeIcon.png", ENDITEM,
                    "URL=../Content/Images/Framework/menuItem_bg.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_financeManangeIcon.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_userManangeIcon.png", ENDITEM,
                    "URL=../Content/Images/Framework/menu_systemManageIcon.png", ENDITEM,
                    LAST);

            lr_end_transaction("tran_scyl", LR_AUTO);

       // lr_eval_string("{NewParam}");

            return 0;
    }


    现在的错误是:
    Action.c(6): web_url("CreateReport") 已成功,393705 个正文字节,10075 介标头字节          [MsgId: MMSG-26386]
    Action.c(31): 通知: 参数 NewParam = 891 [表 = NewParam] 的下一行。
    Action.c(31): 通知: 正在获取参数“NewParam”的新值:表 =“NewParam.dat”列 =“0”行 =“891”。
    Action.c(31): 通知: 参数替换:参数“NewParam”=“002384    ”
    Action.c(31): 错误 -27225: “Value002384    ”参数(编号 11)在“ITEMDATA”中无法识别          [MsgId: MERR-27225]
    Action.c(31): web_submit_data("DoCreateReport") 最高严重级别为“ERROR”,0 个正文字节,0 个标头字节          [MsgId: MMSG-26388]
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2011-8-31 17:05:42 | 只看该作者
    参数列表里面的值有问题
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2018-2-28 18:04
  • 签到天数: 40 天

    连续签到: 1 天

    [LV.5]测试团长

    3#
    发表于 2011-9-7 17:22:51 | 只看该作者
    重新看下参数列表,对照下是否存在特殊符号
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-24 14:57 , Processed in 0.074911 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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