microsoft / azure-load-testing

MIT License
22 stars 2 forks source link

Support for JMeter Include Controller? #77

Open jimcomiskey opened 2 years ago

jimcomiskey commented 2 years ago

In order to reuse JMeter Test Fragments across different JMeter Test Plans, I use the Include Controller. I use this for things such as Login which is shared between different tests. ALT doesn't allow for uploading more than one JMX file, so it doesn't seem to support Include Controller.

Alternatives I've considered I tried renaming the shared JMX file to something like "Login.jfragment", and while this works when I run the test locally, but if I upload this as an additional file, it does not appear to work.

I am forced to pull the steps from my Test Fragment into the Test Plan in order to get it to work,

Additional context When my failure occurs, I don't see any logs I can download so it's not clear what the actual problem is. But my guess is that JMeter Include Controllers are not supported.

Nagarjuna-Vipparthi commented 2 years ago

Hi @jimcomiskey, Azure Load Testing does not support JMX fragments currently, but it is part of our roadmap.

jcoryatjr commented 1 year ago

This is core to the functionality of the tool and more complex test plans. Do you have a timeline on the roadmap where this will be addressed?

cmyllis commented 6 months ago

Wanted to ask the same thing. Since I found an answer mentioning its in the roadmap since 2021. Consider having something changed in the main part of a test (login), that would require all the tests to be updated one by one. Except if there is any better solution that I have not considered.

shealy13 commented 5 months ago

@Nagarjuna-Vipparthi are there any updates on an ETA for this? Modularization of scripts (i.e. one script can reference another) is a best practice. Being limited to only 1 JMX file per test is a major issue.