This project is read-only.
Project Description

Basic Fiddler Plugin for recording Avalanche Scripts ('action lists' in Avalanche speak.) This is a barebones project with only a few lines of code.

This Fiddler plugin creates a very basic HTTP/HTTPS script for pasting into Spirent Avalanche Commander. The code is trivial and it is expected that it should be augmented. (I wrote this to do a very specific job and had no reason to do anything fancy.)

It assumes that Fiddler (at least version 2.1.8.5) is installed to C:\Program Files\Fiddler2. If this is not the case, you must amend Fiddler.SpirentScripter.csproj accordingly.

Instructions:
  1. Compile.
  2. Open Fiddler.
  3. Open IE (consult Fiddler documentation for using Fiddler with other HTTP clients.)
  4. Start recording by clicking 'SpirentScript' ->''Not Recording...'
  5. Do some navigation in IE.
  6. Stop recording by clicking 'SpirentScript' ->''Recording...'
  7. Click 'SpirentScript' ->''Refresh'
  8. Paste the script into Avalanche Commander

(Clicking 'SpirentScript' ->''Save Changes' simply prevents 'Refresh' from overwriting manual changes in the script box.)

Note: The GET verb is not recorded as it is assumed by Avalanche if no verb is specified.

Example Script:

#####################################
# Spirent Script
# Recorded by: nhopkins
# DateTime: 12/01/2009:12:13
#####################################

### InsertCommentHere ###

# /
1 http://www.google.co.uk:80/
# 200

# /search
1 http://www.google.co.uk:80/search?hl=en&q=Avalanche&btnG=Google+Search&meta=
# 200
2 http://www.google.co.uk:80/images/hockey-onebox.gif
# 200
2 http://img.youtube.com:80/vi/B0RWLxOFGLY/2.jpg?h=60&w=80&sigh=__ONSdMqNeZVHesj1eRqzaRxz3Vsg=
# 200
2 http://www.google.co.uk:80/images/icons/sectionized_ui/play_a.gif
# 200

# /ThumbnailServer2
1 http://video.google.com:80/ThumbnailServer2?app=smh&contentid=4f57b54d3c425380&offsetms=1&itag=w160&sigh=3rmxw0NQwjSnHmGA8cT91_hOrSE&h=60&w=80&sigh=__3PWXMaVKrIZ56UU-6shGAN8srYQ=
# 200
2 http://img.youtube.com:80/vi/3HxxzfUfFGk/2.jpg?h=60&w=80&sigh=__BHfd4Yof5_ZoXBObDGF70GuCFP4=
# 200
2 http://id.google.co.uk:80/verify/EAAAAEsp_0Id19xLJTr56vZT7VA.gif
# 200
2 http://news.google.co.uk:80/news?hl=en&q=Avalanche&um=1&ie=UTF-8&imgefp=ubYdOi0-yuIJ&imgurl=images.ctv.ca/archives/CTVNews/img2/20090102/160_avalanche_danger_090102.jpg
# 200

Last edited Jan 12, 2009 at 12:59 PM by p83822, version 11