Interval Compare
The Interval Compare test type can validate all the data for an interval by comparing all the data at a summary display level, i.e. Plan Summary, Program Summary, Statement Summary etc, between a baseline and a current set of data.
Jenkins Test Status
The table below lists the jenkins tests that are available and what the status of the last run of the test was. Click on the status icon to go straight to jenkins for the particular build project.
Test Parameters
The table below lists the required and optional parameters that are valid for this test. Follow the link by clicking on the parameter name in the JSON column. If the parameter has a command line override option it will be listed in the Command Line Override column. Additionally there are examples at the bottom of this page.
Required
Optional
| JSON | Command Line Override | Special Usage or Note |
|---|---|---|
| environment | environment | |
| output_location | output_location | |
| range_pct | range_pct | Default - 10% if not specified. |
| view_type | view_type | If not provided then products default is used. |
| view_option | view_option | Applies only to Subsystem Analyzer. |
| key_option | key_option | If view_by=K must be specified otherwise error occurs. |
| ssid2 | ssid2 | If provided indicates the baseline_datastore is for a different ssid than the primary. |
| column | column | Can be used to indicate that only the data in the specified column should be compared for the test. |
| baseline_interval_date_2 | baseline_interval_date_2 | |
| baseline_interval_time_2 | baseline_interval_time_2 | |
| current_interval_date_2 | current_interval_date_2 | |
| current_interval_time_2 | current_interval_time_2 |
JSON Examples
Non-Key Display Example
{
"connection":
{
"lpar": "ca31",
"userid": "qartp01",
"ssid": "d12a",
"ssid2": "d11a"
},
"tests":
[
{
"test_type": "interval compare",
"product_code": "PDT",
"environment": "SPEAN03.R19.PARMLIB",
"baseline_vcat": "PDTDBA.SPEAN03",
"baseline_datastore": "PYTHON",
"current_vcat": "PDTDBA.SPEAN03",
"current_datastore": "PYTHON",
"baseline_interval_date": "16/07/20",
"baseline_interval_time": "10:07:09",
"current_interval_date": "16/07/20",
"current_interval_time": "10:42:34",
"view_by": "S",
"view_type": "A"
}
]
}
Key Display Example
{
"connection":
{
"lpar": "ca31",
"userid": "qartp01",
"ssid": "d12a",
"ssid2": "d11a"
},
"tests":
[
{
"test_type": "interval compare",
"product_code": "PDT",
"environment": "SPEAN03.R19.PARMLIB",
"baseline_vcat": "PDTDBA.SPEAN03",
"baseline_datastore": "PYTHON",
"current_vcat": "PDTDBA.SPEAN03",
"current_datastore": "PYTHON",
"baseline_interval_date": "16/07/20",
"baseline_interval_time": "10:07:09",
"current_interval_date": "16/07/20",
"current_interval_time": "10:42:34",
"view_by": "K",
"key_option": "R",
"view_type": "A",
"range_pct": 15
}
]
}
Compare only a specific column of data
{
"connection":
{
"lpar": "ca31",
"userid": "qartp01",
"ssid": "d12a",
"ssid2": "d11a"
},
"tests":
[
{
"test_type": "interval compare",
"product_code": "PDT",
"environment": "SPEAN03.R19.PARMLIB",
"baseline_vcat": "PDTDBA.SPEAN03",
"baseline_datastore": "PYTHON",
"current_vcat": "PDTDBA.SPEAN03",
"current_datastore": "PYTHON",
"baseline_interval_date": "16/07/20",
"baseline_interval_time": "10:07:09",
"current_interval_date": "16/07/20",
"current_interval_time": "10:42:34",
"view_by": "G",
"view_type": "A",
"column": "INDB2_TIME"
}
]
}
Selecting a range of intervals
{
"connection":
{
"lpar": "ca31",
"userid": "qartp01",
"ssid": "d12a",
"ssid2": "d11a"
},
"tests":
[
{
"test_type": "interval compare",
"product_code": "PDT",
"environment": "SPEAN03.R19.PARMLIB",
"baseline_vcat": "PDTDBA.SPEAN03",
"baseline_datastore": "PYTHON",
"current_vcat": "PDTDBA.SPEAN03",
"current_datastore": "PYTHON",
"baseline_interval_date": "16/07/20",
"baseline_interval_time": "10:07:09",
"baseline_interval_date_2": "16/07/20",
"baseline_interval_time_2": "12:07:09",
"current_interval_date": "16/07/20",
"current_interval_time": "12:42:34",
"current_interval_date_2": "16/07/20",
"current_interval_time_2": "12:42:34",
"view_by": "S",
"view_type": "A"
}
]
}