Flexible File Writer Listener is not working.

1,738 views
Skip to first unread message

milin....@trimantra.com

unread,
Jun 14, 2014, 6:15:26 AM6/14/14
to jmeter-...@googlegroups.com
Hello,
I added a Flexible File Writer Listener to a test plan and executed the test without editing the Record Each Sample Field, then it records all the results and saved them in testResults.txt file.

But when I add another Sample Field from the Available list of Sample fields, then the test results are not saved in testResults.txt or any other CSV or XML file. The listener works only for following setup:

Write File Header: endTimeMillis    responseTime    latency    sentBytes    receivedBytes    isSuccessful    responseCode

Record each sample as: endTimeMillis|\t|responseTime|\t|latency|\t|sentBytes|\t|receivedBytes|\t|isSuccessful|\t|responseCode|\r\n

Even though I edit these with valid samples, I dont get any results.

Am I missing out on something here? Am I doing something wrong or is this really an issue with the plugin?

Andrey Pohilko

unread,
Jun 14, 2014, 8:10:37 AM6/14/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hi,

Which plugins version and JMeter version do you use? If possible, share the test plan that reproduces the issue. 

Also, check jmeter.log file for possible suspitious messages. Share it if possible.

--
Andrey

суббота, 14 июня 2014 г., 14:15:26 UTC+4 пользователь milin....@trimantra.com написал:

milin....@trimantra.com

unread,
Jun 16, 2014, 1:04:59 AM6/16/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hello,
I'm using JMeterPlugins-Standard-1.1.2 with Jmeter 2.11.

I'm sorry due to company regulations I will not be able to share the test plan here.

The jmeter.log file looks like this after the test;
2014/06/16 09:13:15 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
2014/06/16 09:13:15 INFO  - jmeter.JMeter: Loading user properties from: C:\Users\admin\Desktop\apache-jmeter-2.11\bin\user.properties
2014/06/16 09:13:15 INFO  - jmeter.JMeter: Loading system properties from: C:\Users\admin\Desktop\apache-jmeter-2.11\bin\system.properties
2014/06/16 09:13:15 INFO  - jmeter.JMeter: Copyright (c) 1998-2014 The Apache Software Foundation
2014/06/16 09:13:15 INFO  - jmeter.JMeter: Version 2.11 r1554548
2014/06/16 09:13:15 INFO  - jmeter.JMeter: java.version=1.7.0_51
2014/06/16 09:13:15 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2014/06/16 09:13:15 INFO  - jmeter.JMeter: os.name=Windows 8
2014/06/16 09:13:15 INFO  - jmeter.JMeter: os.arch=amd64
2014/06/16 09:13:15 INFO  - jmeter.JMeter: os.version=6.2
2014/06/16 09:13:15 INFO  - jmeter.JMeter: file.encoding=Cp1252
2014/06/16 09:13:15 INFO  - jmeter.JMeter: Default Locale=English (United States)
2014/06/16 09:13:15 INFO  - jmeter.JMeter: JMeter  Locale=English (United States)
2014/06/16 09:13:15 INFO  - jmeter.JMeter: JMeterHome=C:\Users\admin\Desktop\apache-jmeter-2.11
2014/06/16 09:13:15 INFO  - jmeter.JMeter: user.dir  =C:\Users\admin\Desktop\apache-jmeter-2.11\bin
2014/06/16 09:13:15 INFO  - jmeter.JMeter: PWD       =C:\Users\admin\Desktop\apache-jmeter-2.11\bin
2014/06/16 09:13:15 INFO  - jmeter.JMeter: IP: 192.168.1.29 Name: TSS29 FullName: TSS29
2014/06/16 09:13:15 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2014/06/16 09:13:16 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2014/06/16 09:13:16 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2014/06/16 09:13:16 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform]
2014/06/16 09:13:17 INFO  - jmeter.gui.util.MenuFactory: Skipping kg.apc.jmeter.config.VariablesFromCSVFile
2014/06/16 09:13:18 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is 
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is 
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is 
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is 
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2014/06/16 09:13:18 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui
2014/06/16 09:13:18 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
2014/06/16 09:13:18 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'C:\Program Files\Java\jre7\bin\keytool'
2014/06/16 09:13:18 INFO  - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Users\admin\Desktop\apache-jmeter-2.11\bin\proxyserver.jks
2014/06/16 09:13:19 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
2014/06/16 09:13:19 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2014/06/16 09:13:19 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true
2014/06/16 09:13:19 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000
2014/06/16 09:13:37 INFO  - jmeter.services.FileServer: Default base='C:\Users\admin\Desktop\apache-jmeter-2.11\bin'
2014/06/16 09:13:37 INFO  - jmeter.gui.action.Load: Loading file: D:\Milin\5StarReview\Performance Testing Srcipt\5StarReview - Homepage.jmx
2014/06/16 09:13:37 INFO  - jmeter.services.FileServer: Set new base='D:\Milin\5StarReview\Performance Testing Srcipt'
2014/06/16 09:13:37 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2014/06/16 09:13:37 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8
2014/06/16 09:13:37 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.6
2014/06/16 09:13:37 INFO  - jmeter.save.SaveService: Using SaveService properties file version 1554411
2014/06/16 09:13:37 INFO  - jmeter.save.SaveService: All converter versions present and correct
2014/06/16 09:13:37 INFO  - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2014/06/16 09:13:37 INFO  - jmeter.services.FileServer: Set new base='D:\Milin\5StarReview\Performance Testing Srcipt'
2014/06/16 09:14:59 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version
2014/06/16 09:14:59 INFO  - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false
2014/06/16 09:14:59 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2014/06/16 09:14:59 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: []
2014/06/16 09:14:59 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: []
2014/06/16 09:14:59 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2014/06/16 09:15:00 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Home Page
2014/06/16 09:15:00 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Home Page.
2014/06/16 09:15:00 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2014/06/16 09:15:00 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2014/06/16 09:15:00 INFO  - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties)
2014/06/16 09:15:00 INFO  - jmeter.threads.JMeterThread: Running PostProcessors in forward order
2014/06/16 09:15:00 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1
2014/06/16 09:15:00 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2014/06/16 09:15:00 INFO  - jmeter.threads.JMeterThread: Thread started: Home Page 1-1
2014/06/16 09:15:00 INFO  - jmeter.protocol.http.sampler.HTTPHCAbstractImpl: Local host = TSS29
2014/06/16 09:15:00 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: HTTP request retry count = 0
2014/06/16 09:15:00 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: Setting up HTTPS TrustAll scheme
2014/06/16 09:15:00 INFO  - jmeter.util.JsseSSLManager: Using default SSL protocol: TLS
2014/06/16 09:15:00 INFO  - jmeter.util.JsseSSLManager: SSL session context: per-thread
2014/06/16 09:15:00 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location:  type JKS
2014/06/16 09:15:00 INFO  - jmeter.util.SSLManager: KeyStore created OK
2014/06/16 09:15:00 WARN  - jmeter.util.SSLManager: Keystore file not found, loading empty keystore
2014/06/16 09:15:01 INFO  - jmeter.protocol.http.parser.HTMLParser: Created org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2014/06/16 09:15:03 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:15:03 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:15:04 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:15:04 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:15:04 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:15:04 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:15:05 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:15:05 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:16:06 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:16:06 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:16:13 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:16:13 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:16:14 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:16:14 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:16:14 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:16:14 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:16:16 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:  java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(Unknown Source)
    at java.nio.ByteBuffer.put(Unknown Source)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:363)
    at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:230)
    at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
    at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

2014/06/16 09:16:16 INFO  - jmeter.threads.ListenerNotifier: Continuing to process further listeners
2014/06/16 09:16:16 INFO  - jmeter.threads.JMeterThread: Thread finished: Home Page 1-1
2014/06/16 09:16:16 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2014/06/16 09:16:16 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)


I hope this will help in understanding the issue.

milin....@trimantra.com

unread,
Jun 16, 2014, 1:09:03 AM6/16/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hello,
I also tried it with version 1.1.3 of the plugin set, but I got the same results.


On Saturday, June 14, 2014 5:40:37 PM UTC+5:30, Andrey Pohilko wrote:

Andrey Pohilko

unread,
Jun 16, 2014, 6:21:18 AM6/16/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hi,


--
Andrey

понедельник, 16 июня 2014 г., 9:09:03 UTC+4 пользователь milin....@trimantra.com написал:

milin....@trimantra.com

unread,
Jun 17, 2014, 12:18:03 AM6/17/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hello Andrey,
The URL you gave sent me to this URL - https://github.com/undera/jmeter-plugins/blob/master/standard/src/kg/apc/jmeter/reporters/FlexibleFileWriter.java#L223

Now it says I need to change the code in some property file, the name given in that url is FlexibleFileWriter.java which I cannot find. As I'm a black box tester I don't have much knowledge about the coding part but if you can help me find the file and the piece of code I need to change that will be great!

And since this is a know bug, are you planning to resolve this anytime soon in the new updates?

Andrey Pohilko

unread,
Jun 17, 2014, 7:54:30 AM6/17/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hi, 

If you're a blackbox tester, I'd suggest you to find some Java developer that will help you to compose the fix.

Currently I have no estimate when such fix could be provided.

--
Andrey

вторник, 17 июня 2014 г., 8:18:03 UTC+4 пользователь milin....@trimantra.com написал:

milin....@trimantra.com

unread,
Jun 23, 2014, 6:40:52 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hello Andrey,
I tried everything I could to edit the class file but all in vain.
Will it be possible for you to edit the buffer size from 10KB to 10MB or maybe 100MB and send me that class file? I will update the plugin JAR with it.
If you would do that it will be a good help!

Andrey Pohilko

unread,
Jun 23, 2014, 6:47:24 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Oh, hold on. I'll change it immediately.

понедельник, 23 июня 2014 г., 14:40:52 UTC+4 пользователь milin....@trimantra.com написал:

Andrey Pohilko

unread,
Jun 23, 2014, 7:05:49 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Ok, here's the change: https://github.com/undera/jmeter-plugins/commit/7e42fdf4d3516a729aefacf41c2cf73e394e2b56

You can just check out the source and build it. Please, confirm here that the change works as expected.

Good luck :)

понедельник, 23 июня 2014 г., 14:40:52 UTC+4 пользователь milin....@trimantra.com написал:

milin....@trimantra.com

unread,
Jun 23, 2014, 7:54:34 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hello Andrey,
I need the FlexibleFileWriter.class file and from the link you gave I can download FlexibleFileWriter.java. So I download the whole project and when I tried to compile it using Eclipse it is giving error!!!

Andrey Pohilko

unread,
Jun 23, 2014, 7:59:17 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Use maven, not eclipse. See build instruction here: http://jmeter-plugins.org/wiki/BuildingFromSource/

понедельник, 23 июня 2014 г., 15:54:34 UTC+4 пользователь milin....@trimantra.com написал:

milin....@trimantra.com

unread,
Jun 23, 2014, 9:02:06 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com

Hello, Andrey,
I tried to compile the project with maven and got the errors as shown in the screen snap above!!!

Andrey Pohilko

unread,
Jun 23, 2014, 9:10:17 AM6/23/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
This is because you're using Java 7 to compile it. But Jmeter plugins do require Java 6 to be properly compiled. See for the reasoning: https://groups.google.com/forum/#!topic/jmeter-plugins/BppGw_D15TY

Sorry, right now I have no Java 6 at my hand to compile it for you :( 

понедельник, 23 июня 2014 г., 17:02:06 UTC+4 пользователь milin....@trimantra.com написал:

milin....@trimantra.com

unread,
Jun 24, 2014, 1:48:34 AM6/24/14
to jmeter-...@googlegroups.com, milin....@trimantra.com

Hello Andrey,
I tried compiling the Plugins with Java 6, and I got similar errors as before. Please see the screenshot!

milin....@trimantra.com

unread,
Jun 24, 2014, 2:03:43 AM6/24/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hello Andrey,
You can download Java 6 from here: https://jdk6.java.net/download.html

Andrey Pohilko

unread,
Jul 8, 2014, 8:43:29 AM7/8/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
There is pre-built shapshots here: http://jmeter-plugins.org/downloads/all/#Developer-Snapshots

вторник, 24 июня 2014 г., 10:03:43 UTC+4 пользователь milin....@trimantra.com написал:

Fin Spb

unread,
Sep 17, 2014, 10:22:47 AM9/17/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
And how can we set the buffer property?

Andrey Pohilko

unread,
Sep 17, 2014, 11:01:07 AM9/17/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hi,

Just like wiki doc says: kg.apc.jmeter.reporters.FFWBufferSize

--
Andrey

среда, 17 сентября 2014 г., 17:22:47 UTC+3 пользователь Fin Spb написал:

Fin Spb

unread,
Sep 17, 2014, 11:11:34 AM9/17/14
to jmeter-...@googlegroups.com, milin....@trimantra.com
Hi,

i mean where should i put the kg.apc.jmeter.reporters.FFWBufferSize value?

Thanks

среда, 17 сентября 2014 г., 19:01:07 UTC+4 пользователь Andrey Pohilko написал:

Andrey Pohilko

unread,
Sep 17, 2014, 2:31:20 PM9/17/14
to jmeter-...@googlegroups.com
In user.properties file

nick

unread,
Sep 19, 2014, 3:16:40 AM9/19/14
to jmeter-...@googlegroups.com
Thanks, it works. 
I set kg.apc.jmeter.reporters.FFWBufferSize=100000000 in user.properties for DB query results.

On Wednesday, September 17, 2014 11:31:20 AM UTC-7, Andrey Pohilko wrote:
In user.properties file

Sergey Spb

unread,
Sep 19, 2014, 6:56:37 AM9/19/14
to jmeter-...@googlegroups.com
doesn't work for me:(
I have Jmeter scenario with Flexible File Writer already used. I've installed Standard Set of plugins v1.2.0 where the fix should be.
I've set kg.apc.jmeter.reporters.FFWBufferSize=100000000 in user.properties. Opened scenario and run it
Result:
014/09/19 10:45:54 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener: java.nio.BufferOverflowException

Size of the text i'm going to write down with FFW is 20Kb


What i'm doing wrong?


среда, 17 сентября 2014 г., 22:31:20 UTC+4 пользователь Andrey Pohilko написал:
In user.properties file

Sergey Spb

unread,
Sep 19, 2014, 7:10:33 AM9/19/14
to jmeter-...@googlegroups.com
And also i have the same version of FFW (0.5.7) that it was before installation of new Standart Set
e

Andrey Pohilko

unread,
Sep 20, 2014, 5:32:46 AM9/20/14
to jmeter-...@googlegroups.com
Looks like installation issue, because version info is contained in JARs. Please try using clean installation.

пятница, 19 сентября 2014 г., 14:10:33 UTC+3 пользователь Sergey Spb написал:

Sergey Spb

unread,
Sep 25, 2014, 10:45:27 AM9/25/14
to jmeter-...@googlegroups.com
There is smth i don't understand.
I've checked out the project, modified the ' writeBufferSize  parameter  ('private final int writeBufferSize = 1024 * 1000;) and built it.

Still have BufferOverflow error:

014/09/25 18:41:46 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener: java.nio.BufferOverflowException

at java.nio.DirectByteBuffer.put(Unknown Source)
at java.nio.ByteBuffer.put(Unknown Source)
at kg.apc.jmeter.reporters.FlexibleFileWriter.appendSampleResultField(FlexibleFileWriter.java:362)
at kg.apc.jmeter.reporters.FlexibleFileWriter.sampleOccurred(FlexibleFileWriter.java:229)

at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Unknown Source)


суббота, 20 сентября 2014 г., 13:32:46 UTC+4 пользователь Andrey Pohilko написал:

Andrey Pohilko

unread,
Sep 27, 2014, 4:54:30 PM9/27/14
to jmeter-...@googlegroups.com
It is managed by property now. Please read the updated doc for plugin.

--
Andrey

четверг, 25 сентября 2014 г., 17:45:27 UTC+3 пользователь Sergey Spb написал:
Reply all
Reply to author
Forward
0 new messages