jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christensen, Alan" <alan.christen...@hp.com>
Subject RE: This page is too large to be displayed
Date Thu, 09 Aug 2007 13:51:25 GMT
Is the html file checked for the response assertion if it is too big? Or
can you only do a size assertion to see if you have reached the correct
page?

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, August 09, 2007 4:12 AM
To: JMeter Users List
Subject: Re: This page is too large to be displayed

Or you can use:

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

and look at the file in a browser.

On 07/08/07, chris <hillybilly@gmx.at> wrote:
> hi, i just looked at the code (jmeter release 2.2 AND 2.3) and found 
> out that this value is NOT configurable. you're right, 200 kb is limit

> for showing the response in the "results tree". so you would have to 
> patch the regarding file and build jmeter
>
> see
> /src/components/org/apache/jmeter/visualizers/ViewResultsFullVisualize
> r.java
> @line 474 (line 623 in jmeter 2.3)
>
>    // Showing large strings can be VERY costly, so we will avoid doing

> so if the response
>    // data is larger than 200K. TODO: instead, we could delay doing 
> the result.setText
>    // call until the user chooses the "Response data" tab. Plus we 
> could warn the user
>    // if this happens and revert the choice if he doesn't confirm he's

> ready to wait.
> if (responseBytes.length > 200 * 1024) {
>     response = ("Response too large to be displayed (" + 
> responseBytes.length + " bytes).");
>     log.warn("Response too large to display."); }
>
> you could open a bug in jmeter's bugzilla and propose to set a 
> "max_response_size" as a property.
>
> cheers,
>   chris
>
>
>
> "Christensen, Alan" <alan.christensen@hp.com> schrieb im Newsbeitrag 
>
news:8CD5E35E3589F445A265B95DE325BA5E01EE45EC@G3W0067.americas.hpqcorp.n
et...
>
> I often get the message back "this page is too large to be displayed"
> when trying to view pages using the View Results Tree listener.  Is 
> there a way to configure the maximum size that can be displayed?  Mine

> seems to start giving this message somewhere between 200KB and 300KB.
> I'd like to increase it to 500KB.
>
> When this response occurs it is not possible to view the text of the 
> response to determine why assertions may have failed.  My assumption 
> is that the assertion is still checked against the returned HTML.  Is 
> that correct?
>
> Alan
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


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


Mime
View raw message