jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Any help appreciated
Date Fri, 21 Aug 2009 13:02:03 GMT
On 21/08/2009, mimimi9 <nidhsek@yahoo.com> wrote:
>
>  org\.apache\.struts\.taglib\.html\.TOKEN.[^=]*"?([\da-f]+)
>
>
> the above one doesn't gets the token value. it just prints 'e'
>  thanks.

Because you did not do the replacement correctly, it should be:

org\.apache\.struts\.taglib\.html\.TOKEN[^=]*"?([\da-f]+)

>
>
>  sebb-2-2 wrote:
>  >
>  > On 21/08/2009, mimimi9 <nidhsek@yahoo.com> wrote:
>  >>
>  >>  org\.apache\.struts\.taglib\.html\.TOKEN.*?="?([\da-f]+)
>  >
>  > .*?= uses expensive back-tracking; use [^=]* instead.
>  >
>  >>  org.apache.struts.taglib.html.TOKEN=a4609d5816aad7a1869dcddbf9c71147
>  >>
>  >
>  > But it works OK in the demo app:
>  >
>  > http://jakarta.apache.org/oro/demo.html
>  >
>  > I suggest you add a Debug Sampler and View Results Tree Listener to
>  > see what is happening.
>  >
>  >>
>  >>  Andre Arnold wrote:
>  >>  >
>  >>  > mimimi9 schrieb:
>  >>  >> thanks for the reply Deepak. I know, that's what the problem. I
>  >> viewed
>  >>  >> the
>  >>  >> html source of home page. That is different from what is being passed
>  >> in
>  >>  >> the
>  >>  >> POST of login target request. I need to find out a way to send the
>  >> same
>  >>  >> token.
>  >>  >>
>  >>  > ds like your regex pattern is wrong (it doesn't extract what you
>  >> expect).
>  >>  >
>  >>  > You could post a sample of your token and the regex.
>  >>  >
>  >>  > andré
>  >>  >
>  >>  > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/Any-help-appreciated-tp25072809p25079033.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>
>  >> 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
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/Any-help-appreciated-tp25072809p25079253.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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