Unable to kickoff the LR scenario in the controller of a slave machine

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Environment:

      Hi,
      I have a created a job to run a Loadrunner goal oriented scenario in a slave node. (pls refer the Environment section for more info on the env configs)

      When I kick off the test from the master node I I can see that the controller opens and again gets closed in a flash. But I can run the same LR scenario from the master node through the command prompt. And also If I physically log in to the slave machine where the LR controller is installed I can run the same scenario manually without any issue.

      Given below is the error I see from the jenkins console;

      Started by user anonymous
      Building remotely on Jenkins LR Slave in workspace C:\Jenkins\workspace\LRCIJob
      [LRCIJob] $ C:\Jenkins\workspace\LRCIJob\HpToolsLauncher.exe -paramfile props25092013144913111.txt
      "Started..."
      1 tests found:
      D:\CI\CIScenario.lrs
      ============================================================================
      25/09/2013 03:19:22 Running: D:\CI\CIScenario.lrs
      Cleaning up the environment...
      Preparing scenario D:\CI\CIScenario.lrs for execution.
      Test result: Error
      25/09/2013 03:19:30 Test complete:
      -------------------------------------------------------------------------------------------------------

      Unhandled Exception: System.Runtime.InteropServices.COMException
      at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
      at HP.LoadRunner.Interop.Wlrun.LrEngineClass.CloseController()
      at HpToolsLauncher.TestRunners.PerformanceTestRunner.closeController()
      at HpToolsLauncher.TestRunners.PerformanceTestRunner.CleanUp()
      at HpToolsLauncher.FileSystemTestsRunner.Run()
      at HpToolsLauncher.Launcher.RunTests(IAssetRunner runner, String resultsFile)
      at HpToolsLauncher.Launcher.Run()
      at HpToolsLauncher.Program.Main(String[] args)
      Finished: SUCCESS

      Could you please let me know how to get this issue resolved to run the LR scenario in a slave node using the hp-application-automation-tools-plugin ?

      Many Thanks,
      Malinda

            Assignee:
            Avishai Moshka
            Reporter:
            Malinda Mapatuna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: