[ grinder-Bugs-3517593 ] recording script in 3.9 beta produced an invalid script

SourceForge.net <[email protected]> Sat, 14 Apr 2012 06:15:44 -0700
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3517593, was opened at 2012-04-13 15:47
Message generated for change (Comment added) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3517593&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: TCPProxy
Group: None
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: greghmerrill ()
>Assigned to: Philip Aston (philipa)
Summary: recording script in 3.9 beta produced an invalid script

Initial Comment:
The 3.9 TCPProxy does a much better job of creating valid scripts against HTTPS than 3.8.  However, it generated a syntactically invalid script for me.  (See attached.)

The error is:

     [java] net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.TypeError'>: createRequest() takes exactly 3 arguments (2 given)
     [java] 	request501 = createRequest(Test(501, 'POST signon.sso'), url1)
     [java] 	File "C:\views\sso_test\apps\SSOTest\.\wks-gmerrill2-file-store\current\script.py", line 63, in <module>

The offending line is:

     request501 = createRequest(Test(501, 'POST signon.sso'), url1)

Seems for that request it doesn't produce or reference a headers list.  Perhaps not coincidentally, this is the only POST in my script.


----------------------------------------------------------------------

>Comment By: Philip Aston (philipa)
Date: 2012-04-14 06:15

Message:
Fixed for next release. Thanks for the report.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3517593&group_id=18598

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2