我从这样的网络服务中得到响应,对于第一个输入,它给了我三个这样的节点
<m:tPlayerNames>
<m:iId>16</m:iId>
<m:sName>Adam Matuszczyk</m:sName>
<m:sCountryName>Poland</m:sCountryName>
</m:tPlayerNames>
<m:tPlayerNames>
<m:iId>588</m:iId>
<m:sName>Adil Rami</m:sName>
<m:sCountryName>France</m:sCountryName>
</m:tPlayerNames>
对于第二个输入,我得到了两个以上的 tPlayerNames Nodes ,就像这样
<m:tPlayerNames>
<m:iId>16</m:iId>
<m:sName>Adam Matuszczyk</m:sName>
<m:sCountryName>Poland</m:sCountryName>
</m:tPlayerNames>
<m:tPlayerNames>
<m:iId>588</m:iId>
<m:sName>Adil Rami</m:sName>
<m:sCountryName>France</m:sCountryName>
</m:tPlayerNames>
<m:tPlayerNames>
<m:iId>552</m:iId>
<m:sName>Zlatan Ibrahimovic</m:sName>
<m:sCountryName>Sweden</m:sCountryName>
</m:tPlayerNames>
我想为每个节点添加断言,我正在做数据驱动测试,我不确定每个请求的节点数量,所以我该如何做到这一点。