# node-xlt
NodeJS support for Xceptance LoadTest.

## Installation

  npm install node-xlt --save-dev

## Tests

  npm test

# node-xlt
NodeJS support for Xceptance LoadTest.

## Installation

  npm install node-xlt --save-dev

## Usage

  var xlt = require('node-xlt');
  
  // adjust this path to your local installation of Xlt
  xlt.setOptions({pathToXLT: '../xlt-4.5.3'});
  
  //you can also use our download feature if you have no installation of Xlt
  xlt.downloadXlt();
  
  // the next step would be to check if you have java installed
  xlt.javaVersion(function (err, res) {
    console.log(res);
  });

  // to check if all needed folders are available you can call the following
  console.log("Everything is fine: " +xlt.checkPrerequisites());
  
  // before you can run the test cases you have to compile them
  xlt.compileAllTestCases();

  // now you can run them all
  xlt.runAllTestCases();
  
  // or you can call a single test case (you need to provide the path and name)
  xlt.runSingleTestCase('tests.demo.TVisitXceptance');
  
  // you can remove all the data created from compiling and the test runs  
  xlt.clean();

## Tests

  npm test

Revert "Revert "added mor documentation""
Revert "Revert "added mor documentation""

This reverts commit 26bae7b9545074b7c30ce4679b74a13f1281f434.
