Yes, indeed point 1 actually doesnt make sense too much :) Using save response to file does the trick.
Thanks Shmuel Krakower. Beatsoo.org - re-use your jmeter scripts for application performance monitoring from worldwide locations for free. On Thu, Nov 1, 2012 at 7:22 PM, sebb <[email protected]> wrote: > On 28 October 2012 07:41, Shmuel Krakower <[email protected]> wrote: > > Hi Deepak, all, > > I've tried you suggestion with "Save Response to File" listener and > results > > are saved successfully. > > I've debugged this and found that basically each response has a dataType > > field which is either "bin" or "text" and it's determined by the content > > type header. > > > > There are actually two problems/bugs with this: > > 1. The view results tree listener assumes that if the dataType is "bin" > > than we have a picture and it tries to render it (while the isBinaryType > > method may put other contents into this category, like audio and video). > In > > my case it tries to render a "video/f4f" as an image and fails. > > 2. The isBinaryType method is mistaken when setting a content type of > > "video/f4m" into the category of binary, while this file is in XML > format. > > > > Regarding 2 - I will open a bugzilla. > > Done: https://issues.apache.org/bugzilla/process_bug.cgi > > > Regarding 1 - I am unsure if I should open a bugzilla on this or not, as > my > > expectation from the view results tree listener is that it will show the > > response data, even if it is a binary content. > > JMeter is not a browser, and cannot be expected to display all > possible binary file types. > Even browsers struggle with some binary file types. > > > What are your opinions on this? > > > > Best. > > Shmuel Krakower. > > Beatsoo.org - re-use your jmeter scripts for application performance > > monitoring from worldwide locations for free. > > > > > > > > On Thu, Oct 25, 2012 at 7:46 PM, Deepak Shetty <[email protected]> > wrote: > > > >> I use a Save Responses to a file listener with a variable file name > prefix > >> scoped to the sampler returning the binary data > >> A viewer needs to be specific to the binary format (unless you are Neo > :) > >> and can read bytes) and you cant store arbitrary binary data into an XML > >> file (JTL) > >> Listeners and Jmeter do have a setting to save responses to the JTL file > >> (but with the caveat above - you wont be able to parse the XML in rare > >> situations) > >> > >> regards > >> deepak > >> > >> On Thu, Oct 25, 2012 at 7:53 AM, Shmuel Krakower <[email protected]> > >> wrote: > >> > >> > Hi All, > >> > I have a case where I get HTTP response in binary format. > >> > The problem is that I cannot see the binary response in the view > results > >> > tree nor the jtl file. > >> > > >> > Is this supported? > >> > > >> > Best, > >> > Shmuel Krakower. > >> > > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
