I read the discussion below about the same question http://jmeter.512774.n5.nabble.com/a-question-regarding-to-JUnit-Sampler-string-constructor-td3214805.html
@sebb where are those examples you mentioned at the last reply in this discussion? 2013/8/20 Flavio Cysne <[email protected]> > Hi, > > I need to pass some arguments to a test method in a JUnit Test class > and I thought of using Constructor String label for it. After debugging the > code, I saw that variables are not converted to their values when used in > Constructor String label field in JUnit Request, and then passed as is > written. > > Is there any other way to pass data, preferably generated by JMeter, to > a Test class? > > If not, could you give some advice about where I have to modify the > code to accomplish this need? > > Thanks in advance. >
