Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

/soavirt/api/v5/testExecutions - Example Request Payload

Options
jefftuckerbofa
jefftuckerbofa Posts: 234

Can you share an example rest payload for /soavirt/api/v5/testExecutions

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,231 ✭✭✭
    edited August 2019
    Options

    The API docs provide examples. For example:

    Here's a simple example:

    {
      "general":{
        "config":"soatest.builtin://Demo Configuration"
      },
      "scopeOptions": {
        "workspace": {
          "resources": [
            "TestAssets/myTestSuite.tst"
          ]
        }
      }
    }
    

    The various properties available in the JSON request object mirror the command line options for soatestcli. For example, the above would be similar to running
    soatestcli -config "soatest.builtin://Demo Configuration" -resource "TestAssets/myTestSuite.tst"

  • jefftuckerbofa
    jefftuckerbofa Posts: 234
    Options

    Thank you!

  • jefftuckerbofa
    jefftuckerbofa Posts: 234
    Options

    Can you tell me how to get the entityId needed for the /testExecutions//traffic call?

    Thanks

  • jefftuckerbofa
    jefftuckerbofa Posts: 234
    Options

    figured out how to get the entityId, however I am not seeing any traffic being returned