Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4842

HibernateException in patient registration workflow

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Could
    • Resolution: Won't Fix
    • Platform 1.11.5
    • None
    • None
    • Medium

    Description

      The patient registration just works fine when operated from browser when number of users are less and there's a less/no traffic.
      But, to test the performance of the system for higher loads I developed a JMeter script of the workflow and ran it for more than 2 users concurrently and got the following exception:

      org.hibernate.HibernateException: illegally attempted to associate a proxy with two open Sessions

      Stack Trace: http://pastebin.com/m2sVzG4B

      Note: JMeter is a load/performance testing tool. I've a test plan that can request provided URL(patient registartion URL in our case) against defined set of users/threads. I'm running into above mentioned issue where I try to run more than 5 parallel threads through patient registration workflow(using POST request).

      Refer topic https://talk.openmrs.org/t/hibernateexception-in-patient-registration-workflow/5315 for more details on the issue.

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              themoonraker13 Parth Kachchhi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: