• JMeter 3.0 新版速覽

    Jmeter普遍廣泛的運用在效能測試, 這次Jmeter 3.0有重大的改版也帶來許多新功能

    其中筆者覺得最大的改進就是圖形化效能報告, 這篇文章主要介紹 Jmeter 主要重大的新版功能

    APDEX (Application Performance Index)

    APDEX? 是什麼? 參考 Wiki https://en.wikipedia.org/wiki/Apdex

    錯誤回傳

    平均反應時間

    平均延遲時間

    Threads數量

    搜尋

    有關鍵字找不到嗎? 透過這個就可以針對許多Jmeter設定或是結果搜尋

    text / regexp in Request/Responses/Headers/Cookies/…

    JSON的處理

    可以針對JSON回覆判斷

    測試

    右鍵 > Validate 就可以測試該 group (1 threat, 1 loop)的方式執行

     

     

    Tags:

  • 教學 10.04.2015 No Comments

    JMeter 課程考卷

    這是”Web Performance testing by Jmeter”第一堂的課程考卷,也是預期學員上課後的學習重點。

    Jpeg

    Q1: For web performance testing, list 3 Key justification you may recommend JMeter for web load/performance testing? What are other alternative options you know?
    _____________________________________________________________

     

    _____________________________________________________________

    Q2: How do you launch JMeter in non-GUI mode? What kinds of scenario you may run in non-GUI mode?
    _____________________________________________________________

     

    _____________________________________________________________

    Q3: To simulate 100 connection users connected to target website within 60 sec, how do you configure the JMeter?
    What JMeter Element to be used: ________________________

    Number of Threads: ____________

    Ramp-Up Period (in Sec): ____________

    Loop Count _________________

    Q4: What is “Sampler” used for in JMeter? List at least 3 kinds of Sampler network protocol that JMeter can support.
     ______________________________________________________________________

     

    ______________________________________________________________________

     

    ______________________________________________________________________

     

     

    Q5: What is “Listener” in Jmeter? What listener we can use to send mail notification based on errors/success?
     ______________________________________________________________________

     

    ______________________________________________________________________

     

    ______________________________________________________________________

     

    Q6: In JMeter Configuration Elements, which one may fit the scenario below?
    Used to read CSV data for data-driven testing: ___________________________

     

    Used to keep and manage cookie session for each http request: ___________________

     

    Q7: In Jmeter, What are the general steps to record HTTP operations?
     ___________________________________________________________________________

     

    ___________________________________________________________________________

     

    ___________________________________________________________________________

     

    ___________________________________________________________________________

    Q8: Why should we “Add suggested Excludes” for web performance testing?List at least 3 kinds of HTTP resource that we may exclude when doing Web performance testing?
     ___________________________________________________________________________

     

    ___________________________________________________________________________

     

    Q9: What are the key difference between real 1000 browser users connect to website and simulation by Jmeter or other tools? List at least 3 factors.
     ___________________________________________________________________________  

     

    ___________________________________________________________________________

     

    ___________________________________________________________________________

     

    ___________________________________________________________________________

    Tags: , ,