Thanks,it works perfectly.


sebb wrote:

It's generally better to use (.*?) or (.+?) so that the match is non-greedy. And remember "." matches any character, not only ".".

It would be better to put:

regular expression: ','','','(.+?)','FirmarEsquema\.asp'

assuming that you want to match the id before first (or only)
'FirmarEsquema.asp'

By the way, ( and ) are special, so need to be escaped with \, e.g.

to match: processForm( use the regex: processForm\(
S.
On 7/7/05, Leandro Smal <[EMAIL PROTECTED]> wrote:
Finally im using a not very elegante expression but it work:

regular expression: ','','','(.*)','FirmarEsquema.asp'
template:$1$
match...: 1
default value:

thanks.


Leandro Smal wrote:

ok,im been trying to get the folowing expression:

<td class="commonTable" width="20" align="center"><a href="#"
title="Firmar" onclick="if (confirm('¿Está seguro que desea firmar el
esquema?'))
processForm('','','','(.*)','FirmarEsquema.asp','Firmar');return
false;"><img src="/ModAdmin/images/firma.gif" border="0" WIDTH="16"
HEIGHT="16"></a></td>

from de the following response but nothing is returned what im doing
wrong:

<td class="commonTable" width="20" align="center"><a href="#"
title="Firmar" onclick="if (confirm('¿Está seguro que desea firmar el
esquema?'))
processForm('','','','f1a89e467f0000010010b18285201def','FirmarEsquema.asp','Firmar');return
false;"><img src="/ModAdmin/images/firma.gif" border="0" WIDTH="16"
HEIGHT="16"></a></td>

PD:Note the (.*) after proces form.

Thanks




sebb wrote:

See Regex Extractor

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor


S.
On 7/6/05, Leandro Smal <[EMAIL PROTECTED]> wrote:


Hello:

I ve to save a parameter thats returned in a response,is there a way to
save such parameter in a (for example)user variable and then used it in
a request?.Until now I been copying it manually from the request and
i m
searching a way to automatize this operation.

Thanks.



---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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