18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Problem with suite execution
Hi,
When I run a suite, 6 tabs open simultaneously. One runs the suite, two go to the chrome page showing:
Either chrome ran out of memory or the process for the webpage was terminated for some other reason.
one goes to the specified start url in the command before going to a page showing the above message, two go to a page displaying the following (just the headings):
Sahi Error - settings
Sahi could not connect to the desired URL
Either the remote server is down or not reachable
or
You need an external proxy to be configured.
Something that might be related is that if I launch chrome from the dashboard, three tabs open, two of which show the second error message above while the third tab goes to the sahi start page. Apart from that everything works.
Other times Chrome completely shuts down very shortly after the 6 tabs open.
I'm running winxp.
Thank you.
I've posted the log of the execution of the suite (in the case where browser does not shut down) below if it helps:
Jun 24, 2013 3:19:47 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteF
etch
INFO: No SSL Client Cert specified
Tests size = 2
#### Running Script: C:\Documents and Settings\belsize\sahi\userdata\scripts\Tes
ts\_SetGlobalVar.sah
Jun 24, 2013 3:20:13 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\PROGRA~1\Google\Chrome\APPLIC~1\chrome.exe" --user-data-dir=C:/Documen
ts and Settings/belsize/sahi/userdata\browser\chrome\profiles\sahi0 --proxy-serv
er=localhost:9999 --disable-popup-blocking "http://sahi.example.com/_s_/dyn/Play
er_auto?startUrl=http%3A%2F%2Fowner-eabbc8abe%3A9080%2FBelsizeWeb%2Ffaces%2Flogi
n.xhtml__SahiAmpersandSahi__sahisid=sahi_9552b3c30a52e04a6a0a57f0a537443591ffsah
ix9c1b73080218d045040a14f0e41de74357afx__SahiAmpersandSahi__isSingleSession=fals
e"
#### Running Script: C:\Documents and Settings\belsize\sahi\userdata\scripts\Tes
ts\TradeRequest.sah
Killing C:\Documents and Settings\belsize\sahi\userdata\scripts\Tests\_SetGlobal
Var.sah
Jun 24, 2013 3:20:16 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: null
java.lang.NullPointerException
at net.sf.sahi.test.ProcessHelper.killPIDs(ProcessHelper.java:177)
at net.sf.sahi.test.ProcessHelper.kill(ProcessHelper.java:170)
at net.sf.sahi.test.BrowserLauncher.kill(BrowserLauncher.java:114)
at net.sf.sahi.test.TestLauncher.kill(TestLauncher.java:114)
at net.sf.sahi.test.SahiTestSuite.notifyComplete2(SahiTestSuite.java:198
)
at net.sf.sahi.test.SahiTestSuite.notifyComplete(SahiTestSuite.java:187)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:24
7)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:333
0)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:306
5)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:175)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:156)
at java.lang.Thread.run(Unknown Source)
Jun 24, 2013 3:20:17 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: [4492, 3948, 3324, 4692]; 3282 ms
Jun 24, 2013 3:20:17 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://and/
Jun 24, 2013 3:20:17 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\PROGRA~1\Google\Chrome\APPLIC~1\chrome.exe" --user-data-dir=C:/Documen
ts and Settings/belsize/sahi/userdata\browser\chrome\profiles\sahi1 --proxy-serv
er=localhost:9999 --disable-popup-blocking "http://sahi.example.com/_s_/dyn/Play
er_auto?startUrl=http%3A%2F%2Fowner-eabbc8abe%3A9080%2FBelsizeWeb%2Ffaces%2Flogi
n.xhtml__SahiAmpersandSahi__sahisid=sahi_9552b3c30a52e04a6a0a57f0a537443591ffsah
ix313cf5860bb4c0470d0afaf0be077c8dd9c4x__SahiAmpersandSahi__isSingleSession=fals
e"
Jun 24, 2013 3:20:17 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://settings/belsize/sahi/userd
ata/browser/chrome/profiles/sahi0
Jun 24, 2013 3:20:17 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://and/
Jun 24, 2013 3:20:18 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: [4760, 1480, 1728, 3764]; 1203 ms
Jun 24, 2013 3:20:18 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://settings/belsize/sahi/userd
ata/browser/chrome/profiles/sahi1
When I run a suite, 6 tabs open simultaneously. One runs the suite, two go to the chrome page showing:
Either chrome ran out of memory or the process for the webpage was terminated for some other reason.
one goes to the specified start url in the command before going to a page showing the above message, two go to a page displaying the following (just the headings):
Sahi Error - settings
Sahi could not connect to the desired URL
Either the remote server is down or not reachable
or
You need an external proxy to be configured.
Something that might be related is that if I launch chrome from the dashboard, three tabs open, two of which show the second error message above while the third tab goes to the sahi start page. Apart from that everything works.
Other times Chrome completely shuts down very shortly after the 6 tabs open.
I'm running winxp.
Thank you.
I've posted the log of the execution of the suite (in the case where browser does not shut down) below if it helps:
Jun 24, 2013 3:19:47 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteF
etch
INFO: No SSL Client Cert specified
Tests size = 2
#### Running Script: C:\Documents and Settings\belsize\sahi\userdata\scripts\Tes
ts\_SetGlobalVar.sah
Jun 24, 2013 3:20:13 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\PROGRA~1\Google\Chrome\APPLIC~1\chrome.exe" --user-data-dir=C:/Documen
ts and Settings/belsize/sahi/userdata\browser\chrome\profiles\sahi0 --proxy-serv
er=localhost:9999 --disable-popup-blocking "http://sahi.example.com/_s_/dyn/Play
er_auto?startUrl=http%3A%2F%2Fowner-eabbc8abe%3A9080%2FBelsizeWeb%2Ffaces%2Flogi
n.xhtml__SahiAmpersandSahi__sahisid=sahi_9552b3c30a52e04a6a0a57f0a537443591ffsah
ix9c1b73080218d045040a14f0e41de74357afx__SahiAmpersandSahi__isSingleSession=fals
e"
#### Running Script: C:\Documents and Settings\belsize\sahi\userdata\scripts\Tes
ts\TradeRequest.sah
Killing C:\Documents and Settings\belsize\sahi\userdata\scripts\Tests\_SetGlobal
Var.sah
Jun 24, 2013 3:20:16 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: null
java.lang.NullPointerException
at net.sf.sahi.test.ProcessHelper.killPIDs(ProcessHelper.java:177)
at net.sf.sahi.test.ProcessHelper.kill(ProcessHelper.java:170)
at net.sf.sahi.test.BrowserLauncher.kill(BrowserLauncher.java:114)
at net.sf.sahi.test.TestLauncher.kill(TestLauncher.java:114)
at net.sf.sahi.test.SahiTestSuite.notifyComplete2(SahiTestSuite.java:198
)
at net.sf.sahi.test.SahiTestSuite.notifyComplete(SahiTestSuite.java:187)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:24
7)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:333
0)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:306
5)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:175)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:156)
at java.lang.Thread.run(Unknown Source)
Jun 24, 2013 3:20:17 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: [4492, 3948, 3324, 4692]; 3282 ms
Jun 24, 2013 3:20:17 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://and/
Jun 24, 2013 3:20:17 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\PROGRA~1\Google\Chrome\APPLIC~1\chrome.exe" --user-data-dir=C:/Documen
ts and Settings/belsize/sahi/userdata\browser\chrome\profiles\sahi1 --proxy-serv
er=localhost:9999 --disable-popup-blocking "http://sahi.example.com/_s_/dyn/Play
er_auto?startUrl=http%3A%2F%2Fowner-eabbc8abe%3A9080%2FBelsizeWeb%2Ffaces%2Flogi
n.xhtml__SahiAmpersandSahi__sahisid=sahi_9552b3c30a52e04a6a0a57f0a537443591ffsah
ix313cf5860bb4c0470d0afaf0be077c8dd9c4x__SahiAmpersandSahi__isSingleSession=fals
e"
Jun 24, 2013 3:20:17 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://settings/belsize/sahi/userd
ata/browser/chrome/profiles/sahi0
Jun 24, 2013 3:20:17 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://and/
Jun 24, 2013 3:20:18 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: [4760, 1480, 1728, 3764]; 1203 ms
Jun 24, 2013 3:20:18 PM net.sf.sahi.RemoteRequestProcessor processHttp
WARNING: Returning CannotConnectResponse for: http://settings/belsize/sahi/userd
ata/browser/chrome/profiles/sahi1