"Waiting for Samples" in generated graphs of Graphs Generator Listener

1,418 views
Skip to first unread message

nickhol...@gmail.com

unread,
Sep 5, 2014, 8:54:49 AM9/5/14
to jmeter-...@googlegroups.com
I have installed the Graphs Generator and run tests using the recommended settings per blogs and wiki. When I try to generate the graphs from the Graphs Generator the PNG files are all showing 'Waiting for Samples...." I've tried both methods - generating within the test plan after test completes and using a dedicated test plan with only the graphs generator listener.

If I use the single graphs such as Response Time Distribution, Byte Throughput over Time, Response Times over Time, etc... and take the same data file generated by the test all these graphs display properly. Basically I cannot generate the graphs out of the test plan itself as described in the blog http://www.ubik-ingenierie.com/blog/automatically-generating-nice-graphs-at-end-of-your-load-test-with-apache-jmeter-and-jmeter-plugins/

I have taken the current stable release and even the latest developer version and get the same error... any hints?

GG

unread,
Sep 17, 2014, 1:36:18 PM9/17/14
to jmeter-...@googlegroups.com, nickhol...@gmail.com
Have you edited the user.properties file in the bin folder, as noted in that page? When I experienced that issue that is what solved it.

Steven Erat

unread,
Mar 11, 2016, 12:19:55 PM3/11/16
to jmeter-plugins, nickhol...@gmail.com
I encountered this problem and then stumbled onto a resolution.

At first when I was running the JMeter test plan, I was relying on the View Results Tree to write the csv file output, which in turn was used to generate the graphs.  But there were 2 problems: First at test end there were GUI pop-up alerts from JMeter saying "Error loading results file - see log file", and secondly the graph themselves actually contained the text "Waiting for samples...".

Looking at the jmeter log, I found: "jmeter.save.CSVSaveService: /path/to/my/test-results.csv does not appear to have a valid header. Using default configuration"

Then I tried adding the Simple Data Writer.   I noticed that the View Results Tree csv file output did not contain any headers, but the Simple Data Writer csv file did have headers.  When I changed the graph generator to use that one instead the errors went away and my graphs actually were graphs as expected.

nishada...@gmail.com

unread,
Jul 16, 2018, 2:41:58 AM7/16/18
to jmeter-plugins
Reply all
Reply to author
Forward
0 new messages