<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0"><channel><title>Corey Goldberg</title><link>http://coreygoldberg.blogspot.com/</link><description>Blog - Technology, Software, Performance</description><language>en</language><managingEditor>corey@goldb.org (Corey Goldberg)</managingEditor><lastBuildDate>Wed, 09 Dec 2009 06:37:46 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">103</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><geo:lat>42.349622</geo:lat><geo:long>-71.073722</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/goldblog" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Python 3 - tkinter (Tk Widgets) - BusyBar Busy Indicator</title><link>http://coreygoldberg.blogspot.com/2009/12/python-3-tkinter-tk-widgets-busybar.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 09 Dec 2009 06:37:46 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-7410679993423826564</guid><description>&lt;p&gt;
Here is another example GUI application using Python 3.1.
&lt;/p&gt;

&lt;p&gt;For this example, I used BusyBar.py, a module for creating a "busy indicator" (like the knight-rider light).  To do this, I first had to port BusyBar to Python 3.1 from 2.x.  The new code for this module can be found here:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://code.google.com/p/corey-projects/source/browse/trunk/python-tk/BusyBar.py"&gt;BusyBar.py&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
It renders on Ubuntu (with Gnome) like this:&lt;br /&gt;
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_k7-jvtv2cLo/Sx-2EEb8euI/AAAAAAAAAoU/UUIauMPlqv0/s1600-h/Screenshot-BusyBar+Demo.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 140px;" src="http://2.bp.blogspot.com/_k7-jvtv2cLo/Sx-2EEb8euI/AAAAAAAAAoU/UUIauMPlqv0/s400/Screenshot-BusyBar+Demo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5413245458149309154" /&gt;&lt;/a&gt;

&lt;p&gt;Code:&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
#!/usr/bin/env python
# Python 3


import tkinter
from tkinter import ttk
import BusyBar


class Application:
    def __init__(self, root):
        self.root = root
        self.root.title('BusyBar Demo')
        ttk.Frame(self.root, width=300, height=100).pack()
        
        bb = BusyBar.BusyBar(self.root, width=200)
        bb.place(x=40, y=20)
        bb.on()
    

if __name__ == '__main__':
    root = tkinter.Tk()
    Application(root)
    root.mainloop()
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-7410679993423826564?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-09T09:37:46.117-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_k7-jvtv2cLo/Sx-2EEb8euI/AAAAAAAAAoU/UUIauMPlqv0/s72-c/Screenshot-BusyBar+Demo.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Python 3 - tkinter ttk (Tk Themed Widgets) - Blocking Command Example</title><link>http://coreygoldberg.blogspot.com/2009/12/python-3-tkinter-ttk-tk-themed-widgets_08.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Tue, 08 Dec 2009 06:59:21 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-3296645824064073503</guid><description>&lt;p&gt;
Here is another example GUI application with &lt;b&gt;ttk&lt;/b&gt; in Python 3.1.
&lt;/p&gt;

&lt;p&gt;
This example shows usage of the &lt;b&gt;Button&lt;/b&gt;, &lt;b&gt;Text&lt;/b&gt;, and &lt;b&gt;Scrollbar&lt;/b&gt; widgets, along with some basic layout management using &lt;b&gt;grid()&lt;/b&gt;.
&lt;p&gt;

&lt;p&gt;
To use it, enter a URL and click the button.  It will send an HTTP GET request to the URL and insert the response headers into the Text widget.  You will notice that the GUI is blocked (frozen) while the URL is fetched.  This is because all of the work is done in the main event thread.  I will show how to use threads for non-blocking events in a future post.  
&lt;/p&gt;

&lt;p&gt;
It renders on Ubuntu (with Gnome) like this:&lt;br /&gt;
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_k7-jvtv2cLo/Sx5pbNQWImI/AAAAAAAAAoM/abSO7niy618/s1600-h/Screenshot-Blocking+Command+Demo.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 248px;" src="http://3.bp.blogspot.com/_k7-jvtv2cLo/Sx5pbNQWImI/AAAAAAAAAoM/abSO7niy618/s400/Screenshot-Blocking+Command+Demo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5412879718281519714" /&gt;&lt;/a&gt;

&lt;p&gt;Code:&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
#!/usr/bin/env python
# Python 3


import tkinter
from tkinter import ttk
import urllib.request



class Application:
    def __init__(self, root):
        self.root = root
        self.root.title('Blocking Command Demo')
        
        self.init_widgets()
            
            
    def init_widgets(self):
        self.btn = ttk.Button(self.root, command=self.get_url, text='Get Url', width='8')
        self.btn.grid(column=0, row=0, sticky='w')
        
        self.entry = ttk.Entry(self.root, width='60')
        self.entry.grid(column=0, row=0, sticky='e')
        
        self.txt = tkinter.Text(self.root, width='80', height='20')
        self.txt.grid(column=0, row=1, sticky='nwes')
        sb = ttk.Scrollbar(command=self.txt.yview, orient='vertical')
        sb.grid(column=1, row=1, sticky='ns')
        self.txt['yscrollcommand'] = sb.set
        

    def get_url(self):
        url = self.entry.get()
        headers = urllib.request.urlopen(url).info()
        self.txt.insert(tkinter.INSERT, headers)
    
    

if __name__ == '__main__':
    root = tkinter.Tk()
    Application(root)
    root.mainloop()
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-3296645824064073503?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-08T09:59:21.043-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_k7-jvtv2cLo/Sx5pbNQWImI/AAAAAAAAAoM/abSO7niy618/s72-c/Screenshot-Blocking+Command+Demo.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Python 3 - tkinter ttk (Tk Themed Widgets) - Button/Text Example</title><link>http://coreygoldberg.blogspot.com/2009/12/python-3-tkinter-ttk-tk-themed-widgets_07.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 07 Dec 2009 09:05:34 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-1951451797025130236</guid><description>&lt;p&gt;
Here is some boilerplate code for setting up a basic GUI application with &lt;b&gt;ttk&lt;/b&gt; in Python 3.1.
&lt;/p&gt;

&lt;p&gt;
This example shows usage of the &lt;b&gt;Frame&lt;/b&gt;, &lt;b&gt;Button&lt;/b&gt;, and &lt;b&gt;Text&lt;/b&gt; widgets.  When you click the button, "Hello World" is inserted into the Text widget.  
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
#!/usr/bin/env python
# Python 3


import tkinter
from tkinter import ttk


class Application:
    def __init__(self, root):
        self.root = root
        self.root.title('Button Demo')
        ttk.Frame(self.root, width=250, height=100).pack()
        
        self.init_widgets()
            
    def init_widgets(self):
        ttk.Button(self.root, command=self.insert_txt, text='Click Me', width='10').place(x=10, y=10)
        self.txt = tkinter.Text(self.root, width='15', height='2')
        self.txt.place(x=10, y=50)
        
    def insert_txt(self):
        self.txt.insert(tkinter.INSERT, 'Hello World\n')


if __name__ == '__main__':
    root = tkinter.Tk()
    Application(root)
    root.mainloop()
&lt;/pre&gt;

&lt;p&gt;
It renders on Ubuntu (with Gnome) like this:&lt;br /&gt;
&lt;/p&gt;


&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_k7-jvtv2cLo/Sx01wiVplII/AAAAAAAAAoE/1QOGCmH7sdo/s1600-h/Screenshot-Button+Demo.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 264px; height: 114px;" src="http://3.bp.blogspot.com/_k7-jvtv2cLo/Sx01wiVplII/AAAAAAAAAoE/1QOGCmH7sdo/s400/Screenshot-Button+Demo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5412541435136808066" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-1951451797025130236?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-07T12:05:34.819-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_k7-jvtv2cLo/Sx01wiVplII/AAAAAAAAAoE/1QOGCmH7sdo/s72-c/Screenshot-Button+Demo.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Python 3 - tkinter ttk (Tk Themed Widgets) - GUI Hello World</title><link>http://coreygoldberg.blogspot.com/2009/12/python-3-tkinter-ttk-tk-themed-widgets.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 07 Dec 2009 09:02:10 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-3031277224964926888</guid><description>&lt;p&gt;
Here is some boilerplate code for setting up a basic GUI application with &lt;b&gt;ttk&lt;/b&gt; in Python 3.1:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
#!/usr/bin/env python
# Python 3


import tkinter
from tkinter import ttk

class Application:
    def __init__(self, root):
        self.root = root
        self.root.title('Hello World')
        ttk.Frame(self.root, width=200, height=100).pack()
        ttk.Label(self.root, text='Hello World').place(x=10, y=10)

if __name__ == '__main__':
    root = tkinter.Tk()
    Application(root)
    root.mainloop()
&lt;/pre&gt;

&lt;p&gt;
This example shows usage of the &lt;b&gt;Frame&lt;/b&gt; and &lt;b&gt;Label&lt;/b&gt; widgets, and some basic layout management using &lt;b&gt;pack()&lt;/b&gt; and &lt;b&gt;place()&lt;/b&gt;.  It renders on Ubuntu (with Gnome) like this:
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_k7-jvtv2cLo/SxwdQE04AxI/AAAAAAAAAn8/_xEcuj7kLM8/s1600-h/Screenshot-Hello+World.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 214px; height: 114px;" src="http://3.bp.blogspot.com/_k7-jvtv2cLo/SxwdQE04AxI/AAAAAAAAAn8/_xEcuj7kLM8/s400/Screenshot-Hello+World.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5412233014203122450" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-3031277224964926888?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-07T12:02:10.220-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_k7-jvtv2cLo/SxwdQE04AxI/AAAAAAAAAn8/_xEcuj7kLM8/s72-c/Screenshot-Hello+World.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Python - Accurate Cross Platform Timers - time.time() vs. time.clock()</title><link>http://coreygoldberg.blogspot.com/2009/12/python-accurate-cross-platform-timers.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Thu, 03 Dec 2009 08:27:30 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-1278459629127390331</guid><description>&lt;p&gt;
In Python, you can add simple timers around any action using the clock() or time() functions from the time module. time.clock() gives the best timer accuracy on Windows, while the time.time() function gives the best accuracy on Unix/Linux. You should use whichever one is more appropriate for your system.
&lt;/p&gt;

&lt;p&gt;
Inside the timeit module's source code (in Python's standard library), you can see an example of this. The timer type is specified by the platform:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
if sys.platform == "win32":
    # On Windows, the best timer is time.clock()
    default_timer = time.clock
else:
    # On most other platforms, the best timer is time.time()
    default_timer = time.time
&lt;/pre&gt;

&lt;p&gt;
This seems like a nice way to create a timer that is accurate on either platform.
&lt;/p&gt;

&lt;p&gt;
Here is an example:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
import sys
import time

# choose timer to use
if sys.platform.startswith('win'):
    default_timer = time.clock
else:
    default_timer = time.time

start = default_timer()
# do something
finish = default_timer()
elapsed = (finish - start)
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-1278459629127390331?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-03T11:27:30.079-05:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Linus on Evolution</title><link>http://coreygoldberg.blogspot.com/2009/10/linus-on-evolution.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Fri, 23 Oct 2009 10:42:32 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-6093550631238844372</guid><description>&lt;p&gt;
Here is a great rant from Linus Torvalds back in 2002 on biological and software evolution.&lt;br /&gt;
... from a thread on &lt;a href="http://www.tux.org/lkml/"&gt;LKML&lt;/a&gt;, summarized here:  &lt;a href="http://kerneltrap.org/node/11"&gt;http://kerneltrap.org/node/11&lt;/a&gt;
&lt;/p&gt;

&lt;hr /&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;
You know what the most complex piece of engineering known to man in the
whole solar system is?
&lt;/p&gt;

&lt;p&gt;
Guess what - it's not Linux, it's not Solaris, and it's not your car.
&lt;/p&gt;

&lt;p&gt;
It's you. And me.
&lt;/p&gt;

&lt;p&gt;
And think about how you and me actually came about - not through any
complex design.
&lt;/p&gt;

&lt;p&gt;
Right. "sheer luck".
&lt;/p&gt;

&lt;p&gt;
Well, sheer luck, AND:
&lt;ul&gt;
&lt;li&gt;free availability and _crosspollination_ through sharing of "source
   code", although biologists call it DNA.&lt;/li&gt;
&lt;li&gt;a rather unforgiving user environment, that happily replaces bad
   versions of us with better working versions and thus culls the herd
   (biologists often call this "survival of the fittest")&lt;/li&gt;
&lt;li&gt;massive undirected parallel development ("trial and error")&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
I'm deadly serious: we humans have _never_ been able to replicate
something more complicated than what we ourselves are, yet natural
selection did it without even thinking.
&lt;/p&gt;

&lt;p&gt;
Don't underestimate the power of survival of the fittest.
&lt;/p&gt;

&lt;p&gt;
And don't EVER make the mistake that you can design something better than
what you get from ruthless massively parallel trial-and-error with a
feedback cycle. That's giving your intelligence _much_ too much credit.
&lt;/p&gt;

&lt;p&gt;
&lt;br /&gt;
&lt;br /&gt;
Linus
&lt;/p&gt;

&lt;/em&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-6093550631238844372?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-23T13:42:32.327-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Python - URL Timer - Web Monitor Utility</title><link>http://coreygoldberg.blogspot.com/2009/10/python-url-timer-web-monitor-utility.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 19 Oct 2009 08:16:47 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-2586325013368745694</guid><description>&lt;p&gt;
In a &lt;a href="http://coreygoldberg.blogspot.com/2009/09/python-http-request-profiler.html"&gt;previous post&lt;/a&gt;, I showed how to insert timers between steps in an http request to do some basic profiling.  Peter Bengtsson contacted me with some enhancements to the original code.  I took his enhancements and added some more of my own to create a neat little web monitoring utility.
&lt;/p&gt;

&lt;p&gt;
It uses Python's &lt;a href="http://docs.python.org/library/httplib.html"&gt;httplib&lt;/a&gt; to send a GET requests at regular intervals to a URL and adds some timing instrumentation between each step of the request/response.  Results are printed to the console.
&lt;/p&gt;

&lt;p&gt;
get it here:&lt;br&gt;
&lt;a href="http://code.google.com/p/corey-projects/source/browse/trunk/url_timer.py"&gt;http://code.google.com/p/corey-projects/source/browse/trunk/url_timer.py&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
to use, give it a site and interval:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;&gt; python url_timer.py www.goldb.org 5
&lt;/pre&gt;

&lt;p&gt;
... or an https/ssl url and an interval:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;&gt; python url_timer.py https://ssl.sonic.net/ 5
&lt;/pre&gt;

&lt;p&gt;
sample output:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;&gt;python url_timer.py www.goldb.org 5
request sent         response received    content transferred  size
------------         -----------------    -------------------  ----
0.0040 (0.0040)      0.2830 (0.2830)      0.2846 (0.2846)      9810 bytes (0.010 MB total)
0.0009 (0.0024)      0.2790 (0.2810)      0.2803 (0.2825)      9810 bytes (0.020 MB total)
0.0009 (0.0019)      0.2841 (0.2821)      0.2854 (0.2834)      9810 bytes (0.029 MB total)
0.0010 (0.0017)      0.2775 (0.2809)      0.2789 (0.2823)      9810 bytes (0.039 MB total)
0.0008 (0.0015)      0.2794 (0.2806)      0.2820 (0.2822)      9810 bytes (0.049 MB total)
0.0009 (0.0014)      0.2845 (0.2813)      0.2859 (0.2828)      9810 bytes (0.059 MB total)
0.0010 (0.0013)      0.2796 (0.2810)      0.2809 (0.2826)      9810 bytes (0.069 MB total)
0.0009 (0.0013)      0.2798 (0.2809)      0.2808 (0.2823)      9810 bytes (0.078 MB total)
0.0009 (0.0012)      0.2791 (0.2807)      0.2803 (0.2821)      9810 bytes (0.088 MB total)
...
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-2586325013368745694?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-19T11:16:47.538-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Automated Web/HTTP Profiler with Selenium-RC and Python</title><link>http://coreygoldberg.blogspot.com/2009/10/automated-webhttp-profiler-with.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 05 Oct 2009 07:42:03 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-5694058757971072920</guid><description>&lt;p&gt;
A small new open source project I am working on:
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Selenium-profiler&lt;/b&gt; is a web/http profiler built with Selenium-RC and Python.  It profiles page load time and network traffic for a web page.  The profiler uses Selenium-RC to automate site navigation (via browser), proxy traffic, and sniff the proxy for network traffic stats as requests pass through during a page load.
&lt;/p&gt;

&lt;p&gt;It is useful to answer questions like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;how many http requests does that page make?&lt;/li&gt;
&lt;li&gt;how fast are the http responses coming back?&lt;/li&gt;
&lt;li&gt;which http status codes are returned?&lt;/li&gt;
&lt;li&gt;how many of each object type are requested?&lt;/li&gt;
&lt;li&gt;what is the total page load time?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Get it here:&lt;br /&gt;
&lt;a href="http://selenium-profiler.googlecode.com/"&gt;http://selenium-profiler.googlecode.com/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;Sample Output:&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
--------------------------------
results for http://www.google.com/

content size: 38.06 kb

http requests: 9
status 200: 6
status 204: 1
status 403: 2

profiler timing:
2.063 secs (page load)
2.047 secs (network: end last request)
0.111 secs (network: end first request)

file extensions: (count, size)
gif: 1, 8.558 kb
ico: 2, 2.488 kb
js: 2, 18.046 kb
png: 1, 5.401 kb
unknown: 3, 3.567 kb

http timing detail:
403, GET, /favicon.ico, 111 ms
200, GET, /newkey, 738 ms
200, GET, /, 332 ms
403, GET, /favicon.ico, 3 ms
200, GET, /logo.gif, 255 ms
200, GET, /d9n_Nh4I09g.js, 411 ms
200, GET, /2cca7b2e99206b9c.js, 65 ms
204, GET, /generate_204, 88 ms
200, GET, /nav_logo7.png, 49 ms
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-5694058757971072920?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-05T10:42:03.068-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">17</thr:total></item><item><title>Selenium RC with Python in 30 Seconds</title><link>http://coreygoldberg.blogspot.com/2009/09/selenium-rc-with-python-in-30-seconds.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 23 Sep 2009 16:43:29 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-6759545051352041945</guid><description>&lt;p&gt;
&lt;a href="http://seleniumhq.org/"&gt;Selenium&lt;/a&gt; is a suite of tools to automate web app testing across many platforms.  It has various pieces (Core, RC, IDE, etc), and I struggled trying to figure out how everything fits together and works.  At the end of the day, all I wanted to do was use Selenium from my Python code to drive a browser session.  
&lt;/p&gt;

&lt;p&gt;
Selenium ships with full tests and some good sample code, but the driver examples all contain test frameworks/runners (JUnit, unittest, etc).  All I wanted was a simple way to integrate with Python.  To do this, the piece I need is &lt;b&gt;Selenium RC&lt;/b&gt; (which includes Selenium Core).
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;So here is the beginners' 30-second guide to getting the Python client driver working with Selenium-RC:&lt;/b&gt;
&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt; (and add it to your path)&lt;/li&gt;
&lt;li&gt;Install &lt;a href="http://www.java.com/"&gt;Java&lt;/a&gt; (and add it to your path)&lt;/li&gt;
&lt;li&gt;Download &lt;a href="http://seleniumhq.org/download/"&gt;Selenium RC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Unzip Selenium RC and search for 'selenium-server.jar' and 'selenium.py'&lt;/li&gt;
&lt;li&gt;Copy them to a directory and run 'java -jar selenium-server.jar' to start the server&lt;/li&gt;
&lt;li&gt;Start writing your Python driver code! (import selenium)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
So what's actually going on when you run a driver script?
&lt;/p&gt;

&lt;p&gt;
Selenium-server is the core program, which also contains an integrated web server.  You send HTTP requests to the server to instruct it how to drive your browser.  The 'selenium.py' module is just a wrapper around 'httplib' that provides a Python API for interacting with the Selenium-server.  You need to import the 'selenium.py' module from your script and then you are ready to go.
&lt;/p&gt;

&lt;p&gt;
now let's test it out and see if it works.  Try the following Python script.  It should open Firefox and navigate to www.google.com.
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/env python

from selenium import selenium

sel = selenium('localhost', 4444, '*firefox', 'http://www.google.com/')
sel.start()
sel.open('/')
sel.wait_for_page_to_load(10000)
sel.stop()
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-6759545051352041945?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-23T19:43:29.266-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Python - HTTP Request Profiler</title><link>http://coreygoldberg.blogspot.com/2009/09/python-http-request-profiler.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 23 Sep 2009 14:31:58 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-2356653209748476828</guid><description>&lt;p&gt;
Here is a script in Python that profiles an HTTP request to a web server.
&lt;/p&gt;

&lt;p&gt;
to use, give it a url:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;

&gt; python http_profiler.py www.goldb.org

&lt;/pre&gt;

&lt;p&gt;
output:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;

0.12454 request sent
0.24967 response received
0.49155 data transferred (9589 bytes)

&lt;/pre&gt;

&lt;p&gt;
It uses Python's httplib to send a GET request to the URL and adds some timing instrumentation between each step of the request/response.
&lt;/p&gt;

&lt;p&gt;
Python Code:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;

#!/usr/bin/env python
# Corey Goldberg - September 2009


import httplib
import sys
import time



if len(sys.argv) != 2:
    print 'usage:\nhttp_profiler.py &lt;url&gt;\n(do not include http://)'
    sys.exit(1)

# get host and path names from url
location = sys.argv[1]
if '/' in location:
    parts = location.split('/')
    host = parts[0]
    path = '/' + '/'.join(parts[1:])
else:
    host = location
    path = '/'

# select most accurate timer based on platform
if sys.platform.startswith('win'):
    default_timer = time.clock
else:
    default_timer = time.time

# profiled http request
conn = httplib.HTTPConnection(host)
start = default_timer()  
conn.request('GET', path)
request_time = default_timer()
resp = conn.getresponse()
response_time = default_timer()
size = len(resp.read())
conn.close()     
transfer_time = default_timer()

# output
print '%.5f request sent' % (request_time - start)
print '%.5f response received' % (response_time - start)
print '%.5f content transferred (%i bytes)' % ((transfer_time - start), size)

&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-2356653209748476828?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-23T17:31:58.534-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total></item><item><title>Web Page Profilers for Windows/Internet Explorer</title><link>http://coreygoldberg.blogspot.com/2009/09/web-page-profilers-for-windowsinternet.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Thu, 10 Sep 2009 08:39:42 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-5974117785777852809</guid><description>&lt;p&gt;
A "Web Page Profiler" is a tool that is used to measure and analyze web page performance.  It is usually implemented as a browser plugin or add-on, and lets you see performance of web pages/objects as they are transferred/loaded/executed/rendered.
&lt;/p&gt;

&lt;p&gt;
For Firefox, choosing a profiler is a no-brainer.  Firebug is an excellent developer tool that includes profiling capabilities.
&lt;/p&gt;

&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://getfirebug.com/"&gt;Firebug&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
Unfortunately, Firebug does not work with Microsoft's Internet Explorer.  There is Firebug Lite, which "can" work with IE, but it is limited in functionality and requires you to install some server side code (which is not always feasible).
&lt;/p&gt;

&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://getfirebug.com/lite.html"&gt;Firebug Lite&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
There are some web profilers specifically for IE, but none of them live up to the functionality or stability of Firebug.  Some to look at are:
&lt;/p&gt;

&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://sourceforge.net/apps/mediawiki/pagetest"&gt;AOL Pagetest&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msfast.myspace.com/"&gt;MySpace Performance Tracker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
... also, Internet Explorer 8 has built-in "Developer Tools" (press F12) that include a basic performance profiler for JavaScript execution.
&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;
Does anyone know of any other profilers/performance tools that work with IE?  Thoughts?
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-5974117785777852809?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-10T11:39:42.869-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total></item><item><title>Segue/Borland/MicroFocus SilkPerformer - Who Owns It?</title><link>http://coreygoldberg.blogspot.com/2009/08/segueborlandmicrofocus-silkperformer.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 05 Aug 2009 06:37:31 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-1478423287920989605</guid><description>&lt;p&gt;
&lt;a href="http://www.microfocus.com/products/SilkPerformer/"&gt;SilkPerformer&lt;/a&gt; is a popular performance and load testing tool.  It has a confusing history and has bounced around between companies quite a bit.  Here is where it came from and the current state of who owns it.
&lt;/p&gt;

&lt;p&gt;
The history AFAIK:
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Segue buys a product from some (scandanavian?) company and names it Segue SilkPerformer.&lt;/li&gt;
&lt;li&gt;Borland buys Segue and names it Borland SilkPerformer.&lt;/li&gt;
&lt;li&gt;Micro Focus buys Borland and name it Micro Focus SilkPerformer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Right now it is a little confusing because Borland still lists it as a product. The acquisition of Borland just went through a few days ago and now Micro Focus has it listed on its site also. I would expect the Borland site to eventually disappear.
&lt;/p&gt;

&lt;p&gt;
To make it even more confusing; Micro Focus also bought Compuware which had its own performance/load testing application. So now Micro Focus is marketing &lt;a href="http://www.microfocus.com/products/QALoad/"&gt;QALoad&lt;/a&gt; as well as &lt;a href="http://www.microfocus.com/products/SilkPerformer/"&gt;SilkPerformer&lt;/a&gt;, which overlap in most functionality.
&lt;/p&gt;

&lt;p&gt;
It will be interesting to see where this goes and what happens to the product lines.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-1478423287920989605?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-05T09:37:31.024-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total></item><item><title>[Software] Tools Don't Make You a Mechanic</title><link>http://coreygoldberg.blogspot.com/2009/07/software-tools-dont-make-you-mechanic.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 20 Jul 2009 06:45:42 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-8479711436339120418</guid><description>&lt;p&gt;
FYI: Learning LoadRunner does not mean that one has learned Performance Testing. LoadRunner is only a tool. Learning to use one of these:
&lt;p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_k7-jvtv2cLo/SmR0z1gKiSI/AAAAAAAAAYg/MU4_Mp_uj7I/s1600-h/200px-Englaender.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 135px;" src="http://4.bp.blogspot.com/_k7-jvtv2cLo/SmR0z1gKiSI/AAAAAAAAAYg/MU4_Mp_uj7I/s400/200px-Englaender.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5360537890361870626" /&gt;&lt;/a&gt;

&lt;p&gt;
...does not mean that one can disassemble and reassemble one of these:
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_k7-jvtv2cLo/SmR07Cq_1hI/AAAAAAAAAYo/t7iMek-ohJ8/s1600-h/09-zr1-engine.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 205px;" src="http://2.bp.blogspot.com/_k7-jvtv2cLo/SmR07Cq_1hI/AAAAAAAAAYo/t7iMek-ohJ8/s400/09-zr1-engine.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5360538014156051986" /&gt;&lt;/a&gt;

&lt;p&gt;
&lt;i&gt;[via &lt;a href="http://www.sqablogs.com/JakeBrake/"&gt;JakeBrake&lt;/a&gt;]&lt;/i&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-8479711436339120418?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-20T09:45:42.896-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_k7-jvtv2cLo/SmR0z1gKiSI/AAAAAAAAAYg/MU4_Mp_uj7I/s72-c/200px-Englaender.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></item><item><title>Python - Zip Directories Recursively</title><link>http://coreygoldberg.blogspot.com/2009/07/python-zip-directories-recursively.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 13 Jul 2009 06:24:24 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-7273261698522684220</guid><description>&lt;p&gt;
This helped me out today with some backup scripts.  Posting here so I can remember it.  Idea and snippet adapted from:
&lt;a href="http://mail.python.org/pipermail/python-list/2007-February/596539.html"&gt;http://mail.python.org/pipermail/python-list/2007-February/596539.html&lt;/a&gt;
&lt;/p&gt;        

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
        
#!/usr/bin/env python

import os
import zipfile


def main():
    zipper('c:/test', 'c:/temp/test.zip')


def zipper(dir, zip_file):
    zip = zipfile.ZipFile(zip_file, 'w', compression=zipfile.ZIP_DEFLATED)
    root_len = len(os.path.abspath(dir))
    for root, dirs, files in os.walk(dir):
        archive_root = os.path.abspath(root)[root_len:]
        for f in files:
            fullpath = os.path.join(root, f)
            archive_name = os.path.join(archive_root, f)
            print f
            zip.write(fullpath, archive_name, zipfile.ZIP_DEFLATED)
    zip.close()
    return zip_file


if __name__ == '__main__':
    main()
&lt;/pre&gt;

&lt;p&gt;&lt;i&gt;* code updated.  there was a bug in the original I posted (cmg - 07/13/09)&lt;/i&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-7273261698522684220?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-13T09:24:24.263-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total></item><item><title>OpenSTA - SCL Code Boilerplate for HTTP Load Tests</title><link>http://coreygoldberg.blogspot.com/2009/07/opensta-scl-code-boilerplate-for-http.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Tue, 07 Jul 2009 09:27:48 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-2896910862111264839</guid><description>&lt;p&gt;
&lt;i&gt;(small code dump...)&lt;/i&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.opensta.org/"&gt;OpenSTA&lt;/a&gt; (Open Systems Testing Architecture) is a popular open source web performance test tool.  It uses a scripting language named SCL (Script Control Language), which seems to be heavily influenced by Fortran.  It's a little bit dated and clumsy to program with, but suffices for writing scripts modeling complex web transactions.
&lt;/p&gt;

&lt;p&gt;
Here is the basic structure I start with when modeling tests in OpenSTA:
&lt;/p&gt;


&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
!Browser:IE5


Environment
    Description "TEST SCRIPT"
    Mode HTTP
    WAIT UNIT MILLISECONDS


Definitions
    Include         "RESPONSE_CODES.INC"
    Include         "GLOBAL_VARIABLES.INC"
    CONSTANT        DEFAULT_HEADERS = "Host: www.goldb.org^J" &amp;
                        "User-Agent: OpenSTAzilla/4.0"
    Integer         USE_PAGE_TIMERS
    Timer           T_Response
    CHARACTER*32768 logStuff, Local
    CHARACTER*512   USER_AGENT
    CHARACTER*256   MESSAGE


Code
    Entry[USER_AGENT,USE_PAGE_TIMERS]

    Start Timer T_Response

    PRIMARY GET URI "http://www.goldb.org/index.html HTTP/1.0" ON 1 &amp;
        HEADER DEFAULT_HEADERS &amp;
        ,WITH {"Accept: */*", "Accept-Language: en-us"}

    SYNCHRONIZE REQUESTS
    
    DISCONNECT FROM 1
    
    End Timer T_Response
  
Exit


ERR_LABEL:
    If (MESSAGE &lt;&gt; "") Then
        Report MESSAGE
    Endif

Exit
&lt;/pre&gt;

&lt;p&gt;
Nothing much to see here.  If you use the OpenSTA recorder and record a simple HTTP GET request, it would generate a similar script for you.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-2896910862111264839?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-07T12:27:48.676-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Web Performance Tool Evaluation - lower end proprietary tools</title><link>http://coreygoldberg.blogspot.com/2009/07/web-performance-tool-evaluation-lower.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Tue, 07 Jul 2009 11:42:11 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-3507223106666858974</guid><description>&lt;p&gt;
I am in the middle of a Performance and Load tools selection process and wanted to get some feedback here.
&lt;/p&gt;

&lt;p&gt;
I currently work in a shop that uses a mix of proprietary and open source tools for web performance &amp; load testing. The bulk of our workload and analysis is currently done using SilkPerformer. As you all probably know, there is a class of tools that is *very* expensive (including SilkPerformer). Installations and maintenance can run into 7 figures ($$$) with yearly maintenance contracts upwards of 6 figures. Since SilkPerformer is in place and we are happy with it (besides price/maintenance), there is no point in moving to a similarly priced tool. Therefore I have ruled out the class of "high end" tools from my selection:
&lt;/p&gt;

&lt;pre&gt;
High-end tools
------------------------
Borland/Segue - SilkPerformer
HP/Mercury - LoadRunner
IBM/Rational - IBM Rational Performance Tester
Microfocus/Compuware - QALoad
Oracle/Empirix - Oracle Load Testing For Web Applications (e-Load)
&lt;/pre&gt;

&lt;p&gt;
The tool I select will be used across several web applications.. pretty straight forward HTML/AJAX/JavaScript Web UI. Here is a basic list of requirements:
&lt;/p&gt;

&lt;pre&gt;
Requirements
------------------------
Protocols:
- HTTP
- ODBC (SQL)

Features:
- distributed load generation
- reporting/analytics
- data driven testing
- 5000+ VU
&lt;/pre&gt;

&lt;p&gt;
I work on a very skilled team that is *very* proficient with programming, tools, and web technologies. Adapting to a new tool or programming language is not much of an issue.
&lt;/p&gt;

&lt;p&gt;
I've searched the Open Source landscape pretty good. There are some fantastic tools (OpenSTA, JMeter, Pylot) to augment our testing, but no open source load generation tool completely meets our criteria.
&lt;/p&gt;

&lt;pre&gt;
Open Source tools
------------------------
OpenSTA
JMeter
Pylot
&lt;/pre&gt;

&lt;p&gt;
Now finally to the question/point....
&lt;/p&gt;

&lt;p&gt;
I am looking at a class of tools that I will call "low-end performance tools". This includes all proprietary tools that are not listed above as "high-end tools". They tend be cheaper and more limited in functionality than the big guns, but are substantially cheaper and sometimes sufficient for complex web performance testing. This is where my interest lies. I have scoured the web and came up with a list of tools to evaluate.
&lt;/p&gt;

&lt;pre&gt;
Low-end tools
------------------------
Microsoft - VSTS
Radview - WebLOAD
SoftLogica - WAPT
Facilita - Forecast
Zoho - QEngine
Neotys - NeoLoad
&lt;/pre&gt;

&lt;p&gt;
Does anyone have any feedback or experience reports using any of the "low-end" tools listed above? Are there other tools I am overlooking that I should definitely look into?
&lt;/p&gt;

&lt;p&gt;
any comments/suggestions are appreciated.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-3507223106666858974?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-07T14:42:11.041-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">14</thr:total></item><item><title>XML-RPC Clients In Python and Perl</title><link>http://coreygoldberg.blogspot.com/2009/06/xml-rpc-clients-in-python-and-perl.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Thu, 25 Jun 2009 10:00:28 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-4001458835853898023</guid><description>&lt;p&gt;
I was just writing some XML-RPC code and wanted to post some simple examples of how to talk to an XML-RPC server with some simple client-side code.  Here are examples in both Python and Perl.
&lt;/p&gt;

&lt;p&gt;
The examples below show how to connect to an XML-RPC server and call the service's start() method.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
a simple XML-RPC client in Python:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/env python

import xmlrpclib

host = 'http://localhost'
port = '8888'

server = xmlrpclib.Server('%s:%s' % (host, port))
response = server.start()
print response
&lt;/pre&gt;

&lt;p&gt;
a simple XML-RPC client in Perl (using the Frontier-RPC module):
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/perl -w

use strict;
use Frontier::Client;

my $host = 'http://localhost';
my $port = '8888';

my $server = Frontier::Client-&gt;new('url' =&gt; "$host:$port");
my $response = $server-&gt;call('start');
print $response;
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-4001458835853898023?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-25T13:00:28.844-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Google Calls for a Joint Effort to Speed Up the Internet</title><link>http://coreygoldberg.blogspot.com/2009/06/google-calls-for-joint-effort-to-speed.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 24 Jun 2009 06:29:53 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-7471074606151029246</guid><description>&lt;p&gt;
check out: &lt;br /&gt;
&lt;a href="http://code.google.com/speed/"&gt;http://code.google.com/speed/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
writeup here:&lt;br /&gt;
&lt;a href="http://www.infoq.com/news/2009/06/Google-Speed-Up-the-Internet"&gt;http://www.infoq.com/news/2009/06/Google-Speed-Up-the-Internet&lt;/a&gt;
&lt;/p&gt;

&lt;blockquote&gt;
&lt;em&gt;
"Google has &lt;a href="http://code.google.com/speed/"&gt;launched a web site&lt;/a&gt; in an attempt to find ways and push the speed up process of the entire Internet. Google shares research data, web site speed optimization tutorials, recorded presentations on performance, links to lots of performance optimization tools, and a discussion group inviting everyone to share ideas on how to make the web faster."
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;p&gt;
&lt;a href="http://www.pylot.org"&gt;Pylot&lt;/a&gt; is listed in the &lt;a href="http://code.google.com/speed/downloads.html"&gt;downloads section&lt;/a&gt;!
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-7471074606151029246?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-24T09:29:53.314-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Mini Web Load Tester with Python and Pylot Core</title><link>http://coreygoldberg.blogspot.com/2009/05/mini-web-load-tester-with-python-and.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Thu, 14 May 2009 09:19:37 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-9110793701346927753</guid><description>&lt;p&gt;
&lt;a href="http://www.pylot.org/"&gt;Pylot&lt;/a&gt; is a performance tool for benchmarking web services/applications.  I am working on exposing some of Pylot's internals so you can use it as a Python Module/API for generating concurrent HTTP load.  
&lt;/p&gt;

&lt;p&gt;
Below is a simple function that runs a mini [multi-threaded] load test against a single URL.  It will return a dictionary containing runtime statistics.  Results and timing information from each request is also logged to a file.
&lt;/p&gt;

&lt;p&gt;
I use something like this to run performance unit tests rapidly (10-30 secs usually).  I can bang on the URL for my application and quickly see how it performs and scales.
&lt;/p&gt;

&lt;p&gt;
Here is a small Python script that uses Pylot as a module:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/env python

import pylot.core.engine as pylot_engine
import os
import sys
import time
        

pylot_engine.GENERATE_RESULTS = False

url = 'http://www.pylot.org'
num_agents = 5
duration = 10
runtime_stats = {}

original_stdout = sys.stdout
sys.stdout = open(os.devnull, 'w')

req = pylot_engine.Request(url)
lm = pylot_engine.LoadManager(num_agents, 0, 0, False, runtime_stats, [])
lm.add_req(req)

lm.start()
time.sleep(duration)
lm.stop()

sys.stdout = original_stdout

for agent_num, stats in runtime_stats.iteritems():
    print 'agent %i : %i reqs : avg %.3f secs' % \
        (agent_num + 1, stats.count, stats.avg_latency)
&lt;/pre&gt;        

&lt;p&gt;
Output:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;agent 1 : 46 reqs : avg 0.220 secs
agent 2 : 46 reqs : avg 0.218 secs
agent 3 : 46 reqs : avg 0.220 secs
agent 4 : 46 reqs : avg 0.221 secs
agent 5 : 46 reqs : avg 0.221 secs
&lt;/pre&gt;

&lt;p&gt;
Here is a slightly larger example with some more structure and features.  This creates a small command line interface for running a mini load test.
&lt;/p&gt;
   
&lt;p&gt;
Code:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/env python
# Corey Goldberg 2009

import pylot.core.engine as pylot_engine
import os
import sys
import time



def main():
    """
    Usage: &gt;python pylot_mini_loadtest.py &lt;url&gt; &lt;number of threads/agents&gt; &lt;duration&gt;
    """
    url = sys.argv[1]
    num_agents = int(sys.argv[2])
    duration = int(sys.argv[3])
    pylot_engine.GENERATE_RESULTS = False
    print '\nmini web load test \n---------------------------------'
    agent_stats = run_loadtest(url, num_agents, duration)
    throughput = sum([stat.count for stat in agent_stats.values()]) / float(duration)
    print '%.2f reqs/sec' % throughput
    for agent_num, stats in agent_stats.iteritems():
        print 'agent %i : %i reqs : avg %.3f secs' % \
            (agent_num + 1, stats.count, stats.avg_latency)
        


def run_loadtest(url, num_agents, duration):
    """
    Runs a load test and returns a dictionary of statistics from agents.
    """
    original_stdout = sys.stdout
    sys.stdout = open(os.devnull, 'w')
    
    runtime_stats = {}
    req = pylot_engine.Request(url)
    lm = pylot_engine.LoadManager(num_agents, 0, 0, False, runtime_stats, [])
    lm.add_req(req)
    
    lm.start()
    time.sleep(duration)
    lm.stop()
    
    sys.stdout = original_stdout
    
    return runtime_stats



if __name__ == '__main__':
    main()
&lt;/pre&gt;    

&lt;p&gt;
Usage/Output:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;C:\test&gt;python pylot_mini_loadtest.py http://www.goldb.org 8 10

mini web load test
---------------------------------
19.20 reqs/sec
agent 1 : 24 reqs : avg 0.416 secs
agent 2 : 24 reqs : avg 0.418 secs
agent 3 : 24 reqs : avg 0.417 secs
agent 4 : 24 reqs : avg 0.418 secs
agent 5 : 24 reqs : avg 0.415 secs
agent 6 : 24 reqs : avg 0.419 secs
agent 7 : 24 reqs : avg 0.419 secs
agent 8 : 24 reqs : avg 0.419 secs
&lt;/pre&gt;    

&lt;p&gt;
Of course, for more complex scenarios, you can use the full blown tool, available at: &lt;a href="http://www.pylot.org/download.html"&gt;www.pylot.org/download.html&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Questions?  Hit me up.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-9110793701346927753?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-14T12:19:37.202-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Pylot - Total Downloads So Far</title><link>http://coreygoldberg.blogspot.com/2009/05/pylot-total-downloads-so-far.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 11 May 2009 11:37:29 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-7438369284070020892</guid><description>&lt;p&gt;
Here is a graph showing total downloads of &lt;a href="http://www.pylot.org/"&gt;Pylot&lt;/a&gt; since its first release:
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_k7-jvtv2cLo/Sghvsx7qvFI/AAAAAAAAAYA/hBe232f_yK4/s1600-h/pylot_downloads_05112009.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 295px;" src="http://4.bp.blogspot.com/_k7-jvtv2cLo/Sghvsx7qvFI/AAAAAAAAAYA/hBe232f_yK4/s400/pylot_downloads_05112009.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5334636573728881746" /&gt;&lt;/a&gt;

&lt;p&gt;
Decent uptake so far.  Keep the &lt;a href="http://www.pylot.org/download.html"&gt;downloads&lt;/a&gt; coming!
&lt;/p&gt;

&lt;p&gt;
Pylot is a web performance testing tool.  It is Free Open Source Software.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-7438369284070020892?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-11T14:37:29.242-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_k7-jvtv2cLo/Sghvsx7qvFI/AAAAAAAAAYA/hBe232f_yK4/s72-c/pylot_downloads_05112009.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Python - Redirect or Turn Off STDOUT and STDERR</title><link>http://coreygoldberg.blogspot.com/2009/05/python-redirect-or-turn-off-stdout-and.html</link><category>python</category><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 11 May 2009 08:18:32 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-3434479000407736934</guid><description>&lt;p&gt;
Here is an easy way to temporarily turn off STDOUT or STDERR in your Python program.
&lt;/p&gt;

&lt;p&gt;
First you create a class to replace STDOUT.  This is just minimal class with a 'write()' method. 
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;class NullDevice():
    def write(self, s):
        pass
&lt;/pre&gt;        

&lt;p&gt;
Notice its 'write()' method does nothing.  Therefore, when you write to the NullDevice, output goes nowhere and is dropped.  All you need to do is assign sys.stdout to this class.
&lt;/p&gt;

&lt;p&gt;Here is an example of turning STDOUT off and back on:&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/env python

import sys


class NullDevice():
    def write(self, s):
        pass


print "1 - this will print to STDOUT"

original_stdout = sys.stdout  # keep a reference to STDOUT

sys.stdout = NullDevice()  # redirect the real STDOUT

print "2 - this won't print"

sys.stdout = original_stdout  # turn STDOUT back on

print "3 - this will print to SDTDOUT"
&lt;/pre&gt;

&lt;p&gt;
You can also do the same thing with sys.stderr to turn off STDERR.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-3434479000407736934?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-11T11:18:32.098-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total></item><item><title>C# - Export Windows Event Logs</title><link>http://coreygoldberg.blogspot.com/2009/05/c-export-windows-event-logs.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Fri, 08 May 2009 08:19:47 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-2721799987442937098</guid><description>&lt;p&gt;
Here is a little C# program to export Windows Event Logs.  It reads an Event Log and prints entries to STDOUT so you can pipe the output to a file or other application.
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
using System;
using System.Diagnostics;


class EventLogExporter
{
    static void Main(string[] args)
    {
        EventLog evtLog = new EventLog("Application");  // Event Log type
        evtLog.MachineName = ".";  // dot is local machine
        
        foreach (EventLogEntry evtEntry in evtLog.Entries)
        {
            Console.WriteLine(evtEntry.Message);
        }
        
        evtLog.Close();
    }
}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-2721799987442937098?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-08T11:19:47.097-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></item><item><title>Dell Mini 10 Netbook with Linux == Graphics FAIL</title><link>http://coreygoldberg.blogspot.com/2009/05/dell-mini-10-netbook-with-linux.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 06 May 2009 09:48:23 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-6215031317099541785</guid><description>&lt;p&gt;
If you are planning on buying a Dell Mini 10 (or Mini 12) to run Linux, read this... 
&lt;/p&gt;

&lt;p&gt;
I used to have the Dell Mini 9 that came with Linux (Ubuntu 8.04).  As soon as I got it, I paved it and installed Ubuntu Intrepid instead.  It worked like a charm.  Then I decided to sell my Mini 9 and upgrade to the Mini 10.  The Mini 10 is a better machine in terms of hardware, and is MUCH better in terms of screen resolution and keyboard size (best keyboard on any netbook).
&lt;/p&gt;

&lt;p&gt;
So, the Mini 10 ships with Windows installed.  Since I had such good luck with the Mini 9, I figured a Linux install would be a breeze.  So with my shiny new Mini 10 netbook, I tried an install Ubuntu Intrepid.  It worked great but no compatible graphics driver.  OK, so I waited for the Ubuntu Jaunty release and then promptly installed that.  Same prob.
&lt;/p&gt;

&lt;p&gt;
Here is the deal:
&lt;b&gt;There is no Linux driver for the graphics card it uses (Intel GMA 500).&lt;/b&gt;  So.. if you want to run Linux on it, your only choice is to run in a non-native resolution using the default driver.  This totally sucks.
&lt;/p&gt;

&lt;p&gt;
There appears to be a native Linux driver somewhere (Poulsbo), &lt;a href="http://www.happyassassin.net/2009/01/30/intel-gma-500-poulsbo-graphics-on-linux-a-precise-and-comprehensive-summary-as-to-why-youre-screwed/"&gt;but it doesn't work right now&lt;/a&gt; and is not packaged.
&lt;/p&gt;

&lt;p&gt;
I am just running Windows for now and waiting for a real native driver to be released.  Shame on Intel for not providing one.
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_k7-jvtv2cLo/SgG_P3dppcI/AAAAAAAAAX4/Cxyjvaxs3LE/s1600-h/dell-mini-10-notebook.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 309px;" src="http://4.bp.blogspot.com/_k7-jvtv2cLo/SgG_P3dppcI/AAAAAAAAAX4/Cxyjvaxs3LE/s400/dell-mini-10-notebook.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5332753713090635202" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-6215031317099541785?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-06T12:48:23.847-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_k7-jvtv2cLo/SgG_P3dppcI/AAAAAAAAAX4/Cxyjvaxs3LE/s72-c/dell-mini-10-notebook.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total></item><item><title>Scripted Testing Isn't  Just Following Scripts</title><link>http://coreygoldberg.blogspot.com/2009/05/scripted-testing-isnt-just-following.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Wed, 06 May 2009 07:28:10 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-3399857439272632274</guid><description>&lt;p&gt;
There is an ongoing (or dead horse, depending on your perspective) about "scripted" vs. "exploratory" testing.
&lt;/p&gt;
&lt;p&gt;
I happen to refer to "scripted testing" as programmatic testing. You use programs, scripts, and tools to augment/enable your testing.  You can explore a system with your toolset if you want.  That is an example of doing exploratory testing with scripts/programs/tools.
&lt;/p&gt;
&lt;p&gt;
The debate seems to overlook that definition and defines "scripted" as just following a number of predefined steps.  I think this is the wrong definition and the wrong argument.. or maybe I just don't get it... or maybe I'm confused by the ambiguous definitions of scripting.
&lt;/p&gt;
&lt;p&gt;
I don't see it as a boolean. I think of it terms of a spectrum and somewhere along that programmatic/manual continuum is where you work.  Exploratory testing can fall in many areas of the spectrum and you can do it manually or programmatically.
&lt;/p&gt;
&lt;p&gt;
That is where the argument breaks down (IMHO).
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-3399857439272632274?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-06T10:28:10.829-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total></item><item><title>Ordered a New Laptop - Dell Studio 17 - Running Ubuntu</title><link>http://coreygoldberg.blogspot.com/2009/03/ordered-new-laptop-dell-studio-17.html</link><author>corey@goldb.org (Corey Goldberg)</author><pubDate>Mon, 30 Mar 2009 11:03:51 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5236867476487043111.post-752723696981499436</guid><description>&lt;p&gt;
I just ordered a new laptop for home.  This will be used as my workstation/desktop replacement.
&lt;/p&gt;

&lt;p&gt;
Ubuntu Jaunty Jackalope comes out April 23, and this machine will get a fresh copy.  I'm hoping all my hardware works good with it.
&lt;/p&gt;

&lt;p&gt;Specs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dell Studio 17&lt;/li&gt;
&lt;li&gt;64 bit&lt;/li&gt;
&lt;li&gt;Intel Core 2 Duo T6400 (2.00GHz/800Mhz FSB/2MB cache)&lt;/li&gt;
&lt;li&gt;4GB Shared Dual Channel DDR2 at 800MHz&lt;/li&gt;
&lt;li&gt;256MB ATI Mobility Radeon HD 3650&lt;/li&gt;
&lt;li&gt;250GB SATA Hard Drive (7200RPM)&lt;/li&gt;
&lt;li&gt;Glossy widescreen 17.0 inch display (1920x1200)&lt;/li&gt;
&lt;li&gt;8X CD/DVD Burner&lt;/li&gt;
&lt;li&gt;Intel WiFi Link 5100 802.11agn Half Mini-Card&lt;/li&gt;
&lt;li&gt;Back-lit Keyboard&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
I will post again to tell how the hardware compatibility with Ubuntu and Linux is.
&lt;/p&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_k7-jvtv2cLo/SdDihal1P3I/AAAAAAAAAXQ/kKTWB9ZfyZA/s1600-h/studio_17_orange_314.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 314px; height: 314px;" src="http://1.bp.blogspot.com/_k7-jvtv2cLo/SdDihal1P3I/AAAAAAAAAXQ/kKTWB9ZfyZA/s400/studio_17_orange_314.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5319000223626116978" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5236867476487043111-752723696981499436?l=coreygoldberg.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-30T14:03:51.819-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_k7-jvtv2cLo/SdDihal1P3I/AAAAAAAAAXQ/kKTWB9ZfyZA/s72-c/studio_17_orange_314.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></item></channel></rss>
