Description

Get a report of ABL objects that may indicate potential memory leaks. Getting a report requires that object tracking is enabled. See Enable or disable ABL object tracking. After leaks have been identified and resolved, disable ABL object tracking.

HTTP Operation

GET

URI

http(s)://host_name:port/oemanager/applications/ABL_app_name/agents/agentPID/ABLObjects
Note: Agent PID (for example, 1144) or agent ID (for example, W9UI_6dJQ-qSsk-o25mWAw) 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/18668/ABLObjects

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/18668/ABLObjects')
      :UsingCredentials(new OpenEdge.Net.HTTP.Credentials('', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

This excerpt shows the objects that are being tracked. Source identifies the related code.

{
    "result": {
        "ABLOutput": {
            "ABLObjects": [
                {
                    "AgentSessionId": 4,
                    "Objects": []
                },
                {
                    "AgentSessionId": 7,
                    "Objects": []
                }
            ]
        },
        "ABLReturnVal": true,
        "agentId": "y11SsN0cSC2skp9NV-N0Ww",
        "pid": "6064"
    },
    "errmsg": "",
    "versionStr": "v11.7.4 ( 2018-09-17 )",
    "versionNo": 1,
    "outcome": "SUCCESS",
    "operation": "GET ABL OBJECTS REPORT"
}

This excerpt shows results if object tracking is disabled.

{
    "result": {
        "ABLReturnVal": false,
        "agentId": "y11SsN0cSC2skp9NV-N0Ww",
        "pid": "6064"
    },
    "errmsg": "",
    "versionStr": "v11.7.4 ( 2018-09-17 )",
    "versionNo": 1,
    "outcome": "SUCCESS",
    "operation": "GET ABL OBJECTS REPORT"
}