Index Dataset Using File is same as File Parameter. The only difference is that it identifies how data is selected from the data file. The first column is considered as the index of that file and the second column will be the value. The user passes the index value in Index File Parameter and the corresponding value will be picked as the parameter value.

Adding The Parameter

The following fields need to be filled to add the Index Dataset Using File Parameter :

Advanced

In Advanced, we have the following fields to be filled :

Encoding options

This option is used to encode special characters to their ASCII value. This option contains the following fields :

Encode : In Load Test, the user can encode any number of special characters i.e. all, specific, or none. Users can have the following options :

Characters to encode : If the user selects Encode only specified characters option in Encode, then this field becomes active. Here user can specify which special characters should be encoded.

Encode Space By : This option specifies to Load Test how to encode space. Users can have two options : '+' and '%20'. If '+' is chosen, Load Test encodes space by '+' and if '%20' is chosen, Load Test encodes space by '%20. The default value is '+'.

Notes :

  1. Data directory can be overridden from the scenario only if you are using a data directory other than the script.
  2. You can edit data files upto 10 MB. For more than 10 mb it will open as Read Only mode.
  3. If your values contain special characters that you prefer not to encode, you have the choice of using either "Do not encode special characters" or "Encode only specified characters." A practical illustration of this situation can be found in the domain name https://www.cavisson.com, which includes special characters such as (:/).