I saw a different problem..Once a user logins in, a
secure id is created and passed along with the cookies
for every other transaction. However the secure id is
lost somehow during the transction. 

So I thought of adding a secure id variable in the
cookie and assign the value extracted from the login.
But the value is not getting assigned....i mean it
displays ${secid} instead of the value. when I check
the "clear cookies each iteration?", it works for the
first two transaction but not for the remaining...:(

Is this a right approach to handle the lost cookies?
Please let me know

--- Serguei Belikov <[EMAIL PROTECTED]> wrote:

> So, extract it twice in different variables. Use one
> to extract value 
> after each sampler and keep a second one for further
> use.
> 
> DharaniLakshmi Govindan wrote:
> 
> >But I need the extracted value from the login
> remain
> >constant and be used by other request. 
> >
> >--- Serguei Belikov <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>You have to put it at the same level in the tree
> to
> >>be executed after 
> >>each sampler. Otherwise it is executed only after
> >>Login sampler is called.
> >>If Calendar Details returns a new value you have
> to
> >>extract it as well, 
> >>so make extractor a child of Simple Controller.
> >>
> >>DharaniLakshmi Govindan wrote:
> >>
> >>    
> >>
> >>>Yes..the variable changes whenever I send a new
> >>>      
> >>>
> >>HTTP
> >>    
> >>
> >>>request. But I needed the value of the first
> >>>      
> >>>
> >>request
> >>    
> >>
> >>>and pass it to all other requests. Here is what
> I'm
> >>>seeing:
> >>>
> >>>Simple Controller
> >>>- Login
> >>> - Regular Expression Extractor (secid=(.*))
> >>>- Calendar Details
> >>>- Create an event
> >>>HTTP Cookie Manager
> >>>
> >>>I could pass the secid from login to Calendar
> >>>      
> >>>
> >>Details
> >>    
> >>
> >>>but not for the Create an Event. However, the
> secid
> >>>changes for every resquest.
> >>>
> >>>P.S: My whole application works on Java Script.
> >>>      
> >>>
> >>Will
> >>    
> >>
> >>>it be an issue?
> >>>
> >>>--- sebb <[EMAIL PROTECTED]> wrote:
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>Maybe because the variable has been reused
> between
> >>>>the 3rd and 4th samplers?
> >>>>
> >>>>On 05/10/05, DharaniLakshmi Govindan
> >>>><[EMAIL PROTECTED]> wrote:
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Pavel,
> >>>>>
> >>>>>Thanks for ur help! I could pass the value to
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>second
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>and third HTTP request but I couldn't for the
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>fourth
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>one. Do you know why?
> >>>>>
> >>>>>--- Pavel Gouchtchine <[EMAIL PROTECTED]>
> >>>>>          
> >>>>>
> >>wrote:
> >>    
> >>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>>>In my case, the session and signature of it
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>comes in
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>>hidden fields of a
> >>>>>>response.
> >>>>>>Each HTTP request has a child RegExpression
> >>>>>>PostProcessor to extract the
> >>>>>>values and set them into variables.
> >>>>>>The variables are used in next request and so
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>on...
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>>On 10/4/05, DharaniLakshmi Govindan
> >>>>>><[EMAIL PROTECTED]> wrote:
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>>>Hi
> >>>>>>>
> >>>>>>>I'm keeping posting this question and I
> >>>>>>>         
> >>>>>>>
> >>>>>>>              
> >>>>>>>
> >>>>couldn't
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>>any
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>>>help from anyone. So please help me to sort
> >>>>>>>         
> >>>>>>>
> >>>>>>>              
> >>>>>>>
> >>>>this
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>>out.
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>>>I have a regular expression extractor which
> >>>>>>>         
> >>>>>>>
> >>>>>>>              
> >>>>>>>
> >>>>>>extracts
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>>>the session id from the cookie. I could pass
> >>>>>>>         
> >>>>>>>
> >>>>>>>              
> >>>>>>>
> >>>>that
> >>>>   
> >>>>
> 
=== message truncated ===



                
__________________________________ 
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