Hi,

When invoking a certain page with WebTest it reproducibly fails with this error:

"JavaScript error loading page http://bla.com/prot/phy.query: Wrapped 
java.net.SocketTimeoutException: Read timed out (script in 
http://bla.com/prot/phy.query from (1173, 31) to (1176, 14)#1175)"

>From the report I conclude that after 5 minutes the process was stopped. On 
>the other hand, I can't reproduce the issue in my Firefox3.5 browser (or any 
>other). The page is quite heavy, but still loads successfully within a minute.
The JavaScript at line 1173 looks like:


<SCRIPT LANGUAGE="JavaScript">function resetSelectAndGo(s) {

        resetSelect(s);

        this.document.form.submit();

}</SCRIPT>

with


<SCRIPT LANGUAGE="JavaScript">

function resetSelect(s) {

        if (this.document.form != null){

               for (j=0; j<this.document.form.elements.length; j++) {

        obj = this.document.form.elements[j];

   if (obj.type != null){

               if ( obj.type.indexOf( "select" ) > -1 &&

 s != obj &&

 obj.name != "p_columns" &&

 obj != this.document.form.p_filter_action &&

 obj != this.document.form.p_summary &&

 obj != this.document.form.p_order ) {

                                      obj.selectedIndex = 0;

                       }

               }

        }

        if ( this.document.form.p_grp_action != null ) {

               this.document.form.p_grp_action.value = "";

        }

}

}

</SCRIPT>


Any comments, hints etc. would be highly appreciated.

Thanks,
Michael


Reply via email to