jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: GUI Mode : OOM Protection for View Results Tree or View Results in Table
Date Fri, 01 Apr 2016 19:28:08 GMT
Hi,
I attached to https://bz.apache.org/bugzilla/show_bug.cgi?id=59258 , 2
patches:

   - Option 1 :One yesterday that removes oldest Sample Results (I can also
   add the user warning)
   - Option 2 :One today following sebb's Idea that warns visually the user
   and does not anymore the Sample Results

I really think we cannot keep the statu quo on this problem that a lot of
people face.

With this patch I believe we achieve 2 things:

- We protect JMeter from doing an OOM

- We inform the user of the Bad practice of Load Testing with GUI


What's your opinion on the best patch ?

Regards

Philippe



On Fri, Apr 1, 2016 at 9:00 AM, Philippe Mouawad <philippe.mouawad@gmail.com
> wrote:

> Hi Vladimir,
> Tests are working for me, but failing on Jenkins and for you.
> Runnning locally on JDK 1.8_u45 and JDK 1.7u79
> That's why I commited it like this.
>
> Regards
> On Fri, Apr 1, 2016 at 12:12 AM, Vladimir Sitnikov <
> sitnikov.vladimir@gmail.com> wrote:
>
>> Philippe, have you faced with the following issue?
>> It seems to fail to locate /org/apache/jmeter/jmeter_as_ascii_art.txt
>> somehow.
>>
>>
>> bash-3.2$ git fetch && git reset --hard origin/trunk && ant
>> download_jars && ant clean && ant
>>
>> bash-3.2$ ./jmeter -t SaveConfig.jmx -Dsaveconfig.sort=text
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:497)
>> at org.apache.jmeter.NewDriver.main(NewDriver.java:259)
>> Caused by: java.lang.NullPointerException
>> at java.io.Reader.<init>(Reader.java:78)
>> at java.io.InputStreamReader.<init>(InputStreamReader.java:113)
>> at org.apache.commons.io.IOUtils.copy(IOUtils.java:1906)
>> at org.apache.commons.io.IOUtils.toString(IOUtils.java:778)
>> at org.apache.commons.io.IOUtils.toString(IOUtils.java:759)
>> at org.apache.jmeter.JMeter.start(JMeter.java:368)
>> ... 5 more
>> JMeter home directory was detected as:
>> /Users/vladimirsitnikov/Documents/code/jmeter
>>
>> bash-3.2$ java -version
>> java version "1.8.0_66"
>> Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
>> Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
>>
>> OS X 10.11.2
>>
>> Vladimir
>>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message