SQL and LDAP with LR? ...

19 views
Skip to first unread message

Speedmaster

unread,
Jan 9, 2015, 11:27:33 AM1/9/15
to LR-Loa...@googlegroups.com
I'm using LR 12.01. We store user data in LDAP and various DBs.

I realize that there are DB and LDAP protocols to test those things. That's not what I'm trying to do.

What I'm wondering is if there's a decent mechanism to run a query against LDAP or a DB (Oracle, SQL Server, etc.) at the beginning of a LR script (Citrix, Web-http/html, or TC) and retrieve some test data at runtime? Then I can have my VUGen script use those records to login, retrieve records, etc.

Currently I generally run queries outside of LR to get test data, then move it into a CSV inside VUGen.

Is it possible to do it at runtime in a LR script as I describe above? Any tips or words of wisdom on this?

Thanks in advance

Pradhyumna Gupta

unread,
Jan 9, 2015, 3:50:20 PM1/9/15
to LR-Loa...@googlegroups.com

Why not get those login values once and parameterize your script?

I do not understand the need to get these data every time before running a test.

--
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.
For more options, visit https://groups.google.com/d/optout.

soo...@gmail.com

unread,
Jan 10, 2015, 3:51:14 AM1/10/15
to LR-Loa...@googlegroups.com
Use VTS
Sent from BlackBerry® on Airtel

From: Pradhyumna Gupta <pradhyum...@gmail.com>
Date: Fri, 9 Jan 2015 17:13:13 +0000
Subject: Re: [lr-loadrunner] SQL and LDAP with LR? ...

yathish kumar

unread,
Jan 11, 2015, 10:02:30 AM1/11/15
to LR-Loa...@googlegroups.com

Yes it is possible to retrieve data from dB.. Please specify DB details n dB configuration details..

Thanks,
Yathish

--
Reply all
Reply to author
Forward
0 new messages