loadrunner中web_submit_data()和web_submit_form()的区别
web_submit_data()和web_submit_form()的区别
创新互联主要从事成都网站建设、成都网站制作、网页设计、企业做网站、公司建网站等业务。立足成都服务泰顺,十余年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:13518219792
web_submit_form录制时会判断浏览器中是否有cache的内容,如果有web_submit_form函数中只保存和缓存不相同的数据;
例如:web_submit_form("login.action",
"Snapshot=t15.inf",
ITEMDATA,
"Name=user.email", "Value=yinyongjie01@163.com", ENDITEM,
"Name=user.password", "Value=110110", ENDITEM,
LAST);
web_submit_data()录制时无需判断浏览器是否有cache,把所有录制的数据都保存在web_submit_data()函数中;
例如:web_submit_data("login.action",
"Action=http://192.168.198.133:8080/dangdang_dk/user/login.action",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.198.133:8080/dangdang_dk/user/loginForm.jsp",
"Snapshot=t18.inf",
"Mode=HTML",
ITEMDATA,
"Name=struts.token.name", "Value=struts.token", ENDITEM,
"Name=struts.token", "Value=CH06XNE9MDW7Q0QOKVDYFWRDAZ3DEMTR", ENDITEM,
"Name=user.email", "Value=yinyongjie06@163.com", ENDITEM,
"Name=user.password", "Value=110110", ENDITEM,
LAST);
分享文章:loadrunner中web_submit_data()和web_submit_form()的区别
文章来源:http://cdiso.cn/article/jedggi.html