microsoft / azure-load-testing

MIT License
22 stars 3 forks source link

[Feature Request] Azure load testing work with plugin #30

Open namphuongtran opened 2 years ago

namphuongtran commented 2 years ago

When uploading JMeter script to test plan but in that script, we have to use some plugin.

For example:

Thank you

AB#1460227

kaumishra commented 2 years ago

Hi @namphuongtran Currently we support plugins from https://jmeter-plugins.org/ only. To use plugins from there no additional changes are required to your JMX script. We do not support plugins from other sources currently but it is in our roadmap.

TheJayMann commented 2 years ago

Given that it has been stated that plugins from https://jmeter-plugins.org/ are supported, how does one go about enabling any of these plugins? I tried to run a quick example test which makes use of jpgc-functions and tilln-formman, both of which can be found. As far as I can tell, custom functions defined in jpgc-functions do not work. When I replace those functions in the test with hard coded values, it appears that tilln-formman does work, unless Azure Load Testing is providing something which works similar to tilln-formman.

ninallam commented 2 years ago

@TheJayMann can you please share the test run ID for the test that you tried to run for us to debug?

TheJayMann commented 2 years ago

I will have to recreate it, but I can before days end.

TheJayMann commented 2 years ago

If I'm not mistaken, the test run ID is 14899b5f-87e8-4cac-8a6d-0f0d61962069. I'm attempting to make use of the __env(name,,defaultValue) function from jpgc-functions to get environment variables. It does work when I instead use __groovy( System.getenv("name") ?: "defaultValue" ), which I found as a workaround some time later.

fdomoreno commented 1 year ago

Hi, @ninallam how can I make it work with jmeter-wssecurity, when I try to add a jmx that uses the plugin it generates error and does not show the logs.

Thanks!