[ptt-users] TestMaker 4.4.1 now available for download
Aaron Romeo
aaron.romeo at artez.com
Fri Jan 19 14:40:44 PST 2007
Hey Frank,
I only just attempted to use 4.4.1...
I noticed a problem in the HTTPBody.java. I believe you are adding the
parameters to the body twice.
I could be wrong though.
/**
* Gets all of the keys and values and turns them into the proper kind
of
* string to be sent as a POST or a GET.
* @return The parameter string all made out.
*/
protected String paramsAsString() {
if (params == null) {
return "";
}
StringBuffer buffer = new StringBuffer();
keyvalue nkv = null;
int size = params.size();
for (int i=0; i < size; i++) {
nkv = (keyvalue) params.elementAt( i );
String key = nkv.getKey();
String value = nkv.getValue();
// If no key values, then append the value by itself (as in a
REST call)
if (key.length()==0)
{
buffer.append(value);
}
else
{
buffer.append(key).append("=").append(value);
}
// HTTP Headers look like: "Name: value\n"
buffer.append(key).append("=").append(value);
if (i < size - 1) {
buffer.append("&");
}
}
// buffer.append("\n");
return buffer.toString();
}
Thanks,
Aaron.
-----Original Message-----
From: users-bounces at lists.pushtotest.com
[mailto:users-bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
Sent: Monday, January 15, 2007 2:43 PM
To: TestMaker users list
Subject: [ptt-users] TestMaker 4.4.1 now available for download
TestMaker 4.4.1 is now available for download from the PushToTest Web
site.
http://www.pushtotest.com/Docs/vreleasenotes to view the release
notes for the new software.
http://downloads.pushtotest.com/TestMaker441.zip (24.5 Mbytes) to
download the new software.
TestMaker 4.4.1 is a minor bug-fix maintenance release. With this
release TestMaker now requires Java 1.5 or greater. TestMaker
provides a workaround for servers that do not correctly implement RFC
2116 for HTTP redirect commands. It solves a problem in the start-up
script for Windows NT and 2000 users. It solves bugs in the
agentbase.py support library for responses with no return parameters,
invalid image tags, and now allows optional parameters to set the
content-type of a POST. TestMaker 4.4.1 also solves a problem where
XSTest runs out of memory on long running load tests.
-Frank
_______________________________________________
Users mailing list
Users at lists.pushtotest.com
http://lists.pushtotest.com/mailman/listinfo/users
More information about the Users
mailing list