This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
PLEASE READ AND HELP I am trying to use jwebunit to test a web site on my companies intranet where there is a specific port set for this url. This site is a secure site and prompts you for a username and password. (maybe this is causing the problem) I know I need to set the port but I only see a method to set the proxy port. I tried to use this method getTestContext.setBaseUrl("https://oprisk3.ny.ssmb.com/"); and called it in the setUp() method.
In my test Search method I call beginAt("/");
I then try to assert that there is certain text present with assertTextPresent method I get an error message 'connection refuse connect'
I also tried to put the port in the url getTestContext.setBaseUrl("https://oprisk3.ny.ssmb.com:26519/"); I got error message ' host name wrong'
P.S. I tried to test a site where I dont need to set the port using this application and it worked ok.
PLEASE someone help me because I am stuck on this for days THANKS!!!