51Testing软件测试论坛

标题: 回放Error -27151: The "URL" argument is missing or empty [打印本页]

作者: 枫飞林    时间: 2010-5-14 15:25
标题: 回放Error -27151: The "URL" argument is missing or empty
web_url("radio_selected_hover.gif",
                "URL=https://9.181.86.165:9443/BusinessSpace/com/ibm/bspace/common/util/ui/img/radio_selected_hover.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=https://9.181.86.165:9443/BusinessSpace/com/ibm/bspace/common/util/ui/css/commonUI.css",
                "Snapshot=t22.inf",
                LAST);

        web_custom_request("be2f05005f2711dfa977d0cbbedb19bc",
                "URL=https://9.181.86.165:9443/BusinessSpace/services/request/spaces/be2f05005f2711dfa977d0cbbedb19bc",
                "Method=GET",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=https://9.181.86.165:9443/BusinessSpace/banner.jsp",
                "Snapshot=t23.inf",
                "Mode=HTML",
                "EncType=application/x-www-form-urlencoded; charset=UTF-8",
                "Body={\"ID\": \"be2f05005f2711dfa977d0cbbedb19bc\", \"COPY_ID\": \"id_1224187206766\", \"SPACE_DATA\": {\"NAME\": \"testspace\", \"TEMPLATE\": \"N\", \"OWNER\": \"ylcao\", \"ID\": \"be2f05005f2711dfa977d0cbbedb19bc\", \"DESCRIPTION\": \"\", \"THEMES\": \"defaultTheme\"}}",
                EXTRARES,
                "Url=", "Referer=https://9.181.86.165:9443/BusinessSpace/banner.jsp", ENDITEM,
                "Url=*/pages/", "Referer=https://9.181.86.165:9443/BusinessSpace/banner.jsp", ENDITEM,
                LAST);


回放日志:createspace.c(6): web_url("icon_addspace_hov.gif") was successful, 1254 body bytes, 256 header bytes          [MsgId: MMSG-26386]
createspace.c(14): web_url("radio_selected.gif") was successful, 345 body bytes, 255 header bytes          [MsgId: MMSG-26386]
createspace.c(22): web_url("radio.gif") was successful, 329 body bytes, 255 header bytes          [MsgId: MMSG-26386]
createspace.c(32): web_url("radio_hover.gif") was successful, 334 body bytes, 255 header bytes          [MsgId: MMSG-26386]
createspace.c(40): web_url("radio_selected_hover.gif") was successful, 550 body bytes, 255 header bytes          [MsgId: MMSG-26386]
createspace.c(48): Error -27151: The "URL" argument is missing or empty (before the "ENDITEM" argument number 14)          [MsgId: MERR-27151]
createspace.c(48): web_custom_request("be2f05005f2711dfa977d0cbbedb19bc") highest severity level was "ERROR", 0 body bytes, 0 header bytes          [MsgId: MMSG-26388]
Ending action createspace.
Ending iteration 1.
作者: PrefTest    时间: 2010-5-14 15:57
https://9.181.86.165:9443/Busine ... 1dfa977d0cbbedb19bc

这个URL地址是动态变化的吧?

估计be2f05005f2711dfa977d0cbbedb19bc这个需要做关联处理
作者: 5555    时间: 2010-5-14 16:42
代码挺正常的啊,关注~

不过,感觉有点奇怪,你的脚本中这两句有点看不明白,一个URL是等于空,一个是*/pages/ 下的哪个文件没也有指定! 没看明白~

                EXTRARES,
                "Url=", "Referer=https://9.181.86.165:9443/BusinessSpace/banner.jsp", ENDITEM,
                "Url=*/pages/", "Referer=https://9.181.86.165:9443/BusinessSpace/banner.jsp", ENDITEM,  
                LAST);

[ 本帖最后由 5555 于 2010-5-14 16:57 编辑 ]




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2