51Testing软件测试论坛
标题:
急急急,求高手指点,上传附件时回放报错
[打印本页]
作者:
oztime
时间:
2016-6-18 14:15
标题:
急急急,求高手指点,上传附件时回放报错
web_submit_data("fileuploadAjaxAction!createFile.dhtml",
"Action=http://172.22.0.170:8080/stzcww/fileupload/fileuploadAjaxAction!createFile.dhtml",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/plain",
"Referer=",
"Snapshot=t18.inf",
"Mode=HTML",
ITEMDATA,
"Name=Filename", "Value=Chrysanthemum.pdf", ENDITEM,
"Name=file_from", "Value=file", ENDITEM,
"Name=group_name", "Value=yfbgGroup", ENDITEM,
"Name=bus_pkey", "Value={CorrelationParameter_1}", ENDITEM,
"Name=id", "Value=WU_FILE_0", ENDITEM,
"Name=name", "Value=Chrysanthemum.pdf", ENDITEM,
"Name=type", "Value=application/octet-stream", ENDITEM,
"Name=lastModifiedDate", "Value=2016-06-02 15:06:47", ENDITEM,
"Name=size", "Value=879394", ENDITEM,
"Name=FILE_MD5", "Value=076e3caed758a1c18c91a0e9cae3368f", ENDITEM,
"Name=FILE_ID", "Value={NewParam}", ENDITEM,
"Name=HALF_DATA", "Value=N", ENDITEM,
"Name=FILE_TYPE", "Value=pdf", ENDITEM,
"Name=PART_SIZE", "Value=879394", ENDITEM,
"Name=fileVal", "Value=Chrysanthemum.pdf", "File=yes", ENDITEM,
"Name=Upload", "Value=Submit Query", ENDITEM,
LAST);
作者:
yizhoubo2011
时间:
2016-6-18 17:35
报什么错,你要截出图来,不然别人怎么回答你问题呢
作者:
yizhoubo2011
时间:
2016-6-18 17:36
报什么错,得截图出来,别人才能回答你问题
作者:
北京狼族
时间:
2016-6-20 12:33
本帖最后由 北京狼族 于 2016-6-20 12:45 编辑
"Name=fileVal", "Value=Chrysanthemum.pdf", "File=yes", ENDITEM,
"Name=Upload", "Value=Submit Query", ENDITEM,
是不是到这就报错了???个人感觉是服务器上出现了重名文件或是文件夹,导致创建文件或是文件夹出现错误,试试吧日期改成按系统时间命名。
没有报错截图只能猜测到这了
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2