背景
- 评估SIP Server每秒建立呼叫数量,即CAPS(Call Attempts Per Sercond)。
模型
- 使用SIPP:1s 20路,通话时长20s,并发100路,共呼叫5000路呼叫。则该模型对应的CAPS:5000除以呼叫持续时间(如下图:5000 / (4 * 60 + 20) ≈ 19.23)
-
------------------------------ Scenario Screen -------- [1-9]: Change Screen -- Call-rate(length) Port Total-time Total-calls Remote-host 20.0(20000 ms)/1.000s 50900 260.71 s 5000 192.168.129.142:50600(UDP) -------------------------+---------------------------+-------------------------- Successful call | 0 | 5000 Failed call | 0 | 0 -------------------------+---------------------------+-------------------------- Call limit reached (-m 5000), 0.000 s period 0 ms scheduler resolution 0 calls (limit 100) Peak was 100 calls, after 5 s 0 Running, 646 Paused, 0 Woken up 0 dead call msg (discarded) 0 out-of-call msg (discarded) 1 open sockets Messages Retrans Timeout Unexpected-Msg INVITE ----------> 5000 0 0 401 <---------- 5000 0 0 0 ACK ----------> 5000 0 INVITE ----------> 5000 0 0 100 <---------- 5000 0 0 0 180 <---------- 5000 0 0 0 183 <---------- 0 0 0 0 480 <---------- 0 0 0 0 481 <---------- 0 0 0 0 488 <---------- 0 0 0 0 500 <---------- 0 0 0 0 503 <---------- 0 0 0 0 200 <---------- 5000 0 0 0 ACK ----------> 5000 0 [ NOP ] Pause [ 5000ms] 5000 0 BYE ----------> 5000 0 0 200 <---------- 5000 0 0 0 ------------------------------ Test Terminated -------------------------------- ----------------------------- Statistics Screen ------- [1-9]: Change Screen -- Start Time | 2022-03-02 09:53:01.808513 1646185981.808513 Last Reset Time | 2022-03-02 09:57:22.531012 1646186242.531012 Current Time | 2022-03-02 09:57:22.531525 1646186242.531525 -------------------------+---------------------------+-------------------------- Counter Name | Periodic value | Cumulative value -------------------------+---------------------------+-------------------------- Elapsed Time | 00:00:00:000000 | 00:04:20:723000 Call Rate | 0.000 cps | 19.177 cps -------------------------+---------------------------+-------------------------- Incoming call created | 0 | 0 OutGoing call created | 0 | 5000 Total Call created | | 5000 Current Call | 0 | -------------------------+---------------------------+-------------------------- Successful call | 0 | 5000 Failed call | 0 | 0 -------------------------+---------------------------+-------------------------- Call Length | 00:00:00:000000 | 00:00:05:054000 ------------------------------ Test Terminated --------------------------------