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.
Timeout problem when test adempiere by sahi
Hi all,
I tested adempiere(version:trunk,zk ajax frame) via sahi.
about sahi please refer to:http://www.adempiere.com/index.php/PMC:QA:Research_Sahi
test adempiere via sahi://www.adempiere.com/index.php/PMC:QA:Sahi_with_ZK_Webui_POC
but met a problem, I open
http://adempiereserver:port/webui/ in my browser, when login page is loaded,
after a 1 second a page is automatically redirected to timeout.zul with
the message "The page or component you request is no longer available.
This is normally caused by timeout or rebooting the server."
this problem just appeare when test adempiere by sahi(access Adempiere webui via browser which using sahi server and port as sahi proxy-9999 ).otherwise,Adempiere worked well
Adempiere version:trunk
firefox:3.0.6
Can someone help me?
I met problem sometimes like "The resource you request is no longer availablexxx.This is normally caused by timeout, or opening too many Web pages.you hava to reload the page and try again" before when test adempiere original version,but can reload page,can test pages via sahi.
and compared adempiere354a and trunk,found configuration be added to zk.xml(adempiere/zkwebui/WEB-INF/zk.xml) in trunk version
I found the above configuration addition is for sovling ""The resource you request is no longer available:xxxx ..."
>https://sourceforge.net/projects/zk1/forums/forum/510209/topic/2709323
I try to comment above configuration,but if comment it, still has problem "The resource you request is no longer available:xxxx This is normally caused by timeout,or opening too many Web pages.you hava to reload the page and try again",but page can't reload and can't login(click ok button with no response and popup problem).
Regards,
sunny
I tested adempiere(version:trunk,zk ajax frame) via sahi.
about sahi please refer to:http://www.adempiere.com/index.php/PMC:QA:Research_Sahi
test adempiere via sahi://www.adempiere.com/index.php/PMC:QA:Sahi_with_ZK_Webui_POC
but met a problem, I open
http://adempiereserver:port/webui/ in my browser, when login page is loaded,
after a 1 second a page is automatically redirected to timeout.zul with
the message "The page or component you request is no longer available.
This is normally caused by timeout or rebooting the server."
this problem just appeare when test adempiere by sahi(access Adempiere webui via browser which using sahi server and port as sahi proxy-9999 ).otherwise,Adempiere worked well
Adempiere version:trunk
firefox:3.0.6
Can someone help me?
I met problem sometimes like "The resource you request is no longer availablexxx.This is normally caused by timeout, or opening too many Web pages.you hava to reload the page and try again" before when test adempiere original version,but can reload page,can test pages via sahi.
and compared adempiere354a and trunk,found configuration be added to zk.xml(adempiere/zkwebui/WEB-INF/zk.xml) in trunk version
<session-config>
<device-type>ajax</device-type>
<automatic-timeout/> <!-- the same as <automatic-timeout>true</automatic-timeout> -->
<timeout-uri>/timeout.zul</timeout-uri>
</session-config>
I found the above configuration addition is for sovling ""The resource you request is no longer available:xxxx ..."
>https://sourceforge.net/projects/zk1/forums/forum/510209/topic/2709323
I try to comment above configuration,but if comment it, still has problem "The resource you request is no longer available:xxxx This is normally caused by timeout,or opening too many Web pages.you hava to reload the page and try again",but page can't reload and can't login(click ok button with no response and popup problem).
Regards,
sunny
Comments
I have noticed this behaviour of timeout too. I thought it was some problem on ZK side. If you think it is not, we will check what the problem is. Is there anybody from ZK who I can discuss this with in more detail?
Regards,
Narayan
I also posted this problem to Adempiere forums:https://sourceforge.net/projects/adempiere/forums/forum/610548/topic/3697238
ZK forums:https://sourceforge.net/projects/zk1/forums/forum/510209/topic/3699690,but haven't got any answer.
zk, I found similar problem(The resource you request is no longer available:xxxx...) in https://sourceforge.net/projects/zk1/forums/forum/510209/topic/2709323
zk forums:https://sourceforge.net/projects/zk1/forums/
Regards,
sunny
* https://sourceforge.net/projects/zk1/forums/forum/510209/topic/3699690
* https://sourceforge.net/projects/adempiere/forums/forum/610548/topic/3697238
* http://www.zkoss.org/forum/listComment/12318
That is a really detailed map! We will try and get all these issues fixed next week.
Regards,
Narayan
I tested adempiere with different versions:trunk 12359,11840,11838,10917.test results as follow:
1.trunk12359 latest version
test result by sahi:open http://adempiereserver:port/webui/ in browser, when login page is loaded,after a 1 second a page is automatically redirected to timeout.zul with
the message "The page or component you request is no longer available.
This is normally caused by timeout or rebooting the server."
but if use system proxy settings not use sahi's server and port (eg.localhost:9999)as browser's proxy,no problem
2. trunk11840 * Implement timeout page * Reduce default session timeout period from 120 minutes to 60 minutes
More please refer to: http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=rev&revision=11840
version began to implement timeout page |
test reslut:Has same problem as trunk version's
3. trunk11838 peer review 11821 / FR [2977050] - Read ADEMPIERE_HOME from web.xml http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=rev&revision=11838
version without "Implement timeout page"
test result:a popup window popped with message "The resource you request is no longer available : gavt1. This is normally caused by timeout,or opening too many Web pages.You have to reload the page and try again" and buttons "radraw","close" after loaded http://adempiereserver:port/webui/index.zul.
Can start sahi controller by Ctrl+Alt and record scripts.you can close it by click "close" button but if reload page it will popup again.
And if use system proxy settings not use sahi's server and port as browser's proxy, will not pop "timeout" window.No problem
4.trunk10917 http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=rev&revision=10917
version with zk version 3.6.2
and adempiere began to update zk version to 3.6.3 from version trunk 10919
http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=rev&revision=10919
test result:no problem
Base on above test, I think problem "a page is automatically redirected to timeout.zul page when test by sahi" is not caused by ZK version update.
and problem "popup window",that may be caused by ZK version update
Regards,
sunny
info:.http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=rev&revision=11840
11840 diff from 11839/11838:
trunk/migration/354a-trunk/oracle/698_FR2947703_oracle.sql added
trunk/migration/354a-trunk/postgresql/698_FR2947703_postgresql.sql added
trunk/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LoginPanel.java modified , text changed http://adempiere.svn.sourceforge.net/viewvc/adempiere/trunk/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LoginPanel.java?pathrev=11840&view=diff&r1=11840&r2=11838&diff_format=h
trunk/zkwebui/WEB-INF/web.xml modified , text changed http://adempiere.svn.sourceforge.net/viewvc/adempiere/trunk/zkwebui/WEB-INF/web.xml?pathrev=11840&view=diff&r1=11840&r2=11838&diff_format=h
trunk/zkwebui/WEB-INF/zk.xml modified , text changed http://adempiere.svn.sourceforge.net/viewvc/adempiere/trunk/zkwebui/WEB-INF/zk.xml?pathrev=11840&view=diff&r1=11840&r2=11838&diff_format=h
trunk/zkwebui/index.zul modified , text changed
http://adempiere.svn.sourceforge.net/viewvc/adempiere/trunk/zkwebui/index.zul?pathrev=11840&view=diff&r1=11840&r2=11838&diff_format=h
trunk/zkwebui/timeout.zul added
Waiting for help!!
now I can test it by browser Chrome.
Adempiere reversion:12417 20100527 update
sahi:20100430
browser:Chrome 4.0.266.0
my test works well in Chrome
* first open http://localhost:9999/_s_/spr/launch.htm
* then input http://adempiereservername:port/webui
* a sahi controller window appear,close it
* open a sahi controller window by CTRL-ALT-DblClick on the page
* fill script name and push Record
but my test can't work in firefox(3.5.6),redirect to timeout page.
it works well on Ivan's computer.
Sincerely,
sunny
tested latest adempiere(12417) via sahi(20100430).
new problem: my play is very slow.(login scripts run well,order creation scripts run very slowly)
http://www.adempiere.com/index.php/PMC:QA:Improve_sales_order_POC_with_Sahi_document3
Sincerely,
sunny
I used to face this problem sometimes but no longer face it. When you are doing your tests, if it shows that session expired link, is it possible to click on the link and go ahead, or does it still show that expired link again?
Regards,
Narayan
Incase you do not find the information that you are looking for already existing on their blog, try posting a question, and you can be assured of a prompt and overwhelming reply.
visit walkingtree dot in