Programming with Apache JMeter for Testing

所在平台: Udemy

课程主页: https://www.udemy.com/course/programming-with-apache-jmeter-for-testing/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用Apache JMeter进行编程测试 **课程概述:** 本课程旨在教授学员如何利用Apache JMeter高效地进行HTTP API测试,尤其是在API安全机制日益复杂(如API密钥、时间戳、请求签名等)的背景下。课程强调,直接发送测试请求已不再可行,需要通过额外的预处理步骤来完成。 学员将学习如何手动和以编程方式修改JMeter的HTTP样本请求。课程将深入讲解JMeter的关键组件,包括变量、预处理器、HTTP Sampler、Header Manager等。首先,学员将搭建测试环境,并手动发送带有认证机制的样本请求。随后,课程将引导学员学习如何利用JMeter变量和预处理器来动态修改请求。 课程的重点在于JMeter的脚本编程,特别是JSR223预处理器。通过脚本编程,学员将掌握如何操作当前的Sampler、变量、样本URL、请求体、HTTP头等。最终,学员将能编写一个包含所有所学知识的单一脚本,用于所有测试端点。 **学习目标:** * 掌握JMeter组件(如变量、预处理器、HTTP Sampler、Header Manager)的使用。 * 学习如何手动和以编程方式修改JMeter HTTP样本请求以应对复杂的认证机制。 * 深入理解JSR223预处理器在JMeter脚本编程中的应用。 * 学会操作JMeter中的Sampler、变量、URL、请求体和HTTP头。 * 能够封装JMeter代码,提升测试效率。 * 最终,全面提升JMeter测试技能,成为JMeter专家。

课程评论(0条)

课程详情

Nowadays, more and more HTTP APIs are protected by some authentication mechanisms such as API Key, time-stamping request, request signature and so on. These mechanisms make API testing more challenging. Thus we can not send a test request directly with Apache JMeter. Instead, some extra procedures should be done first.In this course, you will learn how to modify such JMeter HTTP sample requests both manually and programmatically. We will focus on JMeter components such as Variables, PreProcessors, HTTPSampler, HeaderManager and so on. We will set up the testing environment first, then send sample requests with authentication manually. And we will learn how to use JMeter Variables and PreProcessors to modify our sample requests. Finally, we will focus on script programming in Apache JMeter, especially JSR223 PreProcessor. In script programming, we will learn how to manipulate the current sampler, variables, sample URL, post body, http headers and so on. Eventually, we will write a single script for all testing endpoints, which contains all the knowledge we will learn.By the end of the course, you will learn script programming with JMeter components and be able to encapsulate your code for JMeter. Finally, your testing skills will be enhanced and you will become a JMeter expert.

课程标签

0人关注该课程

主题相关的课程