Hi,

 

I was just wondering someone could point me to a place where I can get more information on how to use the NTLM Proxy Patch.

 

I have looked through the mailing list archives and did a search on the community website. The posts that I found within the archives address the fact there was an issue and that there was a solution, however, I could not find any information on how to use the patch. On the community website, I found the link http://webtest-community.canoo.com/wiki/comments/NTLM+Proxy+Patch which gives an overview of the NTLM Proxy Patch but no detailed information on how to implement and use the patch.

 

Some of the questions I have after reading the NTLM Proxy Patch page on the community website are:

 

  1. Where do I include the <proxy> tag in my script? For example, is it nested below a <target>, <webtest>, <steps> … tag?
  2. I have tried using the <proxy> tag in various places but I get a BUILD FAILED with an error messages of:
    - ”
    webtest doesn't support the nested "proxy" element” and
    - “Could not create task or type of type: proxy”
  3. I am using the latest version of Webtest (16-May-2006 21:02 R_1320) which contains the HTMLUnit v1.8. Should this version work with NTLM Proxies?
  4. On the NTLM Proxy Patch webpage it states “There are some additions to the proxy tag which is included in the config tag”; what are these additions?

 

I am trying to test a web application that automatically authenticates a user based on their domain login (Active Directory). When I invoke the login page, I get the following output:

 

 

main:

  [webtest]  INFO (com.canoo.webtest.ant.WebtestTask) - Canoo Webtest: R_1320.

   [config]  INFO (com.canoo.webtest.engine.Configuration) - Surfing with browse

r Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)

    [steps]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: steps (no co

ntext)

   [invoke]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: invoke (no c

ontext)

   [invoke]  INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> go

toTarget by URL: login.asp

   [invoke]  INFO (com.canoo.webtest.steps.request.TargetHelper) - getting respo

nse for url: http://dapptst01-msw-2k/pf/login.asp

   [invoke]  INFO (org.apache.commons.httpclient.auth.AuthChallengeProcessor) -

ntlm authentication scheme selected

   [invoke]  INFO (org.apache.commons.httpclient.HttpMethodDirector) - No creden

tials available for NTLM <any realm>@dapptst01-msw-2k:80

   [invoke]  INFO (com.gargoylesoftware.htmlunit.WebClient) - statusCode=[401] c

>

   [invoke]  INFO (com.gargoylesoftware.htmlunit.WebClient) - <!DOCTYPE HTML PUB

LIC "-//W3C//DTD HTML 3.2 Final//EN">

   [invoke] <html dir=ltr>

 

   [invoke] <head>

   [invoke] <style>

   [invoke] a:link                  {font:8pt/11pt verdana; color:FF0000}

   [invoke] a:visited               {font:8pt/11pt verdana; color:#4e4e4e}

   [invoke] </style>

 

   [invoke] <META NAME="ROBOTS" CONTENT="NOINDEX">

 

   [invoke] <title>You are not authorized to view this page</title>

 

……………… <snip> …………….

 

BUILD FAILED

D:\_LY\Projects\Automated WebApp Tester\Canoo\webtests\UseCases\pf\cap22

347_1.xml:38: Canoo Webtest: R_1320.

Test failed.

Test step invoke (D:\_LY\Projects\Automated WebApp Tester\Canoo\webtests\modules

\login.xml:3: )  named "Go to start page" failed with message "Step[invoke (no c

ontext)]: HTTP error 401, at: invoke"

 

Total time: 5 seconds

 

 

 

Thanks in advance.

 

Regards,

Lawrence

 

Reply via email to