From the course: Advanced JMeter

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

APIs and load testing

APIs and load testing - Apache JMeter Tutorial

From the course: Advanced JMeter

Start my 1-month free trial

APIs and load testing

- [Narrator] So far, I've looked at how to perform load tests using JMeter against front end websites and web apps. I would visit these using a web browser and then be able to physically see the site's load and interact with them. APIs or application program interfaces, on the other hand, are the hidden layer of a website or application. You can't usually navigate to them using a web browser. So you need another way to test them using Jmeter. Fortunately, JMeter allows me to send requests to an API, in a very similar manner to when I tested a website using its HTTP request element. To do this, first, I'm going to need an API to test against. I'm going to go to my browser, and I'm going to go to orangevalleycaa.org/api/videos. And I'm going to hit return. Now because this API is publicly accessible through a browser, I can navigate to it. But as you can see, the results are far from human friendly. Whenever you…

Contents