Introduction to sipp
This presentation is the property of its rightful owner.
Sponsored Links
1 / 20

Introduction to SIPp PowerPoint PPT Presentation


  • 84 Views
  • Uploaded on
  • Presentation posted in: General

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 ,

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Introduction to sipp

Introduction to SIPp

Speaker: Kai-Jia Chang

Adviser : Quincy Wu

Date : 2009-10-22


Outline

Outline:

  • Custom XML

  • External CSV

  • Demo custom XML

  • Demo external CSV

  • IPv6 support

  • Reference


Introduction to sipp

XML:

Extensible Markup Language,

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


Html v s xml

HTML v.s XML:

  • HTML:

  • 機器與人類的交流溝通語言

  • 格式相對較鬆散,重視文章的格局、外觀

  • XML:

  • 機器與機器的交流溝通語言

  • 對於格式要求嚴謹


Example

Example:

<?xml version=“1.0” encoding=“Big5” ?>

<商品>

<!-- 這是XML的舉例 -->

<名稱>礦泉水</名稱>

<價格>NT:500</價格>

</商品>

  • 方便自動化用戶代理(user agent)程式執行

  • EX:機器爬蟲程式(搜尋關鍵字元)


Example cont

Example: (cont.)

<h1>商品</h1>

<table border=“1” cellpadding=“5”>

<tr><th>名稱</th>

<th>價格</th>

</tr>

<tr> <td>礦泉水</td>

<td>NT500</td>

</td>


Custom xml

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)


Introduction to sipp

CSV:

Comma Separated Values,

也就是逗號分隔型取值格式,

是一 種純文本格式,用來存儲數據。

在CSV中,數據的欄位由逗號分開,

程序通過讀取文件重新創建正確的欄位,方法 是每次遇到逗號時開始新一段數據。


Demonstration

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


Demonstration cont

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


Demonstration cont1

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


Demonstration cont2

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


Screens view of sipp

Screens view of SIPp:

  • Key “1”:Scenario screen.


Screens view of sipp cont

Screens view of SIPp: (cont.)

  • Key '2': Statistics screen.


Screens view of sipp cont1

Screens view of SIPp: (cont.)

  • Key '3': Repartition screen.


Screens view of sipp cont2

Screens view of SIPp: (cont.)

  • Key '4': Variables screen.


Ipv6 support

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


Reference

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


Thank for listening

Thank for listening!!


  • Login