Hi,

We have an existing monolithic test plan, containing all our smoke tests, for 
all our target systems, some of which are mutually exclusive.  We use this as 
source to generate a 'runnable' test plan.

We then have sed and xmlstarlet scripts which process the source, disabling 
test elements based on the contents of an input file.  We provide a different 
input file for each target host that we want to test.  The output jmx is the 
plan that we run.

As we automate more, we have a desire to do all this inside jmeter, so as to 
reduce the number of proprietary scripts we maintain, and the number of things 
we need to change each time we wish to add a new smoke test.

I currently have several User Defined Variable elements, which define different 
configurations.  I then have many threadgroups, each containing logical groups 
of tests.

I would like to write a pre-processor that takes the input file and disables 
the test elements that are listed within.

First, does this sound possible?  I am sure the entire test plan is available 
as a class structure to jmeter pre-processors/javascript, but I haven't used 
them to such detail yet.

Does anyone have samples of code that traverse the test plan test elements?

Is there somewhere I can place the code so that the current context is the test 
plan?

Thanks for any tips.
Charlie

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to