TestBasic4Users Class Reference

Inheritance diagram for TestBasic4Users:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: basic test.

A caller a calls an callee c and after terminating the call he calls callee d and terminates the call. Afterwards a caller b calls callee c and after terminating the call he calls callee d.

Call flow:

 		caller a        caller b        sipProxy        callee c        callee d
 		|               |               |               |               |
 		| (1) INVITE    |               |               |               |                               
 		| ==============|=============> |               |               |
 		|               |               | (2) INVITE    |               |                               
 		|               |               | ============> |               |
 		|               |(3) 100        |               |               |                               
 		| <=============|============== |               |               |
 		|               |               | (4) 200 OK    |               |                               
 		|               |               | <============ |               |
 		|               |(5) 200 OK     |               |               |
 		| <=============|============== |               |               |
 		|               |(6) ACK        |               |               |                
 		| ==============|=============> |               |               |
 		|               |               | (7) ACK       |               |                               
 		|               |               | ============> |               |
 		| (8) BYE       |               |               |               |                               
 		| ==============|=============> |               |               |
 		|               |               | (9) BYE       |               |                               
 		|               |               | ============> |               |
 		|               |               | (10) 200 OK   |               |                               
 		|               |               | <============ |               |
 		|               |(11) 200 OK    |               |               |                
 		| <=============|============== |               |               |
 	
 		| (12) INVITE   |               |               |               |                               
 		| ==============|=============> |               |               |
 		|               |               | (13) INVITE   |               |                               
 		|               |               | ==============|=============> |
 		|               |(14) 100       |               |               |                               
 		| <=============|============== |               |               |
 		|               |               | (15) 200 OK   |               |                               
 		|               |               | <=============|============== |
 		|               |(16) 200 OK    |               |               |                
 		| <=============|============== |               |               |
 		|               |(17) ACK       |               |               |                
 		| ==============|=============> |               |               |
 		|               |               | (18) ACK      |               |                               
 		|               |               | ==============|=============> |
 		| (19) BYE      |               |               |               |                               
 		| ==============|=============> |               |               |
 		|               |               | (20) BYE      |               |                               
 		|               |               | ==============|=============> |
 		|               |               | (21) 200 OK   |               |                               
 		|               |               | <=============|============== |
 		|               |(22) 200 OK    |               |               |
 		| <=============|============== |               |               |
 		
 		|               |               |               |               |
 		|               | (23) INVITE   |               |               |                               
 		|               | ============> |               |               |
 		|               |               | (24) INVITE   |               |                               
 		|               |               | ============> |               |
 		|               | (25) 100      |               |               |                               
 		|               | <============ |               |               |
 		|               |               | (26) 200 OK   |               |                               
 		|               |               | <============ |               |
 		|               | (27) 200 OK   |               |               |
 		|               | <============ |               |               |
 		|               | (28) ACK      |               |               |                
 		|               | ============> |               |               |
 		|               |               | (29) ACK      |               |                               
 		|               |               | ============> |               |
 		|               | (30) BYE      |               |               |                               
 		|               | ============> |               |               |
 		|               |               | (31) BYE      |               |                               
 		|               |               | ============> |               |
 		|               |               | (32) 200 OK   |               |                               
 		|               |               | <============ |               |
 		|               | (33) 200 OK   |               |               |                
 		|               | <============ |               |               |
 	
 		|               | (34) INVITE   |               |               |                               
 		|               | ============> |               |               |
 		|               |               | (35) INVITE   |               |                               
 		|               |               | ==============|=============> |
 		|               | (36) 100      |               |               |                               
 		|               | <============ |               |               |
 		|               |               | (37) 200 OK   |               |                               
 		|               |               | <=============|============== |
 		|               | (38) 200 OK   |               |               |
 		|               | <============ |               |               |
 		|               | (39) ACK      |               |               |                
 		|               | ============> |               |               |
 		|               |               | (40) ACK      |               |                               
 		|               |               | ==============|=============> |
 		|               | (41) BYE      |               |               |                               
 		|               | ============> |               |               |
 		|               |               | (42) BYE      |               |                               
 		|               |               | ==============|=============> |
 		|               |               | (43) 200 OK   |               |                               
 		|               |               | <=============|============== |
 		|               | (44) 200 OK   |               |               |                
 		|               | <============ |               |               |
 	

Author:
Enrico Hartung <enrico@iptel.org>
License:
GPL

Definition at line 131 of file TestBasic4Users.py.


Public Member Functions

def initTestCase
 This function is expected to be overridden by the child class.
def test
 Abstract method for implementation of the scenario to test.

Member Function Documentation

def initTestCase (   self  ) 

This function is expected to be overridden by the child class.

Here the files to adopted have to be defined.

Reimplemented from TestCase.

Definition at line 134 of file TestBasic4Users.py.

def test (   self  ) 

Abstract method for implementation of the scenario to test.

This method is supposed to be overwritten by the child class including the scenario.

In this method access to configuration data is offered (see core.testenv.TestConfigurationContainer).

Reimplemented from TestCase.

Definition at line 145 of file TestBasic4Users.py.


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 17:28:34 2008 for TestEnv by  doxygen 1.5.5