51Testing软件测试论坛

标题: 参数化的时候,出现这样的情况,不知道怎么解决 [打印本页]

作者: chengmiao83    时间: 2009-9-11 11:43
标题: 参数化的时候,出现这样的情况,不知道怎么解决
各位大虾, 我是新手, 现在开始学习loadrunner, 但是我在学习参数化的时候, 出现这样的情况, 文本文件是被20%给隔开了,不知道怎么处理

谁有过类似的经历 或者录制时候能避免此种情况的方法, 麻烦告诉我哈,谢谢

附上脚本:

web_custom_request("mail",
                "URL=http://mail.sohu.com/nbapp/95/mail",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://mail.sohu.com/nbapp/95/main#writeMail",
                "Snapshot=t18.inf",
                "Mode=HTML",
                "EncType=application/x-www-form-urlencoded; charset=UTF-8",
                "Body=id=0&stationery=&is_send=1&is_html=1&subject=about%20the%20test%20plan%20in%20the%20testing&from=lrtracysha1%40sohu.com&to=lrtracysha1%40sohu.com&cc=&bcc=&html=about%20the%20test%20plan%20in%20the%20testing%3CBR%3E&text=about%20the%20test%20plan%20in%20the%20testing&addressbook_use_flag=0&env="
                "%7B%22attach%22%3A%20%5B%5D%2C%20%22original_id%22%3A%200%2C%20%22draft_type%22%3A%200%2C%20%22message_id%22%3A%20%22%22%2C%20%22references%22%3A%20%5B%5D%2C%20%22reply_to%22%3A%20%5B%5D%2C%20%22in_reply_to%22%3A%20%5B%5D%2C%20%22mail_followup_to%22%3A%20%5B%5D%2C%20%22save_after_send%22%3A%201%2C%20%22save_to_addressbook%22%3A%201%2C%20%22thread%22%3A%200%7D&securityCode="

                "UPSPCLHPCPULALHLYPULYPLPELHLSPLCALHPNPULSCUPCLHPNCPLAPUCACPLAPCPECPLAPUCALYLSCSLYLALSCUPCLYPUCPLAPCPLCUPCLHCALYLSCSLYCALSLYPECACPLAPCPLCPLCPUCUPCLHCACPLAPUCSLYCAPELYLALSCPLCPUCUPCLHLSLYCALSLYPULHLYPLCPLYPULHLYPLCALYPLPCLYPULALYPLCALYPLCPLYLAPULYPULHLYPLCSLYPLCA&single=0&sendtime=1252634657296&_method=put",
                EXTRARES,
                "Url=/score/getscoreinfo", "Referer=http://mail.sohu.com/nbapp/95/main#writeMail", ENDITEM,
                LAST);
作者: chengmiao83    时间: 2009-9-11 11:52
顶上去, 没人知道怎么回事吗?

谢谢大家了!!
作者: cafard-haibin    时间: 2009-9-11 13:16
在参数时选择文本类型,然后再用记事本编辑你要设置的参数。
作者: chengmiao83    时间: 2009-9-11 13:32
谢谢!!!




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