📢📢📢:先看关键单词,再看英文,最后看中文总结,再回头看一遍英文原文,效果更佳!!
关键单词:
simulate | 模拟 | /ˈsɪmjʊˌleɪt/ |
concurrent | 并发的 | /kənˈkʌrənt/ |
sampling | 抽样 | /ˈsæmplɪŋ/ |
extensible | 可扩展的 | /ɪkˈstɛnsəbl/ |
pluggable | 插件式的 | /ˈplʌɡəbl/ |
correlation | 关联 | /ˌkɒrəˈleɪʃən/ |
command-line mode | 命令行模式 CLI | /kəˈmænd laɪn moʊd/ |
headless mode | 无头模式 | /ˈhɛdləs moʊd/ |
replaying | 重放 | /ˌriˈpleɪɪŋ/ |
visualization | 可视化 | /ˌvɪʒuələˈzeɪʃən/ |
continuous integration | 持续集成 | /kənˈtɪn.ju.əs ˌɪn.tɪˈɡreɪ.ʃən/ |
measure performance | 性能测量 | /ˈmɛʒər pərˈfɔrməns/ |
正文
The Apache JMeter application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.
Apache JMeter may be used to test performance both on static and dynamic resources, Web dynamic applications.
It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types.
Apache JMeter features include:
- Ability to load and performance test many different applications/server/protocol types:
- Web - HTTP, HTTPS (Java, NodeJS, PHP, ASP.NET, …)
- SOAP / REST Webservices
- FTP
- Database via JDBC
- LDAP
- Message-oriented middleware (MOM) via JMS
- Mail - SMTP(S), POP3(S) and IMAP(S)
- Native commands or shell scripts
- TCP
- Java Objects
- Full featured Test IDE that allows fast Test Plan recording (from Browsers or native applications), building and debugging.
- CLI mode (Command-line mode (previously called Non GUI) / headless mode) to load test from any Java compatible OS (Linux, Windows, Mac OSX, …)
- A complete and ready to present dynamic HTML report
- Easy correlation through ability to extract data from most popular response formats, HTML, JSON , XML or any textual format
- Complete portability and 100% Java purity.
- Full multi-threading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.
- Caching and offline analysis/replaying of test results.
- Highly Extensible core:
- Pluggable Samplers allow unlimited testing capabilities.
- Scriptable Samplers (JSR223-compatible languages like Groovy and BeanShell)
- Several load statistics may be chosen with pluggable timers.
- Data analysis and visualization plugins allow great extensibility as well as personalization.
- Functions can be used to provide dynamic input to a test or provide data manipulation.
- Easy Continuous Integration through 3rd party Open Source libraries for Maven, Gradle and Jenkins.
中文总结:
Apache JMeter 是一个开源的纯 Java 应用程序,设计用于负载测试功能行为和测量性能。最初用于测试 Web 应用程序,现在已扩展到其他测试功能。JMeter 可用于测试静态和动态资源、Web 动态应用程序,模拟服务器、服务器组、网络或对象上的高负载,以测试其强度或分析在不同负载类型下的整体性能。
JMeter 的功能包括:
- 测试多种应用程序/服务器/协议类型的负载和性能,如 HTTP、HTTPS、SOAP/REST Web 服务、FTP、数据库(JDBC)、LDAP、消息中间件(JMS)、邮件(SMTP、POP3、IMAP)、本地命令或脚本、TCP 和 Java 对象。
- 提供完整的测试 IDE,支持快速的测试计划录制、构建和调试。
- 命令行模式(CLI)支持从任何兼容 Java 的操作系统进行负载测试。
- 生成动态 HTML 报告。
- 通过从 HTML、JSON、XML 等响应格式中提取数据,方便关联。
- 完全可移植和纯 Java 实现。
- 支持多线程框架,允许多线程并发采样和不同功能的同时采样。
- 支持缓存和离线分析/重放测试结果。
- 高度可扩展的核心,包括可插拔的采样器、脚本采样器(支持 Groovy 和 BeanShell)、可插拔的计时器、多种负载统计、数据分析和可视化插件,以及与 Maven、Gradle 和 Jenkins 的易于集成。