sangrou 发表于 2009-12-3 16:08:02

Loadrunner 8.1测试webservice接口,返回Could not parse xs:dateTime!!求助

:L 用Loadrunner 8.1测试webservice接口,webservice接口中日期类型原为string类型,现为date类型,脚本如下:

web_service_call( "StepName=GetStatisticsAssetRecords_102",
                "SOAPMethod=InvestConsultantWebService.InvestConsultantWebServicePortType.GetStatisticsAssetRecords",
                "ResponseParam=response",
                "WSDL=http://192.168.15.44:8080/crm_v2/soap/InvestConsultantWebService?wsdl",
                "UseWSDLCopy=1",
                "Snapshot=t1259807365.inf",
                BEGIN_ARGUMENTS,
                "in0=20091102",
                "in1=20091202",
                "in2=2",
                "in3=0",
                "in4=100",
                "in5=-1",
                "xml:in6=<in6><string>7062</string></in6>",
                END_ARGUMENTS,
                BEGIN_RESULT,
                END_RESULT,
                LAST);

进行回放返回错误:Action.c(3): Error: The reason for the SOAP fault is:        "Could not parse xs:dateTime: Format.parseObject(String) failed"




针对以上是否可以在脚本中添加将string类型转为Date类型?C语言是否支持?请各位大虾指点
页: [1]
查看完整版本: Loadrunner 8.1测试webservice接口,返回Could not parse xs:dateTime!!求助