Skip to main content

khandytool, handy core in testing

Project description

Khandytool

How to use it

1.Download and install, old version could get from pip, but new version which oversize for pypi, should download source and build, it added some jmeter run function)

pip install khandytool

2.Run in the code

from core.bladeTest import interactive
interactive.run(8999) #you can change the port if you like

add command line to support command quick start, you need:
$ pip install khandytool
run command:
$ toolrun
this will start some module, detail you need run toolrun -help for check
$ toolrun --module=all

3.Or run in the command line

python -m core.bladeTest.interactive #will open 8999 port to contain the application

Purpose

  • Base one daily work, build the test tools,finnaly generate one platform. it wraped some other packages, will continue add.

Main functions

  1. blade chaose executer(may have problem by install by pip and run; but ok in deply by source) which have two models to execute ChaoseBlade command in the remote server
  2. transfer xmind testcase to excel testcase(some formated restrict xmind)
  3. transfer swagger url to jmeter scripts using some opensource packge to complish this
  4. transfer har file to jmeter scripts
  5. fake data generation base on faker
  6. kafka message sender and getter with fileter
  7. mqtt message sender and getter with basic filter
  • others code snips, can add into automation testing
  • get data from jmesh
  • get fack data
  • generate test case from xmind
  • get sha1 password
  • http request send and validate
  • time counter wraper
  • multi list to single list
  • mysql operations to quick execute sql
  • redis operations to quick read or write data to it
  • kafka operations to send or get data from target topic
  • mqtt operations to send to receive data from server

Todo list

  • add har2locust or other protocol sender...
  • add some general validate function in the automation testing, like datatype validate,response validate,callback function ...
  • add some wrapped function about auto test framework, like pytest or behave
  • deploy jmeter agent to distribute server or docker warapped agent
  • retry function in the auto test framework
  • mock server will base one config and generate some data
  • email sender and reciever
  • socket sender and reciever under some fix config
  • config parser for ini, yml, xml, json csv format
  • quick process data with numpy or matplotlib

Functions snapshots:

mainPage:

mainPage

xmind:

xmind

blade

blade

jmeter

jmeter

mqtt

mqtt

dataGen

dataGen

Project details


Download files

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

Source Distribution

khandytool-0.2.71.tar.gz (153.2 kB view details)

Uploaded Source

Built Distribution

khandytool-0.2.71-py3-none-any.whl (168.3 kB view details)

Uploaded Python 3

File details

Details for the file khandytool-0.2.71.tar.gz.

File metadata

  • Download URL: khandytool-0.2.71.tar.gz
  • Upload date:
  • Size: 153.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for khandytool-0.2.71.tar.gz
Algorithm Hash digest
SHA256 1cb7acb23ca648243aed12b46197bcf3047c8f8b12076432f901f18a7ec9b373
MD5 6e5cce292a2e803803a23bfc9c19435d
BLAKE2b-256 e75e54519d07f2d9587c1844614ad722b150a89e3b002a55316ecdea1547be05

See more details on using hashes here.

File details

Details for the file khandytool-0.2.71-py3-none-any.whl.

File metadata

  • Download URL: khandytool-0.2.71-py3-none-any.whl
  • Upload date:
  • Size: 168.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for khandytool-0.2.71-py3-none-any.whl
Algorithm Hash digest
SHA256 45b6ed5345a00bce9ae22f3905a72bafed612d3b5255ecf28d24cd641018e01c
MD5 42edc351ab5d56966da398e6b46ec24e
BLAKE2b-256 c4ba6e9c720706926ed58ea70c40e7b79457b7d038e46be26f8e9e96b8d53273

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page