This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uls:testsuite:version_180:aggregations [2014-02-13 16:36] uls [Group-Based Aggregations] |
uls:testsuite:version_180:aggregations [2014-04-07 13:08] (current) uls [(A) Specifications] |
||
---|---|---|---|
Line 6: | Line 6: | ||
==== Manually Defined Aggregations ==== | ==== Manually Defined Aggregations ==== | ||
+ | |||
+ | <!-- AGGR 0100 - manually defined aggregations --> | ||
(Setting daily aggregations for domain "Woodlark"). | (Setting daily aggregations for domain "Woodlark"). | ||
+ | |||
+ | === (A) Specifications === | ||
Connect as "SystematicGuy" to ULS and go to | Connect as "SystematicGuy" to ULS and go to | ||
- | //administration -> compression -> set compression -> Woodlark -> | + | * //administration -> compression -> set compression -> Woodlark -> testsrv21 -> 200 Continuous Hourly Values -> 220 Float Values// |
- | testsrv21 -> 200 Continuous Hourly Values -> 220 Float Values// | + | |
- | ("SystematicGuy" has sufficient rights **only** for domain "Woodlark", | + | "SystematicGuy" has sufficient rights **only** for domain "Woodlark", |
- | although he may drill down also for domain "ULS", | + | although he may drill down also in domain "ULS", |
- | but cannot **define** any compressions). | + | but cannot **define** any compressions. |
* activate some checkboxes of the daily block and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | * activate some checkboxes of the daily block and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | ||
Line 21: | Line 25: | ||
{{:uls:testsuite:version_180:set_compression_woodlark_testsrv21_200_continuous_hourly_values_220_float_values.png?nolink|}} | {{:uls:testsuite:version_180:set_compression_woodlark_testsrv21_200_continuous_hourly_values_220_float_values.png?nolink|}} | ||
+ | |||
Click on //changes// of the compression setting to verify that the initial change has been logged. | Click on //changes// of the compression setting to verify that the initial change has been logged. | ||
Line 26: | Line 31: | ||
Click on {{:uls:testsuite:version_180:changes_button.png?nolink|}} | Click on {{:uls:testsuite:version_180:changes_button.png?nolink|}} | ||
of the compression setting to view the same result. | of the compression setting to view the same result. | ||
+ | |||
+ | {| | ||
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0100 | ||
+ | | manually defined aggregations: specifications successfully defined | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
Any compression/aggregation action will be executed in the following night. | Any compression/aggregation action will be executed in the following night. | ||
+ | |||
+ | As user "SystematicGuy" | ||
+ | * go to //main menu -> aggregated values -> since last week -> Woodlark -> testsrv21 -> 200 Continuous Hourly Values -> 220 Float Values// | ||
+ | * verify a list of aggregated values, one row for each day | ||
+ | |||
+ | It should look like: | ||
+ | |||
+ | {{ :uls:testsuite:version_180:testsrv11_200_continuous_hourly_values_220_float_values_compressed.png?direct}} | ||
+ | |||
+ | Verify the same results. | ||
+ | |||
+ | {| | ||
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0110 | ||
+ | | manually defined aggregations: specifications successfully applied and correct operation | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | |||
+ | === (B) Change === | ||
+ | :TODO: | ||
+ | |||
+ | === (C) Removal === | ||
+ | |||
+ | :TODO: | ||
+ | |||
----- | ----- | ||
Line 35: | Line 83: | ||
(Setting hourly and daily aggregations for domain "ULS"). | (Setting hourly and daily aggregations for domain "ULS"). | ||
- | Connect as "AmieAction" to ULS and go to | + | === (A) Specifications === |
- | //administration -> compression -> set auto-compression// and chose domain "ULS" | + | |
+ | Connect as "AmieAction" to ULS and | ||
+ | * go to //administration -> aggregation -> set auto aggregation// | ||
+ | * domain "ULS" is automatically chosen | ||
(AmieAction has sufficient rights **only** for domain "ULS"). | (AmieAction has sufficient rights **only** for domain "ULS"). | ||
Line 48: | Line 100: | ||
It should look like: | It should look like: | ||
- | <file ini create auto-compression for ULS> | + | <file ini create auto-aggregation for ULS> |
server= | server= | ||
section=200 Continuous Hourly Values | section=200 Continuous Hourly Values | ||
Line 61: | Line 113: | ||
access=all | access=all | ||
</file> | </file> | ||
- | |||
Click {{:uls:testsuite:version_180:ok_button.png?nolink|}} to save that. | Click {{:uls:testsuite:version_180:ok_button.png?nolink|}} to save that. | ||
The new entry is added, delete the entry created manually in the first step. | The new entry is added, delete the entry created manually in the first step. | ||
- | Click on //changes// of the auto-compression setting to verify that the initial change has been logged. | + | Click on //changes// of the auto-aggregation setting to verify that the initial change has been logged. |
Click on {{:uls:testsuite:version_180:changes_button.png?nolink|}} | Click on {{:uls:testsuite:version_180:changes_button.png?nolink|}} | ||
- | of the auto-compression setting to verify that **all** changes have been logged, | + | of the auto-aggregation setting to verify that **all** changes have been logged, |
especially the deleted one. | especially the deleted one. | ||
- | Any compression/aggregation action will be executed in the following night. | + | {| |
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0200 | ||
+ | | domain based aggregations: specifications successfully defined | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
- | ----- | + | Any compression/aggregation action will be executed in the following night. |
- | + | ||
- | + | ||
- | === Propagation of Aggregation Rules === | + | |
Verify, that the above rules are propagated correctly. Check: | Verify, that the above rules are propagated correctly. Check: | ||
- | * //administration -> compression -> set compression -> ULS -> testsrv11 -> 200 Continuous Hourly Values -> 210 Integer Values// | + | * //administration -> aggregation -> set aggregation -> ULS -> testsrv11 -> 200 Continuous Hourly Values -> 210 Integer Values// |
It should look like {{ :uls:testsuite:version_180:set_compression_uls_testsrv11_200_continuous_hourly_values_210_integer_values.png?nolink |}} | It should look like {{ :uls:testsuite:version_180:set_compression_uls_testsrv11_200_continuous_hourly_values_210_integer_values.png?nolink |}} | ||
Check as user "TheSpyder" that the hourly **and** daily aggregations are propagated **only** to details in domain "ULS". | Check as user "TheSpyder" that the hourly **and** daily aggregations are propagated **only** to details in domain "ULS". | ||
- | * Go to //administration -> compression -> set compression -> Woodlark// | + | * Go to //administration -> aggregation -> set aggregation -> Woodlark// |
* drill down to all details of all sources (servers) | * drill down to all details of all sources (servers) | ||
- | * verify that **no** compression definitions are applied, except those above [[aggregations#Manually Defined Aggregations]] for //Woodlark -> testsrv21 -> 200 Continuous Hourly Values -> 220 Float Values// | + | * verify that **no** aggregation definitions are applied, except those above [[aggregations#Manually Defined Aggregations]] for //Woodlark -> testsrv21 -> 200 Continuous Hourly Values -> 220 Float Values// |
+ | |||
+ | {| | ||
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0205 | ||
+ | | domain based aggregations: specifications successfully propagated | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | <!-- ------------------------- --> | ||
- | Make a report of that: | + | Make a report of all effective aggregations: |
* go to //main menu -> today -> auto details selection// | * go to //main menu -> today -> auto details selection// | ||
- | * define a report to show all effective compressions | + | * define a report to show all effective aggregations |
{| | {| | ||
Line 101: | Line 173: | ||
|} | |} | ||
- | :FIXME: 2014-02-13: that does currently not work | + | FIXME the "compression" (as display in report details) does currently not work. |
+ | |||
+ | <!-- ------------------------- --> | ||
+ | |||
+ | Verify as user "AmieAction" that the aggregation works: | ||
+ | * go to //main menu -> aggregated values -> since last week -> ULS -> testsrv21 -> 200 Continuous Hourly Values -> 210 Integer Values// | ||
+ | * verify a list of aggregated values, one row for each **hour** | ||
+ | * click on {{:uls:testsuite:version_180:details_selection_button.png?nolink|}} | ||
+ | * chose {{:uls:testsuite:version_180:all_button.png?nolink|}} | ||
+ | * display: last values | ||
+ | * and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | ||
+ | |||
+ | It should look like: | ||
+ | |||
+ | {{:uls:testsuite:version_180:testsrv11_aggr_200_chv_210_iv_last_values.png|}} | ||
+ | |||
+ | Verify the same results. | ||
+ | |||
+ | {| | ||
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0210 | ||
+ | | domain based aggregations: specifications successfully applied and correct operation | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | === (B) Change === | ||
+ | :TODO: | ||
+ | |||
+ | === (C) Removal === | ||
+ | |||
+ | :TODO: | ||
----- | ----- | ||
Line 109: | Line 216: | ||
(Setting weekly and monthly aggregations for all domains ("ULS", "Woodlark")). | (Setting weekly and monthly aggregations for all domains ("ULS", "Woodlark")). | ||
- | Connect as "TheSpyder" to ULS and go to | + | === (A) Specifications === |
- | //administration -> compression -> group autocompression -> AllRounder// | + | |
- | (that group has full rights for domain "ULS" and "Woodlark"). | + | |
+ | Connect as "TheSpyder" to ULS and | ||
+ | * go to //administration -> aggregation -> group auto aggregation -> AllRounder// (that group has full rights for domain "ULS" and "Woodlark"). | ||
* set section to "*Weekly*" | * set section to "*Weekly*" | ||
* activate all checkboxes of "weekly" (the third block) and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | * activate all checkboxes of "weekly" (the third block) and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | ||
* activate checkbox "active [x]" and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | * activate checkbox "active [x]" and click {{:uls:testsuite:version_180:ok_button.png?nolink|}} | ||
- | Verify, that the above rules are propagated correctly to all details in all teststeps in both domains: | + | Verify, that the above rules are propagated correctly to **all details** in all teststeps in both domains: |
- | * //administration -> compression -> set compression -> ULS -> testsrv11 -> 400 Continuous Weekly Values// | + | * //administration -> aggregation -> set aggregation -> ULS -> testsrv11 -> 400 Continuous Weekly Values// |
- | * //administration -> compression -> set compression -> ULS -> testsrv12 -> 400 Continuous Weekly Values// | + | * //administration -> aggregation -> set aggregation -> ULS -> testsrv12 -> 400 Continuous Weekly Values// |
- | * //administration -> compression -> set compression -> Woodlark -> testsrv21 -> 400 Continuous Weekly Values// | + | * //administration -> aggregation -> set aggregation -> Woodlark -> testsrv21 -> 400 Continuous Weekly Values// |
- | * //administration -> compression -> set compression -> Woodlark -> testsrv22 -> 400 Continuous Weekly Values// | + | * //administration -> aggregation -> set aggregation -> Woodlark -> testsrv22 -> 400 Continuous Weekly Values// |
- | Verify, that the above rules are **NOT** propagated to any detail in any teststep of both domains: | + | {| |
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0300 | ||
+ | | group based aggregations: specifications successfully applied and properly propagated | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
- | * //administration -> compression -> set compression -> ULS -> testsrv11 -> 500 Continuous Monthly Values// | + | Verify, that the above rules are **NOT** propagated to any detail in other teststeps of both domains |
- | * //administration -> compression -> set compression -> ULS -> testsrv12 -> 300 Continuous Daily Values// | + | (although aggregations derived from other definitions may be possible): |
- | * //administration -> compression -> set compression -> Woodlark -> testsrv21 -> 500 Continuous Monthly Values// | + | |
- | * //administration -> compression -> set compression -> Woodlark -> testsrv22 -> 300 Continuous Daily Values// | + | * //administration -> aggregation -> set aggregation -> ULS -> testsrv11 -> 500 Continuous Monthly Values// |
+ | * //administration -> aggregation -> set aggregation -> ULS -> testsrv12 -> 300 Continuous Daily Values// | ||
+ | * //administration -> aggregation -> set aggregation -> Woodlark -> testsrv21 -> 500 Continuous Monthly Values// | ||
+ | * //administration -> aggregation -> set aggregation -> Woodlark -> testsrv22 -> 300 Continuous Daily Values// | ||
+ | |||
+ | {| | ||
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0310 | ||
+ | | group based aggregations: specifications strictly applied | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
- | Go to //administration -> compression -> group autocompression -> AllRounder//, | + | Go to //administration -> aggregation -> group auto aggregation -> AllRounder//, |
click on {{:uls:testsuite:version_180:textmode_button.png?nolink|}} and enter: | click on {{:uls:testsuite:version_180:textmode_button.png?nolink|}} and enter: | ||
- | <file ini create auto-compression for AllRounder> | + | <file ini create auto aggregation for AllRounder> |
server= | server= | ||
section=500* | section=500* | ||
Line 152: | Line 284: | ||
Verify that the checkboxes for the monthly and special blocks are activated. | Verify that the checkboxes for the monthly and special blocks are activated. | ||
- | Click on //changes// of the auto-compression setting to verify that the initial change has been logged. | + | Click on //changes// of the auto aggregation setting to verify that the initial change has been logged. |
Verify, that the above rules are propagated correctly to both domains. Check: | Verify, that the above rules are propagated correctly to both domains. Check: | ||
- | * //administration -> compression -> set compression -> ULS -> testsrv11 -> 400 Continuous Weekly Values// | + | * //administration -> aggregation -> set aggregation -> ULS -> testsrv11 -> 500 Continuous Monthly Values// |
- | * 420 Float Values (only the weekly block) | + | * //administration -> aggregation -> set aggregation -> ULS -> testsrv12 -> 500 Continuous Monthly Values// |
- | * 430 Text Expressions (weekly block) | + | * //administration -> aggregation -> set aggregation -> Woodlark -> testsrv21 -> 500 Continuous Monthly Values// |
- | * 440 Files (weekly block with 8 elements) | + | * //administration -> aggregation -> set aggregation -> Woodlark -> testsrv22 -> 500 Continuous Monthly Values// |
- | * //administration -> compression -> set compression -> ULS -> testsrv12 -> 500 Continuous Monthly Values// | + | |
- | * 520 Float Values (only the monthly block) | + | |
- | * 530 Text Expressions (monthly block and special block) | + | |
- | * 540 Files (monthly block with 8 elements and the special block) | + | |
- | * //administration -> compression -> set compression -> Woodlark -> testsrv21 -> 400 Continuous Weekly Values// | + | |
- | * 410 Integer Values (only the weekly block) | + | |
- | * 420 Float Values (only the weekly block) | + | |
- | * 440 Files (weekly block with 8 elements) | + | |
- | * //administration -> compression -> set compression -> Woodlark -> testsrv22 -> 500 Continuous Monthly Values// | + | |
- | * 510 Integer Values (only the monthly block) | + | |
- | * 520 Float Values (only the monthly block) | + | |
- | * 540 Files (monthly block with 8 elements and the special block) | + | |
- | Verify in the following week and following month, that the aggregations work. | + | {| |
+ | ! Test | ||
+ | ! Description | ||
+ | ! Result | ||
+ | ! Notes | ||
+ | |- | ||
+ | | AGGR 0320 | ||
+ | | group based aggregations: specifications applied with textmode, applied and propagated correctly | ||
+ | | style="color:green" | passed | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | Verify in the following month, that the aggregations work. Build a report that shows all aggregated values. | ||
+ | * go to //administration -> edit reports// | ||
+ | * add a new report with report name "AGGR 0320 - group based aggregations, specifications applied with textmode" | ||
+ | * //edit// it | ||
+ | * click on {{:uls:testsuite:version_180:textmode_button.png?nolink|}} | ||
+ | |||
+ | Insert the report definition: | ||
+ | <file ini report definition> | ||
+ | separation= | ||
+ | name= | ||
+ | description= | ||
+ | groups= | ||
+ | domain=ULS,Woodlark | ||
+ | server=testsrv?? | ||
+ | section=500 Continuous Monthly Values | ||
+ | teststep= | ||
+ | detail= | ||
+ | unit= | ||
+ | separateby=server | ||
+ | period=sincelastmonth | ||
+ | offset=0 | ||
+ | output=last | ||
+ | chartsize= | ||
+ | style=def | ||
+ | values=c | ||
+ | sortcol= | ||
+ | maxdetails=0 | ||
+ | </file> | ||
- | :TODO: report | + | Use {{:uls:testsuite:version_180:show_report.png?nolink|}} to compare the result with |
+ | {{:uls:testsuite:version_180:aggr_0320_group_based_aggregations_specifications_applied_with_textmode.pdf|}} | ||
----- | ----- |