Hi Sebb,

Thanks for the help.

I think the Regex Extractor Post Processor will do the
trick. I look onto this now.


Regards,
/Renz

--- sebb <[EMAIL PROTECTED]> wrote:

> Perhaps the HTML Link Parser will do what you want?
> 
>
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTML_Link_Parser
> 
> If not, I think you will need to use the Regex
> Extractor Post
> Processor to extract the TOKEN and add it to the
> next request.
> 
> S.
> On 26/10/05, Renz Daluz <[EMAIL PROTECTED]>
> wrote:
> > Hi Sebb,
> >
> > Nope, struts TOKEN is not a Cookie, but it is a
> hidden
> > input parameters of a html form which is
> dynamically
> > added by struts. It is dynamically generated using
> > timestamp. This way, it will minimized the request
> to
> > be sent more than once. e.g (if you send an add
> > request, then click the refresh button, which will
> > basically send another add request of the same
> data
> > and will create a duplicate record)
> >
> >
> > So whenever you send a form, a dynamic TOKEN is
> always
> > part of the request. Then in one of your save or
> > update servlet (action servlet in Struts), you can
> > validate this token. If it is valid, continue the
> > process, otherwise you can either save this token
> or
> > redirect to other page with message error.
> >
> >
> > Hope I explained it clear.
> >
> > Thanks,
> > /Renz
> >
> > --- sebb <[EMAIL PROTECTED]> wrote:
> >
> > > Never used Struts - is the TOKEN a Cookie, or
> does
> > > Struts use URL
> > > rewriting, or what?
> > >
> > > S.
> > > On 26/10/05, Renz Daluz <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hello,
> > > >
> > > > Is there a way to use struts TOKEN in JMeter?
> I'm
> > > > trying to do an UPDATE and SAVE web test but
> since
> > > I
> > > > can't pass a valid TOKEN to the above request,
> my
> > > > action class is just invalidating my request
> and
> > > not
> > > > doing the UPDATE or SAVE.
> > > >
> > > > If not, is there a work-around for this
> (instead
> > > of
> > > > removing the token validation in every action
> > > class).
> > > >
> > > > Thanks in advance,
> > > >
> > > > /Renz
> > > >
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Yahoo! Mail - PC Magazine Editors' Choice 2005
> > > > http://mail.yahoo.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]
> > >
> > >
> >
> >
> >
> >
> > __________________________________
> > Yahoo! FareChase: Search multiple travel sites in
> one click.
> > http://farechase.yahoo.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]
> 
> 



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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

Reply via email to