Hi Shmuel, Thanks for your reply.
Can you please tell me If I want to generate a timestamp value, which one should I use? A BSF Sampler or a BSF Preprocessor? (As this value is generated only once but used multiple times in one thread group) How exactly are these (BSF Sampler and BSF Preprocessor) interpreted? If I use a variable, say, 'samlper_var_1', in first Thread group. Then in the second thread group if I use another (different) variable with same name; Will this be a problem during load test? Regards, Namrata ________________________________________ From: Shmuel Krakower [[email protected]] Sent: Monday, April 08, 2013 4:47 PM To: JMeter Users List Subject: Re: difference between BSF Sampler and BSF Preprocessor Hi The main diff is that a sampler will generate a result which will show up in your results jtl file while preprocessor will run before a specific sampler (and if I am not wrong, its execution time will be added to the elapsed time of it's parent sampler). Regarding the second question I think it means that the script will be parsed with every iteration so you may use stuff like ${var name} On Apr 8, 2013 12:09 PM, <[email protected]> wrote: > Hi, > > Can you please tell me what is the difference between BSF Sampler and BSF > Preprocessor? > If I want to generate a timestamp value, which one should I use? > > In User manuel I saw a statement under 'BSF Sampler' that: > "Unlike the BeanShell sampler, the interpreter is not saved between > invocations." > What does it mean? > > ________________________________________________________________ > Regards, > Namrata > > Namrata M Kadampur > Project Engineer > -------------------------------- > Wipro Technologies > Mob: +91-9986260698 > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
