bhattchaitanya / Grafana-Dashboard-Generator

Automatic generation of Grafana dashboard for Jmeter scripts
36 stars 27 forks source link

FYI generator may have issues with complex test plans #5

Open daluu opened 8 years ago

daluu commented 8 years ago

Unfortunately at the moment, I can't share sample test plan, until I can later generalize it for public consumption.

I notice using this that:

  1. on a complex test plan, it generated a JSON file that was invalid JSON, pasting the text into JSON lint web tool showed that for a rows field, it didn't terminate the object array correctly, where the expected }], came out to be },],. So I had to fix the JSON to import it to grafana.
  2. the complex test plan import only shows 4 "total thread" graph sections in the dashboard. It does not include the various samplers below unlike some simpler test plans.

I wonder if I'm the only user with complex test plans that is trying it out with this tool here.

FYI, I'm using jmeter 2.13, not sure what version of grafana.

bhattchaitanya commented 8 years ago

Could you give me a rough idea about your Jmeter Script's level structure? Example

TestPlan
ThreadGroup1 HTTPSampler1 HTTPSampler2 ThreadGroup2

HTTPSampler2 HTTPSampler3

How does your script's tree structure look like?

daluu commented 8 years ago

Here's the complex test plan outline

Test Plan

daluu commented 8 years ago

Btw, regarding this topic, are there specific jmeter elements/components that this generator supports and not supports?