As I said earlier you can use muliple __stringfromfile() function call to read from different file. But you can not read multiple file from single function call. you can use beanshell to write your own logic to read from different file. Or you can write your own custom function as JMeter plugin. http://code4reference.com/2013/05/gradle-build-file-for-jmeter-plugin-development-2/
On Mon, Jun 24, 2013 at 9:27 AM, umesh prajapati <[email protected]>wrote: > I have tried CSV configuration but CSV configuration is only possible to > read from a single file...Could give me an example on how to read input > from a different files using _StringFromFile() > and I have one other question. Is there anyway we can call java program > from jmeter. > > My requirement regarding if we can read java program from jmeter is as > follow > I am trying to do load test on secured web services. And I am using HTTP > Request sampler with Raw Post Body and I have to load different content for > Raw Post Body for each request. So How can I achieve this? > Your help will be very helpful and great. > > > > On Mon, Jun 24, 2013 at 9:21 AM, hame <[email protected]> wrote: > > > yes it can. You can either use __StringFromFile() function or CSV data > set > > configuration. You can use either of these per file. > > By the way what is your complete requirement. I believe most of the > > requirements are well satisfied by CSV data set configuration. > > > > > > > http://jmeter.apache.org/usermanual/component_reference.html#config_elements > > > > > > > > On Mon, Jun 24, 2013 at 9:07 AM, umesh prajapati <[email protected] > > >wrote: > > > > > Hi , > > > > > > I am wondering if Jmeter can read inputs from multiple file. If yes how > > can > > > I achieve it. > > > > > >
