Enabling server extensions

If you find that the server extension is disabled and you want to either add the test assets to the repository or run the tests supported by the server extension, you must enable the server extension.

About this task

You can enable server extensions depending on the operating system on which you have installed the server software:

Enabling server extensions on Ubuntu

Procedure

  1. Use an SSH session to log in to the Ubuntu server.
  2. Run the following command to enable all the three extensions:
    helm upgrade {my-ots} -n test-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestPostmanEnabled=true \
    --set global.hclOneTestJMeterEnabled=true \
    --set global.hclOneTestJUnitEnabled=true
    Note: You must substitute {my-ots} with the release name that you provided during the installation of the server software.

    If you want to enable any specific extension, then you can set the respective helm parameter value to true. For example, to enable the Postman extension alone, then you can run the following command:

    helm upgrade {my-ots} -n test-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestPostmanEnabled=true
  3. Run the following command to verify that all the three or specific extensions are enabled:
    kubectl get pods -n test-system
    The status of the specific extension or all the three extensions in the pod is displayed as Running.

Enabling server extensions on OpenShift

Procedure

  1. Open and log in to the terminal.
  2. Run the following command to enable all the three extensions:
    helm upgrade {my-ots} -n test-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestPostmanEnabled=true \
    --set global.hclOneTestJMeterEnabled=true \
    --set global.hclOneTestJUnitEnabled=true
    Note: You must substitute {my-ots} with the release name that you provided during the installation of the server software.

    If you want to enable any specific extension, then you can set the respective helm parameter value to true. For example, to enable the Postman extension alone, then you can run the following command:

    helm upgrade {my-ots} -n test-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestPostmanEnabled=true
  3. Run the following command to verify that all the three or specific extensions are enabled:
    oc get pods -n test-system
    The status of the specific extension or all the three extensions in the pod is displayed as Running.

Results

You have enabled the required server extensions on HCL OneTest Server.