Question

I need to test an application that processes SIP requests. For now, I want to test the performance of the application, so I need a way to generate a big number of SIP requests. I know there are tools for this (like SipP), but I don't know what is the maximum number of requests that a single computer can really send in a particular time interval. I never done this type of test, i need help.

Thanks

Was it helpful?

Solution

Well sipp can generate requests pretty quickly and if you're testing call set up and tear down, i.e. INVITE requests an d associated transaction processing, it's almost certainly the tool for the job.

If you're not concerned about SIP transaction processing and instead just want to bombard your server with SIP requests you could just whip up a console application with a UDP socket and send dummy requests by using a template request and modifying the following:

  • The branchid parameter on the Via header,
  • The tag parameter on the From header,
  • The Call-ID header.

Since your app will only be doing a few string search and replaces and a UDP send it will be able to generate requests probably a 100 to 1000 times faster than a server on the same hardware, that needs to parse and understand the requests, will be able to process them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top