Hi Marc,

I've found a workaround which really works.

          <groovy>
              step.context.webClient.webConnection.state.clearCredentials()
          </groovy>

Martin



                                                                           
             Marc Guillemot                                                
             <[EMAIL PROTECTED]                                             
             .fr>                                                       To 
             Sent by:                  [email protected]             
             [EMAIL PROTECTED]                                          cc 
             ts.canoo.com                                                  
                                                                   Subject 
                                       Re: [Webtest] How to clear cache of 
             16.06.2006 15:47          'Basic Authentication'?             
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                  oo.com                                                   
                                                                           
                                                                           





Hi Martin,

this is an interesting usecase, you should open an issue for that.

As a workaround, you can add following step before your 2nd <invoke>

<groovy>
step.webClient.credentialsProvider = new
com.gargoylesoftware.htmlunit.DefaultCredentialsProvider()
</groovy>

Marc.
--
View this message in context:
http://www.nabble.com/How-to-clear-cache-of-%27Basic-Authentication%27--t1798306.html#a4900750

Sent from the WebTest forum at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest



_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to