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

Jacob
  • 1,135
  • 5
  • 14
  • 29

2 Answers2

3

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:

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
0

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

Carlos Noé
  • 103
  • 3
  • 11