Bug 61739 - Java Request / JavaSamplerClient : Improve JavaSamplerContext
Summary: Java Request / JavaSamplerClient : Improve JavaSamplerContext
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.3
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-08 20:58 UTC by Philippe Mouawad
Modified: 2017-11-08 21:00 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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