|
如果可以测试,需要注意些什么?现在可以录制脚本,并回放正常,但是不能真正模拟场景。
查看脚本里,在进入Hyperion插件查询部分全是乱码,请问要注意些什么啊?
//下面是进入带Hyperion插件查询部分代码
web_url("Browse",
"URL=http://192.168.13.60:7001/Hyperion/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=0000011aa04319cf-0000-0401-c0a80d3c&DOC_VERSION=1&JScript=enable&user=globaladministrator&pass=globaladministrator&dipuser=maliqun",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
//lr_think_time(3);
//web_add_cookie("zeroadminstate=true; DOMAIN=192.168.13.60");
web_url("zeroAdminJS",
"URL=http://192.168.13.60:7001/Hyperion/dataaccess/zeroAdminJS",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.13.60:7001/Hyperion/dataaccess/ZEROADMINHTML?zeroadminid=0000011ab38a7b30-0000-0a29-c0a80d3c",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"URL=Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=0000011aa04319cf-0000-0401-c0a80d3c&DOC_VERSION=1&JScript=enable&user=globaladministrator&pass=globaladministrator&dipuser=maliqun&zeroadminid=0000011ab38a7b30-0000-0a29-c0a80d3c", ENDITEM,
LAST);
web_custom_request("Browse_2",
"URL=http://192.168.13.60:7001/Hyperion/dataaccess/Browse?REQUEST_TYPE=getSectionMap",
"Method=POST",
"Resource=1",
"RecContentType=application/octet-stream",
"Referer=",
"EncType=application/octet-stream",
"Body=URL_PARAM_LENGTH=168\n"
"DOC_NAME=XXXX.bqy&DOC_UUID=0000011aa04319cf-0000-0401-c0a80d3c&DOC_VERSION=1&MULTI_PART=0&IS_NEW_QUERY=0&CURRENT_REQUEST_ID=0000011ab38a7d72-0000-0a29-c0a80d3c1INTL",
LAST);
web_custom_request("Browse_3",
"URL=http://192.168.13.60:7001/Hyperion/dataaccess/Browse?REQUEST_TYPE=getAuthOCEList",
"Method=POST",
"Resource=1",
"RecContentType=application/octet-stream",
"Referer=",
"EncType=application/octet-stream",
"Body=URL_PARAM_LENGTH=168\n"
"DOC_NAME=XXXX.bqy&DOC_UUID=0000011aa04319cf-0000-0401-c0a80d3c&DOC_VERSION=1&MULTI_PART=0&IS_NEW_QUERY=0&CURRENT_REQUEST_ID=0000011ab38a7d72-0000-0a29-c0a80d3c2INTL",
LAST);
web_custom_request("Browse_4",
"URL=http://192.168.13.60:7001/Hyperion/dataaccess/Browse?REQUEST_TYPE=53805078",
"Method=POST",
"Resource=1",
"RecContentType=application/octet-stream",
"Referer=",
"EncType=application/octet-stream",
"BodyBinary=URL_PARAM_LENGTH=348\n"
"DOC_NAME=XXXX.bqy&DOC_UUID=0000011aa04319cf-0000-0401-c0a80d3c&DOC_VERSION=1&API_CODE=API_CODE_ODBC&SERVER_CODE=SVR_CODE_ODBC&OCE_NAME=YLJFFX.oce&OCE_UUID=00000119b8461f2d-0000-04b7-c0a80d3c&DB_HOST_NAME=yljsfx&IS_DB_CREDENTIAL_FROM_OM=1&DB_USER_NAME=BRIO8&MULTI_PART=1&IS_NEW_QUERY=0&CURRENT_REQUEST_ID=0000011ab38a7d72-0000-0a29-c0a80d3c3REQ_LENGTH=344\n"
"\\x00\\x00\\x03"
"Rx淪v\n"
"騮Sp螋300d"
"\\x00"
"俫"
"\\x8C\\x0C\\x0C"
"l@"
"\\xBA"
"2'"
"\\xAB"
"8瑽"
"\\x04\\xC8\\x02"
"*鸱"
"\\xD0\\x0B"
"坵\n"
"巜w\r"
"\\x89\\x0F"
"\rv\r\n"
"f"
"\\x06"
"婋"
"\\x01"
"1"
"\\x0F\\x10"
"嚺{"
"\\x82\\x05\\xFD\\x1C"
"}]9亅"
"\\xFF"
"袗"
"\\xF8\\x00\\xC7"
" G_"
"\\x14\\x0E"
"萳"
"\\x90"
".悏嶢铖 振>灹!"
"\\xC1"
"%E檡"
"\\xE9\\x06"
"@k"
"\\x19"
"X仒"
"\\x05\\xB7\\x1A"
"C"
"\\x98\\x1A\\x11"
"躩宍j"
"\\x14"
"■"
"\\x89\\x03"
"1;"
"\\x10\\xE7"
"&鎑"
"\\x16"
"栨1 "
"\\x01"
"惔(詷0G烶滎隶"
"\\x08\\xEE"
" ~<娻."
"\\x12"
"喓"
"\\x9A\\x19"
"蒬V⊿槧l琰壹"
"\\x12"
"F"
"\\xA8"
"\""
"\\x90\\x02\\x10"
";"
"\\x8C\\x19"
"*纴d"
"\\x02"
"#T"
"\\x01\\x0B\\xC9"
"&琡咹(b\tA洽\"="
"\\x14"
"1恘- V奇;榡"
"\\x84"
" H"
"\\xF9\\x05"
"h`绁肨凞"
"\\x06"
" "
"\\x14\\xC4\\x01"
"\t9$"
"\\x05\\xC1\\x01\\xF1"
" 5瀪犇偄r"
"\\x01"
"#腟| 弲"
"\\x06\\x05"
"国吀8"
"\\x81\\x1D\\x87\\x1C"
"="
"\\x02"
"@"
"\\x1C\\x1C\\xE2\\x1F"
"潢"
"\\x12\\x1F\\x10"
"滹"
"\\x8C"
"\""
"\\x0F\\xD2"
")"
"\\x81"
"=剶"
"\\x1A\\x10"
"K鈭A"
"\\x14"
"単爢"
"\\x86\\x05"
"椾"
"\\x17\\xA5"
":绉"
"\\xA4\\x06"
"$Η耫"
"\\x1F\\x01\\x19\\x00\\xBF\\x03"
"撽DBPWD_LENGTH=32\n"
"é钝:B维No"
"\\x08"
"唃钝偀疄侏肍S\n"
"福"
"\\xED"
","
"\\xC4\\x02"
"漇ECNAME_LENGTH=13\n"
"鏌ヨ_鐢ㄦ埛INTL",
LAST);
[ 本帖最后由 爱瑞丝 于 2008-6-24 09:12 编辑 ] |
|