I solved the problem. It was not in jwebunit, but in the server I was
trying to connect.
If proxy server does not require authentication, setProxyAuthorization
works with username set to null.
 
regards
   Dragan

________________________________

From: Dragan Pazin 
Sent: 12. marec 2007 16:27
To: '[email protected]'
Subject: setProxyAuthorization does not accept null for username


I was trying to do following:
 
getTestContext().setProxyAuthorization(null, null, "localhost", 5555);
 
But got an error: Username may not be null
In documentation for setProxyAuthorization stends that null is allowed
for username. Am I doing something wrong?
 
regards
    Dragan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to