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.

Sending usernames and passwords

Sending usernames and passwords - Apache JMeter Tutorial

From the course: Advanced JMeter

Start my 1-month free trial

Sending usernames and passwords

- [Instructor] In order to send a username and a password to a site using JMeter, well, first, I'll need a valid username and password. If I navigate to this site here, which is the development site for the Two Trees Olive Oil website, I can find a standard login page. This authenticates against a database in the backend but I don't need to worry about that too much at this stage. Now I'm just going to log in using my username, which is conveniently saved for me. And my password, and I'm going to hit Sign In. Now I'm logged in, I can see the landing page. For this example, I'm going to assume that this is the page I want to load test. To replicate this in JMeter, I have a couple of options. Firstly, I could record that whole journey with the proxy server within JMeter or the BlazeMeter Chrome plugin. Both methods would work but they might come with some additional admin. For our example, if I wanted to record my…

Contents