我从 JMeter 收到以下回复:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CertificateResponse>
<certificates>
<certificate>
<amount>
<value>100.00</value>
</amount>
<appleRetail>false</appleRetail>
<attributes>
<entry key="XYZ">444</entry>
<entry key="ABC">DEF</entry>
</attributes>
<cardType>1</cardType>
<datePurchased>06/13/2013 12:47:04:000 GMT</datePurchased>
<id>XWGL6GMXWN3P8TXL</id>
<lineItemNumber>1</lineItemNumber>
<purchaserDSIDLong>12860</purchaserDSIDLong>
<refID>XCard_0000250410356</refID>
<salesOrgId>
<description>US</description>
<ID>1</ID>
</salesOrgId>
<status>2</status>
<supportDSID>0</supportDSID>
<variableCard>false</variableCard>
<webOrderNumber>M33764265</webOrderNumber>
</certificate>
</certificates>
</CertificateResponse>
我在 JMeter 的 HTTP 采样器中使用以下 XPath 查询,我无法检索该值。
/CertificateResponse/certificates/certificate/id
我哪里错了?