Archive for python

[tekwalk] perform performance test using Multi-Mechanize

Posted in Blogroll, tutorial with tags , , , , , , , on June 23, 2013 by abhishekkr

tekwalk.blogspot.in [18/May/2013]

http://tekwalk.blogspot.in/2013/05/perform-performance-test-using-multi.html

What? multi-mechanize is an OpenSource load testing framework written and configurable in Python. So either make calls to any web service or simple import and utilize any python-accessible API/service.
It’s successor of an old Python load testing framework called Pylot.

Developed and maintained @GitHub

Install available through ‘pip’ too as
pip install multi-mechanize
It also requires matplotlib library if you wanna view Graphs in the generated HTML report (or otherwise), BUT it’s not mandatory as the framework would perform all tests fine with an import error for matplotlib.

This also follows a……

…..click here for full blogpost

Advertisements

[tekwalk] pycallgraph : usage example ~ call sequence graph for your Python actions

Posted in Blogroll, tutorial with tags , , , , , , on June 23, 2013 by abhishekkr

@ tekwalk.blogspot.in [16/May/2013]

http://tekwalk.blogspot.in/2013/05/pycallgraph-usage-example.html

pycallgraph‘ is a fine python utility enabling developers to prepare call graph for any python code piece… it also notifies the number of times a call being made and total time spent in it

Homepage: http://pycallgraph.slowchop.com/pycallgraph/wiki
Codebase: https://github.com/gak/pycallgraph

it require ‘graphviz’ (http://www.graphviz.org/) to be present on the same machine for image generation from the analyzed calls data…

install : pip install pycallgraph

Usage#1 Selective graphing

wrap the code to be…..

…..full blogpost here

[justfewtuts.blogspot.com] run PYTHON as a HTTP server

Posted in Blogroll, tutorial with tags , , , , , , on August 10, 2010 by abhishekkr

@ justfewtuts.blogspot.com [5/July/2010]

below are the blog post links on how to utilize installed PYTHON on your machine to run a Simple OR CGI-Supported HTTP Server on your machine…

that too without any scripting directly run PYTHON as a server

—————————————————————–

http://justfewtuts.blogspot.com/2010/08/is-python-installed-yes-you-have-simple.html

is Python installed, you already have Simple HTTP Server
if you need any simple plain web-server on your machine to
server files (html or else) …click here to read full BlogPost

—————————————————————–

http://justfewtuts.blogspot.com/2010/08/run-python-no-script-to-provide-cgi.html

want HTTP Server with CGI Support, just need PYTHON without any scripts
so to have CGI supported HTTP server, just by using PYTHON,
you need to follow below steps …click here to read full BlogPost