Please see this article for a simple example of a fiddler web test plugin: http://blogs.msdn.com/slumley/pages/another-fiddler-plugin-example.aspx