| Author |
jwebunit how to test a site with a specific port
|
sara miri
Greenhorn
Joined: Jul 04, 2005
Posts: 3
|
|
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!!!
|
 |
 |
|
|
subject: jwebunit how to test a site with a specific port
|
|
|