As you say, the Link Parser only replaces parameters that are already
on the form.

You could try using the Regex Post-Processor to extract the orderid
value and all the parameters after it using an RE like:

orderid=(.+)

and then use it on the form, but deselect "encode parameter", so when
the sampler adds the value for orderid, it will also add the rest of
the string.

Not sure if it will work, but worth a try.


On 23/05/07, CharekC <[EMAIL PROTECTED]> wrote:

I am reading up on html link parser but need some clarification.
How can I do the following?

I have n http requests for adding to cart using a loop.
From the last add to cart response, there is a html form for the next link:
ordercheckout
The ordercheckout is a http post with a variable amount of params.
Eg http://myhost/ordercheckout?orderid=123&orderitem_1=..&orderitem_2=..

How can I setup the parms for the ordercheckout such that it has all the
name value pairs from the last add to cart? html link parser can fill in
values but you have supply all the names. In my scenario, there's a variable
amount of nvps. Is there some kind of form extractor which nvps can
automatically be placed into the params for a http request?
--
View this message in context: 
http://www.nabble.com/Extracting-form-nvps-for-http-request-parameters-tf3806439.html#a10772367
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to