Skip to content

User_Guide_Filter

Angleton, Denis edited this page Mar 31, 2015 · 2 revisions

Contents | Preface | Introduction | Projects | Scripts | Filters | Datafiles | Functions | Tools | Users | Admin

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 eg: A ‘TTO Production’ 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 will automatically be selected, you may choose to remove those not required.

Creating a Filter

  1. Click on the New Filter icon to open the New Script Filter form.

  2. A filter can be internal or external (javascript). Select type on the radio button and the form will change depending on the mode.

    Internal Filters

    1. Internal filters consist of one of more Conditions and one or more Actions . Conditions determine if this filter matches a particular request and Actions defile the transformation to apply when the conditions match.

    2. Set the Name, Product and whether the conditions are match all or match any. Click on Add Condition and Add Action and set the properties appropriately.

      Note

      The above filter shows a filter that removes all requests that contain doubleclick.

    External Filters

    1. External filters consist of a reference to an external javascript file.

    2. Set the Name, Product and Script.

Creating a Filter Group

  1. Click on the New Filter Group icon to open the Filter Group selection form.

  2. Give the Filter Group a unique name, select the Product, and select from the list of filters that belong to that group.

Contents | Preface | Introduction | Projects | Scripts | Filters | Datafiles | Functions | Tools | Users | Admin