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/20 08:55:52 UTC

[Bug 61544] New: JMS Point-to-Point Sampler enhanced communication styles (read, browse, clear)

https://bz.apache.org/bugzilla/show_bug.cgi?id=61544

            Bug ID: 61544
           Summary: JMS Point-to-Point Sampler enhanced communication
                    styles (read, browse, clear)
           Product: JMeter
           Version: 3.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: benny@smaragd-it.nl
  Target Milestone: ---

The JMS Point-to-Point Sampler only supports the communication styles Request
Only and Request Response.
It would be very convenient if the following options were added:
- Read - reads a message from the queue (if any)
- Browse - return the current queue depth ie. number of messages on queue
- Clear - clear the queue ie. remove all messages from queue

In addition, when this sampler is able to read messages from a queue, the
setting for 'Number of samples to aggregate' should be introduced, like the JMS
Subscriber Sampler offers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler enhanced communication styles (read, browse, clear)

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

Benny van Wijngaarden <be...@smaragd-it.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Benny van Wijngaarden <be...@smaragd-it.nl> ---
Additional info:
One might ask why the JMS Subscriber Sampler is not used for reading from a
queue. My reason is as follows: We use JMeter to handle queues without a
binding file. As far as I know this construct, using the skip-jndi jar, only
works with the JMS Point-to-Point sampler.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat Nov 18 20:15:20 2017
New Revision: 1815692

URL: http://svn.apache.org/viewvc?rev=1815692&view=rev
Log:
Bug 61544 - JMS Point-to-Point Sampler: Enhance communication styles with read,
browse, clear
Bugzilla Id: 61544

Modified:
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.java
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Mon Nov 27 18:18:01 2017
New Revision: 1816483

URL: http://svn.apache.org/viewvc?rev=1816483&view=rev
Log:
Bug 61544 : JMS Point-to-Point Sampler: Enhance communication styles with read,
browse, clear
Fix response message erased, hiding potential interesting information.
Fix issue when timeout is empty, "" value will be used instead of default value
leading to error
Bugzilla Id: 61544

Modified:
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sun Nov 19 10:00:27 2017
New Revision: 1815716

URL: http://svn.apache.org/viewvc?rev=1815716&view=rev
Log:
Bug 61544 - JMS Point-to-Point Sampler: Enhance communication styles with read,
browse, clear
Fix test : Increase timeout that was set to 1ms which led to random failure
Improve class code (logging, variable naming, use StringBuilder)
Bugzilla Id: 61544

Modified:
    jmeter/trunk/bin/testfiles/JMS_TESTS.csv
    jmeter/trunk/bin/testfiles/JMS_TESTS.jmx
    jmeter/trunk/bin/testfiles/JMS_TESTS.xml
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benny@smaragd-it.nl

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for your PR , I integrated with following changes:
- Made it backward compatible
- Used codes for different modes (not labels to avoid issues when switching
between languages) and enum instead of only numerical constants

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JMS Point-to-Point Sampler  |JMS Point-to-Point Sampler:
                   |enhanced communication      |Enhance communication
                   |styles (read, browse,       |styles with read, browse,
                   |clear)                      |clear

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler: Enhance communication styles with read, browse, clear

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat Nov 18 21:39:34 2017
New Revision: 1815698

URL: http://svn.apache.org/viewvc?rev=1815698&view=rev
Log:
Bug 61544 - JMS Point-to-Point Sampler: Enhance communication styles with read,
browse, clear
This closes #325
Fix persistence and add tests
Bugzilla Id: 61544

Modified:
    jmeter/trunk/bin/testfiles/JMS_TESTS.csv
    jmeter/trunk/bin/testfiles/JMS_TESTS.jmx
    jmeter/trunk/bin/testfiles/JMS_TESTS.xml
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.java
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61544] JMS Point-to-Point Sampler enhanced communication styles (read, browse, clear)

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.