Class DTServerConnection


  • public class DTServerConnection
    extends Object
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • getDashboardReportFromXML

        public de.tsystems.mms.apm.performancesignature.dynatrace.model.DashboardReport getDashboardReportFromXML​(String dashBoardName,
                                                                                                                  String sessionId,
                                                                                                                  String testCaseName)
      • getServerVersion

        public String getServerVersion()
      • storeSession

        public String storeSession​(String sessionName,
                                   Date timeframeStart,
                                   Date timeframeEnd,
                                   String recordingOption,
                                   boolean sessionLocked,
                                   boolean appendTimestamp)
      • startRecording

        public String startRecording​(String sessionName,
                                     String description,
                                     String recordingOption,
                                     boolean sessionLocked,
                                     boolean appendTimestamp)
      • stopRecording

        public String stopRecording()
      • getRecordingStatus

        public boolean getRecordingStatus()
      • getSessions

        public Sessions getSessions()
      • activateConfiguration

        public boolean activateConfiguration​(String configuration)
      • getAllAgents

        public List<Agent> getAllAgents()
      • hotSensorPlacement

        public boolean hotSensorPlacement​(int agentId)
      • getPDFReport

        public boolean getPDFReport​(String sessionName,
                                    String comparedSessionName,
                                    String dashboard,
                                    FilePath outputFile)
      • downloadSession

        public boolean downloadSession​(String sessionId,
                                       FilePath outputFile,
                                       boolean removeConfidentialStrings)
      • deleteSession

        public boolean deleteSession​(String sessionId)
      • threadDump

        public String threadDump​(String agentName,
                                 String hostName,
                                 int processId,
                                 boolean sessionLocked)
      • threadDumpStatus

        public boolean threadDumpStatus​(String threadDump)
      • memoryDump

        public String memoryDump​(String agentName,
                                 String hostName,
                                 int processId,
                                 String dumpType,
                                 boolean sessionLocked,
                                 boolean captureStrings,
                                 boolean capturePrimitives,
                                 boolean autoPostProcess,
                                 boolean doGC)
      • memoryDumpStatus

        public boolean memoryDumpStatus​(String memoryDump)
      • finishTestRun

        public de.tsystems.mms.apm.performancesignature.dynatrace.model.TestRun finishTestRun​(String testRunID)
      • getTestRun

        public de.tsystems.mms.apm.performancesignature.dynatrace.model.TestRun getTestRun​(String testRunId)
      • getIncidents

        public List<de.tsystems.mms.apm.performancesignature.dynatrace.model.Alert> getIncidents​(Date from,
                                                                                                 Date to)
      • updateDeploymentEvent

        public boolean updateDeploymentEvent​(String eventId,
                                             EventUpdate body)