nuxeo / FunkLoad

Functional and load testing framework for web applications, written in Python
http://funkload.nuxeo.org/
GNU General Public License v2.0
382 stars 83 forks source link

Configurable reports #30

Closed cpennington closed 12 years ago

cpennington commented 13 years ago

The main intent of the changes in this pull request are to allow funkload report aggregation to be configurable. To this end, I added the FunkloadTestCase.record method. This method marks a block of a test as a section that should be timed and recorded, and averaged into a higher level aggregation. Currently, it only supports 1 level of aggregation, but that could be changed.

The patch also moves much of the layout of the reports into templates, rather than being concatenated as strings, which makes it easier to follow, in most cases. However, in the process I haven't ported the org-mode version of the reports. It shouldn't be hard to do, either as a post-processing step on the templates, or as a separate template.

bdelbosc commented 13 years ago

Amazing !

I am just back from vacation and I will look at this soon.

thanks

ben.

cpennington commented 13 years ago

Have you had a chance to look at this yet?

bdelbosc commented 13 years ago

Hi,

I am very sorry for this late feedback

I think there is a problem, the report is very very slow to generate on small result files and I was not able to create a report for a medium result file like the one here: http://funkload.nuxeo.org/report-example/test_seam_java6/funkload.xml

I had to abort after 20 minutes my cpu was too hot :/ It generates thousands of gplot/data/png files

Can you check this? I am sure this will work soon

Thanks

ben

cpennington commented 13 years ago

Yeah, I'll take a look at that, and see what's going on.

-Cale

On Mon, Sep 12, 2011 at 4:53 PM, Benoit Delbosc < reply@reply.github.com>wrote:

Hi,

I am very sorry for this late feedback

I think there is a problem, the report is very very slow to generate on small result files and I was not able to create a report for a medium result file like the one here: http://funkload.nuxeo.org/report-example/test_seam_java6/funkload.xml

I had to abort after 20 minutes my cpu was too hot :/ It generates thousands of gplot/data/png files

Can you check this? I am sure this will work soon

Thanks

ben

Reply to this email directly or view it on GitHub: https://github.com/nuxeo/FunkLoad/pull/30#issuecomment-2075234

bdelbosc commented 12 years ago

Thanks to resubmit a new pull when ready.

ben