This post will show you how to imbed code in a parameter value of a web test without having to create a new plugin: http://blogs.msdn.com/slumley/pages/using-scriptable-parameter-values-in-a-web-test.aspx