This Erlang application is a Service implementing a simple SIP load tester.
Its purpose is to test NkSIP under heavy load, using transports udp, tcp and tls, and testing OPTION requests, REGISTER requests and INVITE + ACK + BYE call setups.
If offers two different test modes:
- In the standard mode, it generates and sends the requests using NkSIP request generation functions.
- In raw mode, it sends locally generated raw packets. This mode is useful to test a NkSIP server with low overhead in generating the clients.
Full test suites are available in nksip_loadtest:full/0
and nksip_loadtest:full/1
. More fine-grained tests can be started with nksip_loadtest:launch/1
.
The test is directed to a started NkSIP in the same host by default, but you can start this application and a listening server (using nksip_loadtest_lib:start_server/0
) on another node and use the option host
to send the requests to the remote node.
You can start the application this way:
> git clone https://github.com/NetComposer/nksip_samples
> cd nksip_samples
> make shell