Filters and Filter Groups
Filters are enhancements made to a pre-recorded script, which allow the script to behave more like a real user. Filters enable the script to be more dynamic, where it can behave a certain way when certain conditions are met.
Filters can add functions, thinktime, and change script behavior, etc.
Filter Groups are created to contain multiple filters that are unique to that group. For e.g, A TTO Production Filter group will have only filters that are unique to that type of user.
When uploading a script, you will be given the option to choose the filters and groups you want to process the script with.
Selecting a group will select all the filters associated with that group automatically by default. You may choose to remove those that are not required.

Creating a Filter
-
Click on the
New Filtericon to open theNew Script Filterform.
Adding a New Filter -
A filter can be
internalorexternal(Javascript). Select the type on the radio button and the form will change depending on the mode.
Select the Type -
Internal Filters- Internal filters consist of one of more Conditions and one or more Actions . Conditions determine if this filter matches a particular request and Actions define the transformation to apply when the conditions match.
- Set the
Name,Productand whether the conditions arematch allormatch any. - Click on
Add ConditionandAdd Actionand set the properties appropriately.
Internal Filters
-
External Filters- External filters consist of a reference to an external javascript file.
- Set the Name, Product and Script.
External Filters
-
Creating a Filter Group
- Click on the
New Filter Groupicon to open theFilter Groupselection form. -
Give the Filter Group a unique
name, select theProduct, and select from the list offiltersthat belong to that group.
Create a Filter Group