Have you tried using "HTTP URL Re-writing Modifier"
You can mention the Session Argument name, so that it extracts the session
value
and passes as an arguement to every request jmeter places.

Hope this Helps.

Rgds,
Giri

On 1/10/06, pascal NICOLAS <[EMAIL PROTECTED]> wrote:
>
> I don't find solution to get correctly my variable.
> I must write bad something in my project.
> I use Jmeter 2.1.1.
>
>
> The request /Portal/syndication.do  returns this html
> string (html code of View Result Tree) :
> <html>
> <head>
> <meta http-equiv="refresh"
>
> content="0;url=/SASStoredProcess/do?_action=form,properties&saspfs_sessionid=3c7f76115d775182:1006d75:108afbf3964:-77b4&com.sas.bip.sessionid=3c7f76115d775182:1006d75:108afbf3964:-77b4&saspfs_sessionrequest=session1&_program=SBIP%3A%2F%2FFoundation%2FSamples%2FStored+Processes%2Fstppublish%28StoredProcess%29">
> </head>
> </html>
>
> I put my regular expression as child of this request.
> Ref Name : sessionID
> RegExp :
>
> &com.sas.bip.sessionid=([a-zA-Z0-9]+:[a-zA-Z0-9.]+:[a-zA-Z0-9.]+:[-a-zA-Z0-9.]+)&
> Template : $1$
> Default : NOTHING
>
> I validated my regular expression in "Vi" and
> "RegexSR" and it works.
> but in Jmeter, no way !!
> I don't understand why.
>
> Do I put the RE extractor at the good place (child of
> request  /Portal/syndication.do) ?
> How can I validate the "good" regular expression for
> Jmeter ?
>
> The html code is in the header tag. Is it a problem ?
>
> Thanks in advance,
> pascal.
>
> --- Noam Paz <[EMAIL PROTECTED]> a écrit:
>
> >
> >
> >
> >
> >
> > Pascal,
> > you can log the value to jmeter.log.
> > Another suggestion: since you extract the value, you
> > are probably to send it in a later request.
> > Use a "View Results Tree"-listener und uncheck the
> > "Log Errors Only" flag.
> > Choosing the "Request" tab you see the requests'
> > parameter.
> > Hope that helps
> >
> > Best regards / Viele Grüße
> >
> > Noam Paz
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >              pascal NICOLAS <[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >              09.01.2006 15:38
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >                                  To
> >
> >
> >
> >
> >
> >
> >
> >                                     JMeter Users
> > List <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >                                  cc
> >
> >
> >
> >                                       Please respond
> > to
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >                     "JMeter Users List"
> > <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >                                          Subject
> >
> >
> >
> >
> >
> >
> >
> >                                     Re: Get dynamic
> > variable (sessionID)
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> === message truncated ===
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les
> tarifs exceptionnels pour appeler la France et l'international.
> Téléchargez sur http://fr.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to