Changeset 2033 for pjproject/trunk/pjsip-apps/src/test-pjsua/README.TXT
- Timestamp:
- Jun 20, 2008 12:25:55 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/README.TXT
r2009 r2033 5 5 0. What is this 6 6 --------------- 7 This is the automated testing scripts for pjsua. It can do many things (just don't ask it to write good documentation :) ). 7 This is the automated testing scripts for pjsua. It can do many things (just don't ask 8 it to write good documentation :) ). 8 9 9 10 … … 14 15 - pjsua application, built and placed in pjsip-apps/bin directory 15 16 - the pjsua must be built with: 16 - TLS enabled 17 - SRTP enabled 17 - SRTP enabled (the default) 18 18 19 19 … … 26 26 $ python run.py MODULE CONFIG 27 27 28 The run.py is the main entry for the test. It imports the various inc_xxx.py files, and it will load the MODULE. The MODULE contains specific test flows, and we have couple of them: 29 - mod_run.py: this module implements a simple test which just run pjsua with the configuration from CONFIG file and checks if pjsua can start properly. 30 - mod_call.py: this module implements call testing where it spawns two pjsua instances each with configurations as specified in CONFIG file, makes one pjsua call the other, and checks if the call can be established. 28 The run.py is the main entry for the test. It imports the various inc_xxx.py files, and 29 it will load the MODULE. The MODULE contains specific test flows, and we have few of 30 them: 31 32 - mod_run.py: 33 a simple test which just run pjsua with the configuration from CONFIG file 34 and checks if pjsua can start properly. 35 36 - mod_call.py: 37 call testing where it spawns two pjsua instances each with configurations as 38 specified in CONFIG file, makes one pjsua call the other, and checks if the call 39 can be established. 40 41 - mod_pres.py: 42 presence testing 43 44 - mod_sendto.py: 45 Simple UAC to send arbitrary SIP message 46 47 - mod_media_playrec.py: 48 Media testing 31 49 32 50 Example: 33 51 $ python run.py mod_run.py scripts-run/100_simple.py 34 52 $ python run.py mod_call.py scripts-call/100_simple.py 53 54
Note: See TracChangeset
for help on using the changeset viewer.