Apache JMeter是Apache組織開發的基于Java的壓力測試工具。用于對軟件做壓力測試,它初被設計用于Web應用測試但后來擴展到其他測試領域。 它可以用于測試靜態和動態資源例如靜態文件、Java 小服務程序、CGI 腳本、Java 對象、數據庫, FTP 服務器, 等等。JMeter 可以用于對服務器、網絡或對象模擬巨大的負載,來在不同壓力類別下測試它們的強度和分析整體性能。
另外,JMeter能夠對應用程序做功能/回歸測試,通過創建帶有斷言的腳本來驗證你的程序返回了你期望的結果。為了大限度的靈活性,JMeter允許使用正則表達式創建斷言。
Apache jmeter 可以用于對靜態的和動態的資源(文件,Servlet,Perl腳本,java 對象,數據庫和查詢,FTP服務器等等)的性能進行測試。它可以用于對服務器,網絡 或對象模擬繁重的負載來測試它們的強度或分析不同壓力類型下的整體性能。你可以使用它做性能的圖形分析或在大并發負載測試你的服務器/腳本/對象。
這是對 JMeter 官方網站上一篇文章的翻譯。
點擊這里可以訪問原文JMeterTroubleShooting。
check the log file. This is normally in the launch (i.e. bin) directory, and is called "JMeter.log".
查看 JMeter 的日志文件,通常這個日志文件在你啟動 JMeter 的目錄下,例如%JMeter_HOME%in 目錄,文件名通常是 JMeter.log。(這個日志文件中的內容只是與 JMeter 本身運行有關的日志信息,與腳本的執行沒有直接關系,腳本執行的情況請查看 JMeter result 文件,擴展名為 .jtl——譯者注)
check the JMeter documentation to ensure that the test script has been set up correctly
查看 JMeter 的文檔并確認測試腳本的設置是正確的
check the JMeterFAQ.
查看 JMeter 官方網站上的 FAQ(常見問題列表)
check the mailing lists to see if anyone else has had the same or a similar problem
查看 JMeter 的用戶郵件列表中是否別人已經遇到過跟你一樣或者類似的問題(JMeter 是一個很受歡迎的開源性能測試工具,有很多人在使用它進行性能測試,所以很多問題都可以在郵件列表中找到答案。——譯者注)
check bugglgj/bugzilla/' target='_blank'>Bugzilla - you might have hit a known bug, and there may be a workround documented in bugzilla/' target='_blank'>Bugzilla
查看 JMeter 官方網站的 Bugzilla(一個的缺陷跟蹤管理系統——譯者注)——你可能遇到了一個已知的bug,并且已經記錄在 Bugzilla 中了。
try setting the logging level to DEBUG for some or all of the JMeter packages (details are in the JMeter.properties file)
嘗試修改 JMeter 的日志級別為 DEBUG,以獲得更多的有關 JMeter 運行的信息,來確認問題的原因。(修改 JMeter 日志級別請在 JMeter.properties 文件中搜索 log_level 并修改相應的選項——譯者注)
If all the above fail to provide an answer, please read
How To Ask Questions The Smart Way before posting a message on the the JMeter User mailing list.
如果上面這些都無法幫你解決你遇到的問題,請發送一個信息到 JMeter 的用戶郵件列表——發送前請先看一下“如何聰明的提問 http://www.catb.org/~esr/faqs/smart-questions.html”。
以上內容主要為意譯,同時盡量忠實于原文,如果大家發現譯文有與原文原意相駁的地方,請給我留言,我會立即修改 ^_^