Class: Gridinit::Jmeter::AggregateReport
- Inherits:
-
Object
- Object
- Gridinit::Jmeter::AggregateReport
- Includes:
- Helper
- Defined in:
- lib/gridinit-jmeter/idl/aggregate_report.rb,
lib/gridinit-jmeter/listeners/aggregate_report.rb
Instance Attribute Summary collapse
-
#doc ⇒ Object
Returns the value of attribute doc.
Instance Method Summary collapse
-
#initialize(name, params = {}) ⇒ AggregateReport
constructor
A new instance of AggregateReport.
Methods included from Helper
Constructor Details
#initialize(name, params = {}) ⇒ AggregateReport
Returns a new instance of AggregateReport.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/gridinit-jmeter/idl/aggregate_report.rb', line 15 def initialize(name, params={}) @doc = Nokogiri::XML("<ResultCollector guiclass=\"StatVisualizer\" testclass=\"ResultCollector\" testname=\"\#{name}\" enabled=\"true\">\n <boolProp name=\"ResultCollector.error_logging\">false</boolProp>\n <objProp>\n <name>saveConfig</name>\n <value class=\"SampleSaveConfiguration\">\n<time>true</time>\n<latency>true</latency>\n<timestamp>true</timestamp>\n<success>true</success>\n<label>true</label>\n<code>true</code>\n<message>false</message>\n<threadName>true</threadName>\n<dataType>false</dataType>\n<encoding>false</encoding>\n<assertions>false</assertions>\n<subresults>false</subresults>\n<responseData>false</responseData>\n<samplerData>false</samplerData>\n<xml>false</xml>\n<fieldNames>false</fieldNames>\n<responseHeaders>false</responseHeaders>\n<requestHeaders>false</requestHeaders>\n<responseDataOnError>false</responseDataOnError>\n<saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>\n<assertionsResultsToSave>0</assertionsResultsToSave>\n<bytes>true</bytes>\n<threadCounts>true</threadCounts>\n<sampleCount>true</sampleCount>\n </value>\n </objProp>\n <stringProp name=\"filename\"/>\n</ResultCollector>)\n EOS\n update params\nend\n".strip_heredoc) |
Instance Attribute Details
#doc ⇒ Object
Returns the value of attribute doc.
12 13 14 |
# File 'lib/gridinit-jmeter/idl/aggregate_report.rb', line 12 def doc @doc end |