[ptt-users] Preparing TestMaker 4.4.1 maintenance release

Frank Cohen fcohen at pushtotest.com
Fri Dec 8 23:05:18 PST 2006


We're preparing a minor bug-fix maintenance release of TestMaker  
4.4.1. Here is what we have so far:

# WebObjects and Microsoft IIS users have occassionally found these  
servers returning HTTP redirect response codes with a relative URI.  
RFC 2116 section 14.30 requires the location header to be an absolute  
URI. According to the RFC relative URIs must only be sent using the  
META refresh tag. The TestMaker team does not want TestMaker to be a  
traffic cop for implementations of RFC 2116. So TestMaker 4.4.1  
HTTPProtocol has a special check for the relative URI on redirect  
(HTTP response code 302) and adds the domain name itself from the  
original POST. TestMaker scripts must use the  
http_protocol_handler.connect(1) form to follow redirects. Recorded  
scripts do not automatically add the (1) parameter. Thanks to Aaron  
Romeo, Dominique de Waleffe, and Kevin Dyer for participating in  
developing the solution.

# TestMaker.sh and TestMaker.bat are start-up shell scripts for  
TestMaker on Unix/Linux and Windows operating systems. These scripts  
build a classpath for TestMaker. Previous versions used external  
scripts in the util directory to build the complete classpath. On  
Windows NT and 2000 operating systems this caused exceptions.  
TestMaker 4.4.1 builds the classpath in the TestMaker.bat and  
TestMaker.sh scripts directly. Thanks to Aaron Romeo for pointing out  
the problems and recommending a solution.

# Scripts using TestMaker_home/lib/agentbase.py would throw a  
NullPointerException if there were no return parameters in a GET or  
POST command. Thanks to Todd Bradfute for a patch that solves this  
problem.

# Scripts using agentbase.py to check links to image tags would throw  
a "Has no attribute 'handler'" exception when an exception was  
encountered. Thanks to Todd Bradfute for a patch that solves this  
problem.

Please let us know if we missed a proposed fix or change. We are  
shooting for the end of next week to have the new release available.

-Frank



More information about the Users mailing list