Fix

2017-11-05 Thread zhuhuan
Hi,
Fix "Cannot nest output folder 'jmeter/build/components' inside output folder 
'jmeter/build' when setting up eclipse

[GitHub] jmeter pull request #320: HTTPClient 4.5. migration to last APIs / Bugzilla ...

2017-11-05 Thread ubikloadpack
GitHub user ubikloadpack opened a pull request:

https://github.com/apache/jmeter/pull/320

HTTPClient 4.5. migration to last APIs / Bugzilla 58757 & 61664

Hello,
Find in this PR the migration to last HC4 APIs and the fix of Digest Auth 
that was only partially implemented.

This PR fixes:
- https://bz.apache.org/bugzilla/show_bug.cgi?id=61664 
- https://bz.apache.org/bugzilla/show_bug.cgi?id=58757

Regards
Philippe M.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ubikloadpack/jmeter HC4_FULL_MIGRATION

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jmeter/pull/320.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #320


commit 702c8308c2b2db3152e4ef7c1c35747bc686fdf0
Author: pmouawad 
Date:   2017-10-09T21:20:26Z

Migration

commit 1e120df142c2380fdf52298dba9301261907186d
Author: pmouawad 
Date:   2017-10-12T08:32:36Z

Remove deprecated use of VIRTUAL_HOST

commit 92bdafa0e7ba197670f3f278113ff559e29e16ee
Author: pmouawad 
Date:   2017-10-13T19:29:59Z

Migrate Slow Socket feature to new APIs

commit e179a7c17e3c094f3b17436cbf74b360df64a288
Author: pmouawad 
Date:   2017-10-13T19:53:37Z

Use non deprecated constructor in ViewableFileBody
Drop call to
post.getParams().setParameter(CoreProtocolPNames.HTTP_CONTENT_CHARSET,
contentEncoding);

commit f30b574dfe53b6cfb6157877e56669db41eafdb7
Author: pmouawad 
Date:   2017-10-13T19:55:00Z

Merge remote-tracking branch 'upstream/trunk' into HC4_FULL_MIGRATION

commit b1773d9ee3d7444071cd88b02a6170365cbd1b47
Author: pmouawad 
Date:   2017-10-13T22:22:06Z

Implement LazyLayeredConnectionSocketFactory
Migrate Bandwidth measurement

commit 3910c2a8630d0b928d9c61f53a6934eee532ca45
Author: pmouawad 
Date:   2017-10-14T20:28:15Z

Adapt test cases after migration to HC4.5.x new APIs

commit f7164b7cfcdb6158493b8c789f55147c3977
Author: pmouawad 
Date:   2017-10-27T19:56:22Z

Temp code

commit b27bb3caf8f189938c5f8d322df7570d81f0ae79
Author: pmouawad 
Date:   2017-10-27T20:02:36Z

Merge current trunk

commit c6cc9d86df139c4d635547d272ec45457528ff74
Author: pmouawad 
Date:   2017-10-28T22:30:24Z

Merge remote-tracking branch 'upstream/trunk' into HC4_FULL_MIGRATION

commit e6d18781bf04d3bc02fe1291e2376356626a8fd3
Author: pmouawad 
Date:   2017-10-28T22:31:23Z

Add Basic and Digest preemptive auth

commit 4b25ac3c49e064b3508ed1ff443ef1ae23bde89b
Author: pmouawad 
Date:   2017-10-29T09:14:49Z

Sonar cleanups, upgrade ViewableFileBody

commit e2f4c72ed411059564fac94561e6a32a493a382e
Author: pmouawad 
Date:   2017-10-30T17:32:35Z

Fix logger

commit 799d65f6fdf2d074ea46fa10523fc8ac2605cd77
Author: pmouawad 
Date:   2017-10-30T17:32:55Z

Deprecate classes

commit 713474625d8f81b1dfa5a3a76c03844e05935e54
Author: pmouawad 
Date:   2017-10-30T17:33:10Z

Deprecate classes

commit e6293b3267cca306fda060bbdf7e852e387d3f8f
Author: pmouawad 
Date:   2017-10-30T17:35:06Z

Some refactoring
Plugin Proxy Auth
Start Kerberos

commit 96e60fcaff96ac145a828b79190ac2ced1b56048
Author: pmouawad 
Date:   2017-11-04T14:19:29Z

Merge remote-tracking branch 'upstream/trunk' into HC4_FULL_MIGRATION

commit 5e9df36d9ce869eacd99784e79a9e6131892d045
Author: pmouawad 
Date:   2017-11-05T08:42:37Z

Merge remote-tracking branch 'upstream/trunk' into HC4_FULL_MIGRATION

commit d929454a9917565582bc4a361d5095c90a4911ef
Author: pmouawad 
Date:   2017-11-05T08:47:42Z

Complete Kerberos
Use constants

commit e02e8fa64d364e64a1c081e207567d02e975fbf5
Author: pmouawad 
Date:   2017-11-05T08:48:53Z

Complete Kerberos
Use constants

commit 42699f997cfbd1287fff64be77991e3c6e790fbc
Author: pmouawad 
Date:   2017-11-05T11:58:10Z

Fix wrong default

commit 9f710d9f9840b547dc9a1fd93c2ea9420c18c2a8
Author: pmouawad 
Date:   2017-11-05T14:24:22Z

Finalize

commit 234b21fd480daf07cef1e6fc8729bede60e493cb
Author: pmouawad 
Date:   2017-11-05T20:17:53Z

Merge remote-tracking branch 'upstream/trunk' into HC4_FULL_MIGRATION

commit 

[GitHub] jmeter issue #231: WIP: timer that produces poisson arrivals with given cons...

2017-11-05 Thread vlsi
Github user vlsi commented on the issue:

https://github.com/apache/jmeter/pull/231
  
>I will commit this PR unless there is a NO GO within 2 days.

Philippe, thanks for looking into this. I'm afraid the documentation is 
missing.


---


Re: svn commit: r1814345 - /jmeter/trunk/bin/jmeter

2017-11-05 Thread Felix Schumacher


Am 5. November 2017 11:26:32 MEZ schrieb Philippe Mouawad 
:
>Hi Felix,
>Are there the same number problems on windows jmeter.bat ?

Having no windows at hand and not being a windows guy, I really don't know. 

Felix

>
>Thanks
>
>On Sunday, November 5, 2017,  wrote:
>
>> Author: fschumacher
>> Date: Sun Nov  5 09:59:48 2017
>> New Revision: 1814345
>>
>> URL: http://svn.apache.org/viewvc?rev=1814345=rev
>> Log:
>> Use the same binary for version detection as the one we start.
>>
>> Bugzilla Id: 61529
>>
>> Modified:
>> jmeter/trunk/bin/jmeter
>>
>> Modified: jmeter/trunk/bin/jmeter
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter?rev=
>> 1814345=1814344=1814345=diff
>> 
>> ==
>> --- jmeter/trunk/bin/jmeter (original)
>> +++ jmeter/trunk/bin/jmeter Sun Nov  5 09:59:48 2017
>> @@ -69,9 +69,8 @@ ADD_MODS=
>>  # Minimal version to run JMeter
>>  MINIMAL_VERSION=8
>>
>> -_java=`type java | awk '{ print $ NF }'`
>>  # Check if version is from OpenJDK or Oracle Hotspot JVM prior to 9
>> containing 1.${version}.x
>> -CURRENT_VERSION=`"$_java" -version 2>&1 | awk -F'"' '/version/
>> {gsub("^1[.]", "", $2); gsub("[^0-9].*$", "", $2); print $2}'`
>> +CURRENT_VERSION=`"${JAVA_HOME}/bin/java" -version 2>&1 | awk -F'"'
>> '/version/ {gsub("^1[.]", "", $2); gsub("[^0-9].*$", "", $2); print
>$2}'`
>>
>>  # Check if Java is present and the minimal version requirement
>>  if [ "$CURRENT_VERSION" -gt "$MINIMAL_VERSION" ]; then
>>
>>
>>


Re: svn commit: r1814345 - /jmeter/trunk/bin/jmeter

2017-11-05 Thread Philippe Mouawad
Hi Felix,
Are there the same number problems on windows jmeter.bat ?

Thanks

On Sunday, November 5, 2017,  wrote:

> Author: fschumacher
> Date: Sun Nov  5 09:59:48 2017
> New Revision: 1814345
>
> URL: http://svn.apache.org/viewvc?rev=1814345=rev
> Log:
> Use the same binary for version detection as the one we start.
>
> Bugzilla Id: 61529
>
> Modified:
> jmeter/trunk/bin/jmeter
>
> Modified: jmeter/trunk/bin/jmeter
> URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter?rev=
> 1814345=1814344=1814345=diff
> 
> ==
> --- jmeter/trunk/bin/jmeter (original)
> +++ jmeter/trunk/bin/jmeter Sun Nov  5 09:59:48 2017
> @@ -69,9 +69,8 @@ ADD_MODS=
>  # Minimal version to run JMeter
>  MINIMAL_VERSION=8
>
> -_java=`type java | awk '{ print $ NF }'`
>  # Check if version is from OpenJDK or Oracle Hotspot JVM prior to 9
> containing 1.${version}.x
> -CURRENT_VERSION=`"$_java" -version 2>&1 | awk -F'"' '/version/
> {gsub("^1[.]", "", $2); gsub("[^0-9].*$", "", $2); print $2}'`
> +CURRENT_VERSION=`"${JAVA_HOME}/bin/java" -version 2>&1 | awk -F'"'
> '/version/ {gsub("^1[.]", "", $2); gsub("[^0-9].*$", "", $2); print $2}'`
>
>  # Check if Java is present and the minimal version requirement
>  if [ "$CURRENT_VERSION" -gt "$MINIMAL_VERSION" ]; then
>
>
>

-- 
Cordialement.
Philippe Mouawad.


Drop sampleresult.getbytes.headers_size and sampleresult.getbytes.body_real_size

2017-11-05 Thread Philippe Mouawad
Hello,
I propose to drop those 2 properties as:

   - Setting them to false does not work, see:
  - https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
   - it looks like they were introduced to allow reverting to 2.5
   behaviour, I think we can now drop it
   - I am not sure they are even used as we didn't get any bug report for
   now while the bug looks to me critical when they are set to false

We have already a lot of properties, so 2 dropped will be a good thing.
Regards
-- 
Cordialement.
Philippe


Re: Drop sampleresult.getbytes.headers_size and sampleresult.getbytes.body_real_size

2017-11-05 Thread Antonio Gomes Rodrigues
+1

Le 5 nov. 2017 10:03, "Philippe Mouawad"  a
écrit :

> They we introduced by:
>
> https://github.com/apache/jmeter/commit/a75d1b6fe7af7663da9ff7933085d0
> 5a6bcde6b6#diff-ab78dc079a4302336674a94d7bf861db
>
> Change was related to:
>
> - https://bz.apache.org/bugzilla/show_bug.cgi?id=43363
>
> Regards
>
> On Sun, Nov 5, 2017 at 9:56 AM, Philippe Mouawad <
> p.moua...@ubik-ingenierie.com> wrote:
>
> > Hello,
> > I propose to drop those 2 properties as:
> >
> >- Setting them to false does not work, see:
> >   - https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
> >- it looks like they were introduced to allow reverting to 2.5
> >behaviour, I think we can now drop it
> >- I am not sure they are even used as we didn't get any bug report for
> >now while the bug looks to me critical when they are set to false
> >
> > We have already a lot of properties, so 2 dropped will be a good thing.
> > Regards
> > --
> > Cordialement.
> > Philippe
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
> Ubik-Ingénierie
>
> UBIK LOAD PACK Web Site 
>
> UBIK LOAD PACK on TWITTER 
>


Re: Drop sampleresult.getbytes.headers_size and sampleresult.getbytes.body_real_size

2017-11-05 Thread Philippe Mouawad
They we introduced by:

https://github.com/apache/jmeter/commit/a75d1b6fe7af7663da9ff7933085d05a6bcde6b6#diff-ab78dc079a4302336674a94d7bf861db

Change was related to:

- https://bz.apache.org/bugzilla/show_bug.cgi?id=43363

Regards

On Sun, Nov 5, 2017 at 9:56 AM, Philippe Mouawad <
p.moua...@ubik-ingenierie.com> wrote:

> Hello,
> I propose to drop those 2 properties as:
>
>- Setting them to false does not work, see:
>   - https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
>- it looks like they were introduced to allow reverting to 2.5
>behaviour, I think we can now drop it
>- I am not sure they are even used as we didn't get any bug report for
>now while the bug looks to me critical when they are set to false
>
> We have already a lot of properties, so 2 dropped will be a good thing.
> Regards
> --
> Cordialement.
> Philippe
>



-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie

UBIK LOAD PACK Web Site 

UBIK LOAD PACK on TWITTER