Thanks.
 One other thing, It seems like the UserSequence class  is not serializable and thus 
cannot be used for testing over RMI. I tried changing the UserSequence class to 
implement Serializable, and made all the private methods public. Then I got a 
java.io.Stream.Corrupted.Exception . Any suggestions? Have urgent need to do testing 
over RMI since we have maxed the jmeter machine.
-David-  
  "Walsh, Mark" <[EMAIL PROTECTED]> wrote: Hi David,

Sorry for the confusion, my documentation is the cause of your problems.

The "HTTP User Parameter modifier" will only change parameters values in a
"HTTP Request" if the EXACT same parameter name exists in both the "HTTP
Request" and the users.xml file. 

Using your example as a demonstration. That is, where the proxy server
parses the following key value pair from a form.

Parameter Name is first_name 
Parameter Value is Bob


and a section of the users.xml looks like the following




first_name


VONG



.
.
.

If the Modification Controller looks like the following:
Modification Controller
HTTP User Parameter Modifier
HTTP Request

Now when Jmeter runs, the "HTTP Request" that contained
Parameter Name is first_name 
Parameter Value is Bob

will be changed to

Parameter Name is first_name 
Parameter Value is VONG


The example I sent you should NOT have contained the "HTTP HTML Link
Parser". It crept in there as the load testing I was doing at the time,
called for a unique one-time-token issued by the server, to be returned
with each form post back to the server. I was using the "HTTP HTML Parser"
to populate the form with the unique one-time-token, and the "HTTP User
Parameter Modifier" to change userid's in the form.

Regards,
Mark Walsh


-----Original Message-----
From: david garcia [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 2 May 2002 1:31
To: Walsh, Mark; JMeter Users List
Cc: Magic Mike Stover; Mike Stover
Subject: Re: FW: Jmeter - HTTP User Parameter Modifier



Also, do the 
entries in users.xml have to match the names parsed
from the html page? Or is
it the case that you name them arbitrarily and then insert those names into
the name value
fields in your http request. To illustrate:

Let's say that I run a proxy server on the form and it parses the key val
pair:

Name Value
FirstName Bob

and in users.xml I have





first_name


VONG



.
.
! ; .
I then insert a link parser and the User Parameter Modifier into my
modification controll
er before the form request as per your instructions:

Modification Controller
HTTP HTML Link Parser
HTTP User Parameter Modifier
HTTP Request

Now in my form should I replace what was recorded with

Name Value
Firstname first_name

or. . .

Name Value
Firstname .*


The idea being that I want to replace the value with "VONG" for this thread.
I must be brain 
dead or something cuz neither of these is working. If I could just figure
out which to 
use then I can safely assume that I have some other wierd problem happening.


-David-


.




_____ 

Do You Yahoo!?
Yahoo! Health - your
guide to health and wellness



---------------------------------
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

Reply via email to