Execute Load Runner test integration in Azure pipeline unable to read test scenario file

70 views Asked by At

I am integrating load runner in azure pipeline using load runner plugin in i have created pipeline as follows

trigger:

  • none

pool: vmImage: 'windows-latest'

steps:

  • task: ExecuteLoadRunnerProfessional@0 inputs: ControllerUrl: 'http://serverURL:port' UserName: 'username' Password: 'Password' Domain: '' Project: 'Projectname' TestId: 'testid' TestInstance: 'Instance name' TimeslotDuration: '60'

    PostRunAction: 'Collate and Analyze' ReportName: 'loadtest_Report' ReportType: 'HTML' ReportPath: '$(System.DefaultWorkingDirectory)\res' FailTaskOnErrors: true FailTaskOnSLA: true IgnoreSSL: true displayName: 'Run LoadRunner Enterprise Test'

I am getting following log - There are no scenario found.

enter image description here

I have tried command line approach as well getting same log error

I am looking for the solution on the above question. I want to execute scenario file from the controller using azure pipeline

1

There are 1 answers

5
Alvin Zhao - MSFT On

The pipeline task ExecuteLoadRunnerProfessional@0 comes from the extension LoadRunner Professional Tests Automation - Visual Studio Marketplace, whose introduction states that

The machine to be used for the job should be configured as an Azure DevOps self-hosted agent (see Self-hosted Windows agents).

From the information that you shared, your pipeline was running on Microsoft-hosted windows-latest agent.

Please follow the guidance in Continuous integration with Azure DevOps (microfocus.com) to setup proper environment and configure you pipeline to run on that agent machine.