Jmeter关联jmx文件格式(Win10)

右键打开jmx文件,选择java.exe程序打开,之后在注册表中导入: 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.jmx]

@="jmxfile"

[HKEY_CLASSES_ROOT\jmxfile]

@="Executable JMX File"

[HKEY_CLASSES_ROOT\jmxfile\shell]

[HKEY_CLASSES_ROOT\jmxfile\shell\open]

[HKEY_CLASSES_ROOT\jmxfile\shell\open\command]

@="\"C:\\Program Files\\Java\\jdk1.8.0_202\\bin\\javaw.exe\" -jar \"C:\\apache-jmeter-5.5\\bin\\ApacheJMeter.jar\" -t \"%1\""

 

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jmx]

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jmx\OpenWithList]

"a"="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\\OpenWith.exe"

"MRUList"="a"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jmx\OpenWithProgids]

"jmxfile"=hex(0):

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jmx\UserChoice]

"ProgId"="jmxfile"

"Hash"="5gWuR9IzPpM="

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jmx]

@="jmxfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jmxfile]

@="Executable JMX File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jmxfile\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jmxfile\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jmxfile\shell\open\command]

@="\"C:\\Program Files\\Java\\jdk1.8.0_202\\bin\\javaw.exe\" -jar \"C:\\apache-jmeter-5.5\\bin\\ApacheJMeter.jar\" -t \"%1\""

同时检查一下以下项应存在:

HKEY_CLASSES_ROOT\jmxfile

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jmx

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jmxfile\shell\open\command

 

posted @ 2021-06-11 14:44  子小逗子  Views(201)  Comments(0Edit  收藏  举报