loadrunner http协议put模式脚本编写

web_submit_data("rest", 
"Action=http://www.test.com/111ojhjh.do", 
"Method=PUT", 
"RecContentType=text/html", 
"EncType=application/x-www-form-urlencoded", 
ITEMDATA, 
"Name=timestamp", "Value={timestamp}", ENDITEM, 
"Name=random", "Value={random}", ENDITEM, 
"Name=pin", "Value=henry{pin}", ENDITEM, 
"Name=key", "Value={key}", ENDITEM, 
"Name=signature", "Value={timestamp}{random}{pin}", ENDITEM, 
"Name=rfid", "Value={rfid}", ENDITEM, 
LAST );

 

posted on 2014-06-06 21:37  babyblue  阅读(927)  评论(0编辑  收藏  举报