TestPrepaidReinviteError Class Reference

Inheritance diagram for TestPrepaidReinviteError:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: prepaid test to pstn with incorrect reinvite from caller.

This scenario simulates an ordinary call with one reinvite into pstn. The caller is a prepaid customer. So the call is routed over an application server (as) running a prepaid application.

Call flow:

 		caller a      sipProxy + as        pstn
 		|               |               |
 		| (1) INVITE    |               |
 		| =============>|               |
 		|               | (2) INVITE    |
 		|               | ============> |
 		| (3) 100       |               |
 		| <=============|               |
 		|               | (4) 180       |
 		|               | <============ |
 		| (5) 180       |               |
 		| <=============|               |
 		|               | (6) 200 OK    |
 		|               | <============ |
 		| (7) 200 OK    |               |
 		| <=============|               |
 		| (8) ACK       |               |
 		| ============> |               |
 		|               | (9) ACK       |
 		|               | ============> |
 		| (10) reINVITE |               |
 		| =============>|               |
 		|               | (11) reINVITE |
 		|               | ============> |
 		| (12) 100      |               |
 		| <=============|               |
 		|               | (13) 488/606  |
 		|               | <============ |
 		| (14) 488/606  |               |
 		| <=============|               |
 		| (15) ACK      |               |
 		| ============> |               |
 		|               | (16) ACK      |
 		|               | ============> |
 		|               | (17) BYE      |
 		|               | <============ |
 		| (18) BYE      |               |
 		| <============ |               |
 		| (19) 200 OK   |               |
 		| =============>|               |
 		|               | (20) 200 OK   |
 		|               | ============> |
 	

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

Definition at line 79 of file TestPrepaidReinviteError.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 81 of file TestPrepaidReinviteError.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 91 of file TestPrepaidReinviteError.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