I am trying to run HP LoadRunner (wlrun.exe) command from Java Program and check the status at the exit of wlrun.exe command.
Sample Java Code:
public class LRTest
public WlRunExecution(String command)
public void run()
public boolean IsLoadRunnerRunning()
public static void main(String arg)
public void runTest()
On running the program, **Process Exit Code is always 1** which means wlrun process is exited with some error. Even if I run "wlrun" without any argument and manually close the LoadRunner Controller after launch, still process exit code is 1. If I replace "wlrun.exe" with any other command (notepad,exe or AnalysisUI.exe or VuGen.exe) then Process Exit Code is 0.
On debugging, I observed following error in Application Event Logs (Control Panel -> Administrator Tools -> Computer Management -> Event Viewer -> Windows Logs -> Application). Everytime I run HP LoadRunner Controller, this warning is logged in application event log.
> **HP.LT.Logger configuration failed creating context provider of the type:
Marked as spam
Question ID: 107294