LeanFT Properties in Java project

When we create a LeanFT project using templates, one properties file (leanft.properties) is created and stored in resources directory.

Here are the most important settings in this file that we can use.

  1. serverAddress – specify the LeanFT engine address
  2. SDK Mode – Replay or Interactive
  3. LeanFT Service Address – ws://localhost:5095
  4. Connection timeout – 60 sec
  5. Response timeout – 600 sec
  6. Server autolaunch – true

Here are the most important settings related to LeanFT Report

  1. title – Name of the report. By default, it is Run Results.
  2. description – Description of the report. By default, it is empty.
  3. targetDirectory – Directory where report should be stored. By default it is current directory.
  4. overrideExisting – Whether to override existing report. By default, it’s value is true.
  5. report folder – RunResults
  6. override existing – true
  7. filter level – All, Warning, Error, Off
  8. snapshot level – All, OnError, Off

You may also like...