LoadRunner Enterprise and Bamboo

The Bamboo plugin enables you to run tests as part of your CI/CD process.

Install and deploy the Bamboo plugin

This task describes how to install and deploy the Bamboo plugin.

  1. Verify that your Bamboo server is up and running. For details, see the Bamboo Help.

    For the supported server versions, see the Integrations section of the System Requirements guide.

  2. Install the plugin.

    1. From Bamboo > Settings select Add-ons.

    2. Upload the App Delivery Management Bamboo CI plugin.

    3. Restart your Bamboo server.

    For details, visit the App Delivery Management Bamboo CI Plugin page.

Back to top

Add a LoadRunner Enterprise task to your job in Bamboo

This task describes how to add a LoadRunner Enterprise task to your Bamboo job.

  1. From Bamboo > Default job > Task pane, click Add task.

  2. Select the Performance Center task type.

  3. Add the following task details:

    Argument Description
    Task Description Enter a description of the task.
    Disable this task Enables you to temporarily disable the task without deleting the task settings.
    PC Server

    Enter the hostname or IP address of a LoadRunner Enterprise server.

    Example: If the LoadRunner Enterprise server URL is http://MY_SERVER/loadtest, enter MY_SERVER.

    Use HTTPS Protocol Select this option if you are running the Bamboo job over a secured LoadRunner Enterprise server.

    <LRE credentials>

     

    Depending on the authentication type required by your LoadRunner Enterprise server, credentials can be a username and password, or an API key for SSO or LDAP authentication.

    • Username and password:

      User name. Enter the user name required to connect to the LoadRunner Enterprise server.

      Password. Enter the password required to connect to the LoadRunner Enterprise server.

    • SSO or LDAP authentication:

      Select Authenticate with token.

      Enter the Client ID and Secret key obtained from your LoadRunner Enterprise site administrator in the Id Key and Secret key fields. For details, see Manage users in a project.

    Domain Enter the LoadRunner Enterprise domain.
    PC Project Enter the name of the LoadRunner Enterprise project.
    Test ID Enter the Test ID. You can get the ID from LoadRunner Enterprise > Test Management. Select your test and find the ID in the General Details: ID <number>.
    Test Instance ID

    Select an option for adding the Test Instance ID:

    • Automatically select existing or create new if none exists. If you select this option, LoadRunner Enterprise creates a test instance or locates the existing test instance.

    • Manual selection. Enter the Test Instance ID from the Assign and Select Test Set dialog box. For details, see Edit a test set.

    Local Proxy Choose whether to use a Local Proxy. If you use one, enter the user name and password.
    Post Run Action Choose a Post Run Action: Collate Results, Collate and Analyze, or Do Not Collate.
    Trending

    (Available only when Collate and Analyze is selected as the Post Run Action)

    Select a trend report option:

    • Do Not Trend. No trend report is created.

    • Use trend report associated with the test. If Auto Trending is selected in the Load Test, select this option to automatically publish trend results.

    • Add run to trend report with ID. If you select this option, enter the trend report ID .

    Timeslot Duration

    Enter a duration for the Ad-Hoc timeslot. The minimum time is 30 minutes.

    Maximum: 480 hours

    Use VUDs

    Choose whether to use VUDs licenses.
    Set step status according to SLA Choose whether to consider the SLA status for determining the build-step status. If you do not enable this option, the build-step will be labeled as "Passed" as long as no failures occurred.

    For details, see the App Delivery Management Bamboo CI Plugin page.

  4. Save your configuration.

    When the build runs, the test will run as a build task with the specified settings. A new artifact is added in the Artifacts tab of the build project.

    After the test run, the relevant build logs are saved in the Logs tab of the build execution results. You can view details about the test run and links to test results.

  5. View run results

    1. To view run results, in the Artifacts tab, click the appropriate artifact link to download the report.

    2. Unzip and open the run results file, then do one of the following options:

      • Open the run_results.html file to view the run results.

      • In the Run Results Viewer select and open the Results.xml file.

Back to top

See also: