You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/09/27 18:21:50 UTC
[Bug 61569] New: JMS Point-to-Point Test Plan: response doesn't work
https://bz.apache.org/bugzilla/show_bug.cgi?id=61569
Bug ID: 61569
Summary: JMS Point-to-Point Test Plan: response doesn't work
Product: JMeter
Version: 3.3
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: panainte.i@gmail.com
Target Milestone: ---
Hi,
I selected JMSMessageID for request and JMSCorrelationID for response and this
correlation doesn't work properly.
lib: ApacheJMeter_jms.jar
I have investigated and found that problem is in concurrency. Producer
(FixedQueueExecutor line: 82) send a message, consumer (Receiver line: 134) got
a reply before producer save a request in placeholder and try to save it in
placeholder, MessageAdmin(line: 124) try to get a request holder but it was not
save till and result will be null and request will fail.
Solution:
Receiver.java line: 133-135
} else {
admin.putReply(messageKey, reply);
}
replace with:
} else {
synchronized(admin) {
admin.putReply(messageKey, reply);
}
}
I fixed and tested this bug on my local machine after that I didn't have any
problem with response fail.
If you need I can provide more details about this bugfix.
Regards,
Igor
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61569] JMS Point-to-Point Test Plan: response doesn't work
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61569
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Severity|critical |normal
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61569] JMS Point-to-Point Test Plan: Synchronization issue when
putting reply
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61569
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|3.3 |2.13
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61569] JMS Point-to-Point Test Plan: Synchronization issue when
putting reply
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61569
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|JMS Point-to-Point Test |JMS Point-to-Point Test
|Plan: response doesn't work |Plan: Synchronization issue
| |when putting reply
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61569] JMS Point-to-Point Test Plan: Synchronization issue when
putting reply
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61569
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Wed Sep 27 18:36:16 2017
New Revision: 1809895
URL: http://svn.apache.org/viewvc?rev=1809895&view=rev
Log:
Bug 61569 - JMS Point-to-Point Test Plan: Synchronization issue when putting
reply
Bugzilla Id: 61569
Modified:
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.