The VTS table

VTS includes a table that contains parameter values that can be used by your Vuser scripts. The VTS table is composed of columns and rows. Each column represents a set of values that can be used by a specific parameter in your Vuser scripts. The cells within a column contain the actual values of the parameter.

Note: For additional limitations, check Known issues in the Virtual User Generator Help Center (select the relevant version).

Populate the VTS table

There are several ways in which you can populate and maintain the VTS table:

VTS user interface The VTS user interface enables you to manipulate the data in the VTS table. For details on the VTS user interface, see Manipulate the contents of the VTS table.
API functions

Include various VTS API functions in a Vuser script to manipulate the data in the VTS table. For details on the available VTS API functions, see the Utilities section in the Function Reference (select the relevant version).

Import data from a database or CSV file

VTS lets you import data from a database of a CSV file directly into the VTS table.

Import data in command line mode Import data through a command line string. For details, see Use the command line mode.

Back to top

VTS cell background colors

VTS changes the background color of the cells in the VTS table to provide visual indication about the data in the cells. The following background colors may appear in the VTS table:

Yellow The cell contains the search string.
Orange The cell contains a value that is not unique in the column.
Blue The cell is currently selected.
White The cell contains a value for a parameter, even if the cell is blank.
Gray The cell does not contain a value for a parameter.

Back to top

Divide the VTS table into pages

The VTS table can include numerous rows of data. The total number of rows is indicated in parentheses in the column header.

VTS divides the rows of data into pages. Each page can include 10, 20, or 30 rows of data. You use the Page-Rows control at the bottom of VTS to specify how many rows you want VTS to display in each page.

Controls at the bottom of VTS enable you to move between the pages in the table.

Display the first page in the table.
Display the previous page.
Display the next page.
Display the last page in the table.
  • You can use the PgUp and PgDn keys to navigate through the pages in the VTS table.
  • Press the Home key to display the first page in the table, and the End key to display the last page.

Back to top

Refresh the VTS table data

The data in the VTS table is maintained in a database on a server. There may be various entities that change the data in the table. Periodically, VTS checks the server to establish if any changes have been made to the data in the table.

If VTS detects that changes have been made, an icon appears in the Refresh button on the VTS toolbar indicating the number of operations that were done on the server . Click Refresh to update the data that is displayed in VTS.

At all times, the VTS window displays the total number of records, in the bottom right corner.

For details on how to modify the interval with which VTS checks for changes on the server, see Configure VTS.

Back to top

Reconnect to the database

If the VTS server goes down or if it becomes disconnected due to network problems, the toolbar prompts you with a Disconnected icon. Click the icon to reconnect to the server.

Back to top

Multiple VTS instances

Create multiple tables or VTS instances to access data. The main instance or default instance is available when VTS is installed. Subsequent instances created are referred to as named instances.

There are some differences between the main instance and named instances:

  • In the main instance, you define a port for the UI and one for API access. For named instance, you specify only one port for both.
  • The title of the table of the main instance is Virtual Table Server. The title of the table for named instances is Virtual Table Server ( <Instance Name>).

For details on working with multiple instances, see Create and manage multiple VTS instances.

Back to top