Coder Social home page Coder Social logo

smfoss / funkload Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nuxeo/funkload

1.0 1.0 0.0 2.01 MB

Functional and load testing framework for web applications, written in Python

Home Page: http://funkload.nuxeo.org/

License: GNU General Public License v2.0

Shell 0.40% Scala 0.98% Python 98.62%

funkload's Introduction

Introduction

FunkLoad is a functional and load web tester, written in Python, whose main use cases are:

  • Functional testing of web projects, and thus regression testing as well.
  • Performance testing: by loading the web application and monitoring your servers it helps you to pinpoint bottlenecks, giving a detailed report of performance measurement.
  • Load testing tool to expose bugs that do not surface in cursory testing, like volume testing or longevity testing.
  • Stress testing tool to overwhelm the web application resources and test the application recoverability.
  • Writing web agents by scripting any web repetitive task.

Features

Main FunkLoad features are:

  • Functional test are pure Python scripts using the pyUnit framework like normal unit test. Python enable complex scenarios to handle real world applications.
  • Truly emulates a web browser (single-threaded) using an enhanced Richard Jones' webunit:
    • get/post/put/delete support
    • post any kind of content type like application/xml
    • DAV support
    • basic authentication support
    • file upload and multipart/form-data submission
    • cookies support
    • referrer support
    • accept gzip content encoding
    • https support
    • https with ssl/tls by providing a private key and certificate (PEM formatted)
    • http_proxy support
    • fetching css, javascript and images
    • emulating a browser cache
  • Advanced test runner with many command-line options:
    • set the target server url
    • display the fetched page in real time in your browser
    • debug mode to display http headers
    • check performance of a single page (or set of pages) inside a test
    • green/red color mode
    • select or exclude tests cases using a regex
    • support normal pyUnit test
    • support doctest from a plain text file or embedded in python docstring
  • Turn a functional test into a load test: just by invoking the bench runner you can identify scalability and performance problems. If needed the bench can distributed over a group of worker machines.
  • Detailed bench reports in ReST, HTML, Org-mode, PDF (using LaTeX/PDF Org-mode export) containing:
    • the bench configuration
    • tests, pages, requests stats and charts
    • the requets that took the most time
    • monitoring one or many servers cpu usage, load average, memory/swap usage and network traffic charts
    • an http error summary list
  • Differential reports to compare 2 bench reports giving a quick overview of scalability and velocity changes.
  • Trend reports to view the performance evolution with multiple reports.
  • Easy test customization using a configuration file or command line options.
  • Easy test creation using embeded TCPWatch as proxy recorder, so you can use your web browser and produce a FunkLoad test automatically, including file upload or any ajax call.
  • Provides web assertion helpers to check expected results in responses.
  • Provides helpers to retrieve contents in responses page using DOM.
  • Easy to install (EasyInstall).
  • Comes with examples look at the demo folder.
  • Successfully tested with dozen of differents web servers: PHP, python, Java...

License

FunkLoad is free software distributed under the GNU GPL license.

(C) Copyright 2005-2011 Nuxeo SAS (http://nuxeo.com).

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

funkload's People

Contributors

bdelbosc avatar tarekziade avatar djay avatar sfermigier avatar alisaifee avatar cinsk avatar pnl avatar jakul avatar davidmiller avatar jean avatar joeshaw avatar ulcooney avatar rbowen avatar whitmo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.