12 Replies Latest reply on Oct 10, 2012 6:12 AM by 966088

    OATS: Thin Browser Exception Error

    966088
      Hi All,

      Getting a thin browser exception error while trying to execute the scripts with more then 100+ vitual users,

      Any setup missing ? Please advise

      -Shahid
        • 1. Re: OATS: Thin Browser Exception Error
          Jamie_Lockhart
          Any further info available?

          You could check the memory allocated to each VU process.....

          Jamie
          • 2. Re: OATS: Thin Browser Exception Error
            Shahid Majid-Oracle
            Hi Jamie,

            Thanks

            Please suggest what parameter needs to be set and what should be its value.

            We are still facing the issue

            Shahid
            • 3. Re: OATS: Thin Browser Exception Error
              Jamie_Lockhart
              Hi Shahid,

              You can set it on a per script/profile basis in a Scenario or you can set it as scenario default in Tools -> Options -> Java Client Preferences -> Maximum JVM Heap Size (MB):. Try setting it to Other and 1024. This is just a suggestion, as we don't know what is happening fully in your instance.

              Jamie
              • 4. Re: OATS: Thin Browser Exception Error
                966088
                Hi Jamie

                Thanks for your inputs, we have tried that and it is still not resolving the issue, please advise.

                Let me know what else information you need.

                Shahid
                • 5. Re: OATS: Thin Browser Exception Error
                  834498
                  1/ What is your ATS version?
                  2/ What is the technology you are testing? Web, Siebel, EBS, Forms, something else?
                  3/ Have you checked log files? Cl:\OracleATS\logs by default

                  JB
                  • 6. Re: OATS: Thin Browser Exception Error
                    966088
                    Hi Jemie,

                    To answer your queries

                    1. We are in 9.3 version of OAT

                    2. We are testing EBS (Fin & HRMS & Supply Chain module) which are having mix of forms and html pages.

                    3. We checked the log file, but could not get much help. Any specific things needs to be checked.

                    -Shahid
                    • 7. Re: OATS: Thin Browser Exception Error
                      834498
                      I don't know if it is exactly the same problem you have but it exists a memory leak identified in this release.
                      Could you please check the logs and tell us if you can see messages like "out of memory" or similar?

                      Of course, if possible, upgrade to latest release (12.1.0.2 at that time) could be a solution.


                      JB
                      • 8. Re: OATS: Thin Browser Exception Error
                        966088
                        Hi JB,

                        below is the message in the log file (java_agent)

                        *****************************************

                        2012-10-09 06:07:35,801 ERROR [IteratingAgent 3715][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.3715] Error in section Run at line (script.java:25). Timeout occurred while waiting for server response. Socket timeout is set to 2,000 seconds.
                        Comparable WinInet error code: Error 12002: ERROR_INTERNET_TIMEOUT. Caused by: java.net.SocketTimeoutException occurred. Error Message:Read timed out
                        oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException
                             at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.get(WebHTTPTestObject.java:467)
                             at oracle.oats.scripting.modules.http.api.elements.WebHTTPWindow.get(WebHTTPWindow.java:54)
                             at script.initialize(script.java:25)
                             at oracle.oats.scripting.modules.basic.api.IteratingVUser.initialize(IteratingVUser.java:355)
                             at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:650)
                             at java.lang.Thread.run(Thread.java:619)
                        Caused by: oracle.oats.scripting.modules.basic.api.exceptions.ScriptException: Timeout occurred while waiting for server response. Socket timeout is set to 2,000 seconds.
                        Comparable WinInet error code: Error 12002: ERROR_INTERNET_TIMEOUT.
                             at oracle.oats.scripting.modules.http.api.ThinBrowser.createResponseFromHttpJob(ThinBrowser.java:348)
                             at oracle.oats.scripting.modules.http.api.ThinBrowser.navigate(ThinBrowser.java:249)
                             at oracle.oats.scripting.modules.http.api.ThinBrowser.navigate(ThinBrowser.java:215)
                             at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.navigate(AbstractHTTPService.java:567)
                             at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:504)
                             at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:2105)
                             at oracle.oats.scripting.modules.http.api.internal.browser.WebHTTPNavigator.get(WebHTTPNavigator.java:40)
                             at oracle.oats.scripting.modules.http.api.internal.domElement.AbstractWindowElement.get(AbstractWindowElement.java:105)
                             at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.get(WebHTTPTestObject.java:442)
                             ... 5 more
                        Caused by: java.net.SocketTimeoutException: Read timed out
                             at jrockit.net.SocketNativeIO.readBytesPinned(Native Method)
                             at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
                             at java.net.SocketInputStream.socketRead0(SocketInputStream.java)
                             at java.net.SocketInputStream.read(SocketInputStream.java:129)
                             at oracle.oats.lbrowser.io.SocketConnectionIO.innerReadBytes(SocketConnectionIO.java:39)
                             at oracle.oats.lbrowser.io.ConnectionIO.readBytes(ConnectionIO.java:211)
                             at oracle.oats.lbrowser.http.MessageHeader.parseHeaderInternal(MessageHeader.java:244)
                             at oracle.oats.lbrowser.http.MessageHeader.parseHeaderWithBuffer(MessageHeader.java:216)
                             at oracle.oats.lbrowser.http.RSyncConnection.parseHeader(RSyncConnection.java:1196)
                             at oracle.oats.lbrowser.http.RSyncConnection.runCurrentJob(RSyncConnection.java:965)
                             at oracle.oats.lbrowser.http.RSyncConnection.IRBrowserConnection_doJob(RSyncConnection.java:192)
                             at oracle.oats.lbrowser.http.RBrowser.Navigate(RBrowser.java:950)
                             at oracle.oats.lbrowser.http.RBrowser.Navigate(RBrowser.java:884)
                             at oracle.oats.lbrowser.http.RBrowser.Navigate(RBrowser.java:849)
                             at oracle.oats.scripting.modules.http.api.ThinBrowser.navigate(ThinBrowser.java:244)
                             ... 12 more


                        Looks like socket time out error.

                        Shahid
                        • 9. Re: OATS: Thin Browser Exception Error
                          834498
                          Looks like your (application) server cannot handle the load generated by ATS...

                          "Timeout occurred while waiting for server response"

                          What do you think?
                          All the users are failing or only a few?
                          • 10. Re: OATS: Thin Browser Exception Error
                            Shahid Majid-Oracle
                            Hi JB

                            We are running with one users and with 100+ virtual users for a test script ? is this a problem

                            -Shahid
                            • 11. Re: OATS: Thin Browser Exception Error
                              834498
                              I just wanted to mention that in some case in 9.3 you could face a memory leak testing EBS/Forms application. This is not necessary your case. Please check log files accordingly.
                              I also wanted to get more details on the problem:
                              does it occur after a certain amount of time
                              does it occur when reaching a specific number of users connected?
                              does it occur for all users (for one load testing agent) or for some/specific users?


                              JB
                              • 12. Re: OATS: Thin Browser Exception Error
                                966088
                                Hi JB,

                                To answer the question,

                                1. No it doesn't happen after certain amount of time

                                2. Yes it occur when a specific number of users.

                                3. Since we are running with one users (one laptop) and we are setting the virtual users as 100+, we are getting this error.

                                Regards
                                Shahid