java - Load a file content to be used in a test with JMeter and a AbstractJavaSamplerClient -
so there i'm missing here how use jmeter.
i reading in user guide can use java sampler run test. it's ok because need read file content in , send storage engine.
so starting writing unit tests implement version of javasample using class abstractjavasamplerclient.
i counting load file in setup once, puzzles me fact can;t pass runtest method using sampler context.
how do this? mean, if lose time loading file each time test has no meaning
wouldn't easier use __filetostring() function wherever it's required?
if want file read 1 time once controller can used read file jmeter variable
if you're going re-use variable in multiple thread groups vlns says should converted jmeter property variables scope limited current thread group only. see how use variables in different thread groups.guide implementation details.
Comments
Post a Comment