|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/performance-testing-using-jmeter-by-vj/
课程评论:没有评论
本课程《使用 JMeter 和 AWS 进行完整的 Web 性能测试》旨在全面教授性能测试技能,助您职业生涯开端。 **课程核心内容包括:** 1. **性能测试基础:** * 性能测试的“为何、何时、是什么” * 性能对收入的影响 * 性能测试的经济学原理 * 关键术语与概念:响应时间、思考时间、等待时间、并发用户、延迟、架构类型、资源利用率、不同类型的性能测试。 * 性能测试生命周期:各个阶段、活动和最佳实践。 2. **HTTP/HTML 协议解析:** * 利用浏览器开发者工具深入理解 HTTP/HTML 协议。 * 掌握 HTTP 请求、响应、请求头、响应码、GET/POST/PUT/DELETE 方法及 URL 编码。 3. **性能测试统计学:** * 理解性能测试所需的核心统计指标:平均值、标准差、百分位数。 * 学习基础性能定律。 4. **JMeter 实战:** * **脚本准备:** 参数化、关联、断言、调试。 * **JMeter 组件详解:** 深入理解并使用 TestPlan, ThreadGroup, Listeners, Samplers, Timers, Pre-processors, Post-processors, Debug Sampler, HTTP(S) Test Script Recorder 等关键组件。 * **正则表达式和 Groovy 脚本入门。** * **脚本录制:** 配置浏览器代理和证书。 * **JMeter 模板、变量、属性和函数。** * **插件管理。** * **干运行(Dryruns)与负载测试设置。** * **命令行模式执行 JMeter。** * **负载测试执行与基础结果分析。** * **作用域规则和 JMeter 使用最佳实践。** 5. **AWS 云计算入门:** * **IT 基础设施演进:** 从传统数据中心到云计算。 * **云计算概览:** 定义、优势、类型(IaaS, PaaS, SaaS)。 * **AWS 核心概念:** Region、Availability Zones (AZs)、VPC、IP 地址、EC2、AMI、EBS、安全组。 * **可扩展性:** 纵向扩展(升级)与横向扩展(增加实例)。 * **AWS 服务:** Elastic Load Balancing (ELB)、Auto Scaling Group (ASG)、RDP、Snapshot。 * **AWS 免费套餐。** 6. **AWS 实践:** * **创建 AWS 账户与预算设置。** * **AWS 免费套餐的注意事项。** * **创建单个 EC2 实例:** 详细步骤与实践,包括实例终止和资源清理。 7. **在 AWS 上构建性能测试环境 (PTE):** * **PTE 配置详解:** * 配置 1:WebTours 和 JMeter 同一实例。 * 配置 2:WebTours 和 JMeter 分离实例。 * 配置 3:分布式测试(Master-Slave 架构)。 * **详细步骤:** 启动 EC2、上传安装包、安装 WebTours、JavaJDK 和 JMeter、配置 Controller 和 Slave 节点,并执行测试。 本课程将理论与实践相结合,通过 JMeter 的强大功能和 AWS 的灵活性,帮助您成为一名合格的性能测试工程师。
1. Course teaches you complete Performance Testing to kick start your career: a) Why,When,What of Performance Testing b) How Performance impacts revenues c) Economy of Performance Testing d) Terminology and concepts (below are just key ones) 1. Response time, Think Time, Pacing time 2. Concurrency 3. Vuser, Latency 4. Types of Architectures 5. Utilizations 6. Types of Performance Tests e) Performance Test Life Cycle 1. Stages 2. Activities 3. Best practices2. How does HTTP/HTML protocol work a) Using ‘Developer Tools' b) HTTP Request c) HTTP Response d) HTTP Headers e) Response code f) Methods - GEP,POST,PUT,DELETE g) url encoding3. Statistics required for a Performance Tester a) Average,Std Deviation,percentile4. Basic Performance Laws5. Jmeter Hands on Sessions a) Script preparation i. Parameterization ii. Correlation iii. Assertion iv. debugging b) Understanding and usage of all the required Jmeter elements - TestPlan,ThreadGroup,Listners,Samplers, Timers,Pre-processors, Post Processors,DebugSampler,HTTPs Test Script Recorder etc. c) Regular Expressions d) Introduction to Groovy Scripting e) Recording Scripts i. Browser proxy settings ii. Security Certidicate f) Jmeter Templates g) Jmeter variables and properties h) Functions i) Plugin Manager j) Dryruns k) Set up Load Test l) Running Jmeter in CLI mode m) Load Test Execution n) Basic Results Analysis o) Scoping rules p) Best Practices in Jmeter usage6 Introduction to Cloud Computing- Evolution of IT Infra- Traditional Data Center - Infrastructure view- What is Cloud Computing?- Benefits of Cloud Computing- Types of cloud computing - IaaS,PaaS,SaaS7 Terminology-Region-Availability Zones - Azs-Regions vs Azs-VPC,IP addressing-Introduction to EC2-AMI, EBS (Elastic Block Store) ,Security group-Scalability-Vertical and horizontal Scaling-Vertical scaling - up/down-Horizontal scaling - in/out-Elastic Load Balancing (ELB)-ASG(Auto Scaling Group)-RDP, Snapshot-Free TierConclusion8 Creating your AWS accountSteps involved in Creating AWS accountWalkthrough of AWS ConsoleCreating Zero spend budget9 DO's and DON'ts with Free Tier10 Practice Session - Creating Single EC2 instanceCreating EC2 instance - step by step processCreating EC2 instance - Hands on SessionTerminating EC2 and Housekeeping Activities11 Creating Performance Test Environment (PTE) on AWSThree configurations of Performance Test Environments - DescriptionWebTours and Jmeter on same machineWeb Tours and Jmeter on separate machinesDistributed Testing = Controller-Node (Master slave) architecture12 Performance Test Environment - configuration - 1 - WebTours and Jmeter on same machineSteps involved in creating PTELaunch EC2Copy installable on EC2Install Web Tours, Java9 and Jmeter on EC2Execute a script and validate results13 Performance Test Environment - configuration - 2 - Web Tours and Jmeter on separate machinesSteps involved in creating PTELaunch 2# EC2sCopy installable on EC2sInstall Web Tours, Java9 and Jmeter on EC2Execute a script and validate results14 Performance Test Environment - configuration - 3 - Distributed Testing (Controller-Node (Master slave) architecture)Steps involved in creating Distributed Testing PTELaunch 2# EC2sCopy installable on EC2sCreate 2 more EC2s using AMIInstall Web Tours, Java9 and Jmeter on EC2Set up Jmeter controller and nodesExecute a script and validate results