This project is read-only.

WebTestPlugin not parsing parameters


The WebServicePlugin does not parse the context parameters correctly. When running a test the request parameters are not replaced, the litteral string is passed in the request (for example: {{MyParameter}} ) .

In the WebServicePlugin.cs you in the following method
    public override void PreRequestDataBinding(object sender, PreRequestDataBindingEventArgs e)
You can find the following code:
            string text = contentHandler.MessageString;

            // do Data Binding on the string version of binary data
            string newText = DataBindingHelper.UpdateBindingSites(e.WebTest.Context, text);

            contentHandler.MessageString = text;__
The Last line is incorrect and should be replaced by
            contentHandler.MessageString = newText;

Hope you can fix.