Size: 1017
Comment:
|
Size: 2481
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
=== Validate that a video can be played === | === Test the validation module === Confirm that video streams are validated correctly. ==== Validate that a video can be played ==== |
Line 14: | Line 17: |
1. Insert parameters:{{{ Server: rtmp://<server>:<port>/chaos?sessionID=drp3_91.700_DR-P3_pcm_20060821045601_20060822045502.mp3&objectID=976&includeFiles=true Stream: mp3:drp3_91.700_DR-P3_pcm_20060821045601_20060822045502.mp3}}} 1. Success: The media file is played in the browser. ==== Validate that a video is rejected ==== |
|
Line 15: | Line 25: |
a. Server: rtmp://130.225.24.62:1936/chaos?sessionID=drp3_91.700_DR-P3_pcm_20060821045601_20060822045502.mp3&objectID=976&includeFiles=true | a. Server: rtmp://<server>:<port>/chaos?sessionID=invalid&objectID=976&includeFiles=true |
Line 17: | Line 27: |
1. Success: The media file is played in the browser. | 1. Success: Nothing is played in the browser. === Test eventlogging === Confirm that events are logged correctly. ==== Test that events are sent to MCM ==== 1. Generate event sequence by doing the following a. Start video playback by pressing the Play button a. Wait 3 seconds a. Pause playback a. Resume playback a. Wait 4 seconds a. Rewind a. Wait 6 seconds a. Seek to somewhere in the middle a. Wait 3 seconds a. Pause playback a. Seek to somewhere in the middle a. Resume playback a. Wait 3 seconds a. Pause playback a. Stop playback 1. The result in MCM is expected to be (Event, start, stop): a. (PLAY, 0, 0) a. (PAUSE, 0, 3.000) a. (REWIND, 3.000, 7.000) a. (PAUSE, 0, 6.000) a. (PAUSE, 200.000, 203.000) a. (PAUSE, 100.000, 103.000) a. (STOP, 0, 0) 1. Verify that the same result can be found in the db. ==== Test that local logging can be turned off ==== 1. Set property {{{StatisticsLoggingLocallyInDB}}} to {{{false}}}. 1. Generate a few event. 1. Check that events are logged in MCM 1. Check that events are missing in local DB. |
Integration test - Version 1
The purpose of this test is to validate that an installation of the wowza plugin was successful.
Prerequisites
An MCM session validation server must run. This test assumes that the MCM validation server mock is used. See Setup MCM validation server mock for instructions on how to set the server up.
Integration tests
Test the validation module
Confirm that video streams are validated correctly.
Validate that a video can be played
Start Wowzas SimpleVideoStreaming client:
Insert parameters:
Server: rtmp://<server>:<port>/chaos?sessionID=drp3_91.700_DR-P3_pcm_20060821045601_20060822045502.mp3&objectID=976&includeFiles=true Stream: mp3:drp3_91.700_DR-P3_pcm_20060821045601_20060822045502.mp3
- Success: The media file is played in the browser.
Validate that a video is rejected
- Insert parameters:
Server: rtmp://<server>:<port>/chaos?sessionID=invalid&objectID=976&includeFiles=true
- Stream: mp3:drp3_91.700_DR-P3_pcm_20060821045601_20060822045502.mp3
- Success: Nothing is played in the browser.
Test eventlogging
Confirm that events are logged correctly.
Test that events are sent to MCM
- Generate event sequence by doing the following
- Start video playback by pressing the Play button
- Wait 3 seconds
- Pause playback
- Resume playback
- Wait 4 seconds
- Rewind
- Wait 6 seconds
- Seek to somewhere in the middle
- Wait 3 seconds
- Pause playback
- Seek to somewhere in the middle
- Resume playback
- Wait 3 seconds
- Pause playback
- Stop playback
- Start video playback by pressing the Play button
- The result in MCM is expected to be (Event, start, stop):
- (PLAY, 0, 0)
- (PAUSE, 0, 3.000)
- (REWIND, 3.000, 7.000)
- (PAUSE, 0, 6.000)
- (PAUSE, 200.000, 203.000)
- (PAUSE, 100.000, 103.000)
- (STOP, 0, 0)
- Verify that the same result can be found in the db.
Test that local logging can be turned off
Set property StatisticsLoggingLocallyInDB to false.
- Generate a few event.
- Check that events are logged in MCM
- Check that events are missing in local DB.