License & Machine Slots

5min read
Sheet 3 of 47 · Getting Started

IgniteTestTool needs a license key to start. You paste the key from your purchase email once, the tool checks it against the license server at licenses.ignitedstudios.dev and keeps it in the data folder. One key covers a few of your own computers, each one a machine slot, plus one shared slot for CI.

Activate it

  1. Start the window

    Run java -jar IgniteTestTool-1.3.0.jar. With no saved key the tool opens the Activate IgniteTestTool screen before anything else.

  2. Paste the key

    Paste the key from your purchase email and press Activate (or Enter). Spaces around it and lower case do not matter, the key is trimmed and upper-cased first.

  3. Done

    Config keylicense.keyOnce the license server takes the key, it is saved to license.key in the data folder and the tool opens. A key the server refuses is not saved, and the screen says why.

On every later start the saved key is checked in the background and the key screen only shows up when that check fails. The screen also has Buy a license, which opens the product page, and Lost key or new computer, which opens the license page at testtool.ignitedstudios.dev/license.

Machine slots

Each computer that runs the window or --headless takes one machine slot of the key. The slot is tied to the operating system's machine id (MachineGuid on Windows, /etc/machine-id on Linux), not to a network card, so a new wifi, a dock or a VPN does not take another slot.

When every slot is taken, activation stops with: This key is already active on all the computers it covers. Free one on the license page and try again.

To move the key to another computer, free this one first:

  • Config keylicense.keySettings > License > Deactivate this computer releases the slot, removes license.key and exits the tool. Bots disconnect and the processes the tool started are stopped. The key keeps working on your other computers.
  • Or free a slot from the license page, which takes effect right away. A slot the tool releases itself keeps counting until its last activation token runs out.

Settings > License also shows the state of this computer (Active on this computer, with updates until a date when the license has one) and the key with most of it masked.

Offline

The tool checks in again every 6 hours. When the license server cannot be reached, the last activation keeps working offline for 7 days and the tool says until when: The license server can't be reached, the tool keeps working offline until followed by the date and time.

A computer that was never activated cannot start offline: The license server can't be reached and this computer has no saved activation yet. Connect to the internet once to activate.

If a check-in says the license is gone (expired, revoked), the window shows the key screen again. A --headless tool exits with code 3 and logs License lost.

Headless, CI and JUnit

How the jar runsWhich keyWhich slot
The windowlicense.key in the data folder, or ITT_LICENSE when setA machine slot
--headlessITT_LICENSE when set, else license.key in --data-dirA machine slot
--run-scenario, --crawl (CI mode)ITT_LICENSEThe shared CI slot
CI mode without ITT_LICENSEThe activation saved on this computer, in the default data folderThat computer's machine slot
JUnit 5 testsITT_LICENSE, else this computer's saved activationCI slot, else the machine slot
run, check, last, call, panel, guide, usage, coveragenonenone, they talk to a tool that already runs
  • ITT_LICENSE always wins over the saved key, so a CI box or a shared machine never needs the file.
  • The CI slot is one slot for every runner of the license, outside the machine slots. Store the key as a secret of the CI job and pass it as ITT_LICENSE.
  • The license server caps how many CI activations one license gets per hour. A run past that cap is treated as if the server were unreachable.
  • CI mode without a usable license prints Not licensed: set ITT_LICENSE to your license key, as a secret of the CI job. and exits with code 3. --headless does the same with Activate once in the window, or set ITT_LICENSE to your key.
  • A JUnit run that is not licensed fails every test with the reason, before any bot joins.
- name: Run the scenarios
  env:
    ITT_LICENSE: ${{ secrets.ITT_LICENSE }}
  run: java -jar itt.jar --run-scenario tests/scenarios --server-dir server --start-server --junit build/itt/junit.xml

When the key is refused

MessageWhat it means
That key doesn't exist. Copy it again from the purchase email.Typo or a cut-off key
This key is already active on all the computers it covers.Every machine slot is taken. Free one, see Machine slots
The subscription behind this key has ended. Renew it to keep using the tool.The paid period is over
This key was revoked, usually after a refund.
This key is suspended. Get in touch with Ignited Studios.
That key belongs to a different product.A key for another Ignite product
This license doesn't cover CI runs.The CI slot is off for this license
The key works, but it couldn't be saved in the data folder.The data folder is not writable
The license server refused the key (CODE).Any other answer from the server, with its code

Files

File in the data folderWhat it holds
license.keyThe key you typed, written only after the server took it
.licenseThe signed activation token of this computer, what the offline days run on
.license-ciThe token of a CI run

A copied .license does not work on another computer: the token is bound to the machine id it was issued for.

Loading the index

Enter openUp Down moveEsc close