How can i capture last value from from web_reg_save_param

651 views
Skip to first unread message

tijop

unread,
Feb 10, 2012, 5:51:23 AM2/10/12
to LoadRunner
Please help me !!!!!
I gave 'ORD=ALL' in the web_Reg_Save_Param.
I want to capture the last value from that dynamic values.. could
any one please tell how can i capture the last value.

jayapr...@gmail.com

unread,
Feb 10, 2012, 8:56:34 AM2/10/12
to lr-loa...@googlegroups.com
Hi,

The number of values captured would be available in {Paramname_count}. You can use this value, manipulate the format of the parameter to select and get the last value selected.

-JP
Sent from my BlackBerry® smartphone
--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en

Gaurav Mishra

unread,
Feb 10, 2012, 8:54:05 AM2/10/12
to lr-loa...@googlegroups.com
Have ever used ORD=ALL and ran your script with log setting parameter substitution.

Well using this all captured values will come.

one more thing, be curious this is the key to learn new thing. just poping something on public forum will not make you learn it.

Thanks

Puneet Varma

unread,
Feb 10, 2012, 11:20:03 AM2/10/12
to lr-loa...@googlegroups.com
Hi Gaurav

Are you expert in LR, if so what is the best way to learn LR?

Thanks
Puneet


--

James Pulley

unread,
Feb 10, 2012, 11:46:34 AM2/10/12
to LoadRunner
1. Confirm/reaffirm your core foundation skills. The tool really
only amounts to 12-15% of the total skill set you need to be
successful as a performance tester. Make sure your other skills are
solid first. You may serarch the archives here, SQAForums, LinkedIn
or the LoadRunner Yahoo group for what these core skills should be
(including the prized set of reseach skills and the attribute of
curiosity)
2. Attend Training on tools and process. For tools, use vendor
provided materials and a certified instructor. One can argue whether
this material is the best, but it is the most consistently delivered
with the most consistent set of skills upon exiting the course.
3. Enter an internship/mentoring program. Expect this to last from
3-5 projects This is where you will bring together your foundation
skills, your tool skills and your new process skills into a cohesive
whole.
4. Become a mentor. Nothing helps you solidify concepts and
techniques for yourself than to have to explain these items to others.

The above model is lterally as old as becoming a stone mason and as
new as becoming a CISSP. Solid initial conditions upon entering the
process combined with repeatable steps with expected results produces
a well defined output. The inverse is also true, garbage in:
garbage out.

Cody

unread,
Feb 10, 2012, 7:05:51 PM2/10/12
to lr-loa...@googlegroups.com, LoadRunner
To the OP,

Listen to what James and others are saying if you're serious about staying in Performance World. I started out as QTP person myself with project for LR being dumped on me 4 or so years ago. Except for the mentor part I have done everything James pointed out and I LOVE performance testing now. I had to learn but it was and is worth it. Every project is a new learning experience.

Hope this helps.

Sent from my iPad

Archana

unread,
Feb 11, 2012, 5:36:08 AM2/11/12
to LoadRunner
Hi,
I am QTP Tester , now i want to explore loadrunner . I am a
newbie in loadrunner , well versed with basic concepts of loadrunner,
Please
suggest me Blogs or Books on Loadrunner where i can learn
advance concepts. Thanks in advance.

On Feb 11, 5:05 am, Cody <codewarrior00...@gmail.com> wrote:
> To the OP,
>
> Listen to what James and others are saying if you're serious about staying in Performance World.  I started out as QTP person myself with project for LR being dumped on me 4 or so years ago.  Except for the mentor part I have done everything James pointed out and I LOVE performance testing now. I had to learn but it was and is worth it.  Every project is a new learning experience.
>
> Hope this helps.
>
> Sent from my iPad
>
> >http://groups.google.com/group/LR-LoadRunner?hl=en- Hide quoted text -
>
> - Show quoted text -

Gaurav Mishra

unread,
Feb 11, 2012, 12:29:04 PM2/11/12
to lr-loa...@googlegroups.com
Well dear, you won't find any book on LR. best thing is you find a mentor for yourself. do some projects under his guidance. but above all of this most IMP thing that you would need will be curiosity.also keep one thing in mind performance testing is a very big picture . LR is a very small picture.

Good luck !

raj

unread,
Feb 12, 2012, 10:30:16 AM2/12/12
to LoadRunner
If you want to do some quick start, check out my site
http://performancetestingfun.googlepages.com..it should help you to
get started..but as some one mentioned LoadRunner is just small part
of
performance testing, there are so much in performance testing other
than LR

thanks
Raj
http://performancetestingfun.googlepages.com
> > >http://groups.google.com/group/LR-LoadRunner?hl=en-Hide quoted text -

Suresh Babu

unread,
Feb 13, 2012, 8:37:28 AM2/13/12
to lr-loa...@googlegroups.com

Kiran Kumar

unread,
Feb 13, 2012, 1:26:35 PM2/13/12
to lr-loa...@googlegroups.com
HI,

This is an alternative to your problem
Remove ORD = All from Web_reg_Save_param
So what it will do is
It re place  previous matching to LB and RB with new value, So last value of the same LB & RB is captured as Dynamic value.
Try out this....

Thanks,
KK

Vivek

unread,
Feb 13, 2012, 4:17:34 PM2/13/12
to lr-loa...@googlegroups.com
Removing ORD will let you capture first occurrence of target string.

Archana

unread,
Feb 14, 2012, 2:36:55 AM2/14/12
to lr-loa...@googlegroups.com
Thanks for your valuable inputs. @Gaurav , Raj.
Just one query , can the recorded script of vugen manipulated ,like
we do in QTP using VB Script and Descriptive Programming ?
if yes , then please give more information about it .

Gaurav Mishra

unread,
Feb 14, 2012, 7:45:13 AM2/14/12
to lr-loa...@googlegroups.com
Archana,

More details, what is the meaning of manipulation over here ???

I havn't worked on QTP much so i am not femliar with this term.


Prasenjit Dutta

unread,
Feb 14, 2012, 1:41:20 PM2/14/12
to lr-loa...@googlegroups.com
u can write ur custom codes in vugen......even without vugen u can write the scripts in vb/c without recording if u r enough capable....but what do u mean by manipulation.....if something is right u'll manipulate it to wrong??? is that ur intention???
Prasenjit

Archana

unread,
Feb 15, 2012, 3:00:12 AM2/15/12
to lr-loa...@googlegroups.com
I guess manipulation is a wrong word ,i am using , i mean customize
the vugen script , after recording , if yes which is the language used
?
I visited motevich blog and there are some videos and scripts related
to loadrunner . Is it necessary to know the scripting to work in real
time performance testing project using loadrunner?.
Thanks in Advance.

James Pulley

unread,
Feb 15, 2012, 7:10:01 AM2/15/12
to LoadRunner
Having Programming skills in the language of your performance testing
tool is only a requirement if you wish to be successful in your
performance testing efforts. This is true for any tool that you will
use as a part of this discipline

Had those skills been in place you would very likely been able to self
solve your question on about 30 minutes

If you are only interested in billing, not on testing, then this skill
is not required

On Feb 15, 12:00 am, Archana <archana.surv...@gmail.com> wrote:
> I guess manipulation is a wrong word ,i am using , i mean customize
> the vugen script , after recording , if yes which is the language used
> ?
> I visited motevich blog and there are some videos  and scripts related
> to loadrunner . Is it necessary to know the scripting to work in real
> time performance testing project using loadrunner?.
>    Thanks in Advance.
>
> On Wed, Feb 15, 2012 at 12:11 AM, Prasenjit Dutta
>
>
>
>
>
>
>
> <prasenjit...@gmail.com> wrote:
> > u can write ur custom codes in vugen......even without vugen u can write the
> > scripts in vb/c without recording if u r enough capable....but what do u
> > mean by manipulation.....if something is right u'll manipulate it to
> > wrong??? is that ur intention???
>
> > On Tue, Feb 14, 2012 at 1:06 PM, Archana <archana.surv...@gmail.com> wrote:
>
> >> Thanks for your valuable inputs. @Gaurav , Raj.
> >> Just one query , can  the recorded script of vugen  manipulated ,like
> >> we do in  QTP  using VB Script and Descriptive Programming ?
> >> if yes , then please give more information about it .
>
> >> On Tue, Feb 14, 2012 at 2:47 AM, Vivek <vivek.lok...@gmail.com> wrote:
> >> > Removing ORD will let you capture first occurrence of target string.
>
> >> > On Mon, Feb 13, 2012 at 11:56 PM, Kiran Kumar <kothamindt...@gmail.com>
> >> > wrote:
>
> >> >> HI,
>
> >> >> This is an alternative to your problem
> >> >> Remove ORD = All from Web_reg_Save_param
> >> >> So what it will do is
> >> >> It re place  previous matching to LB and RB with new value, So last
> >> >> value
> >> >> of the same LB & RB is captured as Dynamic value.
> >> >> Try out this....
>
> >> >> Thanks,
> >> >> KK
>

André Luyer

unread,
Feb 16, 2012, 2:32:18 PM2/16/12
to LoadRunner
lr_save_string(lr_paramarr_idx("paramname",
lr_paramarr_len("paramname")), "lastvalue");

basic knowledge...

André
Reply all
Reply to author
Forward
0 new messages