• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 協議級別的性能測試方法與性能測試工具大全(2)

    發表于:2012-10-01來源:Csdn作者:njchenyi點擊數: 標簽:性能測試工具
    4)操作簡單 5)分布式 6)意義非凡 Chris評論:這個工具的特別之處在于,它針對線上系統,采用copy tcp packet的方式,讓你明確地知道線上系統是否可以承受兩

      4)操作簡單

      5)分布式

      6)意義非凡

      Chris評論:這個工具的特別之處在于,它針對線上系統,采用"copy tcp packet"的方式,讓你明確地知道線上系統是否可以承受兩倍于目前的負載!

      5 LoadUI/soapUI http://www.loadui.org/About-loadUI/gallery.html

      loadUI. The art of Load Testing.

      loadUI is a open source Load Testing solution that is free and cross-platform. With a visual, drag-and-drop interface, it allows you to create, configure and redistribute your Load Tests interactively and in real-time. In a single test environment, loadUI provides complete test coverage and supports all the standard protocols and technologies. And it’s so powerful, it generates scalable, high-volume and real-world load from any number of local and remote computers. Meet loadUI, the future of Load Testing.

      Chris評論:LoadUI那牛X的拖拽和華麗的外表,非常吸引人,人家還用了JavaFX呢!!! 當然功能也非常強大,但我個人的使用經驗還很少,不能有更深入評論。

      6 最后是著名的 Tsung http://tsung.erlang-projects.org/

      Tsung is an open-source multi-protocol distributed load testing tool

      It can be used to stress HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP and Jabber/XMPP servers. Tsung is a free software released under the GPLv2 license.

      The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications. You can use it to do load and stress testing of your servers. Many protocols have been implemented and tested, and it can be easily extended.

      It can be distributed on several client machines and is able to simulate hundreds of thousands of virtual users concurrently (or even millions if you have enough hardware ...).

      Tsung is developed in Erlang, an open-source language made by Ericsson for building robust fault-tolerant distributed applications.

      Chris評論:Tsung 算是分布式施壓的流行工具之一,使用erlang等開發,基本安裝步驟如下:

      1 erlang

      2 perl5

      - Template Toolkit

      3 gnuplot

      - libpng

      - libgd

      - fonts: http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm

      4 python

      - numpy

      - matplotlib

      PS:

      tsung的結果數據通過一個自帶的perl腳本格式化為html,并且調用gnuplot來繪制了圖形,存放在log目錄里;

      如果是在服務器上,或要在其他機器上查看,可以cd到log目錄,然后直接執行"python -m simpleHttpServer" ,之后可以通過瀏覽器訪問 ip:8000 來瀏覽了。

      總結:

      大多數測試工具上手都還算不難,無外乎 錄制腳本或者手動編寫腳本,設置controller和listener等,執行測試,結果分析/繪圖等。

      越自動化的工具其定制性和靈活性也相對變弱,而越靈活的工具其自動化能力也相對變弱。

      性能測試涉及很多方面,尤其是在高并發的海量用戶場景下,從最前面的瀏覽器緩存、CDN到最后面的內核修改,每個環節都有事可做;

      但在實際項目中,要根據系統發展的不同階段選擇不同的方式方法。首要任務都是找出目前瓶頸,在諸多目標中求平衡!

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>