Post in wiki: http://www.cubrid.org/wiki_ngrinder/entry/user-defined-statistic-in-ngrinder
Maybe you know that "The Grinder" supports user defined statistic. If you define and put some value in the script, then this filed can be saved in data log or summary data. You can check the example script for this from: http://grinder.sourceforge.net/g3/script-gallery.html#jmsreceiver.py But in ngrinder, in previous 3.1.2 version, you can not see that data in test report. But from version 3.1.2, you can see that data in report chart. The sample script is below:
Currently, only one chart can be displayed for the user defined statistic, and the name of this statistic should be “User_defined”. For more detailed description of usage, you can refer the document of grinder: After running a test with this script, you can see the chart for user defined statistics in the detailed report.
|
Free forum by Nabble | Edit this page |