Re: Integrated a real-time TPS Graph Into GraphsTab
Philip Aston <[email protected]> Tue, 25 Feb 2014 00:23:44 +0000
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============6267791272478577720== Content-Type: multipart/alternative; boundary="------------070101030205010508000906" This is a multi-part message in MIME format. --------------070101030205010508000906 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Wang, Thanks for your contribution. Can you update it to pass the checkstyle rules please? You can run checkstyle using mvn checkstyle:checkstyle. The output will appear in target/site/checkstyle.html of the appropriate project. Thanks, - Phil On 24/02/14 17:56, wangharrod wrote: > > Hi, Philip, > > > > I had submitted a merge request for adding a long period graph. > > > > The changes are as follows: > > Added 2 files to collect statistics data and process them. > > /grinder-core/src/main/java/net/grinder/statistics/LongStatisticsDataProcessing.java > > /grinder-core/src/test/java/net/grinder/statistics/TestLongStatisticsDataProcessing.java > > > > Added 3 files to draw long period tps graph. > > /grinder-swing-console/src/main/java/net/grinder/console/swingui/LongGraph.java > > /grinder-swing-console/src/main/java/net/grinder/console/swingui/LongLabelledGraph.java > > /grinder-swing-console/src/test/java/net/grinder/console/swingui/TestLongGraph.java > > > > Changed 1 file to add the graph to graph tab. > > /grinder-swing-console/src/main/java/net/grinder/console/swingui/TestGraphPanel.java > > > > > > - Wang Hao > > 2014-2-25 > > > ------------------ Original ------------------ > *From: * "Philip Aston";<[email protected]>; > *Date: * Mon, Dec 16, 2013 02:49 PM > *To: * "wangharrod"<[email protected]>; "Developers > Grinder"<grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>; > *Subject: * Re: [Grinder-development] Integrated a real-time TPS Graph > Into GraphsTab > > Wang Hao, > > It looks good to me, and I'd encourage you to continue. FWIW, I'm > working (when real life allows) on a new HTML 5 web console. It might > be better in the long run to extend that. > > TranslationsSource is clojure - see > grinder-translation/src/net/grinder/translation/impl/translations_source.clj. > > > - Phil > > On 15/12/13 16:56, wangharrod wrote: > > Hi, > > When I used grinder to do some long periods perfermance tests, I > always wanted to get a real-time tps graph. I know that some > utilities like Grinder To Graphite(g2g) or Grinder Analyzer can > generate some useful graphs, but if I use them, I need do some > extra work to run these tools and get results. > > I hope there is a integrated graph in Grinder Graphs Tab, like > Loadrunner or JMeter does, so I did it by referring to > net.grinder.console.swingui.Graph without importing others third > graph library. > > Example: > https://sourceforge.net/p/mysharedir/blog/2013/12/integrated-a-real-time-tps-graph-into-graphs-tab/ > > The question is I don't know whether others used grinder like I > did and need a integrated graph in Grinder Graphs Tab. Could > someone gives me some advice? If it is considered to be worth > doing. I will prepare my codes according to Grinder's "How to give > back's Coding Standards"(do more unit test and style checking) and > request for merging. > > PS: When I forked the latest codes of grinder 3.12 and builded it, > I can not find net.grinder.translation.impl.TranslationsSource > source code, Had it commit or I made some mistakes? > > > Best Regards, > Wang Hao > 2013-12-16 > --------------070101030205010508000906 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Hi Wang,<br> <br> Thanks for your contribution. Can you update it to pass the checkstyle rules please?<br> <br> You can run checkstyle using mvn checkstyle:checkstyle. The output will appear in target/site/checkstyle.html of the appropriate project.<br> <br> Thanks,<br> <br> - Phil<br> <br> On 24/02/14 17:56, wangharrod wrote:<br> </div> <blockquote cite="mid:[email protected]" type="cite"> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 12pt; font-family:微软雅黑 } --></style> <div dir="ltr"> <div> <p class="MsoNormal"><span lang="EN-US">Hi, Philip</span><span style="font-family:宋体; mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor- latin;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font- family:Calibri; mso-hansi-theme-font:minor-latin">,</span><span lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span lang="EN-US">I had submitted a merge request for adding a long period graph.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span lang="EN-US">The changes are as follows:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Added 2 files to collect statistics data and process them.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">/grinder-core/src/main/java/net/grinder/statistics/LongStatisticsDataProcessing.java<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">/grinder-core/src/test/java/net/grinder/statistics/TestLongStatisticsDataProcessing.java<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span lang="EN-US">Added 3 files to draw long period tps graph.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">/grinder-swing-console/src/main/java/net/grinder/console/swingui/LongGraph.java<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">/grinder-swing-console/src/main/java/net/grinder/console/swingui/LongLabelledGraph.java<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">/grinder-swing-console/src/test/java/net/grinder/console/swingui/TestLongGraph.java<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span lang="EN-US">Changed 1 file to add the graph to graph tab.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">/grinder-swing-console/src/main/java/net/grinder/console/swingui/TestGraphPanel.java<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span lang="EN-US">- Wang Hao<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">2014-2-25</span></p> </div> <div><br> </div> <div> <div style="line-height: 17.040000915527344px; color: rgb(68, 68, 68); font-size: 12px; font-family: 'Arial Narrow'; padding: 2px 0px;">------------------ Original ------------------</div> <div style="line-height: 17.040000915527344px; color: rgb(68, 68, 68); font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 宋体, Calibri, sans-serif; font-size: 12px; background-color: rgb(239, 239, 239); padding: 8px;"> <div><b>From: </b> "Philip Aston";<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>;</div> <div><b>Date: </b> Mon, Dec 16, 2013 02:49 PM</div> <div><b>To: </b> "wangharrod"<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>; "Developers Grinder"<a class="moz-txt-link-rfc2396E" href="mailto:grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"><grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org></a>;<wbr></div> <div><b>Subject: </b> Re: [Grinder-development] Integrated a real-time TPS Graph Into GraphsTab</div> </div> <div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 宋体, Calibri, sans-serif; font-size: 15px;"><br> </div> <div class="ecxmoz-cite-prefix" style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 宋体, Calibri, sans-serif; font-size: 15px;">Wang Hao,<br> <br> It looks good to me, and I'd encourage you to continue. FWIW, I'm working (when real life allows) on a new HTML 5 web console. It might be better in the long run to extend that.<br> <br> TranslationsSource is clojure - see grinder-translation/src/net/grinder/translation/impl/translations_source.clj. <br> <br> <br> - Phil<br> <br> On 15/12/13 16:56, wangharrod wrote:<br> </div> <blockquote cite="mid:[email protected]" style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 宋体, Calibri, sans-serif; font-size: 15px;"> <div dir="ltr"> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">Hi,</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">When I used grinder to do some long periods perfermance tests, I always wanted to get a real-time tps graph. I know that some utilities like Grinder To Graphite(g2g) or Grinder Analyzer can generate some useful graphs, but if I use them, I need do some extra work to run these tools and get results. </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">I hope there is a integrated graph in Grinder Graphs Tab, like Loadrunner or JMeter does, so I did it by referring to net.grinder.console.swingui.Graph without importing others third graph library.</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">Example:</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="https://sourceforge.net/p/mysharedir/blog/2013/12/integrated-a-real-time-tps-graph-into-graphs-tab/" target="_blank" style="line-height: 21.299999237060547px; font-weight: inherit; color: rgb(0, 104, 207); cursor: pointer;">https://sourceforge.net/p/mysharedir/blog/2013/12/integrated-a-real-time-tps-graph-into-graphs-tab/</a></span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">The question is I don't know whether others used grinder like I did and need a integrated graph in Grinder Graphs Tab. Could someone gives me some advice? If it is considered to be worth doing. I will prepare my codes according to Grinder's "How to give back's Coding Standards"(do more unit test and style checking) and request for merging.</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">PS: When I forked the latest codes of grinder 3.12 and builded it, I can not find net.grinder.translation.impl.TranslationsSource source code, Had it commit or I made some mistakes?</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;"><br style="line-height: 21.299999237060547px;"> </span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">Best Regards,</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">Wang Hao</span></font></div> <div><font style="line-height: normal;" color="#444444" face="Microsoft YaHei UI, Microsoft YaHei, 宋体, Calibri, sans-serif"><span style="line-height: 21px;">2013-12-16</span></font></div> </div> </blockquote> </div> </div> </blockquote> <br> </body> </html> --------------070101030205010508000906-- --===============6267791272478577720== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk --===============6267791272478577720== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Grinder-development mailing list Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/grinder-development --===============6267791272478577720==--