Re[2]: Problem recording mobile app - gzipped JSON payload doesn't unzip

2019-01-16 Thread Alexander Boitsev
I have tried with 2.13, 3.3, 4.0, 5.0 and the latest trunk. All versions 
showed the same behavior.
The response headers look correct. The site is internal, as well as the 
mobile app at the moment.

The headers looks identical in JMeter and Charles.

Regards,
Alexander

-- Original Message --
From: "Felix Schumacher" 
To: "JMeter Users List" 
Sent: 1/16/2019 4:16:15 PM
Subject: Re: Problem recording mobile app - gzipped JSON payload doesn't 
unzip





Am 16. Januar 2019 21:27:16 MEZ schrieb Alexander Boitsev :

Hello,

I have noticed an unexpected behavior when recording a mobile
application traffic in JMeter. I have confirmed it in almost all
versions - starting from 2.13 to the latest trunk code.


Does that mean, that you have not tried all versions, or that some versions 
didn't show that behavior?



I am recording traffic from a mobile app (iOS in my case) and in POST
requests (JSON) I see some unreadable data which is confirmed to be a
not unzipped payload.


Do the response headers look correct? Is the site reachable publicly for tests?



I have tried recording with Charles Proxy and it shows JSON properly.


Are the headers the same as those recorded with jmeter?

Regards,
 Felix


So
it is JMeter who processes something incorrectly in my case.

Any ideas why this might happen? Never had such problems with mobile
apps before.

Thank you,
Alexander


-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org


Re: Re[2]: Problem recording mobile app - gzipped JSON payload doesn't unzip

2019-01-16 Thread Felix Schumacher



Am 16. Januar 2019 22:00:17 MEZ schrieb Alexander Boitsev :
>Thank you for your reply Philippe. No, using the nightly build didn't 
>help. As I mentioned earlier I have tried before with the latest 
>compiled trunk code.
>Please find attached the debug log file.

The list seems to have stripped off the attachement.

Regards, 
 Felix 

>Also I don't think we use Brotli here. We have Tomcat 8.5 with 
>'compression="on"' on backend.
>
>Thank you,
>Alexander
>
>
>-- Original Message --
>From: "Philippe Mouawad" 
>To: "JMeter Users List" ; "Alexander Boitsev" 
>
>Sent: 1/16/2019 3:34:04 PM
>Subject: Re: Problem recording mobile app - gzipped JSON payload
>doesn't 
>unzip
>
>>Hello,
>>
>>I suspect the target website may be using Brotli compression so you're
>
>>facing:
>>- https://bz.apache.org/bugzilla/show_bug.cgi?id=62842
>>
>>This bug is fixed in nightly build, which you can download from here:
>>- https://ci.apache.org/projects/jmeter/nightlies/
>>
>>Can you give us some feedback ?
>>If issue persists, please enable in log4j2.xml this row and record the
>
>>problematic request :
>> 
>>
>>Or provide a HAR recording using Chrome.
>>
>>Thanks
>>Regards
>>@philmdot
>>Co-author of
>>https://leanpub.com/master-jmeter-from-load-test-to-devops
>>
>>
>>On Wed, Jan 16, 2019 at 9:27 PM Alexander Boitsev
> 
>>wrote:
>>>Hello,
>>>
>>>I have noticed an unexpected behavior when recording a mobile
>>>application traffic in JMeter. I have confirmed it in almost all
>>>versions - starting from 2.13 to the latest trunk code.
>>>
>>>I am recording traffic from a mobile app (iOS in my case) and in POST
>>>requests (JSON) I see some unreadable data which is confirmed to be a
>>>not unzipped payload.
>>>
>>>I have tried recording with Charles Proxy and it shows JSON properly.
>
>>>So
>>>it is JMeter who processes something incorrectly in my case.
>>>
>>>Any ideas why this might happen? Never had such problems with mobile
>>>apps before.
>>>
>>>Thank you,
>>>Alexander
>>
>>
>>
>>
>>
>><https://www.openstreetmap.org/#map=18/50.69454/3.16455>

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: Problem recording mobile app - gzipped JSON payload doesn't unzip

2019-01-16 Thread Felix Schumacher



Am 16. Januar 2019 21:27:16 MEZ schrieb Alexander Boitsev :
>Hello,
>
>I have noticed an unexpected behavior when recording a mobile 
>application traffic in JMeter. I have confirmed it in almost all 
>versions - starting from 2.13 to the latest trunk code.

Does that mean, that you have not tried all versions, or that some versions 
didn't show that behavior? 

>
>I am recording traffic from a mobile app (iOS in my case) and in POST 
>requests (JSON) I see some unreadable data which is confirmed to be a 
>not unzipped payload.

Do the response headers look correct? Is the site reachable publicly for tests? 

>
>I have tried recording with Charles Proxy and it shows JSON properly.

Are the headers the same as those recorded with jmeter? 

Regards, 
 Felix 

>So 
>it is JMeter who processes something incorrectly in my case.
>
>Any ideas why this might happen? Never had such problems with mobile 
>apps before.
>
>Thank you,
>Alexander

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re[2]: Problem recording mobile app - gzipped JSON payload doesn't unzip

2019-01-16 Thread Alexander Boitsev
Thank you for your reply Philippe. No, using the nightly build didn't 
help. As I mentioned earlier I have tried before with the latest 
compiled trunk code.

Please find attached the debug log file.
Also I don't think we use Brotli here. We have Tomcat 8.5 with 
'compression="on"' on backend.


Thank you,
Alexander


-- Original Message --
From: "Philippe Mouawad" 
To: "JMeter Users List" ; "Alexander Boitsev" 


Sent: 1/16/2019 3:34:04 PM
Subject: Re: Problem recording mobile app - gzipped JSON payload doesn't 
unzip



Hello,

I suspect the target website may be using Brotli compression so you're 
facing:

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

This bug is fixed in nightly build, which you can download from here:
- https://ci.apache.org/projects/jmeter/nightlies/

Can you give us some feedback ?
If issue persists, please enable in log4j2.xml this row and record the 
problematic request :



Or provide a HAR recording using Chrome.

Thanks
Regards
@philmdot
Co-author of
https://leanpub.com/master-jmeter-from-load-test-to-devops


On Wed, Jan 16, 2019 at 9:27 PM Alexander Boitsev  
wrote:

Hello,

I have noticed an unexpected behavior when recording a mobile
application traffic in JMeter. I have confirmed it in almost all
versions - starting from 2.13 to the latest trunk code.

I am recording traffic from a mobile app (iOS in my case) and in POST
requests (JSON) I see some unreadable data which is confirmed to be a
not unzipped payload.

I have tried recording with Charles Proxy and it shows JSON properly. 
So

it is JMeter who processes something incorrectly in my case.

Any ideas why this might happen? Never had such problems with mobile
apps before.

Thank you,
Alexander






<https://www.openstreetmap.org/#map=18/50.69454/3.16455>
-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Re: Problem recording mobile app - gzipped JSON payload doesn't unzip

2019-01-16 Thread Philippe Mouawad
Hello,

I suspect the target website may be using Brotli compression so you're
facing:
- https://bz.apache.org/bugzilla/show_bug.cgi?id=62842

This bug is fixed in nightly build, which you can download from here:
- https://ci.apache.org/projects/jmeter/nightlies/

Can you give us some feedback ?
If issue persists, please enable in log4j2.xml this row and record the
problematic request :


Or provide a HAR recording using Chrome.

Thanks
Regards
@philmdot
Co-author of
https://leanpub.com/master-jmeter-from-load-test-to-devops


On Wed, Jan 16, 2019 at 9:27 PM Alexander Boitsev 
wrote:

> Hello,
>
> I have noticed an unexpected behavior when recording a mobile
> application traffic in JMeter. I have confirmed it in almost all
> versions - starting from 2.13 to the latest trunk code.
>
> I am recording traffic from a mobile app (iOS in my case) and in POST
> requests (JSON) I see some unreadable data which is confirmed to be a
> not unzipped payload.
>
> I have tried recording with Charles Proxy and it shows JSON properly. So
> it is JMeter who processes something incorrectly in my case.
>
> Any ideas why this might happen? Never had such problems with mobile
> apps before.
>
> Thank you,
> Alexander
>








Problem recording mobile app - gzipped JSON payload doesn't unzip

2019-01-16 Thread Alexander Boitsev

Hello,

I have noticed an unexpected behavior when recording a mobile 
application traffic in JMeter. I have confirmed it in almost all 
versions - starting from 2.13 to the latest trunk code.


I am recording traffic from a mobile app (iOS in my case) and in POST 
requests (JSON) I see some unreadable data which is confirmed to be a 
not unzipped payload.


I have tried recording with Charles Proxy and it shows JSON properly. So 
it is JMeter who processes something incorrectly in my case.


Any ideas why this might happen? Never had such problems with mobile 
apps before.


Thank you,
Alexander