I've used BLAT in the past and I wrote a quick article on my site
explaining how to do this using a LoadRunner system command.
I tested it this morning and I've uploaded the BLAT code and a sample
script.
http://www.bish.co.uk/index.php?option=com_content&view=article&id=107:using-loadrunner-to-send-an-email&catid=34:recent&Itemid=1
Because BLAT sends an email based on the contents of the file, you
could use another script to write the contents of the file for you as
well.
These three lines are all you need in your LoadRunner script......
On Aug 16, 6:10 pm, Vamsi <
vamsi...@gmail.com> wrote:
> I had written a sample code to send emails using Loadrunner and blat
> in the following link.
>
>
http://performancetestinginfo.blogspot.com/2010/03/sending-emails-usi...
>
> Regards
> Vamsi
>
> On Aug 15, 5:59 am, "James Pulley" <
loadrunner-li...@jamespulley.com>
> wrote:
>
>
>
> > When in doubt I always run to the standards, or in this case the RFCs for
> > SMTP. If a command line version exists which can be exercised via a
> > system() call, then all the better!
>
> > From:
lr-loa...@googlegroups.com [mailto:
lr-loa...@googlegroups.com]
> > On Behalf Of Krishnakanth PPS
> > Sent: Saturday, August 14, 2010 4:01 PM
> > To:
lr-loa...@googlegroups.com
> > Subject: Re: SendEmailfrom Script
>
> > does he really need winsock.
>
> > Just put a system command which wud trigger a command lineemailwhich would
> > use a SMTP tool like the one below.
>
> >
http://www.beyondlogic.org/solutions/cmdlinemail/cmdlinemail.htm
>
> > should it not be that simple. havent tried. but dont u think it shud work..
> > wud update once i try.
>
> > On Sun, Aug 15, 2010 at 1:10 AM, James Pulley
>
> > <
loadrunner-li...@jamespulley.com> wrote:
>
> > Add Winsock to your script type and then use the SMTP standard to generate a
> > message and send itthrough
>
> > through a local SMTP relay. Or, build a DLL which can
> > send an SMTP message for you, then lr_load_dll() with the exposed function,
> > call this function from your LoadRunner virtual users. On the latter
> > option you will need to make sure your DLL code is thread safe
>
> > James Pulley,
http://www.loadrunnerbythehour.com
>
> > -----Original Message-----
> > From:
lr-loa...@googlegroups.com [mailto:
lr-loa...@googlegroups.com]
>
> > On Behalf Of Ltester
> > Sent: Friday, August 13, 2010 3:34 PM
> > To: LoadRunner
> > Subject: SendEmailfrom Script
>
> > I am trying to know if sending anemailfrom loadrunner script is
> > possible, so lets say we have 4 transactions
> > i want to get anemailafter the user finishes the 2nd transaction, is
> > that possible? if yes, it would be great if you can mention how to go
> > about adding this
>
> > --
> > You received this message because you are subscribed to the Google
> > "LoadRunner" group.
> > To post to this group, sendemailto
LR-Loa...@googlegroups.com
> > To post to this group, sendemailto
LR-Loa...@googlegroups.com
> > To post to this group, sendemailto
LR-Loa...@googlegroups.com
> > To unsubscribe from this group, sendemailto