Using FlyScript with Stingray and OPNET AppResponse Xpert BrowserMetrix

The Riverbed FlyScript SDK includes support for Stingray, including an example Python script to automate the process of creating a new TrafficScript rule to inject JavaScript for end-user experience monitoring. Once FlyScript is installed on your system, the example Python script can be found in  examples/stingray/appresponse_setup.py. To use the script, simply run:

 

$ python examples/stingray/appresponse_setup.py STINGRAY_HOSTNAME <parameters>

 

Where STINGRAY_HOSTNAME is the ip address or hostname of our Stingray Traffic Manager and the <parameters> are as follows:

 

ParameterDescription
-u

Your Stingray Traffic Manager Username

- the same as you use to login in to the Stingray Traffic Manager Web Interface

-p

Your Stingray Traffic Manager Password

- the same as you use to login in to the Stingray Traffic Manager Web Interface

--clientid

Your Opnet AppResponse Xpert clientId

- as found on the Settings page of your AppResponse Application

--appid

Your Opnet AppResponse Xpert appId

- as found on the Settings page of your AppResponse Application

--vserverThe Virtual Server to attach the script to
--host(optional) Restrict AppResponse to this particular host

 

The complete script can be found in the FlyScript SDK Package; file examples/stingray/appresponse_setup.py

An example usage for a real implementation is shown below:

 

$ python examples/stingray/appresponse_setup.py 10.32.162.50 -u admin -p password --clientid=ABCD1234EFGH5678 --appid=123456 --vserver=nl --host=www.northernlightsastronomy.com    

 

You can find more information in the Solutions Guide: Using Stingray with OPNET AppResponse Xpert BrowserMetrix