A REST testing and API microbenchmarking tool

A REST testing and API microbenchmarking tool Tests are defined in basic YAML or JSON config files, no code needed Minimal dependencies (pycurl, pyyaml, optionally future), making it easy to deploy on-server for smoketests/healthchecks Supports generate/extract/validate mechanisms to create full test scenarios Returns exit codes on failure, to slot into automated configuration management/orchestration tools (also supplies parseable logs) Logic is written and extensible in Python NEW: Full Python 3 Support in Alpha – download it, ‘pip install future’ and give […]

Read more

Automated Security Testing For REST API’s

Astra REST API penetration testing is complex due to continuous changes in existing APIs and newly added APIs. Astra can be used by security engineers or developers as an integral part of their process, so they can detect and patch vulnerabilities early during development cycle. Astra can automatically detect and test login & logout (Authentication API), so it’s easy for anyone to integrate this into CICD pipeline. Astra can take API collection as an input so this can also be […]

Read more

A testing system for catching visual regressions in Web applications

Watches you browse, takes screenshots, tells you when they change Huxley is a test-like system for catching visual regressions in Web applications. It was built by Pete Hunt with input from Maykel Loomans at Instagram. Archived Repo This is an archived project and is no longer supported or updated by Facebook or Instagram. Please do not file issues or pull-requests against this repo. If you wish to continue to develop this code yourself, we recommend you fork it. What is […]

Read more

splinter: an open source tool for testing web applications using Python

splinter – python tool for testing web applications splinter is an open source tool for testing web applications using Python. It lets you automate browser actions, such as visiting URLs and interacting with their items. Sample code from splinter import Browser browser = Browser() browser.visit(‘http://google.com’) browser.fill(‘q’, ‘splinter – python acceptance testing for web applications’) browser.find_by_name(‘btnK’).click() if browser.is_text_present(‘splinter.readthedocs.io’): print(“Yes, the official website was found!”) else: print(“No, it wasn’t found… We need to improve our SEO techniques”) browser.quit() Note:    

Read more

Web testing library for Robot Framework

SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. The project is hosted on GitHub and downloads can be found from PyPI. SeleniumLibrary works with Selenium 3 and 4. It supports Python 3.6 or newer. In addition to the normal Python interpreter, it works also with PyPy. SeleniumLibrary is based on the old SeleniumLibrary that was forked to Selenium2Library and then later renamed back to SeleniumLibrary. See the Versions and History sections below for […]

Read more

A novel evolutionary computation framework for rapid prototyping and testing of ideas

DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas. It seeks to make algorithms explicit and data structures transparent. It works in perfect harmony with parallelisation mechanisms such as multiprocessing and SCOOP. DEAP includes the following features: Genetic algorithm using any imaginable representation List, Array, Set, Dictionary, Tree, Numpy Array, etc. Genetic programing using prefix trees Loosely typed, Strongly typed Automatically defined functions Evolution strategies (including CMA-ES) Multi-objective optimisation (NSGA-II, NSGA-III, SPEA2, MO-CMA-ES) Co-evolution (cooperative […]

Read more

Virt Test Provider for qemu and other related virtualization backends

QEMU test provider for virt-test This is the official [1] test provider for the following subtest types: QEMU Generic (Virtualization backend agnostic) OpenVSwitch Really quick start guide Fork this repo on github Create a new topic branch for your work Create a new test provider file in your virt test repo, like: cp io-github-autotest-qemu.ini myprovider.ini [provider]uri: file:///home/foo/Code/tp-qemu[generic]subdir: generic/[qemu]subdir: qemu/[openvswitch]subdir: openvswitch/ You can optionally delete temporarily the io-github-autotest-qemu.ini file, just so you don’t have test conflicts. Then you can develop your […]

Read more

Codecov coverage standard for Python

Python-Standard This is a Python application, with basic unit tests, for which coverage is uploaded to Codecov on a daily basis. It can also serve as an example for how to integrate Codecov into your Python project. If the build is passing for this project, then Codecov’s Python report processing is functional and correct on codecov.io. Configuration This project is written in Python 3.9. Unit tests are written with the pytest framework and coverage reports are generated using the pytest-cov […]

Read more

Simple automated API test framework

ApiPy was created for api testing with Python pytest framework which has also requests, assertpy and pytest-html-reporter libraries. With this framework you can create api tests to call http GET, POST, UPDATE and DELETE methods. requests: for calling http methods asserpy: for making assertions pytest-html-reporter: for creating html report Pipenv is used to create a virtualenv. So just clone this project, go to the directory of the project and run below commands. cd apiPy pipenv shell pytest –html-report=./report GitHub https://github.com/mtopcu/apiPy […]

Read more
1 2 3