microsoft / jmeter-performance-analyzer-devops-extension

This task enables to run Performance testng using Apache Jmeter, Analyze report and post results. This task uses Apache Jmeter 5.5 and expects a valid parametrized JMX File, Any input Files, and property file for JMX. The task runs the jmx files according to the configured values in JMX and publishes the result to build artifacts and $web of your storage container. Provides control to fail pipeline if JMeter test fails More details at https://marketplace.visualstudio.com/items?itemName=id-az-pipeline.jmeter-perf-analyzer. You need to enable static hosting in the storage container in order to be able to view html results.
Other
10 stars 5 forks source link

"JMeter Log Folder Name" and "JMeter Report Folder Name" folder names have been affected by this suffix change. #33

Closed 5-k closed 1 year ago

5-k commented 1 year ago

Hi @archerixx

Copied from Previous discussion https://github.com/microsoft/jmeter-performance-analyzer-devops-extension/issues/20


Sorry to bother. It seems that "JMeter Log Folder Name" and "JMeter Report Folder Name" folder names have been affected by this suffix change. They now have "_" sign added at the end. Will you be able to remove it ?

Also, what I noticed is that extracted zip/tar now have subfolder named identicaly, so path to apache-jmeter is like this now: "${wokringDirectory}/apache-jmeter-5.5/apache-jmeter-5.5/...". In previous version, there was no additional subfolder. Could you let me know if this will be reverted or will it stay as is, so I can make changes on my end ?


5-k commented 1 year ago

Hi @archerixx

I want to understand that does that change affect the outcome anyway? It's an internal folder which is published. Hence are you using the path inside? I will be updating this to remove the underscore, however I wanted to understand your use case.

Regarding the unzip hierarchy, there will be a hierarchy created only if the value mentioned under advanced section for extractedfolderNameforJMeterBinary and jmeterCustomUnzippedFolderName are different. If they are same it will be directly extracted into the folder contained inside. This functionality would work with the recent fix

archerixx commented 1 year ago

@5-k I am using CurrentLog folder (i.e files inside) to convert jmeter results into junit results, so I can further on publish those results within Azure Devops UI (by using Publish Test Results task).

Regarding unzip, I left both names to remain same, but it still extracts folder inside folder (for me, named apache-jmeter-5.5)

I am navigating to these folders from root (workingDirectory) which is my agent build place, so any change to them would require for me to add/remove additional path/sign, so it can work again.

Would you like me to post picture of my tasks/flow that I currently have on AzureDevops ?

5-k commented 1 year ago

Sure that would help please

On Thu, 1 Dec 2022 at 12:35 AM, Zerin Tursić @.***> wrote:

@5-k https://github.com/5-k I am using CurrentLog folder (i.e files inside) to convert jmeter results into junit results, so I can further on publish those results within Azure Devops UI (by using Publish Test Results task).

Regarding unzip, I left both names to remain same, but it still extracts folder inside folder (for me, named apache-jmeter-5.5)

I am navigating to these folders from root (workingDirectory) which is my agent build place, so any change to them would require for me to add/remove additional path/sign, so it can work again.

Would you like me to post picture of my tasks/flow that I currently have on AzureDevops ?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/jmeter-performance-analyzer-devops-extension/issues/33#issuecomment-1332608070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3CECS26R4Z5S2K7GXXB33WK6QOZANCNFSM6AAAAAASP2OWU4 . You are receiving this because you were mentioned.Message ID: <microsoft/jmeter-performance-analyzer-devops-extension/issues/33/1332608070 @github.com>

-- Thanks & Regards Prateek

archerixx commented 1 year ago

So this is overview of tasks that are ran on each build. image

Withing my JMeter task, i have following setup: image image

These are logs that I get when I run JMeter Analyzer: logsJmeter.txt

After that task, I m running Python script to conver Jmeter scheme logs into Junit scheme, so I can publish into onto Azure build pipeline. Then run Test publish, which shows something like this after build is done: image

If you have any questions, let me know.

5-k commented 1 year ago

Hi @archerixx Can you test the changes, version @1.7.50

5-k commented 1 year ago

Can you confirm @archerixx

archerixx commented 1 year ago

@5-k I was able to test it out, but seems nothing changed unfortunately. Still folder within folder and CurrentLog has "_" as suffix.

image

archerixx commented 1 year ago

@5-k seems there was no update to 1.7.50 on AzureDevops. Is there any way to force update it ?

On marketplace, this is latest version: V1.7.48 Support for custom binary folder name Option to use custom suffix to add to jmeter folder name

5-k commented 1 year ago
image

Hi @archerixx

Can you recheck, on market place its available. It automatically installs the new version, so you should try again. Previous versions also auto upgraded for you isn't it

archerixx commented 1 year ago

Yes, last version got updated automatically. But Marketplace does not show latest version, so Azure doesnt know it should update it. image

Also, on this link it shows same: https://marketplace.visualstudio.com/items?itemName=id-az-pipeline.jmeter-perf-analyzer

5-k commented 1 year ago

That's weird, lemme try a push again

5-k commented 1 year ago

Hi @archerixx Can you retry again, shows up for me

image
archerixx commented 1 year ago

@5-k It updated and I have tested with latest version. Seems to be working all fine now. Thanks for helping out

5-k commented 1 year ago

Sure then Closing the issue