A repository data source is a "wrapper" for the repository data source that allows you to consume it in Parasoft messaging tools—in the same manner as you would consume data from an Excel data sheet, CSV file, or other supported data source. 

Adding the Repository  

  1. Right-click the suite, project, or Global Data Sources folder and choose Add New > Data Source.

  2. Choose Repository and click Finish.

The following table describes how to determine the location of the repository data source.

For this goal...Add the data source here...
Using the Data Repository tool to import data into this repository data sourceVirtualize action suite or SOAtest test suite that performs the import
Populating Virtualize message respondersVirtualize responder suite
Populating Virtualize SQL respondersVirtualize responder suite
Populating SOAtest messaging clientsSOAtest test suite
More than one of the above and/or use across multiple suites or projectsProject or global data source

Configuring the Repository

  1. Specify a name for the repository. 
  2. You can configure which rows of the repository will be used for the suite or suites in the project. Enable the All option to allow access to all rows in the repository or enable the Range option and specify which rows should be accessible  
  3. Specify the server and repository to which this data source will connect in the Repository Connection Settings section.
    1. Specify the data repository server in the Server field. You can also choose the embedded server or an existing remote server from the drop-down menu. If you select the embedded server, the Port, User, and Password fields will be grayed out. If you select a remote server, the Port, User, and Password fields will be automatically populated, but these can be adjusted if necessary.
    2. Under Repository name, select or enter the name of the repository you want to use. If you enter the name of a new repository, that repository will be created.
    3. Specify your credentials to access the data repository server (if required) and click Validate to verify the connection settings.
  4. Specify the data set to which this data source will connect. The data set specified does not need to exist at this point, but it will need to exist and contain data by the time you start applying tools to use this data source.

    If you are creating a data source for use in Virtualize’s SQL Responder tool, be sure to change the data setting from Data Set to SQL Data Set.
  5. If the data source’s Enable caching option is disabled (the default), updates to the repository data will be immediately reflected in any deployed virtual assets which use that data. If you enable caching, virtual assets will need to be redeployed in order for the repository data changes to take effect at runtime. Enabling caching for load testing is recommended for performance optimization.

  • No labels