Skip to content

Running Leakdown Tester

Mack edited this page Dec 8, 2023 · 2 revisions

Testing with Leakdown Tester

We will first talk about the easiest way to test with LDT as a command-line tool. Open up a terminal and let's get started.

Things vary a bit based on OS, however the general steps for running tests can be followed below:

  1. Open Terminal: Fire up your command line or terminal.

  2. Navigate to Project Folder: Use the cd command to navigate to the folder containing LDT:

    cd /path/to/Leakdown-Tester
  3. Activate your virtual environment:

    • On macOS and Linux:

      source 'virtual env name'/bin/activate
    • On Windows:

      'virtual env name'\Scripts\activate
  4. Run LDT:
    With the virtual environment activated, run LDT.py - below is an example command that will test all personas from the PFKB against the heroku hosted PFP API instance and generates a summary report of the test.

    python3 LDT.py --target heroku --allPersonas --report

Add whatever arguments you need to run the test desired, and you're set! Have fun, and go break stuff!

Clone this wiki locally