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.

Timeout problem when test adempiere by sahi

sunnyYuansunnyYuan Members
edited November -1 in Sahi - Open Source
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
<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

Sign In or Register to comment.