[ptt-users] Re: Multiple HTTPBody bug in 4.4.1
Aaron Romeo
aaron.romeo at artez.com
Thu Mar 1 08:43:27 PST 2007
Thanks!
-----Original Message-----
From: users-bounces at lists.pushtotest.com
[mailto:users-bounces at lists.pushtotest.com] On Behalf Of Frank Cohen
Sent: Wednesday, February 28, 2007 5:41 PM
To: TestMaker users list
Subject: [ptt-users] Re: Multiple HTTPBody bug in 4.4.1
Thanks for pointing out this problem. I fixed it today and checked in
the change. I am going to release TestMaker 4.4.1b today. You can
download it at:
http://downloads.pushtotest.com/TestMaker441b.zip
Thanks.
-Frank
On Feb 26, 2007, at 6:57 PM, Frank Cohen wrote:
> Hi Aaron: Thanks for bugging me on this bug. I'll have some time to
> fix the problem and post an update this week. Thanks for pointing
> this out. -Frank
>
>
>
>
> On Feb 23, 2007, at 3:25 PM, Aaron Romeo wrote:
>
>
>> Hey Frank,
>>
>> I never heard anything back about this...
>>
>> Is anyone else having a similar problem or is work with 4.4.1 fine?
>>
>> Thanks,
>> Aaron.
>>
>> -----Original Message-----
>> From: users-bounces at lists.pushtotest.com
>> [mailto:users-bounces at lists.pushtotest.com] On Behalf Of Aaron Romeo
>> Sent: Friday, January 19, 2007 5:41 PM
>> To: TestMaker users list
>> Subject: RE: [ptt-users] TestMaker 4.4.1 now available for download
>>
>> 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
>> _______________________________________________
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
>>
>>
>
>
>
> --
> Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
> TestMaker: The open-source SOA test automation tool
>
>
>
>
_______________________________________________
Users mailing list
Users at lists.pushtotest.com
http://lists.pushtotest.com/mailman/listinfo/users
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 27/02/2007
3:24 PM
More information about the Users
mailing list