Feature Requests item #783131, was opened at 2003-08-04 17:12
Message generated for change (Comment added) made by jimweaver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=783131&group_id=61302

Category: None
>Group: Release 1.2
>Status: Closed
Priority: 5
Submitted By: Will Sargent (wsargent)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add proxy support

Initial Comment:
Adding proxy support was pretty simple in the source
code, but it should be available by default.  I added
some properties to the TestContext, and then in
HttpUnitDialog.java, in initWebConversation():
            
            if (context.hasProxy()) {
                String proxyHost = context.getProxyHost();
                int proxyPort = context.getProxyPort();
                wc.setProxyServer(proxyHost, proxyPort);
            }

----------------------------------------------------------------------

>Comment By: Jim Weaver (jimweaver)
Date: 2004-09-20 12:37

Message:
Logged In: YES 
user_id=619947

Released in 1.2

----------------------------------------------------------------------

Comment By: Olaf Kock (oko)
Date: 2003-10-23 06:04

Message:
Logged In: YES 
user_id=45582

Proxy support, especially authenticated proxy, took a while
until we got it to run: In the end it's simple, but I doubt
that basic authentication for the website still works?
(didn't check it...)

This is how you currently use proxies (and authentication on
the proxy)

public void setUp() {
  System.getProperties().setProperty( "proxyHost",
"your.host" );
  System.getProperties().setProperty( "proxyPort", "8080" );
  getTestContext().setAuthorization("user", "password");
}

This could be made explicit in the interface.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=783131&group_id=61302


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to