https://issues.apache.org/bugzilla/show_bug.cgi?id=45199

           Summary: Proxy inserts "${}" before each character in every
                    string recorded.
           Product: JMeter
           Version: 2.3.1
          Platform: PC
               URL: http://www.k-plus-s.com
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22122)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22122)
screenshot of recorded samples

Setup: 

Version: 2.3.1 started with proxy settings via command line. 
OS:  XP
Java :  1.6.0_06-b02 
Browser:  Firefox 2.0.0.14
Browser:  Internet Explorer 6.0.29xxx 
Websites: http://www.k-plus-s.com, http://jakarta.apache.org/jmeter/

C:\java\jakarta-jmeter-2.3.1\bin>jmeter.bat -H http-proxy-xxxxx.net -P 8080 -N
localhost


Actions: 

A proxy on port 9090 was set up with an inclusion of '.*' and started. Both
browswers were tested. Every character that was recorded was filled prefixed by
${} like shown in the screenshot. 

Result: 
The jmeter.log looks OK: 

2008/06/13 10:04:14 INFO  - jmeter.protocol.http.proxy.Daemon: Creating Daemon
Socket... on port 9090 
2008/06/13 10:04:14 INFO  - jmeter.protocol.http.proxy.Daemon: Proxy up and
running! 


The following stacktrace is shown on the console: 

Exception in thread "Thread-7" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
        at java.lang.AbstractStringBuilder.append(Unknown Source)
        at java.lang.StringBuffer.append(Unknown Source)
        at
org.apache.jmeter.util.StringUtilities.substitute(StringUtilities.java:47)
        at
org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings.transformValue(ReplaceFunctionsWithStrings.java:92)
        at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:121)
        at
org.apache.jmeter.engine.util.ValueReplacer.reverseReplace(ValueReplacer.java:85)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.replaceValues(ProxyControl.java:867)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:385)
        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:241)
Exception in thread "Thread-22" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
        at java.lang.AbstractStringBuilder.append(Unknown Source)
        at java.lang.StringBuffer.append(Unknown Source)
        at
org.apache.jmeter.util.StringUtilities.substitute(StringUtilities.java:47)
        at
org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings.transformValue(ReplaceFunctionsWithStrings.java:92)
        at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:121)
        at
org.apache.jmeter.engine.util.ValueReplacer.reverseReplace(ValueReplacer.java:85)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.replaceValues(ProxyControl.java:867)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:385)
        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:241)
Exception in thread "Thread-24" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
        at java.lang.AbstractStringBuilder.append(Unknown Source)
        at java.lang.StringBuffer.append(Unknown Source)
        at
org.apache.jmeter.util.StringUtilities.substitute(StringUtilities.java:47)
        at
org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings.transformValue(ReplaceFunctionsWithStrings.java:92)
        at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:121)
        at
org.apache.jmeter.engine.util.ValueReplacer.reverseReplace(ValueReplacer.java:85)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.replaceValues(ProxyControl.java:867)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:385)
        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:241)
Exception in thread "Thread-23" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
        at java.lang.AbstractStringBuilder.append(Unknown Source)
        at java.lang.StringBuffer.append(Unknown Source)
        at
org.apache.jmeter.util.StringUtilities.substitute(StringUtilities.java:47)
        at
org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings.transformValue(ReplaceFunctionsWithStrings.java:92)
        at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:121)
        at
org.apache.jmeter.engine.util.ValueReplacer.reverseReplace(ValueReplacer.java:85)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.replaceValues(ProxyControl.java:867)
        at
org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:385)
        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:241)
Exception in thread "Thread-21" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-19" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-18" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-17" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-16" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-15" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-14" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-12" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-11" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-8" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-10" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-9" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-69" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-67" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-68" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-66" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-65" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-64" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Thread-63" java.lang.OutOfMemoryError: Java heap space


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to