51Testing软件测试论坛

标题: 数组参数输入的时候该怎么设置?? [打印本页]

作者: angyuyu    时间: 2008-4-1 11:20
标题: 数组参数输入的时候该怎么设置??
[attach]40595[/attach]-----------------------------------------------------------------------------------
<soapenv:Body>
      <openrder>
         <open:request>
            <v1:bnetID>GD120001645</v1:bnetID>
            <v1:bnetAccount>123456</v1:bnetAccount>
            <v1:productSpecID>GD9900004</v1:productSpecID>
            <v1:customerName>23423</v1:customerName>
            <!--Optional:-->
            <v1:productInfo>
               <open:item fieldName="101" fieldValue="1"/>            </v1:productInfo>
            <v1:hashCode>12345678912123456789121234567891</v1:hashCode>
            <v1:timestamp>123456789123456789</v1:timestamp>
         </open:request>
      </openrder>
   </soapenv:Body>
------------------------------------------------------------------------------------------------------
BEGIN_ARGUMENTS,
  "xml:request=<request><bnetID>GD120001645</bnetID><bnetAccount>123456</bnetAccount><productSpecID>GD9900004</productSpecID><customerName>"
    "23423</customerName><productInfo>?????????????????????????????</productInfo><hashCode>"
    "12345678912123456789121234567891</hashCode><timestamp>123456789123456789</timestamp></request>",
END_ARGUMENTS,
------------------------------------------------------------------------------------------------------
在soapUI里面正确输入的<open:item fieldName="101" fieldValue="1"/>数据,在loadrunner里不知道怎么输入(打问号的地方为需要输入的地方):
用<fieldName>101</fieldName><fieldValue>1</fieldValue>不成功!参数化输入也不成功.

[ 本帖最后由 angyuyu 于 2008-4-2 09:15 编辑 ]
作者: angyuyu    时间: 2008-4-1 11:29
wsdl里面的<open:item fieldName="101" fieldValue="1"/> 的值,在loadrunner脚本里面不知道怎么输入,尝试了很多种方式,但是还是不行.
作者: angyuyu    时间: 2008-4-2 13:44
用<productInfo item fieldName="101" fieldValue="1"></productInfo>输入还是不行.好郁闷啊!
这么简单的一个问题,大家看看啊,xml格式下的文件到了loadrunner下面却不知道怎么输入!


高手们都到那里去了?????????????????????????




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2