You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/10/13 14:55:43 UTC

DO NOT REPLY [Bug 47992] New: JMS Point-to-Point Request - Response option doesn't work for me

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

           Summary: JMS Point-to-Point Request - Response option doesn't
                    work for me
           Product: JMeter
           Version: 2.3.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: maxcool@freemail.hu


If I try send a message at JMS Point-to-Point with Request Response
Communication style (Use Request Message Id As Correlation Id is marked)

I have a following error:


2009/10/13 14:53:11 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
continue on error 
2009/10/13 14:53:11 INFO  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties) 
2009/10/13 14:53:11 INFO  - jmeter.threads.JMeterThread: Running PostProcessors
in forward order 
2009/10/13 14:53:11 INFO  - jmeter.engine.StandardJMeterEngine: All threads
have been started 
2009/10/13 14:53:11 INFO  - jmeter.threads.JMeterThread: Thread started: test
1-1 
2009/10/13 14:53:11 INFO  - jmeter.protocol.jms.sampler.Receiver: creating
receiver without authorisation credentials 
2009/10/13 14:53:11 INFO  - jmeter.protocol.jms.sampler.Receiver: Receiver -
ctor. Connection to messaging system established 






2009/10/13 14:53:13 INFO  - jmeter.protocol.jms.sampler.MessageAdmin: Message
with ID:414d51205742524b36315f4445464155b61cd34a2024b602 not found. 







2009/10/13 14:53:13 INFO  - jmeter.threads.JMeterThread: Thread finished: test
1-1 
2009/10/13 14:53:13 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread
test 1-1 
2009/10/13 14:53:13 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test 
2009/10/13 14:53:13 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test
listeners of end of test 
2009/10/13 14:53:13 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*) 
2009/10/13 14:53:13 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47992] JMS Point-to-Point Request - Response option doesn't work for me

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

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Sebb <se...@apache.org> 2009-11-13 14:00:57 UTC ---
Thanks, fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=836014&view=rev
Log:
Bug 47992 - JMS Point-to-Point Request - Response option doesn't work

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47992] JMS Point-to-Point Request - Response option doesn't work for me

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

--- Comment #2 from jbgury <je...@gmail.com> 2009-11-09 06:55:06 UTC ---
I confirm this bug, and resolution works for me too.

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47992] JMS Point-to-Point Request - Response option doesn't work for me

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

--- Comment #1 from juniordeveloper <ma...@freemail.hu> 2009-10-13 06:57:57 UTC ---
In the Receiver.java file change this:


from   getJMSMessageID   to getJMSCorrelationID




old:

while (isActive()) {
            reply = null;
            try {
                reply = consumer.receive(5000);
                if (reply != null) {

                    if (log.isDebugEnabled()) {
                        log.debug("Received message, correlation id:" +
reply.getJMSCorrelationID());
                    }

                    if (reply.getJMSCorrelationID() == null) {
                        log.warn("Received message with correlation id null.
Discarding message ...");
                    } else {
                       
MessageAdmin.getAdmin().putReply(reply.getJMSMessageID(), reply);
                    }
                }



new:


while (isActive()) {
            reply = null;
            try {
                reply = consumer.receive(5000);
                if (reply != null) {

                    if (log.isDebugEnabled()) {

                        log.debug("Received message, correlation id:" +
reply.getJMSCorrelationID());
                    }

                    if (reply.getJMSCorrelationID() == null) {
                        log.warn("Received message with correlation id null.
Discarding message ...");
                    } else {
                       
MessageAdmin.getAdmin().putReply(reply.getJMSCorrelationID(), reply);
                    }
                }

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org