TA的每日心情 | 开心 2014-11-14 22:56 |
---|
签到天数: 2 天 连续签到: 1 天 [LV.1]测试小兵
|
执行到横线后页面变成乱码
脚本如下:
Action()
{
lr_think_time(7);
web_url("toUploadPhotoPage.action",
"URL=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.111/phm/toAlbumListPage.action",
"Snapshot=t64.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("dtree.css",
"URL=http://192.168.1.111/phm/camerist/css/dtree.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t65.inf",
LAST);
web_url("dtree.js",
"URL=http://192.168.1.111/phm/camerist/js/dtree.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t66.inf",
LAST);
web_url("swfupload.js",
"URL=http://192.168.1.111/phm/camerist/js/swfupload.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t67.inf",
LAST);
web_url("swfupload.swfobject.js",
"URL=http://192.168.1.111/phm/camerist/js/swfupload.swfobject.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t68.inf",
LAST);
web_url("swfupload.queue.js",
"URL=http://192.168.1.111/phm/camerist/js/swfupload.queue.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t69.inf",
LAST);
web_url("fileprogress.js",
"URL=http://192.168.1.111/phm/camerist/js/fileprogress.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t70.inf",
LAST);
web_url("handlers.js",
"URL=http://192.168.1.111/phm/camerist/js/handlers.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t71.inf",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("join.gif",
"URL=http://192.168.1.111/phm/bosom/images/join.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t72.inf",
LAST);
web_url("swfupload.swf",
"URL=http://192.168.1.111/phm/camerist/js/swfupload.swf?swfuploadrnd=418751220",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t73.inf",
LAST);
web_url("joinbottom.gif",
"URL=http://192.168.1.111/phm/bosom/images/joinbottom.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t74.inf",
LAST);
web_concurrent_end(NULL);
lr_think_time(30);
web_submit_data("upload",
"Action=http://192.168.1.111/phm/upload",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=http://192.168.1.111/phm/toUploadPhotoPage.action",
"Snapshot=t75.inf",
"Mode=HTTP",
ITEMDATA,
"Name=userId", "Value=3824", ENDITEM,
"Name=action", "Value=uploadPhoto", ENDITEM,
"Name=userName", "Value=aa", ENDITEM,
"Name=url", "Value=/phm/toAlbumDetailPage.action", ENDITEM,
"Name=pictureType", "Value=52", ENDITEM,
"Name=typeId", "Value=null", ENDITEM,
"Name=sysSavePath", "Value=/PLAY_MANAGE", ENDITEM,
"Name=picTypeId", "Value=4494", ENDITEM,
"Name=isUnfurl", "Value=0", ENDITEM,
"Name=isRun", "Value=1", ENDITEM,
"Name=playId", "Value=52", ENDITEM,
"Name=ajax_typeId", "Value=3405", ENDITEM,
"Name=isBatch", "Value=0", ENDITEM,
"Name=uploadType", "Value=0", ENDITEM,
"Name=photoName", "Value=2222", ENDITEM,
"Name=fileSizeLimit", "Value=10", ENDITEM,
"Name=imgfile", "Value=D:\\\\a\\\\07.jpg", "File=Yes", ENDITEM,
"Name=photoKey", "Value=2222", ENDITEM,
"Name=photoDesc", "Value=2222", ENDITEM,
"Name=groupDesc", "Value=", ENDITEM,
"Name=groupKey", "Value=???", ENDITEM,
"Name=uploadCount/", "Value=0", ENDITEM,
LAST);
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
web_concurrent_start(NULL);
web_url("dtree.css_2",
"URL=http://192.168.1.111/phm/view/styles/dtree.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t76.inf",
LAST);
web_url("dtree.js_2",
"URL=http://192.168.1.111/phm/view/js/dtree.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t77.inf",
LAST);
web_url("myAjax.js",
"URL=http://192.168.1.111/phm/view/js/myAjax.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t78.inf",
LAST);
web_url("j8ZEybEL9s.jpg",
"URL=http://192.168.1.111/PLAY_MANAGE/SMALLIMGPATH/20100903/j8ZEybEL9s.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t79.inf",
LAST);
web_url("iconew2.gif",
"URL=http://192.168.1.111/phm/view/images/iconew2.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t80.inf",
LAST);
web_url("LxvXB9S4ik.jpg",
"URL=http://192.168.1.111/PLAY_MANAGE/SMALLIMGPATH/20100903/LxvXB9S4ik.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t81.inf",
LAST);
web_concurrent_end(NULL);
web_url("empty.gif",
"URL=http://192.168.1.111/phm/view/images/empty.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.111/phm/toAlbumDetailPage.action?typeId=4494",
"Snapshot=t82.inf",
LAST);
return 0;
}
注:
1 vugen的Tools -> Recoding Options -> Advanced -> Support charset -> UTF-8 已选上
2 这个地方也设置了
3 查看页面的编码为:GB2312
[ 本帖最后由 sxczcql666 于 2010-9-3 19:08 编辑 ] |
|