我在测试套件中的第一步执行并给了我xml输出。我想将上述xml响应中的特定标记作为请求转移到第二步。
第1步给了我类似的输出
{"ServerDetails":
{"statusCode":"0","statusMessage":"Success"},"data":
{"@id":1,"versionNbr":0,"CustomerObject":{"id":"165
","cusNo":"350726","dob":"2019-07-15T00:00:00.000-04:00",
"interest":"beats"} and so on......... finally
}
现在我的第二步需要具备:
{
"junkCheck": null,
"CustDetails": {
//Wanna pass a specific portion alone (Starting from "CustomerObject" tag
till the end of the xml) from step 1 in here...... the above 3 line
should be followed by it)
}
我的第二步需要具有以下要求:
{
"junkCheck": null,
"CustDetails": {
"CustomerObject":{"id":"165 ","cusNo":"350726","dob":"2019-07-
15T00:00:00.000-04:00", "interest":"beats"} and so on { } , {
}......... finally
}}