Support Requests item #983664, was opened at 2004-07-01 15:35 Message generated for change (Comment added) made by nneuberger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=983664&group_id=61302
Category: None Group: None Status: Open Priority: 5 Submitted By: David Laub (dlaub) Assigned to: Nobody/Anonymous (nobody) Summary: Basic authentication required Initial Comment: Basic authentication required (I just posted the same request a few minutes ago, but I resubmitted it, now that I'm a registered SourceForge membre) I am successfully using JWebUnit to test c# dot net Web apps. Maybe I'm the only person in the world using a java tool for c#, but now you know how good JWebUnit is! However, some of my Web apps require IIS (MS Windows Web Server) to NOT allow anonymous access - they can only be used with Integrated Windows authentication. For these apps, I get the errors listed below. Am I "done", i.e. am I NOT able to use JWebUnit for these more secure Web apps? Thanks David Laub [EMAIL PROTECTED] java.lang.RuntimeException: com.meterware.httpunit.AuthorizationRequiredException: Basic authentication required: Negotiate at com.meterware.httpunit.WebClient.validateHeaders (WebClient.java:578) at com.meterware.httpunit.WebClient.updateClient (WebClient.java:465) at com.meterware.httpunit.WebWindow.updateWindow (WebWindow.java:160) at com.meterware.httpunit.WebWindow.getResponse (WebWindow.java:111) at com.meterware.httpunit.WebClient.getResponse (WebClient.java:113) at net.sourceforge.jwebunit.HttpUnitDialog.<init>(Unknown Source) at net.sourceforge.jwebunit.WebTester.beginAt (Unknown Source) at net.sourceforge.jwebunit.WebTestCase.beginAt (Unknown Source) at AspNetJWebUnitTest.AspNetJWebUnitTest.testSearch1 (AspNetJWebUnitTest.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest (TestCase.java:154) at junit.framework.TestCase.runBare (TestCase.java:127) at junit.framework.TestResult$1.protect (TestResult.java:106) at junit.framework.TestResult.runProtected (TestResult.java:124) at junit.framework.TestResult.run (TestResult.java:109) at junit.framework.TestCase.run (TestCase.java:118) at junit.framework.TestSuite.runTest (TestSuite.java:208) at junit.framework.TestSuite.run (TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run Tests(RemoteTestRunner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (RemoteTestRunner.java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.mai n(RemoteTestRunner.java:167) at net.sourceforge.jwebunit.HttpUnitDialog.<init>(Unknown Source) at net.sourceforge.jwebunit.WebTester.beginAt (Unknown Source) at net.sourceforge.jwebunit.WebTestCase.beginAt (Unknown Source) at AspNetJWebUnitTest.AspNetJWebUnitTest.testSearch1 (AspNetJWebUnitTest.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest (TestCase.java:154) at junit.framework.TestCase.runBare (TestCase.java:127) at junit.framework.TestResult$1.protect (TestResult.java:106) at junit.framework.TestResult.runProtected (TestResult.java:124) at junit.framework.TestResult.run (TestResult.java:109) at junit.framework.TestCase.run (TestCase.java:118) at junit.framework.TestSuite.runTest (TestSuite.java:208) at junit.framework.TestSuite.run (TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run Tests(RemoteTestRunner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (RemoteTestRunner.java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.mai n(RemoteTestRunner.java:167) ---------------------------------------------------------------------- Comment By: Nicholas Neuberger (nneuberger) Date: 2004-07-02 08:33 Message: Logged In: YES user_id=175635 I would suggest looking at the httpunit mailing list. This will be an issue with httpunit, if it supports it or not. Look at the following thread on the discussion. http://sourceforge.net/mailarchive/forum.php?thread_id=835981&forum_id=5833 It looks like right now, NO, httpunit doesn't support it. However, i'm working on a Internet Explorer integration with jwebunit. I would think that this would be possible with a direct integration with IE. HTH. Nick ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497983&aid=983664&group_id=61302 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Jwebunit-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
