You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by nlunebur <nl...@lisasoft.com> on 2004/06/21 05:00:03 UTC

reading elements from a file issue

hi all.
i want to be able to load elements into the jmeter test plan, which i 
know how to do ...
however i have this scenario ...

say i have a datafile containing 50 thread group elements ...
but i only want one datafile containing all my requests.
i do not want to have to load the request file into each of the thread 
groups manually as what if i have 100,
or more in the future.
and i dont have the request elements contained in the same file as the 
thread group elements as i want to be able
to modify one file/

is there a way in which i can do this?
thanku!

nicole

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: reading elements from a file issue

Posted by Michael Stover <ms...@apache.org>.
Oddly enough, there is a way you can do this.

You test plan (the requests) should be saved as a controller - ie, put
all the requests under a single parent controller, and save that
controller.  

Your skeleton (ie the threadgroups) consists of the threadgroups, and
under each thread group, a module controller.

Load the parent controller for your requests into the workbench.  Point
all the module controllers are it.  This should do what you expect, and
you can save each piece separately and modify each piece separately.

caveat: Module controller does not work in non-gui mode or in remote
mode.

-Mike


On Sun, 2004-06-20 at 23:00, nlunebur wrote:
> hi all.
> i want to be able to load elements into the jmeter test plan, which i 
> know how to do ...
> however i have this scenario ...
> 
> say i have a datafile containing 50 thread group elements ...
> but i only want one datafile containing all my requests.
> i do not want to have to load the request file into each of the thread 
> groups manually as what if i have 100,
> or more in the future.
> and i dont have the request elements contained in the same file as the 
> thread group elements as i want to be able
> to modify one file/
> 
> is there a way in which i can do this?
> thanku!
> 
> nicole
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
-- 
Michael Stover <ms...@apache.org>
Apache Software Foundation


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org