For example, if your page contains parameters such as: <input name="par_i" value="1"> And you're OK with a request such as: http://...../page.ext?....X=Y&par_1=1&par_2=1&...&par_N=1...
Then you can use the following value for parameter X:
Y&${__regexFunction(<input name="(par_[0-9]+)" value="1",$1$=1,ALL,&,,)}
Make sure not to check the Encode checkbox for this parameter.
If your parameters can go first in the request, it's cleaner to use the regex function in the Path field. [Which makes me remember that we need to reorganize de GUI to reduce the Port field size and increase the Path size in exchange.]
Makes sense?
Of course there's a ton of conditions for this to work, but I guess variations of this will be useable 95% of the times.
(Regexps rule).
-- Salut,
Jordi.
[EMAIL PROTECTED] wrote:
That only works if you know how many parameters there are going to be. If the page can vary and have "up to" n form elements, I don't see how HTML Link Parser can handle that.
-Mike
On 24 Oct 2003 at 1:02, Jordi Salvat i Alabart wrote:
Yes, just use the regexp function as you would in the parameter values. If it doesn't work, it's a bug.
-- Salut,
Jordi.
Campos Rui Oliveira wrote:
Hi, everyone!
It is possible to, using an HTML Link Parser associated with an
http request, use regular expressions in the parameter names for the request?
Let's suppose i have an HTML page with an only form with
some parameters with names "par_1", "par_2", "par_3", ... , "par_n". How can i, passed all the n parameters given in the previous request to the next request? I want to pass all the par_? parameters with value "1" but i don't know how many par_? parameters i'll have in my html form.
Any help would be appreciated.
Thanks,
Rui Campos
--------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-
[EMAIL PROTECTED]
For additional commands, e-mail: jmeter-user-
[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-
[EMAIL PROTECTED]
For additional commands, e-mail: jmeter-user-
[EMAIL PROTECTED]
-- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 AIM: mstover777
--------------------------------------------------------------------- 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]

