CEMon Testplan version 1.0

Unit tests

Not available

Deployment tests

The yum repositories to be used (apart from the OS ones) are:

Since CEMon is deployed as part of the CREAM-CE, the command to be used for yum installation is:

yum install emi-cream-ce

and for yaim-configuration:

/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE

Yaim variable USE_CEMON must be set to true

System tests

Basic functionality tests

Resource BDII glue1 test

Check if the CEMon service is published in the CREAM CE resource BDII in Glue 1.3

ldapsearch -h <host> -x -p 2170 -b "o=grid" "objectclass=GlueService"

This should (also) return an objectclass for CEMon

Resource BDII glue 2 test

Check if the CEMon service is published in the CREAM CE resource BDII in Glue 2

ldapsearch -h <host> -x -p 2170 -b "o=glue" "objectclass=Glue2Endpoint"

This should (also) return an objectclass for CEMon

GetInfo test

Check if the getinfo operation works and returns information about the service:

glite-ce-monitor-getinfo --cert <cert> --key <key> https://<host>:8443/ce-monitor/services/CEMonitor

GetTopics test

Check if the gettopics operation works and returns the list of installed topic

glite-ce-monitor-gettopics --cert <cert> --key <key> https://<host>:8443/ce-monitor/services/CEMonitor

GetEvent test

Check if the getevent operation works and return info for the specified topic in the specified dialect

glite-ce-monitor-getevent --cert <cert> --key <key> --topic <topic> --dialect <dialect> https://<host>:8443/ce-monitor/services/CEMonitor

Subscription with authentication test

Check if subscriptions towards a authenticated consumer work:

Start an authenticated consumer:

glite-ce-monitor-consumer --cert <cert> --key <key>  <port>

Then create a subscription for that consumer and verifies that it receives events:

glite-ce-monitor-subscribe --key <key> --cert <cert> --topic <topic> --dialects <dialect> --consumer-url https://<host>:<port> https://<host>:8443/ce-monitor/services/CEMonitor

Subscription without authentication test

Check if subscriptions towards a not authenticated consumer work:

Start a not authenticated consumer:

glite-ce-monitor-consume  <port>

Then create a subscription for that consumer and verifies that it receives events:

glite-ce-monitor-subscribe --key <key> --cert <cert> --topic <topic> --dialects <dialect> --consumer-url http://<host>:<port> https://<host>:8443/ce-monitor/services/CEMonitor

Unsubscription test

Check if the unsubscribe operation works.

Unsubscribe a previously created subscription and verifies that the relevant consumer doesn't receive anymore events:

glite-ce-monitor-unsubscribe --cert <cert> --key <key> --id <subsc-id> https://<host>:8443/ce-monitor/services/CEMonitor

gJAF and ARGUS authorization tests

Repeat the tests:

  • GetInfo test
  • GetTopics test
  • GetEvent test
  • Subscription with authentication test
  • Subscription without authentication test
  • Unsubscription test

with e CE configured first for gJAF and then configured for ARGUS

Regression tests

See: https://wiki.italiangrid.it/twiki/bin/view/CREAM/RegressionTestWorkPlan

Performance and scalability tests

Not available

Standard compliance and conformance tests

Not available

-- MassimoSgaravatto - 2011-04-19

Edit | Attach | PDF | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r4 - 2012-02-24 - MassimoSgaravatto
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback