Sunday, September 13, 2009

File and table type parameters

Lets Go over all the important properties of Parameter list:
Creating parameters:
You can create parameters either from the script view or from the parameter list. In the parameter list click on the new button, give a name and select the parameter type according to your needs. You can also associate an existing parameter file for the parameter created by browsing and pointing to the file. Properties for File parameter type: After you select a source of data, you set the assignment properties for your file. These properties instruct VuGen how to use the data. For example, they indicate which columns to use, how often to use new values, and what do to when there are no more unique values.

As shown above you can add new column, new row, delete column / row using the corresponding buttons for a parameter with parameter file type. During the executions you can choose to select the column names using “By number” or “By name”. Vuser uses the selected column and corresponding values for the execution. Column delimiter is used to separate the columns in the table. You can specify a comma, tab, or space. First data line specifies from which row the values has to be used by vuser during execution. If u select 2, vuser uses the value from 2 row after header.

Table Type Paramater:

You can observe that there is difference between the file and table type parameter, In table type parameter you can fetch data either from data file (.dat) or from an external table using sql query. You can select all the coulmns of the table or few columns. In the Rows section, specify how many rows to use per iteration in the Rows per iteration box. Note: This only relevant when the Update value on field is set to Each iteration. If Update value on is set to Once, then the same rows will be used for all iterations. All other options works more or less like file type parameter.

Internal Type Paramater:

In this you can choose the range of random values you want Vuser to utilise during its executions. You can choose the number format. In the same way it works for other internal type paramaters

No comments:

Post a Comment