When you click the button in a browser, the file may be saved to the desktop.

I suggest you check that the same happens in JMeter before trying to
write Java code to check the state of the file.

On 12/11/2007, vittal kumar muvva <[EMAIL PROTECTED]> wrote:
> HI,
> Exactly when click generate button a file will be saved to desktop and it 
> will ask save file option.
> i don't know how to write code in BeanShell Assertion to check a file. Please 
> guide me
>
> Thanks
>
>
>
> > Date: Sat, 10 Nov 2007 10:55:50 +0000
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> > Subject: Re: File Assertions
> >
> > JMeter can check the contents of responses using assertions, but there
> > is no built-in way to check files.
> >
> > You could code your own BeanShell Assertion to check a file.
> >
> > However, I don't see how the file can get to the desktop using the
> > current version of JMeter - unless you mean you are using Save
> > Response to a file?
> >
> > Anyway, the contents of the file would have to be in the web-page
> > response so you can check that.
> >
> > On 10/11/2007, vittal kumar muvva <[EMAIL PROTECTED]> wrote:
> > > hi,
> > >
> > > When i click button on web page then a file will be generated and to 
> > > desktop.
> > > Now by using jmeter how can i keep an assertion that the file was success 
> > > fully generated or not.
> > > If any one knows the to solve this problem help me.
> > >
> > > Thanks.
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Search from any Web page with powerful protection. Get the FREE Windows 
> > > Live Toolbar Today!
> > > http://toolbar.live.com/?mkt=en-in
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Check out some new online services at Windows Live Ideas—so new they haven't 
> even been officially released yet.
> http://www.msnspecials.in/windowslive/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to