如何向loadrunner中插入数据
我是菜鸟 ,想问一下如何在lr中向数据库中插入数据(sql2005的),以下是脚本Action()
{
web_service_call( "StepName=ServiceSimple_101",
"SOAPMethod=DealInfo.DealInfoSoap.ServiceSimple",
"ResponseParam=response",
"WSDL=http://172.16.111.111:8011/DealInfo.asmx?wsdl",
"UseWSDLCopy=1",
"Snapshot=t1275375544.inf",
BEGIN_ARGUMENTS,
"publick=tttt",
"privatek=J0ZwGTXZUwhVRnYIfyaJQ",
"DealTime=2010-06-01",
"TermialID=",
"CustomerID=",
"DataSource=",
"DealType=充值",
"BankCardID=2000010000000070",
"DealAmount=0.01",
"AffairType=对方的负担",
"ExprCardID=6660718800200002245",
"ValiCode=dfd6265",
"PhoneID=",
"UserName=",
"CarID=",
"EngerID=",
"OrderId=2626565",
"PayStatus=112312",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_think_time(3);
return 0;
}
日志提示调用成功 :L自己顶 这是一个web service么,如果你想处理成功,把发给web service的数据包做对格式就行了,你不用操作数据库,只要叫web service操作就行了
页:
[1]