meter:Response too large to be displayed. Size: 4

12 篇文章 0 订阅
12 篇文章 0 订阅
问题:
jmeter下载文件的时候响应数据无法显示:
Response too large to be displayed. Size: 26214400 > Max: 204800, Start of message
原因:"If the response data is larger than 200K, then it won't be displayed.
To change this limit, set the jmeter.property
view.results.tree.max_size "   默认值为200*1024B
解决办法:
修改jmeter.property的view.results.tree.max_size参数值
结果:
view.results.tree.max_size设置太大会导致jmeter响应慢,标签间切换非常慢。可以不修改该参数,通过查看服务后台来查看请求结果是否正确。

 
[ prev in list ] [ next in list ] [ prev in thread ] [next in thread]

List:       jmeter-user
Subject:    Re: Query | Help needed in Regular Expression
From:       sebb <sebbaz () gmail ! com>
Date:       2008-09-18 15:42:09
Message-ID: 25aac9fc0809180842y850c7c0p81be19e54570b138 () mail ! gmail ! com

[ Download message RAW ]

On 18/09/2008, Mohamed Niyas <niyas.mohd@gmail.com> wrote:
> Hi Sebb,
>
  Due to our stage build instability the samplers landed to error page.
  I confirmed this by checking other scripts which was working well with the
  RE attached with it.
  When i ran those scripts, that RE samplers didnot get the exact values which
  it retreives properly before.
>
  So i wait for sometime for the latest build, & checked with the RE. It
  worked well. The other point which i shown in the Jmeter log does not having
  any issue even though it is shown as "Response data too Large".    All the

This is because of the potential problems when displaying large amounts of data.

See:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree

where it says:

"If the response data is larger than 200K, then it won't be displayed.
To change this limit, set the JMeter property
view.results.tree.max_size  "

You can also save the response to a file using:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Save_Responses_to_a_file

  latest scripts which includes RE extract the right data with this warning
  too. This is all for your information.
>
  I didnt check the debug sampler + Tree listener yet. Will check it tomorrow.
>
>
  Thanks a lot for your quick response.
>
>
> Regards
>
> Mohamed Niyas M
>
>
  On Thu, Sep 18, 2008 at 5:51 PM, sebb <sebbaz@gmail.com> wrote:
>
  > On 18/09/2008, Mohamed Niyas <niyas.mohd@gmail.com> wrote:
  > > Hi Sebb,
  > >
  > >    I have recreated the script again & it worked well with the same RE.
  > Thanks
  > >    a lot.
  >
  > So what was the problem?
  > Was there a typo in the original script?
  >
  > >    As you said in previous mail to add the Debug sampler with the tree
  > >    listener. I tried this.
  > >    I have added a DEBUG post processor succeeded with the tree listener,
  > But
  > >    the regular expression values
  > >    i am not seeing that.
  > >
  > >    Thread Group
  > >     sampler - 1
  > >     sampler - 2
  > >         RE - 1
  > >         debug sampler
  > >         Tree Listener
  >
  > Thread Group
  > + sampler - 1
  > + sampler - 2
  > + +     RE - 1
  > + debug sampler
  > + + Tree Listener    OR
  > + Tree Listener
  >
  > >    By this set up, will i be able to see the extracted values in the
  > listeners?
  >
  > Yes, check the response data pane - the debug sampler returns the
  > information as response data.
  >
  > >    Or Did i miss something here to fulfill my request?
  > >
  > >    Regards
  > >
  > > Mohamed Niyas M
  > >
  > >
  > >
  > >
  > >
  > >
  > >    On Thu, Sep 18, 2008 at 9:12 AM, Mohamed Niyas <niyas.mohd@gmail.com>
  > wrote:
  > >
  > >      Hi sebb,
  > >    >
  > >    > I have tried the RE which you suggested. It is still returned -1 which
  > is a
  > >    > default value i set in RE.
  > >    > But the Jmeter log says the sampler data which i am using this RE
  > >    > says "Response too large to be displayed. Size: 412152 > Max: 204800 "
  > >    >
  > >    > Below the JMeter log contents.
  > >    >
  > >    > 2008/09/18 09:02:22 WARN -
  > jmeter.visualizers.ViewResultsFullVisualize r:
  > >    > Response too large to be displayed. Size: 412152 > Max: 204800
  > >    > 2008/09/18 09:02:33 WARN -
  > jmeter.visualizers.ViewResultsFullVisualize r:
  > >    > Response too large to be displayed. Size: 412152 > Max: 204800
  > >    > 2008/09/18 09:02:47 WARN -
  > jmeter.visualizers.ViewResultsFullVisualize r:
  > >    > Response too large to be displayed. Size: 412152 > Max: 204800
  > >    >
  > >    > *Note:* Thanks a lot for your quick response. I checked the RE in ORO
  > >    > link, it is working fine. I am able to extract the right values which
  > i want
  > >    > to extract. but the same it not working in the test plan samplers.
  > >    >
  > >    > Please suggest me if i can increase the size of response page. Any
  > >    > thoughts/suggestions are welcome.
  > >    >
  > >    > Regards
  > >    > Mohamed Niyas M
  > >       On Wed, Sep 17, 2008 at 4:57 PM, sebb <sebbaz@gmail.com> wrote:
  > >    >
  > >    >> On 17/09/2008, Mohamed Niyas <niyas.mohd@gmail.com> wrote:
  > >    >> > hello team,
  > >    >> >
  > >    >> >    I just wanted your help to resolve the issues with the regular
  > >    >> expression.
  > >    >> >
  > >    >> >    In my web request one of the web request response page contains
  > the
  > >    >> >    following data.
  > >    >> >
  > >    >> >    <li><a
  > >    >> href="hotelDetails.form?octopusPropertyCode=T04185&cityId=3117735"
  > >    >> >    title="HIGH TECH AVENIDA - Rank - 1 ">
  > >    >> >    <li><a
  > href="hotelDetails.form?octopusPropertyCode=TRA1&cityId=3117735"
  > >    >> >    title="TRAVELODGE TORRELAGUNA - Rank - 2 ">
  > >    >> >
  > >    >> >    I wanted to extract
  > >    >> >
  > >    >> >    1) octopusPropertyCode="*T04185*"
  > >    >> >    2) cityId="*3117735*"
  > >    >> >
  > >    >> >    I have given the following pattern for Property Code
  > >    >> >
  > >    >> >    *Regular Expression:*
  > >    >> href="hotelDetails.form?octopusPropertyCode=(.*?)&
  > >    >>
  > >    >> That should be: href="hotelDetails.form\?octopusPropertyCode=(.*?)&
  > >    >>
  > >    >> because form? means "for" optionally followed by "m".
  > >    >>
  > >    >> >    *Template :* $1$
  > >    >> >    *match No:* 1
  > >    >> >    *Default value :* -1
  > >    >> >
  > >    >> >    For city ID
  > >    >> >
  > >    >> >    *Regular Expression:*
  > >    >> href="hotelDetails.form?octopusPropertyCode=(.*?)"
  > >    >> >    I thought it must have the extracted value as "*
  > >    >> >    octopusPropertyCode=T04185&cityId=3117735*" if so, how can i split
  > city
  > >    >> id
  > >    >> >    from this,
  > >    >> >    provided if the regular expression is working correct.
  > >    >> >
  > >    >> >    But it returned the default value only (-1). Do i need to escape
  > the
  > >    >> "?"
  > >    >> >    character? if so, how?
  > >    >>
  > >    >> See above.
  > >    >>
  > >    >> >    can anybody    please help me to extract the property code & city id
  > from
  > >    >> this
  > >    >> >    expression?
  > >    >>
  > >    >> href="hotelDetails.form\?octopusPropertyCode=(.*?)&cityId=(\d+)
  > >    >>
  > >    >> property code will be in $1$ and cityId in $2$
  > >    >>
  > >    >> >    Sometimes back i have seen a mail to print the extracted code in
  > the
  > >    >> title
  > >    >> >    bar?
  > >    >>
  > >    >> What title bar? Do you mean the Name of a sampler?
  > >    >> If so, just use ${variable} in the name.
  > >    >>
  > >    >> >    can any one please tell me how to see the extracted values from
  > the web
  > >    >> >    request?
  > >    >>
  > >    >> Or use the Debug Sampler together with Tree View Listener.
  > >    >>
  > >    >> >
  > >    >> >    Awaiting to hear from you team
  > >    >> >
  > >    >> >    Thanks in advance
  > >    >> >
  > >    >> > Mohamed Niyas M
  > >    >> >
  > >    >>
  > >    >> ---------------------------------------------------------------------
  > >    >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
  > >    >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
  > >    >>
  > >    >>
  > >    >
  > >    >
  > >    > --
  > >    > Regards, Mohamed Niyas M Mobile: 98804 59080 niyas.mohd@gmail.com
  > >    > to_niyas@yahoo.co.in
  > >    >
  > >
  > >
  > >
  > >    --
  > >    Regards, Mohamed Niyas M Mobile: 98804 59080 niyas.mohd@gmail.com
  > >    to_niyas@yahoo.co.in
  > >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
  >
  >
>
>
  --
  Regards, Mohamed Niyas M Mobile: 98804 59080 niyas.mohd@gmail.com
  to_niyas@yahoo.co.in
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值