<commit_before># Load Impact Java SDK [![Build Status](https://travis-ci.org/loadimpact/loadimpact-sdk-java.png?branch=master,develop)](https://travis-ci.org/loadimpact/loadimpact-sdk-java)

This Java SDK provides Java APIs to the Load Impact platform for running 
and managing performance tests in the cloud.

## Requirements

The Load Impact Java SDK works with Java 6 or later. It has two dependencies (both open-source):
* [Jersey](https://jersey.java.net/)
* [Joda-Time](http://www.joda.org/joda-time/)

## Build

Apache Maven is required for building this SDK.

Compile and build the JAR file

    mvn package

The JAR can then be found in `target/`

Generate the documentation

    mvn site

The docs can then be found in `target/site/`

## Tests

Run the test suite

    mvn test -Duser.timezone=UTC

## Installation

If the SDK is packaged as a zip-file, then unpack it and grab the JAR file. Add the jar file to the class-path.

Check the exact artifact names and versions used in the generated dependency documentation. It's probably easiest to
use Maven, Gradle or a similar tool to just add the dependency of this SDK and the tool will take care of
downloading and caching all dependent JAR files.

## Creating an API client

To create an API client instance you need your API token. You can find it on
your [loadimpact.com account page](https://loadimpact.com/account/).<commit_msg>Add info on how to build a .jar with all dependencies included.<commit_after># Load Impact Java SDK [![Build Status](https://travis-ci.org/loadimpact/loadimpact-sdk-java.png?branch=master,develop)](https://travis-ci.org/loadimpact/loadimpact-sdk-java)

This Java SDK provides Java APIs to the Load Impact platform for running 
and managing performance tests in the cloud.

## Requirements

The Load Impact Java SDK works with Java 6 or later. It has two dependencies (both open-source):
* [Jersey](https://jersey.java.net/)
* [Joda-Time](http://www.joda.org/joda-time/)

## Build

Apache Maven is required for building this SDK.

Compile and build the JAR file

    mvn package

The JAR can then be found in `target/`

Compile and build an all-dependencies-included JAR file

    mvn assembly:assembly

The JAR can then be found in `target/`

Generate the documentation

    mvn site

The docs can then be found in `target/site/`

## Tests

Run the test suite

    mvn test -Duser.timezone=UTC

## Installation

If the SDK is packaged as a zip-file, then unpack it and grab the JAR file. Add the jar file to the class-path.

Check the exact artifact names and versions used in the generated dependency documentation. It's probably easiest to
use Maven, Gradle or a similar tool to just add the dependency of this SDK and the tool will take care of
downloading and caching all dependent JAR files.

## Creating an API client

To create an API client instance you need your API token. You can find it on
your [loadimpact.com account page](https://loadimpact.com/account/).
{'fraction_non_alphanumeric': 0.07619689817936615, 'fraction_numerical': 0.0006743088334457181, 'mean_word_length': 3.969849246231156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '694599', 'n_tokens_mistral': 895, 'n_tokens_neox': 831, 'n_words': 401}