abstracta / jmeter-java-dsl

Simple JMeter performance tests API
https://abstracta.github.io/jmeter-java-dsl/
Apache License 2.0
477 stars 59 forks source link

2 issues with running perf test on Azure #217

Closed mikeliucc closed 1 year ago

mikeliucc commented 1 year ago

I've been playing with perf. test on Azure (Azure Load Testing). Lots of fun and possibilities.

Currently, however, I'm facing 2 issues:

  1. splitCsvsBetweenEngines(): things get weird when I enable the "split CSV evenly between Test engines" option. It turns out the only the first engine is getting the CSV test data properly. The other engines are not (at least it doesn't look that way) - and HTTP requests fired from these engines have the ${...} string in the URL instead of the CSV test data. Any idea?
  2. JSR223 support. Rodger, you might have mentioned about this in one of our prior conversations. But I can't find that thread right now. If I have any JSR223 Post Processor, then the generated JMX would have reference to us.abstracta.jmeter.javadsl.core.postprocessors.DslJsr223PostProcessor. This is causing my test to fail when runnning on Azure. Any chance this can be fixed, somehow?

Thanks!!

Mike

rabelenda commented 1 year ago

Hello Mike,

  1. That behavior sounds weird. I will ask the Azure Team to see if they might know the reason for such behavior. I guess you have already verified that the flag looks set in Azure load test , and that running a similar test with manual setup works fine.

  2. Have you checked this user guide section. In future release of jmeter-java-dsl it will not be necessary to add jmeter-java-dsl jar as an asset (the azure engine will automatically add it).

mikeliucc commented 1 year ago

Thanks for the link regarding lambda. Unfortunately our use of JSR223 involves accessing instance variables, which are inaccessible to static inner class.

rabelenda commented 1 year ago

If you could provide some sample (removing any specific or sensitive info) of your code we might be able to help you find a solution.

rabelenda commented 1 year ago

Hello @mikeliucc , the Azure team asked told me

"Can we check for the test run ID for us to debug? If they don’t want to share it publicly they can create an issue on https://developercommunity.microsoft.com/loadtesting and share it privately with us."

Let me know if I can help you reaching them or make things faster.

rabelenda commented 1 year ago

@mikeliucc have you had any news on this?

rabelenda commented 1 year ago

@mikeliucc have you had any news? Otherwise I will close this issue.