User Tools

Site Tools


uls:testsuite:version_180:continuous_values

This is an old revision of the document!


Continuous Values

Several values of all supported value type are created and transferred to ULS in regular time intervals (each minute). Values are based on

  • the second of the hour
  • the second of the day
  • the second of the week
  • the second of the month

Mainly the LOB-based values are only generated each 10 minutes or just once every hour.


Setup

Create a crontab to make the “continuous_values” script execute every minute. The script generates all values.

cd /etc/cron.d/
vi uls_test_suite
uls_test_suite
* * * * * uls /home/uls/testsuite/test_suite_1_8_0/continuous_values > /home/uls/testsuite/test_suite_1_8_0/continuous_values.log 2>&1

Check the log file, it must have size zero (no output, no errors).


Interactive Verification

Verify, that the generated ULS value files are transferred to the ULS-server and that their content is stored correctly. Be sure, that the script ran already for more than one day!

Use a webbrowser, login as ULS user “AmieAction” (full rights on “ULS”, read-only on “Woodlark”), chose the correct time interval (“yesterday” if the script runs already for more than a day or explicit iso time interval) and check all values for domain “ULS” and for domain “Woodlark”.

The values have following structure (section, teststep):

  • 200 Continuous Hourly Values
    • 210 Integer Values
    • 220 Float Values
    • 230 Text Expressions
    • 240 Files
  • 300 Continuous Daily Values
    • 310 Integer Values
    • 320 Float Values
    • 330 Text Expressions
    • 340 Files
  • 400 Continuous Weekly Values
    • 410 Integer Values
    • 420 Float Values
    • 430 Text Expressions
    • 440 Files
  • 500 Continuous Monthly Values
    • 510 Integer Values
    • 520 Float Values
    • 530 Text Expressions
    • 540 Files

The continuous values are spread over different sources (servers) and hence over different domains. The values are produced for each time interval (hourly, daily, weekly, monthly):

  • x10 Integer Values
    • Ramp '#'
    • Cosine '[]' (open and closed bracket)
    • Steps '[#]'
  • x20 Float Values
    • Voltage 'V'
    • Normalized Gaussian Distribution 'MB/s'
    • Percentage '%'
    • Energy '[E]': Wh, kWh, MWh
    • Temperature '[E]': °Rø, °F, °C, K
  • x30 Text Expressions
    • Proportional Expression ' ' (blank)
    • proportional expressions separated by blank line for same time stamp '[N]'
    • Monospaced Expression '_' (underline)
    • monospaced expressions separated by blank line for same time stamp '_N'
  • x40 Files
    • Three Rolling Wheels 'image'
    • Three Rolling Wheels 'file'
    • Spirograph 'image'
    • Spirograph 'file'

Crosscheck all details with the contents of the reports below.


Report

Different reports are defined and checked to ensure correct incoming values and a correct reporting function.


Report 'Continuous Values - Counts and Last Values'

As user “AmieAction” create a report from interactive choice.

  • click on reports and
  • create a new report “Continuous Values - Counts and Last Values”
  • then edit and

:!: be sure to remove any possible blanks of the expressions when entering them in the report detail text boxes.

name $#) Counts of all Continuous Values
sections:

! period:

! display:

count

Add another report detail, click on :

name $#) Last Values of all Continuous Values
server:

! sections:

! period:

! display:

last values

Use to show the report.

Click reports → Continuous Values - Counts and Last Values to see the same results.

Go to administration → edit mail reports and send the “Continuous Values - Counts and Last Values” report to your e-mail address. Use:

  • (x) landscape
  • [x] send now

(Alternatively, if, e.g. e-mail is not configured, you may write the report to a directory (if defined as notification destination) and check the generated pdf document)

It should look like continuous_values_-_counts_and_last_values_2014-02-20.pdf. There may be more entries in the report if it is generated after having defined combi-details.

Verify also page numbering and correct page breaks.


Report 'Continuous Values - Best Overview'

The contiuous values must have been generated for at least one whole day. The report will change its appearance over time, especially the weekly and monthly values may differ in representation depending on the day of the week or month.

This report shows many values as graphs or tables as an overview.

Values are spread over different sources and domains. The time intervals are chosen for the best representation of the specific values.

The report is created through a manual selection of values and later changed to contain :TODO:

As user “SystematicGuy” create the first report detail and the report itself:

  • click on main menu → yesterday →
  • create a new report “Continuous Values - Best Overview”
  • then edit and

Be sure that the expressions in the report detail text boxes do not have any leading nor trailing blanks :!:

name $#) Continuous Hourly Values
sections:

! period:

! display:

count

Use to show the report.

Click reports → All Values to see the same results.

Go to administration → edit mail reports and send the “All Continuous Values” report to your e-mail address. Use:

  • (x) landscape
  • [x] send now

(Alternatively, you may write the report to a directory and check that output, if, e.g. e-mail is not configured)

It should look like this.

Verify also page numbering and correct page breaks.


Retention

Set the Retention Time Settings for Values for some values to a longer period.


Combi Details

on all different value types :TODO:

uls/testsuite/version_180/continuous_values.1392889348.txt.gz · Last modified: 2014-02-20 10:42 by uls