Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Testing tools can be accessed using GET service.

Each function returns a JSON testing tool object. The testing tool object is an object that has these attributes.

NameTypeDescription
idLongid of testing tool
nameStringname of testing tool
propertiesList<Property>properties of testing tool

GET

GET all

This service returns all testing tools configured, does not support query using parameters.

Base URL for Testing Tool REST API

http://host:port/flexdeploy/rest/administration/testautomation/testingtool

The information about available Testing Tools can be accessed through this method. It returns the name, id, and information about the properties of all available Testing Tools.

Example Output

Testing tools
[
      {
      "name": "Apache JMeter",
      "properties":       [
                  {
            "name": "FDJM_JMETER_HOME_DIR",
            "displayName": "JMeter Home Directory",
            "description": "Apache JMeter Home directory. Make sure you have bin directory under this.",
            "dataType": "String",
            "isRequired": true,
            "isActive": true,
            "isEncrypted": false
         },
                  {
            "name": "FDJM_JMETER_PROPERTIES_FILE",
            "displayName": "Apache JMeter Properties File.",
            "description": "Apache JMeter Properties file.",
            "dataType": "String",
            "isRequired": true,
            "isActive": true,
            "isEncrypted": false
         }
      ],
      "id": 10001
   },
      {
      "name": "HP Unified Functional Testing (UFT)",
      "properties": [],
      "id": 10002
   },
      {
      "name": "JUnit",
      "properties": [],
      "id": 10003
   },
      {
      "name": "Oracle Application Test Suite (OATS)",
      "properties": [      {
         "name": "FDOAT_RUN_SCRIPT",
         "displayName": null,
         "description": "Oracle Application Test Suite run script file name (.sh or .bat) with full Path.",
         "dataType": "String",
         "isRequired": false,
         "isActive": true,
         "isEncrypted": false
      }],
      "id": 10004
   },
      {
      "name": "SoapUI",
      "properties": [      {
         "name": "FDSUI_SOAPUI_PATH_TO_TESTRUNNER_FILE",
         "displayName": "SoapUI Test Runner Path",
         "description": "Absolute path to the Testrunner script for SoapUI testing.",
         "dataType": "String",
         "isRequired": true,
         "isActive": true,
         "isEncrypted": false
      }],
      "id": 10005
   },
      {
      "name": "TestNG",
      "properties": [],
      "id": 10006
   },
      {
      "name": "utPLSQL",
      "properties": [],
      "id": 10007
   },
      {
      "name": "Postman",
      "properties":       [
                  {
            "name": "FDPMN_POSTMAN_PATH_TO_NEWMAN_UTILITY",
            "displayName": "Newman Executable Path",
            "description": "Absolute path to the newman command line utility for Postman testing.",
            "dataType": "String",
            "isRequired": false,
            "isActive": true,
            "isEncrypted": false
         },
                  {
            "name": "FDPMN_POSTMAN_PATH_TO_NODEJS",
            "displayName": "Node Executable Path",
            "description": "Absolute path to the Node executable.",
            "dataType": "String",
            "isRequired": false,
            "isActive": true,
            "isEncrypted": false
         }
      ],
      "id": 10008
   }
]
  • No labels