jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o haya <>
Subject Re: How to step through users in the HTTP Authorization Manager during test?
Date Sun, 15 Nov 2015 04:56:39 GMT
I have tried that.
1) I created a CSV file with:
2) I added CSV data set config with:
3) In the HTTP Authorization Manager, I have one row with mechanism set to BASIC DIGEST, and
I set the
Username to ${USERNAME}Password to ${PASSWORD}

Then, I run the test plan, and I have a sniffer on the server-side and it looks like all the
authentication requests are for username2 with password2.
In other words, it doesn't seem to be rotating through the users in the CSV file?

Actually, I'm not sure if it's even using the CSV file at this point.  The reason that I
say this is that is that I did another test where I modified the CSV file to have garbage
username and passwords in it, then I re-ran the jmeter test, and I still got successful authentication,
so at this point, I'm really confused.  
Also, one other piece of data:  I can only get the authentication to be successful if I set
the implementation to Java (vs. HTTPclient 3.1 or 4), but when I do that, I cannot seem to
get it to fail authentication at all.

Sorry if this is all confusing :(!!

     From: Steven Swor <>
 To: JMeter Users List <>; o haya <> 
 Sent: Saturday, November 14, 2015 7:15 PM
 Subject: Re: How to step through users in the HTTP Authorization Manager during test?
Hi Jim,

The simplest way do do what you're asking is to use the CSV data set config (

On Sun, Nov 15, 2015 at 8:18 AM, o haya <> wrote:


I have a test plan where I have an HTTP Request step where do a BASIC Digest authentication. 
I've configured an Authorization Manager with a set of users (with usernames, passwords) and
I'd like to run a test where it authenticates the users in the set of users, rotating through
the set of users until the test is done.

How can I do that?

I had originally assumed that if I had the set of users in the Authorization Manager that
that would automatically do that, but it seems like it's only using the first user in the
Authorization Manager.


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message