Bug 61739

Summary: Java Request / JavaSamplerClient : Improve JavaSamplerContext
Product: JMeter - Now in Github Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2017-11-08 20:58:26 UTC
JavaSamplerContext should give access easily to the same objects that are available when using JSR223 Test Elements.
Newbies or users may not easily guess where to get all objects they need.

So I propose to add:

public JMeterContext getJMeterContext()
public final JMeterVariables getJMeterVariables() 
public final Properties getJMeterProperties()
Comment 1 Philippe Mouawad 2017-11-08 21:00:21 UTC
Author: pmouawad
Date: Wed Nov  8 20:59:54 2017
New Revision: 1814645

URL: http://svn.apache.org/viewvc?rev=1814645&view=rev
Log:
Bug 61739 - Java Request / JavaSamplerClient : Improve JavaSamplerContext
Bugzilla Id: 61739

Modified:
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSamplerContext.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:38:11 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4575