Re: Include + Module controller hybrid

2021-12-13 Thread Lena Mulyar
> Do you think relative path is a viable solution? > > An alternative option is to have "library paths" JMeter propery, so it > would lookup libraries in the given set of paths. Yup, I think either of options would work. > When it comes to the UI, I would love to see the included elements, and it

Re: Include + Module controller hybrid

2021-12-13 Thread Vladimir Sitnikov
>test plan can >be run in different envs with different jmeter installation paths Do you think relative path is a viable solution? An alternative option is to have "library paths" JMeter propery, so it would lookup libraries in the given set of paths. When it comes to the UI, I would love to s

Re: Include + Module controller hybrid

2021-12-13 Thread Lena Mulyar
> By the way, I wonder if we can explicitly forbid the use of ${...} > expressions in file names. Mm. I see it as a quite limiting change, considering the test plan can be run in different envs with different jmeter installation paths, or for ex. I run it locally on the pre-installed jmeter instanc

Re: Include + Module controller hybrid

2021-12-13 Thread Vladimir Sitnikov
>Gotcha, thanks for clarifying - then it might absolutely be an >alternative solution. In practice, there's not much difference overall :) However, many programming languages have the concept of "exporting and importing symbols" (e.g. import ... in Java), so JMeter might be good to borrow the con

Re: Include + Module controller hybrid

2021-12-13 Thread Lena Mulyar
> I suggest that "import element" would create a virtual node that references > the external file symbolically. > Then, the import could be "scoped to the subtree", so you might import > "commons" library at the very top, and you could import more specific > "libraries" somewhere inside the tree.

Re: Include + Module controller hybrid

2021-12-13 Thread Vladimir Sitnikov
> However, it doesn't seem to not be an optimal solution for the case when I have 20+ "libraries" with a certain level of depth each having multiple nested modules/elements that also can reference I think there's misunderstanding. I don't suggest copying the trees at import time. I suggest that "i

Re: Include + Module controller hybrid

2021-12-13 Thread Lena Mulyar
Thanks for your input! > Have you explored the possibility of "Import Element"? > In other words, an element that would "import a jmx file" into the > namespace of the current test plan. > Then Module Controllers should be able to reference the nodes of the > imported JMX. > For example, "Import a

Re: Include + Module controller hybrid

2021-12-12 Thread Vladimir Sitnikov
Lena>a decent reason why it was not implemented over all these years? I guess the reason is nobody invested time to make it happen. Lena>I am in a strong need of having a Controller that allows to choose a Lena>certain module from an external file, something like a hybrid of Module and Lena>Inclu

Include + Module controller hybrid

2021-12-11 Thread Lena Mulyar
Hi! I am in a strong need of having a Controller that allows to choose a certain module from an external file, something like a hybrid of Module and Include Controllers (I work with a complex microservices-based system that requires organizing a nicely structured and convenient in usage test frame