Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The following HTTP GET command is used to get you the "id":

    https://<myCloud>.reporting.perfectomobile.com/export/api/v1/test-executions

  2. You add the externalId[0] Parameter with a value you can obtain from the testrun itself by using the following line:

    Code Block
    String externalId = (String) driver.getCapabilities().getCapability("executionId");
    System.out.println("executionId: " + externalId);



    Note: you can crosscheck if you have taken the correct ID by opening the report details in the reporting tool:

  3. Headers

    Add the following header parameters to the request:

    Name

    Value

    PERFECTO_AUTHORIZATION

    <Your personal security token>



  4. Run it and you should receive such result:

...