apache / apache/jmeter

JMeter 5.5 + Linux machine execution with inputs as client certificate ( pkc12) with password - not working

Open
#5,999 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

JMeter is unable to start the test/script.
Scenario - While running JMeter in non GUI mode in Linux OS, even though certificate(pkc12) and password is provided in system.properties file we are unable to run the script.

SSLManager.getPassword() - Password is provided, however, no GUI present so cannot prompt. Have entered the values in the jmeter.properties file.

JMeter test works without issues in windows in GUI mode.

### Actual behavior

_No response_

### Steps to reproduce the problem

1. open CLI mode and enter command to run jmeter in non gui mode along with script details, path etc
2. edit jmeter.properties file with given certificate and password using -
javax.net.ssl.keyStore=/path/to/your/keystore
javax.net.ssl.keyStorePassword=your-keystore-password

3. retry running the jmeter in non gui mode from linux or windows machine.
Output- Script does not start.

### JMeter Version

5.5

### Java Version

17

### OS Version

Ubuntu 20

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.