jmeter certificate is not created
Asked Answered
I

3

6

I start want to record in jmeter 1st time.

My steps were:

  1. I installed jmeter in mac: brew install jmeter
  2. I created new Recording template
  3. I click start button. It display a pop up as in picture below.

It display a pop up as in picture below.

enter image description here

However, when I go to check the file in /usr/local/Cellar/jmeter/3.2/bin or in /usr/local/bin directories it does not exists. I am not sure which one it should be located. Only possible reason that I found myself was using of wrong version of java. I use java 8, so it shouldn't be a problem in my case. I do not see any errors. When I start and stop again I see the log as in the picture below:

enter image description here

Inexact answered 9/9, 2017 at 5:37 Comment(0)
T
5

Most probably JMeter cannot write in the folder.

Edit user.properties and modify:

proxy.cert.directory

See this blog to know where to find configuration files:

Tersanctus answered 9/9, 2017 at 6:31 Comment(4)
proxy.cert.directory does not appear in this file. Can you suggest what I need to add there?Inexact
It is in jmeter.properties, just copy it in user and update path so that it points to a folder where Jmeter can writeTersanctus
Thanks! Your answers helped. May be you could also clarify what is the purpose of this certificate?Inexact
ask another question for that, comments are not well suited for thatTersanctus
S
1

Configuracion en MacOS con instalacion con gestor Homebrew

If when you run JMeter you don't know where the certificate is generated, you must change the address where the certificate is created. (In my case I could not create the certificate in ) enter image description here

To change the configuration file, you must go to:

/usr/local/Cellar/jmeter/5.4.1/libexec/bin

and there access the file user.properties enter image description here

  1. we open with sudo vim jmeter.properties
  2. we modify proxy.cert.directory = Desired path (in my case

/Users/admin/certJmeter

) enter image description here

Once this is done, the certificate will be created for us in that route.

It is very important to restart jmeter again for the creation to be done correctly.

we close and open:

open /usr/local/bin/jmeter

we execute recording:

enter image description here

and certificate is generated:

enter image description here

enter image description here

Semi answered 7/3, 2021 at 13:46 Comment(0)
C
0

Try running jmeter from terminal using superuser:

sudo jmeter

It will install certificate by itself.

Consolute answered 18/3 at 5:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.