static void constructTotalThroughputGraph(Map.Entry<String, LrProjectScenarioResults> scenarioResults,
                                              JSONObject scenarioGraphData) {
        Map<Integer, WholeRunResult> totalThroughputResults = scenarioResults.getValue().getTotalThroughtputResults();
        JSONObject totalThroughputResultsGraphSet =
                extractWholeRunSlaResult(totalThroughputResults, "Bytes");
        if (!totalThroughputResultsGraphSet.getJSONArray(LABELS).isEmpty()) {
            totalThroughputResultsGraphSet.put(TITLE, "Total Throughput");
            totalThroughputResultsGraphSet.put(X_AXIS_TITLE, "Build number");
            totalThroughputResultsGraphSet.put(Y_AXIS_TITLE, "Bytes");
            totalThroughputResultsGraphSet.put(DESCRIPTION,
                    " Displays the amount of throughput (in bytes) on the Web server during the load test. " +
                            "Throughput represents the amount of data that the Vusers received from the server at" +
                            " any given second. This graph helps you to evaluate the amount of load Vusers " +
                            "generate, in terms of server throughput.\n");
            scenarioGraphData.put("totalThroughput", totalThroughputResultsGraphSet);
        }
    }
static void constructTotalThroughputGraph ( Map . Entry < String , LrProjectScenarioResults > scenarioResults , JSONObject scenarioGraphData ) { Map < Integer , WholeRunResult > totalThroughputResults = scenarioResults . getValue ( ) . getTotalThroughtputResults ( ) ; JSONObject totalThroughputResultsGraphSet = extractWholeRunSlaResult ( totalThroughputResults , "Bytes" ) ; if ( ! totalThroughputResultsGraphSet . getJSONArray ( LABELS ) . isEmpty ( ) ) { totalThroughputResultsGraphSet . put ( TITLE , "Total Throughput" ) ; totalThroughputResultsGraphSet . put ( X_AXIS_TITLE , "Build number" ) ; totalThroughputResultsGraphSet . put ( Y_AXIS_TITLE , "Bytes" ) ; totalThroughputResultsGraphSet . put ( DESCRIPTION , " Displays the amount of throughput (in bytes) on the Web server during the load test. " + "Throughput represents the amount of data that the Vusers received from the server at" + " any given second. This graph helps you to evaluate the amount of load Vusers " + "generate, in terms of server throughput.\n" ) ; scenarioGraphData . put ( "totalThroughput" , totalThroughputResultsGraphSet ) ; } }
Construct total throughput graph.

@param scenarioResults   the scenario results
@param scenarioGraphData the scenario graph data