Re: Error: Unable to access jarfile ApacheJMeter.jar

348 views
Skip to first unread message

Andrey Pokhilko

unread,
Apr 9, 2019, 3:30:37 AM4/9/19
to codenam...@googlegroups.com

Hi,

Can you try with "path" option removed in JMeter module settings?

--

Andrey

On 08.04.2019 17:04, 21.dhr...@gmail.com wrote:
Hi,

I am trying to setup Taurus on my Windows machine. However, when i run my test yml script i get blank console. In log file i get error for ApacheJMeter.jar not found.

yml file:

execution:
- scenario: simple

scenarios:
  simple:
    script: TestPlan_VMS_JobPlacement_PushAPIs.jmx

-------------------------------

logs:

[2019-04-08 14:46:31,067 DEBUG Engine.jmeter.JavaVM] Trying JavaVM: ['java', '-version']
[2019-04-08 14:46:31,068 DEBUG root] Executing shell: ['java', '-version'] at .
[2019-04-08 14:46:32,312 DEBUG Engine.jmeter.JavaVM] JavaVM output: 
[2019-04-08 14:46:32,312 DEBUG Engine.jmeter.TclLibrary] Checking if TCL_LIBRARY variable is present in environment
[2019-04-08 14:46:32,313 DEBUG Engine.jmeter.TclLibrary] TCL_LIBRARY environment variable is present
[2019-04-08 14:46:32,313 DEBUG Engine.jmeter.JMeter] Trying JMeter..
[2019-04-08 14:46:32,315 DEBUG root] Executing shell: ['C:\\apache-jmeter-5.1.1\\bin\\jmeter.bat', '-j', 'C:\\Users\\aroradh\\AppData\\Local\\Temp\\jmeteroqi3ypu8log', '--version'] at .
[2019-04-08 14:46:33,682 DEBUG Engine.jmeter.JMeter] JMeter check: errorlevel=1

Press any key to continue . . . 

 / Error: Unable to access jarfile ApacheJMeter.jar

----------------------------------

settings:
# General Settings
settings:
  default-executor: jmeter  # if you prefer using other executor by default - change this option
#  artifacts-dir: ~/bzt-artifacts/%Y-%m-%d_%H-%M-%S.%f  # change the default place to store artifact files
  check-updates: false  # check for newer version of Taurus on startup
#  check-interval: 1s  # interval for Taurus engine to check test status and do other actions
  proxy:  # custom proxy settings
    address: proxy.emea.hays.loc:8080
    username: aroradh
    password: Physics123

---
# JMeter settings
modules:
 jmeter:
  path: C:\apache-jmeter-5.1.1
  detect-plugins: false


I have verified ApacheJMeter.jar is available in Jmeter location. Also verified my Java version is 1.8, JAVA_HOME set correctly.
Can someone please help.

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/8819c737-4665-4d2d-b2e8-cd34cc6e17cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages