jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

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

Open q2333gh opened this issue 1 year ago • 0 comments

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

q2333gh avatar Oct 20 '24 08:10 q2333gh