- Last Updated: [[2020-12-04]]
- [[Load Testing]]
- # Context Parameters
- Context Parameters are variables that can be set on a script level for things like server name, server port, etc. To create them, right click on the webtest node and select Add Context Parameter.
- # Extraction Rules
- Right click on the relevant request and select Add Extraction Rule. Note that when selecting and using the Regular Expression Extraction Rule, it returns the entire expression by default. To change this, click on the Extraction Rule and in its Properties pane, change the property Use Groups = True.
- # Validation Rules
- Right click on the relevant request and select Add Validation Rule.
- # Using Parameters
- In Visual Studio, parameters can be called using double brackets like this: `{{paramName}}`. This can be used in the Properties pane in order to have more control over request formation without needing to revert to code.