Skip to main content

# perftracker-lib A client library for the [perftracker](https://github.com/perfguru87/perftracker) and a set of libraries for performance testing

## Supported python version

python2.7

python3.0+

## Building and installing the perftracker-client python package

Installing from pypi.org:

` pip install perftrackerlib `

Installing from sources:

` python3 ./setup.py build python3 ./setup.py install `

## Usage Examples

### Python-written Test Suites

Minimalistic test suite: ` python3 ./examples/pt_suite_example_minimal.py --pt-title="Website suite run" --pt-url http://perftracker.localdomain:9000 `

Simulate a ‘website’ suite run and upload results: ` python3 ./examples/pt_suite_example.py -v --pt-title="Website suite run" --pt-url http://perftracker.localdomain:9000 `

Use code like examples/pt_suite_example_populate.sh to mass populate perftracker with fake data

### Control Panel Crawler

Run selenium-based test on a real WordPress Admin panel: ` python3 ./examples/pt-wp-crawler.py -m -U admin -P pass https://demos1.softaculous.com/WordPress/wp-login.php `

### Upload pre-generated files with results:

Sometimes you don’t want to write a python suite and just grab some files and export results. In this case you can use the pt-suite-uploader.py tool to parse test/json files (or even launch an external tool) and then upload results: ` python3 ./examples/pt-suite-uploader.py -f ./examples/data/sample.txt python3 ./examples/pt-suite-uploader.py -f -j ./examples/data/sample.json python3 ./examples/pt-suite-uploader.py -- /bin/echo "tag: my test; score: 2.3;" ... `

## Contributing a patch

Make a change and test your code before commit: ` python ./test.py `

## Release notes

See [http://www.perftracker.org/client/#Release_Notes](http://www.perftracker.org/client/#Release_Notes)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

perftrackerlib-0.0.25.tar.gz (205.8 kB view details)

Uploaded Source

File details

Details for the file perftrackerlib-0.0.25.tar.gz.

File metadata

  • Download URL: perftrackerlib-0.0.25.tar.gz
  • Upload date:
  • Size: 205.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for perftrackerlib-0.0.25.tar.gz
Algorithm Hash digest
SHA256 7656c45f404c0f177ea4dab229522aa27bf63239b2d0b03199d169bf37d68848
MD5 fe1647d60cac118509832c1ed51fcbe3
BLAKE2b-256 05d43ca35215cac99ab7b065294253bcdc656b95bc6de6947fb9cb515d2c083e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

0.0.46

1 file

0.0.45

1 file

0.0.44

1 file

0.0.43

1 file

0.0.42

1 file

0.0.41

1 file

0.0.40

1 file

0.0.39

1 file

0.0.38

1 file

0.0.37

1 file

0.0.36

1 file

0.0.35

1 file

0.0.34

1 file

0.0.33

1 file

0.0.32

1 file

0.0.31

1 file

0.0.30

1 file

0.0.29

1 file

0.0.28

1 file

0.0.27

1 file

0.0.26

1 file

This release

0.0.25 This release

1 file

0.0.24

1 file

0.0.23

1 file

0.0.22

1 file

0.0.21

1 file

0.0.20

1 file

0.0.19

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page