jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Regex Extractor + foreach
Date Thu, 16 Sep 2004 14:48:17 GMT
On Thu, 16 Sep 2004 11:29:08 -0300, Vinicius Carvalho
<vinicius@auge.com.br> wrote:
> Hi there! I'm trying to use the regex extractor here + for each.
> 
> So, after my request I put a post-processor to get a regex from a response:
> I have this on my code : javascript:excluir(123)
> So I used this as regex : javascript:excluir([0-9]+) (Note, I don't know
> regex at all :( )

Try the following regex: javascript:excluir\(([0-9]+)\)

Parentheses - () - are special to regexes, so the ones in the text
have to be escaped with \.

> 
> Reference name I used linkID
> Template $1$
> matchNo -1
> 
> And so I created a for each:
> 
> Input prefix : LinkID
> output: ID
> 
> on my request I added this variable to the request : ID : ${ID}
> 
> But this is not working. It don't even get to the for each. Could anyone
> help me with this?
> 
> Thanks
> 
> Vinicius
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message