0

I have jmeter 5.2.1. I have created a Blaze meter recording. But while running the test, I get error -Unable to tunnel through proxy. I have Java 32 and 64 bits installed on my pc. I am trying to implement the information I got from

Unable to tunnel through proxy. Proxy returns “HTTP/1.1 407” via https

How can I find which JRE is used by the jmeter

Jackranda
  • 57
  • 1
  • 12

1 Answers1

1
  1. Instead editing global Java net.properties file I would rather recommend making the changes in JMeter's system.properties file
  2. On Windows you should be able to get the java executable path using wmic utility like:

    wmic process where name='java.exe' get commandline
    

    on Unix and derivatives you can use ps command to determine it like:

    ps -ef | grep java
    
  3. And last but not the least you can always query this information from Java System Properties using JSR223 Sampler like:

    log.info('Java installation: ' + System.getProperty('java.home'))
    log.info('Java name: ' + System.getProperty('java.vm.name'))
    log.info('Java bits: ' + System.getProperty('sun.arch.data.model'))
    

    enter image description here

Dmitri T
  • 119,313
  • 3
  • 56
  • 104