Please login or register.

Login with username, password and session length
Advanced search  


Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: [Test-tool] Stressnews: A database populator  (Read 1931 times)


  • Guest
[Test-tool] Stressnews: A database populator
« on: January 04, 2008, 07:08:03 pm »


This tool is meant to be used in a test environment. It populates the database with any amount of data you wish.

You can:
- set the amount of pages and articles
- set the amount of lines for each page
- write the query to the screen.
Extra_content is not (yet) automatically generated.

The purpose of this tool is stress testing. It can be helpful when developing modifications and testing settings.

How to use it

- Download Stressnews.
- Change the file name populator.txt to populator.php
-Insert database variables and settings to your needs.
- Dump it on your (local) server.
- Point your browser to the file....

Update: The tool insets extra data (pages and articles) each time the page is reloaded.

« Last Edit: January 06, 2008, 01:10:53 am by Joost »