jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject HTTP User Parameter Modifier
Date Wed, 03 Dec 2003 18:37:19 GMT
I see that the "HTTP User Parameter Modifier" has been deprecated?

1) Did it ever work?
Using Win2k + Jmeter 1.9.1  + java version "1.3.1_01"
where $JMHOME\bin\users.xml contains two parameters per thread
with paramnames "userid" and "password"

I tried setting up a login request (recorded through the proxy) which was
modified to use the paramnames defined in users.xml ( ${userid} and
${password} ). Pre-Processor "HTTP User Parameter Modifier" was added to
my Thread Group.

The run fails to login.
When viewing the request data (thru the Results Tree Listener) I see the
that ${userid} and ${password} have not been replaced. Copied from the
Results Tree Listener I get this:
You can see the password value in my request "encoded" and  that the "${}"
chars have been URL encoded.

However, disabling the "HTTP User Parameter Modifier" and adding "User
Parameters" with appropriate values and re-running works...

2) What is the alternative given that I need to test several apps which
require logins with a load of several hundred users (and not necessarily
the same users). My test machines can only handle 50 threads so I need to
run my test plan on several machines; each with their own group of user

users.xml seemed like the perfect solution.... Having to manually add 50
sets of user name/value pairs to six separate copies of the same test plan
is awfully tedious and limiting when I can programatically add user values
to several users.xml files and distribute to each machine. It also keeps
these values separate from the test plan allowing me to have several test
plans using the same (or different users.xml).

Ok, I've whined enough. Any suggestions?

| Ryan Russo                       |
| russo@[noSPAM]        |
| University at Albany--Computing  |
| <<remove [noSPAM] to e-mail>>    |
| Technical Services Web Team      |

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

View raw message