1 / 20

Introduction to SIPp

Introduction to SIPp. Speaker: Kai-Jia Chang Adviser : Quincy Wu Date : 2009-10-22. Outline:. Custom XML External CSV Demo custom XML Demo external CSV IPv6 support Reference. XML:. Extensible Markup Language ,

keegan
Download Presentation

Introduction to SIPp

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to SIPp Speaker: Kai-Jia Chang Adviser : Quincy Wu Date : 2009-10-22

  2. Outline: • Custom XML • External CSV • Demo custom XML • Demo external CSV • IPv6 support • Reference

  3. XML: Extensible Markup Language, 也就是延伸標記語言。 XML和HTML一樣都是一種標記語言,利用標籤來定義各種屬性。為文字編碼,不同於二位元或其他編碼方式,可以不須經由解碼就能閱讀了解。且建構於統一碼(Unicode)之上。

  4. HTML v.s XML: • HTML: • 機器與人類的交流溝通語言 • 格式相對較鬆散,重視文章的格局、外觀 • XML: • 機器與機器的交流溝通語言 • 對於格式要求嚴謹

  5. Example: <?xml version=“1.0” encoding=“Big5” ?> <商品> <!-- 這是XML的舉例 --> <名稱>礦泉水</名稱> <價格>NT:500</價格> </商品> • 方便自動化用戶代理(user agent)程式執行 • EX:機器爬蟲程式(搜尋關鍵字元)

  6. Example: (cont.) <h1>商品</h1> <table border=“1” cellpadding=“5”> <tr> <th>名稱</th> <th>價格</th> </tr> <tr> <td>礦泉水</td> <td>NT500</td> </td>

  7. Custom XML: • uas.xml • sipp -sd uas > uas.xml • sipp -sf uas.xml -i 163.22.21.175 • uac.xml • sipp -sd uac > uac.xml • sipp -sf uac.xml -i 127.0.0.1 163.22.21.175 • User Agent Client (UAC) • User Agent Server (UAS)

  8. CSV: Comma Separated Values, 也就是逗號分隔型取值格式, 是一 種純文本格式,用來存儲數據。 在CSV中,數據的欄位由逗號分開, 程序通過讀取文件重新創建正確的欄位,方法 是每次遇到逗號時開始新一段數據。

  9. Demonstration: 例一 • uas • sipp -sf uas.xml -i 163.22.21.82 -p 5061 • uac • sipp -sf uac.xml -i 163.22.21.82 163.22.21.82:5061

  10. Demonstration: (cont.) 例二 • uas • sipp -sf branchs.xml -i 163.22.21.82 -p 5061 • uac • sipp -sf branchc.xml -i 163.22.21.82 163.22.21.82:5061

  11. Demonstration: (cont.) 例三(root) • uas • sipp -sn uas -i 10.10.59.107 • uac • sipp -sf uac_pcap.xml -i 10.10.59.107 10.10.59.107:5060

  12. Demonstration: (cont.) 例四 • uas • sipp -sn uas -i 163.22.21.82 • uac • sipp -sf invite_no_authentication.xml -inf invite_no_authentication.csv -i 163.22.21.82 163.22.21.82:5061

  13. Screens view of SIPp: • Key “1”:Scenario screen.

  14. Screens view of SIPp: (cont.) • Key '2': Statistics screen.

  15. Screens view of SIPp: (cont.) • Key '3': Repartition screen.

  16. Screens view of SIPp: (cont.) • Key '4': Variables screen.

  17. IPv6 support: • SIPp includes IPv6 support. To use IPv6, just specify the local IP address (-i command line parameter) to be an IPv6 IP address. • The following example launches a UAS server listening on port 5061 and a UAC client sending IPv6 traffic to that port. • ./sipp -sn uas -i [fe80::204:75ff:fe4d:19d9] -p 5061 • ./sipp -sn uac -i [fe80::204:75ff:fe4d:19d9] [fe80::204:75ff:fe4d:19d9]:5061

  18. Reference: • Welcome to SIPp • http://sipp.sourceforge.net/index.html • Sipp user blog • http://blog.pchome.net/article/27290.html • SER and OpenSER t_relay tests • http://www.iptel.org/~vku/performance/tm.serXopenser.more/ • XML-Wikipedia, the free encyclopedia • http://en.wikipedia.org/wiki/XML

  19. Thank for listening!!

More Related