-
Notifications
You must be signed in to change notification settings - Fork 0
/
sipptam.sample.xml
69 lines (56 loc) · 1.86 KB
/
sipptam.sample.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8" ?>
<!--
sipptam
~~~~~~~
Configuration file example.
luismartingil
-->
<!-- Device under test (DUT). Mandatory. -->
<sipptam duthost="10.22.22.30"
dutport="5060">
<!-- Slaves to use. Mandatory. -->
<tas host="10.22.22.200" port="8008" jobs="25"/>
<tas host="10.22.22.201" port="8008" jobs="25"/>
<!-- Testruns definition. Mandatory (at least one) -->
<testrun id="test-ouri"
scenarioPath="/scenarios/test-ouri-0000*.xml"
configlink="simple"
modlink="one"/>
<testrun id="test-to"
scenarioPath="/scenarios/test-t-0000*.xml"
configlink="simple"
modlink="one"/>
<testrun id="test-from"
scenarioPath="/scenarios/test-f-0000*.xml"
configlink="simple"
modlink="one"/>
<testrun id="test-fring"
scenarioPath="/scenarios/test-fring-0000*.xml"
configlink="simple"
modlink="one"/>
<!-- Configs used by testruns. Mandatory (at least one) -->
<config id="simple"
ratio="2"
max="10"
pause="1.0"
tries="1"/>
<config id="advanced"
ratio="5;10"
max="20;60"
pause="5.0"
tries="2"/>
<!-- Modifications that might be applied by a testrun. Optional. -->
<mod id="one">
<replace regex="(.*_a.xml)" src="__notusednow1__" dst="tmp1a"/>
<replace regex="(.*_a.xml)" src="__notusednow2__" dst="tmp1a"/>
<injection regex="(.*)" path="/usr/local/share/sipptam/injections/injection1.sample.csv"/>
</mod>
<!-- Other options. Change in case you know what you're doing. Mandatory. -->
<!-- * execMode : {serial, parallel} -->
<!-- * scenarioValidate : Validates XML syntax of scenarios -->
<!-- * regexValidate : Validates all the used regexs -->
<advanced execMode="parallel"
scenarioValidate="False"
regexValidate="True"/>
</sipptam>