Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Apica Data Repository will help to application matches the functionality up to and beyond the former “HP Virtual Table server.“ The ADR tool provides shared data tables that can be accessed by multiple scripts during the execution to manage data (C.R.U.D. operations). ADR will help accomplish the data sharing across the scripts during the execution, eliminating the need to attach data to the ZT script before executing the execution to manage data. The ADR tool provides a shared data table that can be accessed by multiple scripts during  the execution to manage data ( CRUD operations)

ADR can be used in any use case where the script execution requires dynamic data, like feeding script with credentials, feeding script with security tokens, sharing data across different microservices scripts in the same application, etc. So basically, customers can save time by using the ADR tool, so it is apt for cost savings and flexibility. To communicate with ADR for data retrieval and feeding, ZebraTester now includes new inline functions.

Pros over the “HP Virtual Table Server”:

  1. Ease of use (Has a Rich GUI)

  2. Security (both in the GUI and API)

  3. Low Resource consumption

  4. Rich APIs support

  5. Scalability

  6. Better performance

...

Release Notes Pages

https://files.apicasystemapica-packages.s3.eu-central-1.amazonaws.com/stable/ApicaDataRepositoryadr/1.4/ApicaTableServer.pdf

Include Page
Apica Data Repository Release Notes
Apica Data Repository Release Notes

...

Installation of ADR

Include Page
Installing the Apica Data Repository a.k.a Apica Table Server (ATS)Installing the Apica Data Repository a.k.a Apica Table Server (ATS)

...

isMissingRequiredParameterstrue

...

Accessing the ADR with Inline Scripts

Include Page

...

ADR related inline functions

...

getTableRow(tableName, columnNames) Retrieves the first row of each column given. columnNames separated by semicolon

getTableRowByColumn(tableName, matchColumnNames, matchColumnValues, outputColumnNames) Retrieves the first row of column values that matches given column names and values. User can also supply the output columns to be retrieved , but it is optional . In case of multiple input, the values of matchColumnNames, matchColumnValues and outputColumnNames should be separated by a semicolon

getTableColumn(tableName, columnName) Retrieves the first row in that column setTableRow(tableName, columnNames, columnValues, type) Set the values of a row in a table(columnNames and columnValues separated by semicolon). Value of type can be ROW or UNIQUE or STACKED

setTableColumn(tableName, columnName, columnValue, uniqueFlag) Set a value to a single column of the table. Value of uniqueFlag can be 0 or 1

updateTableColumn(tableName, columnName, columnValue, uniqueFlag, rowIndex) Update a value to a single column of the table by row index. Value of uniqueFlag can be 0 or 1

getTableSize(tableName, columnName) Get the total size of the table on ATS . columnName is optional, it will be useful when there is a need to get the size of the particular column

...

available in ZT
ADR related inline functions available in ZT

...

ADR REST Endpoints

Include Page
REST Endpoint Examples
REST Endpoint Examples