Task that runs a SIPp scenario.
The tasks execute the sipp
command in a scenario and waits for its
termination, returning the status code of the process executed.
The variables overwritten by default by the task are:
image
: the default image to run isctaloi/sipp
Additional settings that can be passed to the task:
config_file
: the XML scenario file, relative to the scenario's directory, that should be executed; if missing, thesipp.xml
file is used if present in the scenario's directory, otherwise one of the default scenarios are executed, depending on the configuration of sippusername
: if authentication is used in the scenario, represents the auth username; optional, if missing and authentication is used, the scenario will failpassword
: if authentication is used in the scenario, represents the auth password; optional, if missing and authentication is used, the scenario will failport
: the local port to bind on; optional, if missing, a random port is usedkeys
: a dictionary representingk: v
pairs that should be passed to thesipp
application as keys (checksipp -key
parameter for more information).calls
: the number of calls the scenario should handle; optional, default1
; if the specialunlimited
value is used, no limit is setduration
: the default duration used for thepause
nodes in the XML scenario (seesipp -d
parameter for more information).proxy
: the SIP outbound proxy used for the scenario; if missing, the scenario runs in UAS modeservice
: the destination service used to test; optional, default value is usuallysipp
(seesipp -s
parameter for more information).scenario
: a variable that can be used in XML scenario files; it can be added to thekeys
dictionary as well, but the default value is the name of the SIPssert scenario
Execute a sipp scenario defined in the cancel.xml
file, with a domain key:
- name: Cancel
type: sipp
config_file: cancel.xml
keys:
domain: opensips.org