resultsprocessor (version 0.8.8, 30 April 2002) | index c:\work\puffin\resultsprocessor.py |
Each test action that includes a call to the server (some do not) results in the server returning
an HTTP response. Puffin will then analyze the response with either a default response analyzer or
for a response analyzer specific to that test action. After its analysis, a response analyzer
returns an AnalysisResult object to puffin. Puffin then uses the results processor to communicate
these results to the user.
The results processor handles the communication of results in two ways:
reports -- The summary result report which communicates the results of all analysis
results for an entire test plan.
failure alerts -- The details from a failed task can be communicated separately.
The results processor handles this communication with the help of two logging channels
as initialized in puffinlogging (reportLoggingChannel and failureAlertLoggingChannel.
There are two configuration settings that affect the communication of results:
-- channel configuration:
<reportLogging defaultLevel='DEBUG'>
<handler type="StreamHandler">
<param name="msgFormat"><![CDATA[%(message)s]]></param>
</handler>
</reportLogging>
<failureAlertLogging defaultLevel='DEBUG'>
<handler type="StreamHandler">
<param name="msgFormat"><![CDATA[%(asctime)s %(message)s]]></param>
</handler>
</failureAlertLogging>
The <reportLogging> and <failureAlerLogging> elements reflect the configuration for the
report logging channel. You can set the defaultLevel attribute to the logging priority
and add one or more logging handlers. See the user's guide for more information.
-- results processing configuration:
<resultsProcessor reportDetail="ALL" failureAlertDetail="ALL" />
The <resultsProcessor> element allows for the detail level to be set for summary reports
and failure alerts. The possible values are (in order of increasing detail) SUMMARY, LIGHT,
RESULTS, and ALL. These represent various levels of detail to be displayed. See the
user's guide for more information.
Modules | ||||||
|
Classes | ||||||||||
|
Functions | ||
Data | ||
__author__ = 'Keyton Weissinger __date__ = '30 April 2002' __file__ = '.\\resultsprocessor.pyc' __name__ = 'resultsprocessor' __status__ = 'beta' __version__ = '0.8.8' |
Author | ||
Keyton Weissinger <keyton@weissinger.org> |