Programming with Apache JMeter for Testing
1:34:19
Description
Mastering preprocessor and script programming in JMeter
What You'll Learn?
- Be able to use JMeter variables and preprocessors
- Be able to program with JMeter components
- Be able to encapsulate code for testing
- Enhance testing skills with preprocessor script
Who is this for?
What You Need to Know?
More details
DescriptionNowadays, 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.
Who this course is for:
- JMeter users
- Web API testers
- Testers who want to dive deeper in JMeter
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.
Who this course is for:
- JMeter users
- Web API testers
- Testers who want to dive deeper in JMeter
User Reviews
Rating

Udemy
View courses Udemy- language english
- Training sessions 18
- duration 1:34:19
- Release Date 2025/02/23