User Tools

Site Tools


uls:testsuite:version_180:continuous_values

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 with pattern-based report details.

  • 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 this. 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 - Manual Selection'

As user “SystematicGuy” create a report from interactive choice. The continuous values must have been generated for at least two days, yesterday should be covered completely.

  • go to main menu → yesterday → Woodlark → testsrv22 → 300 Continuous Daily Values → 320 Float Values
  • click on Percentage to verify a sine curve

Use to add that to a new report:

name Sine Curve
description Manually added.
report description append
Continuous Values - Manual Selection

That should look like:

Go to reports and click on Continuous Values - Manual Selection to verify the correct output.

  • go to main menu → yesterday → ULS → testsrv11 → 300 Continuous Daily Values → 340 Files
  • click
  • chose “Spirograph / IMAGE”
  • display: last values
  • click and to append the output to the existing report
  • use “Spirograph” as name
  • append the report detail to the existing report “Continuous Values - Manual Selection”

The resulting report should look like this.


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 by using the textmode.

As user “SystematicGuy”

  • go to administration → edit reports
  • create the new report “Continuous Values - Best Overview”
  • click edit (be sure to edit the right report, double check the report name!)

It should look like :TODO:

Verify also page numbering and correct page breaks.


Retention

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


Combined Details

Combined details can be used to make calculations on details or build relations between details of one teststep. It may be used in reports and favorites, but not


group based combined details on [E]

As user “TheSpyder”:

  • go to administration → combi details → group autocombidetails → AllRounders
teststep detail unit expression active remark
220 Float Values Recalculated Energy Wh $VALUE_OF('Energy/[E]@Wh') [x]
  • go to main menu → today → ULS → testsrv11 → 200 Continuous Hourly Values → 220 Float Values
  • verify that the detail “Recalculated Energy” is shown in the table
Test Description Result Notes
CDET 010 group based combined details on [E], definition and correct propagation passed
  • verify also, that a diagram can be produced by clicking on the table heading

Test Description Result Notes
CDET 012 group based combined details on [E], graphical representation passed

Combi Details on %


Complex Combi Details


uls/testsuite/version_180/continuous_values.txt · Last modified: 2014-02-27 09:48 by uls