靠谱叮当猫 2022-04-07 15:18 采纳率: 0%
浏览 197
已结题

postman xml请求body体里怎么引用参数或变量?比如用csv导入测试数据那种

post请求,用的是raw xml请求,参数超级多,想要csv导入测试数据,怎么给xml请求里引用参数呀~

网上查到SOAP Envelope元素,但是好像不可以,貌似后台服务器无法识别报文内容,报文如下,请教一下要怎么引用参数


```xml
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<root>
 <MsgHeader>
    <MsgType>1111</MsgType>
    <RecvAgentId>111</RecvAgentId>
    <RecvPtyId>222</RecvPtyId>
    <RecvParentAgentId>123456789</RecvParentAgentId>
     <SendAgentId>0000</SendAgentId>
    <RequestSeq>2324455</RequestSeq>
    <SendPtyId>12345677</SendPtyId>
 </MsgHeader>
 <MsgBody>
     <ClientId>123456</ClientId>
     <AuthCode>1111</AuthCode>
 </MsgBody>
</root>

</soap:Envelope>

```

  • 写回答

1条回答 默认 最新

  • 「已注销」 2022-04-07 15:46
    关注

    不明白你得意思

    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 4月8日
  • 修改了问题 4月7日
  • 创建了问题 4月7日