Self-Solve Knowledge Search

Minimize Maximize
Eclipse error: Cannot run mdrv.exe CommandLine: C:\Program Files (x86)\HP\LoadRu...
Title :
Eclipse error: Cannot run mdrv.exe CommandLine: C:\Program Files (x86)\HP\LoadRunner\\bin\mdrv.exe –usr
Document ID :
KM01377139
Product - Version:
loadrunner 12.02 ;
OS :
Updated :
Thu Jan 29 10:29:16 GMT 2015
Summary :
Eclipse error: Cannot run mdrv.exe CommandLine: C:\Program Files (x86)\HP\LoadRunner\\bin\mdrv.exe -usr
Problem

The following error is encountered when trying to run a Junit test in Eclipse using the DevOpsVuser > Run Vuser menu.

Eclipse error: Cannot run mdrv.exe CommandLine: C:\Program Files (x86)\HP\LoadRunner\\bin\mdrv.exe –usr

image text

Cause
The issue happens on machines where LoadRunner is installed into a directory path that contains white spaces i.e.
"C:\Program Files (x86)\HP\LoadRunner".

The issue does not happen on machines where LoadRunner is installed in a directory without white spaces i.e.
"C:\LoadRunner".
Fix

To fix the issue:

  • Install LoadRunner in a directory path that does not contain white spaces.
    or
  • Use the attached fix for Eclipse hp.lr.continuousdelivery.eclipse42addin.jar (Place it in your Eclipse installation "dropins" folder.)