x-man-bb 发表于 2009-6-27 22:36:07

loadrunner中webservice参数化问题(不能序列化)

最近在压一个webservice,这个接口有一个输入参数,这个参数输入的是XML类型的数据,如:
<MsgRequest><MsgHeader><MessageID>a78b143b-c6fe-449e-a063-e041eacbf093</MessageID><SendTime>2009-06-2518:52:55</SendTime><MessageType>ESBTest_GetOrganInfo</MessageType><UserId>ESBUser1</UserId><UserPwd>TQpPKO5+wqQAab/Qv1c6jldVfHKUCPMjDvbQI7qfkUnqGq2Rz2w7FZYLJR96+AZIs8BMWq/gXP6sO7p33xpw3YtA72UqYPeenCAttmb53Q0RyTq4jv0mcpb948Gakc33DxQyI/HXPtsnlvGrvTxSrBmrD9mcGpoyBUMQ+EO0QGI=</UserPwd><ExpireTime>2009072518:57:55</ExpireTime><Nonce>MTMzODU2NDgyNw==</Nonce></MsgHeader><Parameter><ColumnFilter>nNodeID,cFlag,dStartDate,dEndDate,vcOrganID,vcParentID,vcName,vcFullName,cOrganType,cEnterpriseType,cType,vcBuildFileNo,vcBuildFileName,cLevel,cAttribute,iShowOrder,vcPrincipalName,vcMembersName,vcEndFileNo,vcEndFileName,dOperatorDate,vcOperatorID,tRemark,vcshoworder,dCreatorDate,vcCreatorID,vcShortName,vcWorkOrganID,vcWorkParentID,vcWorkName,vcWorkFullName,nWorkParentID,vcSuperviseModelID,vcbak1,vcbak2,vcbak3,vcbak4,vcIsBoardOrgan,vcBoardCompanyTypeID,vcIsBoardRunning</ColumnFilter><RowFilter>nNodeID&gt;10000</RowFilter><OperatorDate>0000-00-00</OperatorDate><Flag>0</Flag></Parameter></MsgRequest>

在loadrunner中给参数配置上述数据后,进行回放,回放不成功,提示:The reason of SOAP fault is :   "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize."

请教一下大家:这个问题怎么解决??

[ 本帖最后由 x-man-bb 于 2009-6-28 15:29 编辑 ]

superliming 发表于 2009-6-29 09:21:40

好像有语法错误
页: [1]
查看完整版本: loadrunner中webservice参数化问题(不能序列化)