18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Random Proxy Errors, NTLM authentication, local web-app

FerdinandFerdinand Members
edited October 2012 in Sahi - Open Source
I sporadically receive an error page within modal dialogs and web pages while testing a locally hosted web application.

The error states :

"Sahi Error - Connection reset"
"Sahi could not connect to the desired URL"
or
"Sahi Error - Error writing to server"
"Sahi could not connect to the desired URL"



I have tried changing proxy settings, authentication settings and browser settings. I've even tried changing the test to accommodate changing page load times, but nothing seems to work.
This error only sometimes crops up, but it prevents further tests from being run. It works perfectly then starts throwing this error and jamming the works.

The application uses NTLM authentication, and I successfully authenticate each time after restarting sahi, but somehow it looses authentication and breaks after a few permutations of my regression testing. These errors are completely random and I have tried and tried to reproduce them but have failed dismally.

So, to summarize my issues:

NTLM authentication drops randomly.
Server Connection resets randomly/Proxy error page.

These all happen within a modal dialog containing table data which I have to access and test but very rarely in the pages I'm testing.


I'm using Win7 Enterprise Sp1 x86, IE8 , Jre 1.7.0_03 and Sahi V3.5 free - build 2011-07-19 , and running JUnit tests through eclipse.

Thanks in advance.

Comments

  • Good news everyone!

    The problem was with the web application, several other users were reporting disconnections requiring page refreshes as a result of corrupted page loads.

    Sahi wins again!
Sign In or Register to comment.