You are here: Home Plone products collective.contentgenerator

collective.contentgenerator (0.2)

1
by Olha Pelishok last modified 2009-01-12
0.0
0.0
0.0
0.0
Released on 2009-01-09 by Ed Crewe for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: beta
This package was written as part of the Bristol Plone Performance Sprint 2008 by Ed Crewe ( ILRT at University of Bristol ) and Matt Sital-Singh ( Netsight ) to cater for delivery of consistent content profiles for performance testing plone. The purpose of this egg is to create populated plone sites with dummy content and users. RSS feeds are crawled to generate realistic content for testing against. Textual content, links, images, groups, users and local roles are generated. Content profiles can be specified and there are two default ones supplied - intranet and public.
collective.contentgenerator

Overview

This package creates populated plone sites using dummy content and users. A likely partner package to the buildouts in collective.loadtesting which use funkload for functional and load testing of plone sites.

Ideally we want an egg that generates content as close to realworld sites as possible, for testing against. Whilst keeping them consistent per profile.

The starting point is to have an egg that installs a set of two profiles. Intranet and public website. These profiles can be adjusted for specific testing purposes, but by keeping a minimal set of base standards the benefit is that relative testing between code sets becomes more achievable.

The hope is that this can serve three user code testing bases ... core plone developers, third party developers and end users with sites for which performance is an issue.

Consistent content profiles should also serve the use of buildbot load testing comparisons over long timescales / code versions for unreal empty plone and these two more realworld profiles.

It was felt that a model of crawling out newsfeed content with tags, links, real sentences and language etc. is more realistic than some bulk plain latin text generator like lorem ipsum. Similarly users and groups are generated with proper names, rather than the user1-100 approach. Although highly consistent generated text has its place for load testing specific parts of plone such as the catalog. Well controlled harvested text can serve this purpose just as well and present a more realistic testing target.

NB: The RSS content source paradigm makes catering for delivery of content profiles with a large percentage of image or file content, as part of the same process, and it could also be adapted to point to foreign language feeds etc.

Currently large images are used for the addition of blobs to the database ... a common profile for intranets where a large number of bespoke file formats may be uploaded. Clearly this and a number of other performance issues can be dealt with by the employment of the correct add ons to remove blobs from the zodb, cache the interface etc. However the aim of this egg is to generate the content by default means. As a user of the egg you can then get relative quantitative data on the performance difference for the same content profile when applying any, or all of these techniques.

Document Actions
Powered by Plone