QA Wizard Pro 2017.1 Server Database ERD
List of tables
Table details
Table: QAW_DB_VERSION
CommentContains QA Wizard Pro Server metadata. Identifies the database and QA Wizard Pro Server using the database.

Columns:
Column namePrimary keyData typeNot NULLComment
DB_VERSIONYesVARCHAR(256)YesQA Wizard Pro database version string
DATA_REMOVAL_PASSWORDNoVARCHAR(1024)NoData removal password
SERVER_UIDNoVARCHAR(256)YesQA Wizard Pro Server globally unique identifier. GUID is in string form.
REF_COUNTNoINTEGERYesQA Wizard Pro Server reference count
Table: QAW_LOAD_TEST
CommentRepresents a load test. Provides information about load test playback sessions.

Columns:
Column namePrimary keyData typeNot NULLComment
LOAD_TEST_IDYesBIGINTYesLoad test unique identifier
PLAYBACK_SESSION_IDNoBIGINTYesLoad test playback session unique identifier
TOTAL_VIRTUAL_USERSNoINTEGERYesTotal number of virtual users for the load test
PEAK_CONCURRENT_VIRTUAL_USERSNoINTEGERYesPeak number of virtual users running concurrently during the load test
NUM_PAGE_HITSNoINTEGERYesNumber of page hits during the load test
NUM_BYTES_SENTNoBIGINTYesTotal number of bytes sent during the load test
NUM_BYTES_RECEIVEDNoBIGINTYesTotal number of bytes received during the load test
MIN_RESPONSE_TIME_MSNoBIGINTYesMinimum time it took the server to respond in milliseconds
MAX_RESPONSE_TIME_MSNoBIGINTYesMaximum time it took the server to respond in milliseconds
AVG_RESPONSE_TIME_MSNoBIGINTYesAverage time it took the server to respond in milliseconds
NUM_WARNINGSNoBIGINTYesTotal number of warnings that occurred during the load test
NUM_ERRORSNoBIGINTYesTotal number of errors that occurred during the load test
Table: QAW_PLAYBACK_SESSION
CommentUser-initiated session that performs a test in QA Wizard Pro. From the user interface, the run starts from the Run, Run Multiple, Run Remote, Run Multiple Remote, Run Load Test, Run Main Script, or Run Main Script Remote commands. Debug Script, Record Into Script, and Debug Main Script commands are not included because they are not recorded. From the command line, the run starts using QAWRunScript or QAWRunLoadTest with any options.

Columns:
Column namePrimary keyData typeNot NULLComment
PLAYBACK_SESSION_IDYesBIGINTYesPlayback session unique identifier
PLAYBACK_SESSION_NAMENoVARCHAR(1024)NoName set for the playback session
PLAYBACK_SESSION_TYPENoINTEGERYesPlayback session type - 0: Run, 1: Batch, 2: Load Test
PROTOCOL_VERSIONNoINTEGERYesDatabase version the playback session was created in
START_TIMENoDATETIMEYesDate and time the playback session started in millisecond precision. UTC format.
END_TIMENoDATETIMENoDate and time the playback session ended in millisecond precision. UTC format.
USER_NAMENoVARCHAR(256)YesUsername that initiated the playback session. May not be the username that ran the playback session. For example, the username "bob" may start a remote load test from his workstation, but the remote computer may be set up to run as "automationuser". In this case, the USER_NAME value is "bob".
LS_AUTHENTICATEDNoBITYesIndicates if the playback session user authenticated with the Helix ALM License Server
CONTAINER_NAMENoVARCHAR(1024)NoPlayback session container (workspace or batch logical name), if available
RUN_STATENoSMALLINTYesRun state for the entire playback session - 0: Active, 1: Succeeded, 2: Failed, 3: Inactive (has not sent information to the server in over 30 minutes), 4: Canceled
CONTAINER_FILE_NAMENoVARCHAR(1024)NoPlayback session container (workspace or batch file name with extension), if available
HOST_NAMENoVARCHAR(256)NoFor standard tests, host name the playback session occurred on. For load tests, name of the initiating host, even if the test was distributed across multiple hosts.
IS_REMOTENoBITNoIndicates if the playback session was run remotely. Null indicates the value is not relevant. Load test value is always null.
TT_PROJECT_UUIDNoVARCHAR(38)NoUnique identifier for the Helix ALM project the associated test run is is included in. Null indicates the playback session was not associated with a test run. Foreign key to TT_PROJECT.TT_PROJECT_UUID in the Helix ALM Data Warehouse.
TT_TESTCASE_IDNoNUMERIC(10)NoUnique identifier for the Helix ALM test case the associated test run was generated from. Null indicates the playback session was not associated with a test run. Foreign key to TT_TESTCASE.TESTCASE_ID in the Helix ALM Data Warehouse.
TT_TESTRUN_IDNoNUMERIC(10)NoUnique identifier for a Helix ALM test run. Null indicates the playback session was not associated with a test run. Foreign key to TT_TESTRUN.TESTRUN_ID in the Helix ALM Data Warehouse.
MARKED_FOR_REMOVALNoBITYesIndicates if the playback session is marked to be removed from the database
Table: QAW_SCRIPT
CommentA script that ran.

Columns:
Column namePrimary keyData typeNot NULLComment
SCRIPT_IDYesBIGINTYesScript unique identifier
SCRIPT_NAMENoVARCHAR(1024)NoLogical script name. Does not include file system details, such as filename, extension, or path.
Table: QAW_SCRIPT_LINE_RUN
CommentAn individual script line that ran.

Columns:
Column namePrimary keyData typeNot NULLComment
SCRIPT_LINE_RUN_IDYesBIGINTYesScript line run unique identifier
STACK_FRAME_IDNoBIGINTYesFrame unique identifier. Groups related script lines in the same context.
RUN_STATENoSMALLINTYesRun state of the script line run - 0: Active, 1: Not active (succeeded), 2: Not active (failed)
START_TIMENoDATETIMEYesDate and time the script line started running in millisecond precision. UTC format.
END_TIMENoDATETIMENoDate and time the script line stopped running in millisecond precision. UTC format.
LINE_NUMBERNoINTEGERYesLine number in the running script. Uses 1-based indexing.
LINE_TEXTNoVARCHAR(1024)YesText of the running script line
SEQUENCE_NUMBERNoBIGINTYesNumber used to order events in a playback session. Sets to 1 when a playback session starts and increments when the next event starts.
Table: QAW_SCRIPT_LINE_RUN_MESSAGE
CommentA message (error, warning, or output) that occurred on a script line during playback.

Columns:
Column namePrimary keyData typeNot NULLComment
SCRIPT_LINE_RUN_MESSAGE_IDYesBIGINTYesMessage unique identifier
SCRIPT_LINE_RUN_IDNoBIGINTYesScript line run unique identifier
SCRIPT_LINE_RUN_MESSAGE_TYPENoSMALLINTYesMessage type that occurred when running a script line - 0: Warning, 1: Unhandled error, 2: Handled error, 3: Output
MESSAGE_TEXTNoVARCHAR(1024)YesMessage text (if any)
SEQUENCE_NUMBERNoBIGINTYesNumber used to order events in a playback session. Sets to 1 when a playback session starts and increments when the next event starts.
Table: QAW_SCRIPT_RUN
CommentAn instance of a script that ran.

Columns:
Column namePrimary keyData typeNot NULLComment
SCRIPT_RUN_IDYesBIGINTYesScript run unique identifier
PLAYBACK_SESSION_IDNoBIGINTYesPlayback session unique identifier
SCRIPT_IDNoBIGINTYesScript unique identifier
START_TIMENoDATETIMEYesDate and time the script run started in the playback session in millisecond precision. UTC format.
END_TIMENoDATETIMENoDate and time the script run ended in the playback session in millisecond precision. UTC format.
RUN_STATENoSMALLINTYesRun state of the script run - 0: Active, 1: Not active (succeeded), 2: Not active (failed)
DATASHEET_ITERATIONNoINTEGERYesIf a script has an associated data source, the current row/iteration number of the script run. Uses 1-based indexing. For example, a script that runs once has an associated datasheet with 4 rows. Four script run rows would be included in this table, each with an associated datasheet iteration number (1, 2, 3, 4).
RUN_NUMBERNoINTEGERYesIndicates the nth time a script runs within a playback session, regardless of the reason. Uses 1-based indexing.
SEQUENCE_NUMBERNoBIGINTYesNumber used to order events in a playback session. Sets to 1 when a playback session starts and increments when the next event starts.
Table: QAW_STACK_FRAME
CommentA group of related script lines in the context of a script, function, or subroutine call or Try, Catch, or Finally block. Provides a logical division of the script run. A new frame is created for each context and added to the call stack.

Columns:
Column namePrimary keyData typeNot NULLComment
STACK_FRAME_IDYesBIGINTYesFrame unique identifier. Groups related script lines in the same context.
SCRIPT_RUN_IDNoBIGINTYesScript run unique identifier
DECLARING_SCRIPT_IDNoBIGINTNoUnique identifier of the script the context was declared in
CALLING_SCRIPT_LINE_RUN_IDNoBIGINTNoScript line run parent unique identifier. For example, in the context of a function call, this identifies the script line that calls the function.
STACK_FRAME_NAMENoVARCHAR(1024)NoFrame name that describes the context. In the context of a called script, function, or subroutine, the called item's name is used. In the context of a Try, Catch, or Finally block, the block name is used.
SEQUENCE_NUMBERNoBIGINTYesNumber used to order events in a playback session. Sets to 1 when a playback session starts and increments when the next event starts.