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 2014/09/24 19:26:28 UTC

[Bug 57015] New: JMeter point-to-point sampler doesn't allow to change properties on the fly

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

            Bug ID: 57015
           Summary: JMeter point-to-point sampler doesn't allow to change
                    properties on the fly
           Product: JMeter
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: juanma.cvega@gmail.com

The point-to-point sampler in JMeter for request-reply messages doesn't allow
to provide parameterized values. All configuration values must be hard coded
into the sampler, so any attempt to create dynamic values for the jms broker
host for example don't work.

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide parameterised values

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

juanma.cvega@gmail.com changed:

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

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide dynamic values

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

--- Comment #3 from Sebb <se...@apache.org> ---
The provider URL is resolved at configuration time, i.e. before the thread runs
the BeanShell Pre-processor.

It is possible to change variables using a Config test element such as the User
Defined Variables element.

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide dynamic values

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

juanma.cvega@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JMeter point-to-point       |JMeter point-to-point
                   |sampler doesn't allow to    |sampler doesn't allow to
                   |provide parameterised       |provide dynamic values
                   |values                      |

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide dynamic values

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

--- Comment #4 from juanma.cvega@gmail.com ---
Yes, that way it works. But other elements that provide dynamic ways of
changing the value don't work. I've tried using Random Variable element, CSV
Data Set Config or Bean Shell sampler and those don't work. 
The reason for this requirement is to be able to test clustered configurations.
Without it, I'm forced to duplicate the test plan, providing a value for each
of them.

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide parameterised values

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Can you provide a sample Test plan , describe the expected behaviour vs what
you get ?

If possible make Test plan for ActiveMQ.
Thanks

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide parameterised values

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

--- Comment #2 from juanma.cvega@gmail.com ---
Created attachment 32074
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32074&action=edit
Test plan example

The test plan provides two user defined variables that are used to specify the
broker host and port. Then, inside a thread group, the test tries to change the
value of the JMS_BROKER_HOST variable in a bean sampler, providing another
string, before running the jms point-to-point sampler. When running the test,
it's easy to see in the View Results Tree how an exception is thrown saying the
sampler cannot reach the broker in the specified host, that is the one defined
in the user defined variables, not in the bean sampler. It can also be checked
in the Debug sampler provided that the new value is stored in the user
variable.

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide parameterised values

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

juanma.cvega@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JMeter point-to-point       |JMeter point-to-point
                   |sampler doesn't allow to    |sampler doesn't allow to
                   |change properties on the    |provide parameterised
                   |fly                         |values

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

[Bug 57015] JMeter point-to-point sampler doesn't allow to provide dynamic values

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

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