Description

Get the ABL profiler settings that were configured using the Enable ABL Profiler API.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/agents/agentPID/getProfilerSettings
Note: Agent PID (for example, 4516) or agent ID (for example, jVkItvsRTTqGpZcp6ddpkQ) can be used to identify the multi-session agent. Both values can be obtained using the List agents API.

Media type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X GET -u username:password -v http://localhost:16680/oemanager/applications/oepas1/agents/4516/getProfilerSettings

ABL HTTP client example

define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
:Execute(OpenEdge.Net.HTTP.RequestBuilder
:Get('http://localhost:16680/oemanager/applications/
oepas1/agents/4516/getProfilerSettings')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

{
  "operation": "GET PROFILER SETTINGS",
  "outcome": "SUCCESS",
  "result": {
    "ABLOutput": {
      "URL": "http://localhost:8850/oediagstore/web/diag",
      "TestRunDescriptor": "TestRun",
      "ProcList": "",
      "AdapterMask": "APSV,SOAP,REST,WEB",
      "Coverage": true,
      "Statistics": true,
      "RequestCount": 10,
      "bufsize": 60,
      "RequestLoBound": 0,
      "RequestHiBound": -1
    },
    "ABLReturnVal": true,
    "agentId": "jVkItvsRTTqGpZcp6ddpkQ",
    "pid": "4516"
  },
  "errmsg": "",
  "versionStr": "v12.8 ( 2023-04-20 )",
  "versionNo": 1
}