String concatenation in Load runner

1,120 views
Skip to first unread message

spandana katangoori

unread,
Jul 22, 2015, 11:50:37 AM7/22/15
to LoadRunner
Hi Guys,

Can any one tell me" How to concatenate two strings in load runner using C code?"I am unable to use Strcat() function.









Regards,
Spandana Reddy

James Pulley

unread,
Jul 22, 2015, 11:52:45 AM7/22/15
to LoadRunner, spanda...@gmail.com

André Luyer

unread,
Jul 23, 2015, 8:55:24 AM7/23/15
to LoadRunner, spanda...@gmail.com
There is a 99.9% change that what you want to achieve can be done more efficiently and saver (no buffer overflow) with the functions lr_param_sprintf or snprintf ( http://www.cplusplus.com/reference/cstdio/snprintf/ ).

André

soubhik chakraborty

unread,
Jul 23, 2015, 8:55:24 AM7/23/15
to LR-Loa...@googlegroups.com
Do you want to concatenate the string without the STRCAT function?? What's the error you are getting while using the function?

From: spandana katangoori
Sent: ‎22-‎07-‎2015 09:20 PM
To: LoadRunner
Subject: [lr-loadrunner] String concatenation in Load runner

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
To post to this group, send email to LR-Loa...@googlegroups.com.
Visit this group at http://groups.google.com/group/LR-LoadRunner.
To view this discussion on the web visit https://groups.google.com/d/msgid/LR-LoadRunner/b27dc238-fb97-4f80-b4dc-171fb716b97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kevyland

unread,
Jul 23, 2015, 11:03:38 AM7/23/15
to LoadRunner, spanda...@gmail.com

Unable to use the builtin function  or can't figure out how to use it?

spandana katangoori

unread,
Jul 24, 2015, 11:59:47 AM7/24/15
to Kevyland, LoadRunner
Thq Andre Luyer and Kevyland for your information.
It really helpful to me.


Regards,
Spandana Reddy.

Reply all
Reply to author
Forward
0 new messages