microsoft / azure-load-testing

MIT License
22 stars 2 forks source link

[BUG] Jmeter web driver sampler #58

Open ravimainali opened 2 years ago

ravimainali commented 2 years ago

We want to run Jmeter web driver sampler for real time browser load test so since we dont have control over load engine to copy the web driver exe , therefore we assume that these load engine are one of the Azure Hosted Vm and since Azure hosted vm will by default have chrome and chrome web driver installed so we tried using web driver enviornmnet variable to give the chrome driver path in Jmeter web sampler request but when we run the test from load serive it gives error saying web driver can not found at the specified path so want to know first is it possible or supported to run Jmeter web driver sample in load service and if yes than is there any other way to run web driver sampler othan then what i descriped above ?

AB#1490331

kaumishra commented 2 years ago

Hi @ravimainali Thanks for sharing the feedback. Just so that I am clear on the scenario, can you describe the application and the test you are trying to perform?

ravimainali commented 2 years ago

We have a web application , we want to do a front end web ui load test of this application so we thought of using Jmeter Web driver sampler plugin to do the web ui load test , where this sampler will launch the web browser and then open this web application url followed by navigate to different pages. But Jmeter web driver sampler need a specific web browser web driver as a prerequisite, say for running the load test in chrome browser we need to first copy the chromewebdriver.exe to the particular system where we want to run the test . So i want to know how do we copy this chromedriver exe in this load engine since we dont have any control to this load engine ? @kaumishra

kaumishra commented 2 years ago

@ravimainali Thanks for sharing. Let me check on this and get back with an update.

kaumishra commented 2 years ago

@ravimainali I checked on this. Currently we do not support uploading executables to our test engines. I have added this to our backlog. I will update this thread once we prioritize it.

shobhitkasliwal-onbe commented 1 year ago

@kaumishra - any update on this? I am also looking to test the jmeter webdriver sampler to load test UI.

SagarBisen34 commented 1 year ago

@kaumishra - Is there any update on this? we are trying to work on WebDriver Sampler in Azure

Nagarjuna-Vipparthi commented 5 months ago

@ravimainali @shobhitkasliwal-onbe @SagarBisen34 You can now use Web Driver Sampler with Azure Load Testing. However, owing to its resource intensive nature, it is suggested to have relatively lesser virtual users as compared to other samplers. https://azure.microsoft.com/en-us/updates/azure-load-testing-supports-web-driver-sampler-plugin-for-apache-jmeter/ https://learn.microsoft.com/azure/load-testing/resource-jmeter-support

Monitor engine health to optimize the utilization of the test engines and modify your script accordingly - https://learn.microsoft.com/azure/load-testing/resource-jmeter-support