Documentation
¶
Overview ¶
Package xk6sip is the k6 extension k6/x/sip. It exposes the SIP engine to k6 scripts and turns engine events into k6 metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleInstance ¶
type ModuleInstance struct {
// contains filtered or unexported fields
}
func (*ModuleInstance) Exports ¶
func (mi *ModuleInstance) Exports() modules.Exports
type RootModule ¶
type RootModule struct {
// contains filtered or unexported fields
}
RootModule is shared by all VUs; it owns the single SIP engine of the process so that engine-wide limits (register rate) apply to the whole test.
func New ¶
func New() *RootModule
func (*RootModule) NewModuleInstance ¶
func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
testpbx
command
Command testpbx runs the test registrar/B2BUA for local k6 runs and writes the generated subscribers to a CSV file for the scripts.
|
Command testpbx runs the test registrar/B2BUA for local k6 runs and writes the generated subscribers to a CSV file for the scripts. |
|
Package engine is the SIP core: subscribers (Device), calls and their timings.
|
Package engine is the SIP core: subscribers (Device), calls and their timings. |
|
Package media is the RTP side of a call: G.711 audio sent from a shared scheduler, RFC 3550 receive statistics, RFC 4733 DTMF and detection of whether any audio arrives at all.
|
Package media is the RTP side of a call: G.711 audio sent from a shared scheduler, RFC 3550 receive statistics, RFC 4733 DTMF and detection of whether any audio arrives at all. |
|
Package testpbx is a minimal registrar + B2BUA for tests and examples.
|
Package testpbx is a minimal registrar + B2BUA for tests and examples. |
Click to show internal directories.
Click to hide internal directories.