[ grinder-Bugs-3286209 ] string constant too large (more than 32767 characters)

"SourceForge.net" <[email protected]> Sun, 17 Apr 2011 14:09:04 +0000
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3286209, was opened at 2011-04-13 23:15
Message generated for change (Comment added) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3286209&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: Script API
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hugh McDaid (hughmcdaid)
Assigned to: Philip Aston (philipa)
Summary: string constant too large (more than 32767 characters)

Initial Comment:
Hello,

I am trying to test a new web application that we are developing, but I am getting an error from the agent stating some of the data in the script file is too long. I have done a little looking around, and I have seen posted with similar, if not identical errors that have been fixed.

I am using Grinder 3.4, Java SE 1.6.0_24 and I have tried both Jython 2.5.0 and 2.5.2. Am I missing a configuration setting or am I unable to post back a viewstate for example that has more than 32767 characters.

Regards,
Hugh McDaid

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

>Comment By: Philip Aston (philipa)
Date: 2011-04-17 15:09

Message:
This sounds like a Jython restriction on the length of string constants to
me (which it inherits from Java).

If your script was recorded using the TCPProxy, there maybe something that
can be done to break up the string into smaller parts. Please attach the
script to this bug.

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

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

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev