TestPerformance Class Reference

Inheritance diagram for TestPerformance:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: performance test.

A user registers at a sip router. He first trys to register without authentication, but after receiving an 407 message he adds an authentication header. The test succeeds if 1000 registrations succeed in one minute.

Call flow:

 		callee b        sip-router
 		|               |                                                                               
 		| (1) REGISTER  |                                                                               
 		| ============> |                                                                               
 		|  (2) 407      |                                                                               
 		| <============ |                                                                               
 		|  (3) ACK      |                                                                               
 		| ============> |                                                                               
 		|  (4) REGISTER |                                                                               
 		| ============> |                                                                               
 		|  (5) 200      |                                                                               
 		| <============ |                                                                               
 	

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

Definition at line 49 of file TestPerformance.py.


Public Member Functions

def initTestCase
 This function is expected to be overridden by the child class.
def test
 implementation of test case: performance test: register with auth, 1000 calls per minute

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 51 of file TestPerformance.py.

def test (   self  ) 

implementation of test case: performance test: register with auth, 1000 calls per minute

Reimplemented from TestCase.

Definition at line 65 of file TestPerformance.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