Grafana dashboard: JMeter-Dashboard-ResponseTime
Description: Displays load test data on-the-fly. The dashboard displays response time. For more information refer : https://sfakrudeen78.github.io/JMeter-InfluxDB-Writer/
Last updated: a few seconds ago

# JMeter-InfluxDB-Writer
Plugin for JMeter that allows to write load test data on-the-fly to influxDB and displays the dashboard more or less same as jmeter html report.

For more information refer [here](https://sfakrudeen78.github.io/JMeter-InfluxDB-Writer/)
Use this dashboard along with https://grafana.com/grafana/dashboards/10931 and https://grafana.com/grafana/dashboards/10933 dashboard.

{
  "__inputs": [
    {
      "name": "DS_INFLUXDB",
      "label": "InfluxDB",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    },
    {
      "name": "VAR_RUN",
      "type": "constant",
      "label": "run",
      "value": "RUN-2",
      "description": ""
    },
    {
      "name": "VAR_TEST",
      "type": "constant",
      "label": "test",
      "value": "Test",
      "description": ""
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.4.2"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": []
  },
  "editable": true,
  "gnetId": 10932,
  "graphTooltip": 0,
  "hideControls": false,
  "id": null,
  "links": [],
  "rows": [
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {},
          "bars": true,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_INFLUXDB}",
          "fill": 1,
          "id": 1,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": false,
            "total": false,
            "values": false
          },
          "lines": false,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT \"responseTime\" FROM \"requestsRaw\" WHERE \"runId\" =~ /$run/ AND \"testName\"=~ /$test/  AND \"requestName\"=~ /$request/ AND $timeFilter GROUP BY \"requestName\"",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Response Time Overview",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": 10,
            "mode": "histogram",
            "name": null,
            "show": true,
            "values": [
              "total"
            ]
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "value": "${VAR_RUN}",
          "text": "${VAR_RUN}"
        },
        "hide": 0,
        "label": null,
        "name": "run",
        "options": [
          {
            "value": "${VAR_RUN}",
            "text": "${VAR_RUN}"
          }
        ],
        "query": "${VAR_RUN}",
        "type": "constant"
      },
      {
        "current": {
          "value": "${VAR_TEST}",
          "text": "${VAR_TEST}"
        },
        "hide": 0,
        "label": null,
        "name": "test",
        "options": [
          {
            "value": "${VAR_TEST}",
            "text": "${VAR_TEST}"
          }
        ],
        "query": "${VAR_TEST}",
        "type": "constant"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "request",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"requestsRaw\" WITH KEY=\"requestName\" WHERE runId=~ /$run/ AND testName=~ /$test/",
        "refresh": 2,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "JMeter-Dashboard-ResponseTime",
  "version": 2,
  "description": "Displays load test data on-the-fly. The dashboard displays response time. For more information refer : https://sfakrudeen78.github.io/JMeter-InfluxDB-Writer/\nLast updated: a few seconds ago"
}