[Webtest] [webtest][JIRA] Created: (WT-204) Clear cache of 'Basic Authentication' or force invoke to use new credentials

Martin Fuchs (JIRA) webtest@lists.canoo.com
Mon, 19 Jun 2006 09:06:55 +0200 (CEST)


Clear cache of 'Basic Authentication' or force invoke to use new credentials
----------------------------------------------------------------------------

         Key: WT-204
         URL: http://webtest-community.canoo.com/jira/browse/WT-204
     Project: WebTest
        Type: New Feature

    Versions: future versions    
    Reporter: Martin Fuchs


Possibility to clear the authentication cache while performing tests 
or simply force the 'invoke' step to use the specified (new) username/password.

As an example...I use "Admin:pw" to get access to the specified website,

        <invoke url="config/index.asp" username="Admin" password="pw"/>

... do some steps, ex. add another user and then try invoke with the new user...

        <invoke  url="config/index.asp" username="noneuser" password="otherpw"/>

On the second invoke, it will also use the credentials of the first call. Checked with ethereal.

Workaround between each invoke with new credentials:
          <groovy>
              step.context.webClient.webConnection.state.clearCredentials()
          </groovy>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira