Uses of Class
com.cyara.apisamples.ApiFunctionalities

Packages that use ApiFunctionalities 
Package Description
com.cyara.apisamples  
  • Uses of ApiFunctionalities in com.cyara.apisamples

    Methods in com.cyara.apisamples with parameters of type ApiFunctionalities 
    Modifier and Type Method Description
    private static void CyaraSavings.calculateLastXMonths​(int months, java.lang.String planType, long runTime, ApiFunctionalities connInfo)
    The brain behind the program that pulls and logs all the data you need for calculating savings
    private static javax.json.JsonObject DatasetEndToEnd.campaignCreation​(ApiFunctionalities connInfo)
    Creates a new Velocity campaign that uses our dataset-driven test case.
    private static int DatasetEndToEnd.checkForExistingDS​(ApiFunctionalities connInfo, java.lang.String localDSName)
    Loop through all existing datasets on the account.
    private static void IndustryStandard.collectData​(ApiFunctionalities connInfo, java.lang.String startString, java.lang.String endString, int accountNumber)
    Pulls every Pulse call within the specified parameters, and anonymously parses out every basic data points for every call.
    private static java.lang.String PrettyPrintTestCase.generatePrettyPrint​(ApiFunctionalities connInfo, int testCaseId)
    The central method that launches the various HTML builders and compiles and constructs the final table.
    private static java.util.ArrayList<java.lang.Integer> IndustryStandard.getAttachedAccountIds​(ApiFunctionalities connInfo)
    Loop thru every account the user has access to, and store every single account ID.
    private static int DatasetEndToEnd.getMostRecentRunId​(ApiFunctionalities connInfo, int campaignId)
    Grabs a campaign's run history, and pulls its most recent run, grabbing the runId.
    private static java.util.ArrayList<java.lang.Integer> SchedulePulseCampaigns.getPulseTestCases​(ApiFunctionalities connInfo)
    Loops through all the test case on the account, making the API request to list test cases until we've capture and stored all of them.
    private static java.util.ArrayList<java.lang.Integer> SchedulePulseCampaigns.getUniqueFrequencies​(java.util.ArrayList<java.lang.String> pulseTestCaseXmls, ApiFunctionalities connInfo)
    Loops through every tracked test case, storing every unique "frequency" field in the description json
    private static void DatasetEndToEnd.processCampaignRun​(ApiFunctionalities connInfo, int campaignId, int runId)
    Grabs the campaign run's test step results, getting every call, every step of every call, and every detail of every step of every call.
    private static void IndustryStandard.processData​(ApiFunctionalities connInfo)
    Loop thru every Pulse call for every account collected for the given timeframe.
    private static int DatasetEndToEnd.runCampaignAndCheckForCompletion​(ApiFunctionalities connInfo)
    Execute (run) the campaign and check every so often if it's finished running.
    private static int DatasetEndToEnd.validateTestCaseAndGetResults​(ApiFunctionalities connInfo)
    Validate the test case and check for completion until it's finished.