TestNatCaller Class Reference

Inheritance diagram for TestNatCaller:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: NAT test: Caller = NAT, Callee = public.

This scenario simulates two ordinary calls between two user. The Caller is behind a NAT.

(This test case needs a machine with private and public interface)

Part1: Ordinary call, caller sends BYE Part2: Ordinary call, callee sends BYE

Call flow Part1:

 		caller a          sipProxy        callee c
 		|               |               |
 		| (1) INVITE    |               |
 		| =============>|               |
 		|               | (2) INVITE    |
 		|               | ============> |
 		| (3) 100       |               |
 		| <=============|               |
 		|               | (4) 180       |
 		|               | <============ |
 		| (5) 180       |               |
 		| <=============|               |
 		|               |(6) 200 OK     |
 		|               |<============= |
 		| (7) 200 OK    |               |
 		| <=============|               |
 		| (8) ACK       |               |
 		| ============> |               |
 		|               | (9) ACK       |
 		|               | ============> |
 		| (10) BYE      |               |
 		| ============> |               |
 		|               | (11) BYE      |
 		|               | ============> |
 		|               | (12) 200 OK   |
 		|               | <============ |
 		| (13) 200 OK   |               |
 		| <=============|               |
 	

Call flow Part2 (1-9 see above):

 		caller a          sipProxy        callee c
 		.               .               .
 		.               .               .
 		.               .               .
 		|               | (10) BYE      |
 		|               | <============ |
 		| (11) BYE      |               |
 		| <============ |               |
 		| (12) 200 OK   |               |
 		| =============>|               |
 		|               | (13) 200 OK   |
 		|               | ============> |
 	

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

Definition at line 85 of file TestNatCaller.py.


Public Member Functions

def initTestCase
 this function is called by the __init__ function from the parent.
def test
 Abstract method for implementation of the scenario to test.

Member Function Documentation

def initTestCase (   self  ) 

this function is called by the __init__ function from the parent.

Don't define your own __init__ here!

Reimplemented from TestCase.

Definition at line 91 of file TestNatCaller.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 101 of file TestNatCaller.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