Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Programming with Apache JMeter for Testing
Rating: 4.0 out of 5(1 rating)
3 students

Programming with Apache JMeter for Testing

Mastering preprocessor and script programming in JMeter
Created byTao Sun
Last updated 9/2024
English

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

Course content

3 sections18 lectures1h 34m total length
  • Introduction2:13
  • Testing Environment Setup5:03
  • Request Authentication Details3:14
  • Testing APIs with Authentication9:43

Requirements

  • Basic knowledge of JMeter and Java

Description

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