- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
merging two different response in single query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-13-2012 01:47 AM
Hi,
I gw is sending two kind of response depending upon value of PppoeCircuit id:-
if some value is set then:-
<tgw>
<map>
<entry>
<string>extendRemoteIdControlPppoe</string>
<string>addPhysicalLineId</string>
</entry>
</map>
</tgw>
if no value is set then:-
<tgw>
<map>
<entry>
<string>extendRemoteIdControlPppoe</string>
<null/>
</entry>
</map>
</tgw>
I want to merge below two different query into single query so I can analyze the value is set or unset during run time:-
//tgw/map/entry[string = "extendRemoteIdControlPppoe"]/string[2]
//tgw/map/entry[string = "extendRemoteIdControlPppoe"]/null
Re: merging two different response in single query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-20-2012 12:58 AM
Hi,
We can't merge two queries, but we can use a single response map for the two responses.
I have created a testcase using response map. In response map i have taken both the responses into two samples and created Queries.
Please find the attached files.
Hope it helps....
