JMeter doesn't record a large request

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

JMeter doesn't record a large request

Alexander Podelko
Hi,
JMeter 3.2 doesn't record a large request (returning about 12M). To be more exact, the product stops working when recording that large request. The request gets recorded fine for a smaller amount of data, so it looks like the issue directly related to the size of data returned. Don't see any errors anywhere - the list just not get rendered.  

I am using built in JMeter Recording Controller (Recording Template). Response time for that transaction about 2 seconds. Here are a few things I tried (as suggested in other places) - unfortunately none helped:

jmeter.bat

rem See the unix startup file for the rationale of the following parameters,
rem including some tuning recommendations
set HEAP=-Xms1280m -Xmx1280m

jmeter.properties

# Max size of buffer in bytes used when reading responses
# Defaults to 64k
# changed to 512k
httpsampler.max_buffer_size=524288

# Maximum size of HTML page that can be displayed; default=10 mbytes
# Set to 0 to disable the size check and display the whole response
view.results.tree.max_size=0

# Maximum size of Document that can be parsed by Tika engine; defaut=10 * 1024 * 1024 (10MB)
# Set to 0 to disable the size check
document.max_size=0

user.properties

added:
view.results.tree.max_size=0  


Any idea/suggestion?
Thanks,Alex
pmd
Reply | Threaded
Open this post in threaded view
|

Re: JMeter doesn't record a large request

pmd
Hello Alexander,
Is the website you're trying to record available online ?

Can you try making 3 thread dumps with 3s interval when you think it stops
working ?

Thanks

On Thursday, July 27, 2017, Alexander Podelko <[hidden email]>
wrote:

> Hi,
> JMeter 3.2 doesn't record a large request (returning about 12M). To be
> more exact, the product stops working when recording that large request.
> The request gets recorded fine for a smaller amount of data, so it looks
> like the issue directly related to the size of data returned. Don't see any
> errors anywhere - the list just not get rendered.
>
> I am using built in JMeter Recording Controller (Recording Template).
> Response time for that transaction about 2 seconds. Here are a few things I
> tried (as suggested in other places) - unfortunately none helped:
>
> jmeter.bat
>
> rem See the unix startup file for the rationale of the following
> parameters,
> rem including some tuning recommendations
> set HEAP=-Xms1280m -Xmx1280m
>
> jmeter.properties
>
> # Max size of buffer in bytes used when reading responses
> # Defaults to 64k
> # changed to 512k
> httpsampler.max_buffer_size=524288
>
> # Maximum size of HTML page that can be displayed; default=10 mbytes
> # Set to 0 to disable the size check and display the whole response
> view.results.tree.max_size=0
>
> # Maximum size of Document that can be parsed by Tika engine; defaut=10 *
> 1024 * 1024 (10MB)
> # Set to 0 to disable the size check
> document.max_size=0
>
> user.properties
>
> added:
> view.results.tree.max_size=0
>
>
> Any idea/suggestion?
> Thanks,Alex



--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: JMeter doesn't record a large request

Alexander Podelko
Hi Philippe,
No, it is an internal app not available outside.
Actually nothing stops working per se - JMeter looks working, the app still working outside of that pane. But instead of a list of items in that pane it says "loading" forever - so I can't do whatever I need to do with it.
I can do whatever is needed if instructed how to do it. 
Thanks,Alex 

On Thursday, July 27, 2017, 4:04:03 PM EDT, Philippe Mouawad <[hidden email]> wrote:

Hello Alexander,
Is the website you're trying to record available online ?

Can you try making 3 thread dumps with 3s interval when you think it stops
working ?

Thanks

On Thursday, July 27, 2017, Alexander Podelko <[hidden email]>
wrote:

> Hi,
> JMeter 3.2 doesn't record a large request (returning about 12M). To be
> more exact, the product stops working when recording that large request.
> The request gets recorded fine for a smaller amount of data, so it looks
> like the issue directly related to the size of data returned. Don't see any
> errors anywhere - the list just not get rendered.
>
> I am using built in JMeter Recording Controller (Recording Template).
> Response time for that transaction about 2 seconds. Here are a few things I
> tried (as suggested in other places) - unfortunately none helped:
>
> jmeter.bat
>
> rem See the unix startup file for the rationale of the following
> parameters,
> rem including some tuning recommendations
> set HEAP=-Xms1280m -Xmx1280m
>
> jmeter.properties
>
> # Max size of buffer in bytes used when reading responses
> # Defaults to 64k
> # changed to 512k
> httpsampler.max_buffer_size=524288
>
> # Maximum size of HTML page that can be displayed; default=10 mbytes
> # Set to 0 to disable the size check and display the whole response
> view.results.tree.max_size=0
>
> # Maximum size of Document that can be parsed by Tika engine; defaut=10 *
> 1024 * 1024 (10MB)
> # Set to 0 to disable the size check
> document.max_size=0
>
> user.properties
>
> added:
> view.results.tree.max_size=0
>
>
> Any idea/suggestion?
> Thanks,Alex



--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: JMeter doesn't record a large request

support@ubikloadpack.com
2 options:
Using jdk , find the pid of jmeter and run 3 times:
jdk_home\bin\jstack -l <pid> >> td.log

Otherwise from within JMeter, run 3 times:
Menu Help > Create a Thread Dump

In both case send jmeter.log and td.log in first case.
Regards


On Thu, Jul 27, 2017 at 10:18 PM, Alexander Podelko <
[hidden email]> wrote:

> Hi Philippe,
> No, it is an internal app not available outside.
> Actually nothing stops working per se - JMeter looks working, the app
> still working outside of that pane. But instead of a list of items in that
> pane it says "loading" forever - so I can't do whatever I need to do with
> it.
> I can do whatever is needed if instructed how to do it.
> Thanks,Alex
>
> On Thursday, July 27, 2017, 4:04:03 PM EDT, Philippe Mouawad <
> [hidden email]> wrote:
>
> Hello Alexander,
> Is the website you're trying to record available online ?
>
> Can you try making 3 thread dumps with 3s interval when you think it stops
> working ?
>
> Thanks
>
> On Thursday, July 27, 2017, Alexander Podelko <[hidden email]>
> wrote:
>
> > Hi,
> > JMeter 3.2 doesn't record a large request (returning about 12M). To be
> > more exact, the product stops working when recording that large request.
> > The request gets recorded fine for a smaller amount of data, so it looks
> > like the issue directly related to the size of data returned. Don't see
> any
> > errors anywhere - the list just not get rendered.
> >
> > I am using built in JMeter Recording Controller (Recording Template).
> > Response time for that transaction about 2 seconds. Here are a few
> things I
> > tried (as suggested in other places) - unfortunately none helped:
> >
> > jmeter.bat
> >
> > rem See the unix startup file for the rationale of the following
> > parameters,
> > rem including some tuning recommendations
> > set HEAP=-Xms1280m -Xmx1280m
> >
> > jmeter.properties
> >
> > # Max size of buffer in bytes used when reading responses
> > # Defaults to 64k
> > # changed to 512k
> > httpsampler.max_buffer_size=524288
> >
> > # Maximum size of HTML page that can be displayed; default=10 mbytes
> > # Set to 0 to disable the size check and display the whole response
> > view.results.tree.max_size=0
> >
> > # Maximum size of Document that can be parsed by Tika engine; defaut=10 *
> > 1024 * 1024 (10MB)
> > # Set to 0 to disable the size check
> > document.max_size=0
> >
> > user.properties
> >
> > added:
> > view.results.tree.max_size=0
> >
> >
> > Any idea/suggestion?
> > Thanks,Alex
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



--

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
Reply | Threaded
Open this post in threaded view
|

Re: JMeter doesn't record a large request

support@ubikloadpack.com
In reply to this post by Alexander Podelko
Hello Alexander,
Can you add to your browser (Firefox is the easier to configure) the cert
file for JMeter Authorithy , it's located in jmeter/bin folder.

And try again ?
I just want to be sure it's not some https request failing due to that as
for now I don't have enough details ?
See :
http://jmeter.apache.org/usermanual/component_reference.html#HTTP(S)_Test_Script_Recorder
Installing the JMeter CA certificate for HTTPS recording


Regards

On Thu, Jul 27, 2017 at 10:18 PM, Alexander Podelko <
[hidden email]> wrote:

> Hi Philippe,
> No, it is an internal app not available outside.
> Actually nothing stops working per se - JMeter looks working, the app
> still working outside of that pane. But instead of a list of items in that
> pane it says "loading" forever - so I can't do whatever I need to do with
> it.
> I can do whatever is needed if instructed how to do it.
> Thanks,Alex
>
> On Thursday, July 27, 2017, 4:04:03 PM EDT, Philippe Mouawad <
> [hidden email]> wrote:
>
> Hello Alexander,
> Is the website you're trying to record available online ?
>
> Can you try making 3 thread dumps with 3s interval when you think it stops
> working ?
>
> Thanks
>
> On Thursday, July 27, 2017, Alexander Podelko <[hidden email]>
> wrote:
>
> > Hi,
> > JMeter 3.2 doesn't record a large request (returning about 12M). To be
> > more exact, the product stops working when recording that large request.
> > The request gets recorded fine for a smaller amount of data, so it looks
> > like the issue directly related to the size of data returned. Don't see
> any
> > errors anywhere - the list just not get rendered.
> >
> > I am using built in JMeter Recording Controller (Recording Template).
> > Response time for that transaction about 2 seconds. Here are a few
> things I
> > tried (as suggested in other places) - unfortunately none helped:
> >
> > jmeter.bat
> >
> > rem See the unix startup file for the rationale of the following
> > parameters,
> > rem including some tuning recommendations
> > set HEAP=-Xms1280m -Xmx1280m
> >
> > jmeter.properties
> >
> > # Max size of buffer in bytes used when reading responses
> > # Defaults to 64k
> > # changed to 512k
> > httpsampler.max_buffer_size=524288
> >
> > # Maximum size of HTML page that can be displayed; default=10 mbytes
> > # Set to 0 to disable the size check and display the whole response
> > view.results.tree.max_size=0
> >
> > # Maximum size of Document that can be parsed by Tika engine; defaut=10 *
> > 1024 * 1024 (10MB)
> > # Set to 0 to disable the size check
> > document.max_size=0
> >
> > user.properties
> >
> > added:
> > view.results.tree.max_size=0
> >
> >
> > Any idea/suggestion?
> > Thanks,Alex
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



--

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
Reply | Threaded
Open this post in threaded view
|

Re: JMeter doesn't record a large request

support@ubikloadpack.com
In reply to this post by Alexander Podelko
Hello Alexander,
I don't see anything specific that would explain the failure.
The request is pretty regular.
The response is chunked and big but this I tested chunked encoding and it
works fine.

1/ Did you try setting in Recorder implementation to Java instead of
HTTPClient 4 just to see if response differs ?

2/ Could you record it again but before uncomment in log4j2.xml and if
possible only record this one in JMeter. If not possible indicate the full
URL of failing request
 <Logger name="org.apache.http" level="debug" />

Then send , jmeter.Log and test plan.

Thanks


On Thu, Jul 27, 2017 at 10:18 PM, Alexander Podelko <
[hidden email]> wrote:

> Hi Philippe,
> No, it is an internal app not available outside.
> Actually nothing stops working per se - JMeter looks working, the app
> still working outside of that pane. But instead of a list of items in that
> pane it says "loading" forever - so I can't do whatever I need to do with
> it.
> I can do whatever is needed if instructed how to do it.
> Thanks,Alex
>
> On Thursday, July 27, 2017, 4:04:03 PM EDT, Philippe Mouawad <
> [hidden email]> wrote:
>
> Hello Alexander,
> Is the website you're trying to record available online ?
>
> Can you try making 3 thread dumps with 3s interval when you think it stops
> working ?
>
> Thanks
>
> On Thursday, July 27, 2017, Alexander Podelko <[hidden email]>
> wrote:
>
> > Hi,
> > JMeter 3.2 doesn't record a large request (returning about 12M). To be
> > more exact, the product stops working when recording that large request.
> > The request gets recorded fine for a smaller amount of data, so it looks
> > like the issue directly related to the size of data returned. Don't see
> any
> > errors anywhere - the list just not get rendered.
> >
> > I am using built in JMeter Recording Controller (Recording Template).
> > Response time for that transaction about 2 seconds. Here are a few
> things I
> > tried (as suggested in other places) - unfortunately none helped:
> >
> > jmeter.bat
> >
> > rem See the unix startup file for the rationale of the following
> > parameters,
> > rem including some tuning recommendations
> > set HEAP=-Xms1280m -Xmx1280m
> >
> > jmeter.properties
> >
> > # Max size of buffer in bytes used when reading responses
> > # Defaults to 64k
> > # changed to 512k
> > httpsampler.max_buffer_size=524288
> >
> > # Maximum size of HTML page that can be displayed; default=10 mbytes
> > # Set to 0 to disable the size check and display the whole response
> > view.results.tree.max_size=0
> >
> > # Maximum size of Document that can be parsed by Tika engine; defaut=10 *
> > 1024 * 1024 (10MB)
> > # Set to 0 to disable the size check
> > document.max_size=0
> >
> > user.properties
> >
> > added:
> > view.results.tree.max_size=0
> >
> >
> > Any idea/suggestion?
> > Thanks,Alex
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



--

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
Reply | Threaded
Open this post in threaded view
|

Re: JMeter doesn't record a large request

Alexander Podelko
Hi,
I created:Bug 61395 - Large server response got blocked during recording  

and uploaded the JMeter log with debug output there.
Thanks,Alex

On Friday, July 28, 2017, 4:20:26 PM EDT, UBIK LOAD PACK Support <[hidden email]> wrote:

Hello Alexander,
I don't see anything specific that would explain the failure.
The request is pretty regular.
The response is chunked and big but this I tested chunked encoding and it
works fine.

1/ Did you try setting in Recorder implementation to Java instead of
HTTPClient 4 just to see if response differs ?

2/ Could you record it again but before uncomment in log4j2.xml and if
possible only record this one in JMeter. If not possible indicate the full
URL of failing request
 <Logger name="org.apache.http" level="debug" />

Then send , jmeter.Log and test plan.

Thanks


On Thu, Jul 27, 2017 at 10:18 PM, Alexander Podelko <
[hidden email]> wrote:

> Hi Philippe,
> No, it is an internal app not available outside.
> Actually nothing stops working per se - JMeter looks working, the app
> still working outside of that pane. But instead of a list of items in that
> pane it says "loading" forever - so I can't do whatever I need to do with
> it.
> I can do whatever is needed if instructed how to do it.
> Thanks,Alex
>
> On Thursday, July 27, 2017, 4:04:03 PM EDT, Philippe Mouawad <
> [hidden email]> wrote:
>
> Hello Alexander,
> Is the website you're trying to record available online ?
>
> Can you try making 3 thread dumps with 3s interval when you think it stops
> working ?
>
> Thanks
>
> On Thursday, July 27, 2017, Alexander Podelko <[hidden email]>
> wrote:
>
> > Hi,
> > JMeter 3.2 doesn't record a large request (returning about 12M). To be
> > more exact, the product stops working when recording that large request.
> > The request gets recorded fine for a smaller amount of data, so it looks
> > like the issue directly related to the size of data returned. Don't see
> any
> > errors anywhere - the list just not get rendered.
> >
> > I am using built in JMeter Recording Controller (Recording Template).
> > Response time for that transaction about 2 seconds. Here are a few
> things I
> > tried (as suggested in other places) - unfortunately none helped:
> >
> > jmeter.bat
> >
> > rem See the unix startup file for the rationale of the following
> > parameters,
> > rem including some tuning recommendations
> > set HEAP=-Xms1280m -Xmx1280m
> >
> > jmeter.properties
> >
> > # Max size of buffer in bytes used when reading responses
> > # Defaults to 64k
> > # changed to 512k
> > httpsampler.max_buffer_size=524288
> >
> > # Maximum size of HTML page that can be displayed; default=10 mbytes
> > # Set to 0 to disable the size check and display the whole response
> > view.results.tree.max_size=0
> >
> > # Maximum size of Document that can be parsed by Tika engine; defaut=10 *
> > 1024 * 1024 (10MB)
> > # Set to 0 to disable the size check
> > document.max_size=0
> >
> > user.properties
> >
> > added:
> > view.results.tree.max_size=0
> >
> >
> > Any idea/suggestion?
> > Thanks,Alex
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



--

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>