Thx Sebb & Thomas. I got all your points. -----Original Message----- From: sebb [mailto:seb...@gmail.com] Sent: Thursday, February 26, 2009 6:47 PM To: JMeter Users List Subject: Re: asserting PDF responses?
Or you can use "Save Responses to a file" for each of the PDF downloads and check the files later using a PDF reader. PDF files are also likely to be bigger than HTML files, so you may be able to use a size assertion. On 26/02/2009, Thomas Johnson <ntmat...@gmail.com> wrote: > The aforementioned solution involves using an HTTP sampler to retrieve > the PDF file, checking the response to ensure that it starts with a > standard PDF header, "%PDF-1.4" or something similar. > > If the response doesn't start with a PDF header, then there has likely > been an error, and you have not been given a PDF file. > > > On Thu, Feb 26, 2009 at 12:26 PM, Manjula Priyantha > <manjula.priyan...@ebuilder.lk> wrote: > > Hi, > > > > I have the same requirement of asserting PDF response. Can someone pls. help > > on this with an example (I didn't get the following solution)? > > > > BR, > > Manjula > > > > -----Original Message----- > > From: Kapil Khanna Avolent [mailto:kkha...@avolent.com] > > Sent: Thursday, April 24, 2008 1:40 AM > > To: JMeter Users List > > Subject: RE: asserting PDF responses? > > > > You can use the following Pattern to Test using Response Assertion for > > pdf docs > > > > %PDF-1.4 > > > > -----Original Message----- > > From: david.bro...@sybase.com [mailto:david.bro...@sybase.com] > > Sent: Wednesday, April 23, 2008 12:12 PM > > To: jmeter-user@jakarta.apache.org > > Subject: asserting PDF responses? > > > > > > Hello, does anyone have a suggestion on how to assert a valid response > > when the response is not text or xml, but instead the content type used > > for iText generated PDF documents, "application/pdf"? Thank you in > > advance. > > > > David Brooks > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > -------------------------------------------------------- > > |This e-mail was scanned for viruses, spam and malware.| > > -------------------------------------------------------- > > > > -------------------------------------------------------- > > |This e-mail was scanned for viruses, spam and malware.| > > -------------------------------------------------------- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -------------------------------------------------------- |This e-mail was scanned for viruses, spam and malware.| -------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org