You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2011/05/19 08:52:12 UTC

DO NOT REPLY [Bug 51228] New: JMeter clears all messages in queue it listens to via MQ interface

https://issues.apache.org/bugzilla/show_bug.cgi?id=51228

             Bug #: 51228
           Summary: JMeter clears all messages in queue it listens to via
                    MQ interface
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: neetuskumar@gmail.com
    Classification: Unclassified


Created attachment 27030
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27030
Screenshot of JMS point to point sampler used

I've made JMeter post to and listen to my MQ using a JMS point to point
sampler. I'm trying to retrieve the response from my response queue by
correlating the message id. The issue is that though I am able to see the
correct response in the results tree, any other messages lying in the response
queue are getting deleted from my response queue.


Steps to reproduce : 

Setup MQ Queue manager and queues and jms binding file for the same.

Configure a request and one response queue.

Configure a JMS sampler to post a request onto the request queue using a
sampler while listening to the response queue.

Place some dummy messages on the response queue.


Run JMeter....and check the messages lying on the response queue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 51228] JMeter clears all messages in queue it listens to via MQ interface

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51228

Bug 51228 depends on bug 52088, which changed state.

Bug 52088 Summary: JMS Sampler : Add a selector when REQUEST / RESPONSE is chosen
https://issues.apache.org/bugzilla/show_bug.cgi?id=52088

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 51228] JMeter clears all messages in queue it listens to via MQ interface

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51228

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |52088

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 51228] JMeter clears all messages in queue it listens to via MQ interface

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51228

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> 2011-09-08 08:23:34 UTC ---
Hello,
Please send your JMX file.

Sebb, Milamber, I think issue is due to the fact that we are in AUTO_ACKNOWLDGE
mode and we call receive, and if message has not correlation ID we don't put it
back.


Regards
Philippe Mouawad

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 51228] JMeter clears all messages in queue it listens to via MQ interface

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51228

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> 2011-10-25 19:18:15 UTC ---
As this feature is designed it launches a thread that calls
MessageConsumer#receive until it is active, which is while thread is active.
This explains why all messages in QUeue are cleaned.

Maybe you would like only your message to be received but I don't think it's
possible .

Maybe one option would be to enable a message selector on JMS Sampler so that
it only selects messages that sampler sends. But it would always receive all
messages in Queue, ie those posted by other Thread Group (you could make
selector a Variable and it would make it).

So I will close this issue and create a new one to let us put a selector on JMS
Sampler receiver.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org