PureData Tasks - Version 1.4

This document describes the PureData Tasks, provided as custom tasks that must be installed with PureLoad/PureTest on each installation using these tasks.

Before you use the tasks, read more about installing and how to load custom tasks .

PureData Protocol

The PureData tasks communicates with a PureData server using a simple TCP text based protocol. See the server documentation for details.

Provided tasks


PureDataInitTask

PureDataInitTask is used to initialize communication with the server and must be added first to scenarios using the other tasks.

Client connections are shared between threads for a worker. This means that the first thread executing PureDataInitTask will create a pool of clients and initiate the connection to the server. When following threads execute PureDataInitTask connections will only be verified.

Parameters exist to set remote host address and port as well as local (source) host address. There are also parameters to control the pool.


PureDataClearTask

PureDataClearTask is used to clear all global data on server using the CLEAR remote command.


PureDataPutTask

PureDataPutTask is used to set global data on server using the PUT remote command.

Associates the specified values with the specified key for specified map. If the map previously contained a mapping for the key, the old values are replaced.

Result data is set to the previous value associated with key, or nothing if there was no mapping for key

Parameters:


PureDataGetTask

PureDataGetTask is used to fetch global data from server using the GET remote command.

Provided list of variables will be set based on the returned list of values returned by the server. If number of variables listed as parameter doesn't match the number of values returned by the server an exception is raised.

The values returned are set to ?null? if no mapping exist for the key.

Parameters:


PureDataImportTask

PureDataImportTask is used to import data from specified file using the IMPORT remote command.

Parameter are used to specify the path to a file used to import the data. The path can be relative to the PureData server installtion or a full path.


PureDataExportTask

PureDataExportTask is used to export data to specified file using the EXPORT remote command.

Parameter are used to specify the path to a file where the data is exported. The path can be relative to the PureData server installtion or a full path.


PureDataStatusTask

PureDataStatusTask will report various information about the status of the global data using the STATUS remote command.

Details TBD.