I've managed to create a large-scale vsi image (7.5G) that represents a REST simulation of a SD-WAN management/reporting device.
However, one of the endpoints is not responding to a GET request in the scenario I explain below.
In the attached diagram you can see the tree view of transactions.... The green ones were imported together from RR pairs.
The remaining ones were imported separately because of the size of the data prevented workstation from completing the full import (for all RR Pairs).
Most of the transactions are stateful (conversation1), some are not stateless).
The order is:
- POST authenticate (a)
- GET fetch n pages device statistics (g)
- GET fetch n pages interface statistics (f) -- this fails
The POST and request for
device statistics (f) completes w/out error.
The first request for
interface statistics (e) after completing the
device statistics fails.
Note that the following sequence DOES work:
POST authenticate (a)
GET fetch device inventory (b)
GET fetch interface inventory (c)
GET fetch wan interface inventory (e)
GET fetch tunnel inventory (d)
Logging is set to:
log4j.logger.VSE=TRACE, VSEAPP
log4j.logger.com.itko=TRACE
log4j.appender.VSEAPP.File=${lisa.tmpdir}/${VSE_LOGFIX}vse_matches.log
The VSI trace log shows the incoming request and it shows the last ("current"?) node of the device stats page.
Next it appears to show an attempt to match against the various
[stateless] endpoints (devicesystemstatistics, j_security, sla-class, but NOT the interfacestatistics (conversation1). From the log it seems like after the last successful request for device statistics, the logic is not considering any of the top transactions (children beneath the root "POST" node)
I think this is the result of combining the images(?)
Suggestions?
2019-10-28 15:32:22,879Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] DEBUG - Inbound Request {"id":0,"operation":"GET /dataservice/data/device/statistics/interfacestatistics","arguments":{"count":"10000","startDate":"2019-10-28T15:00:00","endDate":"2019-10-28T15:30:00"}}
2019-10-28 15:32:22,889Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] INFO - Inbound Request {"id":0,"operation":"GET /dataservice/data/device/statistics/interfacestatistics/","arguments":{"count":"10000","startDate":"2019-10-28T15:00:00","endDate":"2019-10-28T15:30:00"}}
2019-10-28 15:32:22,901Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] INFO - Existing session Attached to existing session for key: NU6XECCTI8=lUA4OJL8z6Nx_V_HdS8Co1LBuRm_cT_28pgS_ZhJ_49693551-6630-1598-3726-905116c3e769
2019-10-28 15:32:22,905Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] INFO - Conversation Starting in: {"id":8165,"name":"Conversation 1"}
2019-10-28 15:32:22,908Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] INFO - Current Session Node {"id":13268,"navigationTolerance":"WIDE","request":{"id":13272,"matchTolerance":"EXACT","operation":"GET /dataservice/data/device/statistics/devicesystemstatusstatistics/","arguments":{"scrollId":"DnF1ZXJ5VGhlbkZldGNoBAAAAAAAHyW9FjBXLVFqenhjUWRHenZMbVdhSFdab2cAAAAAAB8lvhYwVy1Ranp4Y1FkR3p2TG1XYUhXWm9nAAAAAAAfJb8WMFctUWp6eGNRZEd6dkxtV2FIV1pvZwAAAAAAHyXAFjBXLVFqenhjUWRHenZMbVdhSFdab2c=_1000"}}}
2019-10-28 15:32:22,959Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] TRACE - Comparing operation name source: 'GET /dataservice/data/device/statistics/devicesystemstatusstatistics/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,963Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] DEBUG - Operation match failure source: 'GET /dataservice/data/device/statistics/devicesystemstatusstatistics/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,966Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] TRACE - Comparing operation name source: 'POST /dataservice/j_security_check/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,969Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] DEBUG - Operation match failure source: 'POST /dataservice/j_security_check/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,973Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] TRACE - Comparing operation name source: 'POST /dataservice/j_security_check/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,976Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] DEBUG - Operation match failure source: 'POST /dataservice/j_security_check/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,979Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] TRACE - Comparing operation name source: 'GET /dataservice/device/app-route/sla-class/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,987Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] DEBUG - Operation match failure source: 'GET /dataservice/device/app-route/sla-class/', incoming: 'GET /dataservice/data/device/statistics/interfacestatistics/'
2019-10-28 15:32:22,990Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] INFO - No Stateless Match Could not match a stateless transaction
2019-10-28 15:32:22,997Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] WARN - No Match Request <?xml version="1.0" ?>
<request operation="GET /dataservice/data/device/statistics/interfacestatistics/" matchTolerance="EXACT">
<arguments>
<parameter name="count">10000</parameter>
<parameter name="startDate">2019-10-28T15:00:00</parameter>
<parameter name="endDate">2019-10-28T15:30:00</parameter>
</arguments>
<attributes>
<parameter name="HTTP-Segment-Attr-0">dataservice</parameter>
<parameter name="HTTP-Segment-Attr-1">data</parameter>
<parameter name="HTTP-Segment-Attr-2">device</parameter>
<parameter name="HTTP-Segment-Attr-3">statistics</parameter>
<parameter name="HTTP-Segment-Attr-4">interfacestatistics</parameter>
</attributes>
<metaData>
<parameter name="HTTP-Method">GET</parameter>
<parameter name="HTTP-URI">/dataservice/data/device/statistics/interfacestatistics?count=10000&startDate=2019-10-28T15:00:00&endDate=2019-10-28T15:30:00</parameter>
<parameter name="HTTP-Version">1.1</parameter>
<parameter name="Cookie">NU6XECCTI8=lUA4OJL8z6Nx_V_HdS8Co1LBuRm_cT_28pgS_ZhJ_49693551-6630-1598-3726-905116c3e769; path=/; secure; HttpOnly</parameter>
<parameter name="Host">10.84.144.2:8600</parameter>
<parameter name="Connection">Keep-Alive</parameter>
<parameter name="User-Agent">Apache-HttpClient/4.5.9 (Java/1.8.0_181)</parameter>
<parameter name="Accept-Encoding">gzip,deflate</parameter>
<parameter name="lisa.vse.request.client.id">10.84.144.3:42778</parameter>
<parameter name="matchedRule">GET /dataservice/data/device/statistics/interfacestatistics/</parameter>
</metaData>
</request>
2019-10-28 15:32:23,067Z (11:32)[viptela_18.3.5_ge_scale [VS_viptela_18.3.5_ge_scale_Run]/1] INFO - Response Lookup Completed
------------------------------
Software Engineer
Broadcom
------------------------------