monasca-vagrant/tests
Craig Bryant 2ae8b2bbef Have change_alarm_state return success or failure
And actually check it in smoke.py

Change-Id: I888bca006b5c0e82dd11601a2e5824579fad1048
2014-11-04 13:24:29 -07:00
..
alarms Simple test setup from api->thresh->notification->persister 2014-03-24 16:44:25 -06:00
alarms-no-notification Simple test setup from api->thresh->notification->persister 2014-03-24 16:44:25 -06:00
alarm_crud.py Enhance smoke test 2014-10-23 08:44:31 -06:00
alarm.py Update the field name for actions_enabled in Alarms. It changed in the API 2014-06-02 13:23:41 -06:00
alarms_notifications.py Simple test setup from api->thresh->notification->persister 2014-03-24 16:44:25 -06:00
cli_wrapper.py Have change_alarm_state return success or failure 2014-11-04 13:24:29 -07:00
env.sh Added env variables for use with python-monascaclient 2014-09-16 15:31:38 -06:00
measurement_test.py Fix the system tests to work with keystone auth 2014-08-06 10:43:54 -06:00
notification_crud.py Enhance smoke test 2014-10-23 08:44:31 -06:00
notification_cycleTest.py Added test to alarm_crud.py of changing state via API and then having it change back to original state via the incoming metrics. 2014-06-11 09:36:57 -06:00
notification-jmeter.jmx Simple test setup from api->thresh->notification->persister 2014-03-24 16:44:25 -06:00
notification.json Initial alarm notifications. 2014-03-24 13:28:33 -06:00
notification.py Added test to alarm_crud.py of changing state via API and then having it change back to original state via the incoming metrics. 2014-06-11 09:36:57 -06:00
README.md test readme fix 2014-05-09 09:47:39 -06:00
smoke.py Have change_alarm_state return success or failure 2014-11-04 13:24:29 -07:00
utils.py Enhance smoke test 2014-10-23 08:44:31 -06:00

Test notifications

  • The api is currently rejecting alarms with no action specified, so expect an error defining that alarm.
  • Setup alarms and Notifications
  • Run the jmeter tests
    • jmeter -t notification-jmeter.jmx &
    • The config is saved for a basic test that should create a notification on alarm and a hundred non-notification alarms. Change the thread loop counts to try different combinations.