Jsnapy seems to ignore when multiple XML sent in RPC-REPLY
AlpineScrewdriver opened this issue · 0 comments
AlpineScrewdriver commented
Description of Issue/Question
Looking to validate SRX session count from a "show security flow session summary"
The RPC responds with:
flow-session-information
and
flow-session-summary-information
But flow-session-information is empty, I need to process flow-session-summary-information
I've tried using xpath, sending a command and RPC with summary: True, but I only ever receive this in the snapshot:
Setup
I've tried multiple iterations but this is my latest effort
flow_session_count:
- rpc: get-flow-session-information
- args:
summary: True
- iterate:
xpath: flow-session-summary-information
id: active-unicast-sessions
tests:
- is-gt: active-unicast-sessions, 10000
err: 'Session count less than 10k! ({{pre["active-unicast-sessions"]}})'
info: 'Session count above 10k! ({{pre["active-unicast-sessions"]}})'
Steps to Reproduce Issue
Attempt to parse summary info from show security flow session summary
Versions Report
JSNAPy version: 1.3.2