apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.39k stars 2.1k forks source link

I want to give jmeter a quick luanch way in windows 11 platform #6365

Open q2333gh opened 2 weeks ago

q2333gh commented 2 weeks ago

Use case

Common case is like this: When user type win+s then input jmeter so they can quick luanch it.

Since if we create a shortcut of jmeter.bat into C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
its not gonna work for quick luanch search . might due to .bat suffix.

So i write this code: And it works:

import subprocess
subprocess.call([r"C:\<your-location>\apache-jmeter-5.6.3\bin\jmeter.bat"])
#### build a distribution file:
# pyinstaller --onefile .\jmeter.py

so this python code generate a binary excutable .exe suffix file to us. we put its shorcut in to Programs folder. It then will work for quick luanch.

Guys do you think i might should create a PR base on this ?

Possible solution

No response

Possible workarounds

No response

JMeter Version

5.6

Java Version

No response

OS Version

No response

linvaux commented 1 week ago

no necessary

FSchumacher commented 1 week ago

I don't think, that adding a Python dependency is a good way to mitigate this problem, if it is a problem at all.