You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "markuswege (via GitHub)" <gi...@apache.org> on 2023/05/08 10:03:42 UTC

[GitHub] [jmeter] markuswege opened a new issue, #5896: $-expressions are not evaluated on client/master in distributed tests

markuswege opened a new issue, #5896:
URL: https://github.com/apache/jmeter/issues/5896

   ### Expected behavior
   
   In distributed testing ("master/slave") the evaluation of $-expressions works in ResultsCollector, BackendListener and User Defined Variables.
   
   ### Actual behavior
   
   In distributed testing ("master/slave") the evaluation of $-expressions works in ResultsCollector, BackendListener but **not** User Defined Variables.
   
   ### Steps to reproduce the problem
   
   Create simple Test having User Defined Variables and BackendListener.
   
   User Defined Variables:
   `TEST_PROFILE=${__P(activeProfileId)}`
   
   BackendListener:
   `profileId=${TEST_PROFILE}`
   
   Run in distributed setup.
   
   Client (master) does not evaluate $-expressions in User Defined Variables.
   In the given case, the content of profileId is "`${__P(activeProfileId)}`" instead of the value passed by the property "`activeProfileId`".
   
   
   
   Note: We already implemented a fix for this, Pull Request will follow soon.
   
   ### JMeter Version
   
   5.5
   
   ### Java Version
   
   OpenJDK Runtime Environment 18.9 (build 11+28)
   
   ### OS Version
   
   openjdk version "11" 2018-09-25


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] markuswege commented on issue #5896: $-expressions are not evaluated on client/master in distributed tests

Posted by "markuswege (via GitHub)" <gi...@apache.org>.
markuswege commented on issue #5896:
URL: https://github.com/apache/jmeter/issues/5896#issuecomment-1555969745

   Yes,  pretty mich looks like it. Will keep this one open nevertheless since i hace fixed it.
   Tests are WiP, since there are no tests for the classes involved, i need to start from scratch here. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] vlsi commented on issue #5896: $-expressions are not evaluated on client/master in distributed tests

Posted by "vlsi (via GitHub)" <gi...@apache.org>.
vlsi commented on issue #5896:
URL: https://github.com/apache/jmeter/issues/5896#issuecomment-1555965975

   This might duplicate https://github.com/apache/jmeter/issues/5294


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org