0.0.1 • Published 9 years ago

jtests v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

JTest

A Node.js web app for runing alfresco stress tests based on Jmeter and visualizing the results. Supports Alfresco 5.0.X onwards.

SqlPad Query Editor

JTest is meant to be run by the delegated Alfresco administrator

Installation & Usage

First, install Node.js (note that Node now comes with NPM by default (NPM is just a nice javascript package manager)

npm install jtest -g

Configuration

Change query result record limit

To change the maximum records returned by a SQL query, add a new item with key "queryResultMaxRows" and set the value to the max number of rows you would like returned. If the key is missing or set to a non-number, SqlPad will return a maximum of 50,000 rows.

Disable CSV download

To disable CSV downloads, visit the "Configuration" page and add a new item with key allowCsvDownload and value false. If the key is missing or set to any other value, CSV downloads will be enabled.

Development Setup

If you want to hack on JTest :

First clone or download this repo. Then install dependencies.

npm install

Install nodemon for automatic server restarts when developing

npm install nodemon -g

Install browserify to compile client-side scripts

npm install browserify -g

Optionally install watchify to automatically browserify your client-side scripts

npm install watchify -g

To start SqlPad on port 3000 with datafiles in ./db run

npm start

To bundle client-side scripts run

npm run bundle

or to auto-browserify as changes happen

npm run watchify

License

MIT