Sam,
I am not sure if I understand you correctly ,but what you need it ability to run query set it as input parameter for load test ( like for example "userid" or other parameters you need to use in scenario) If this is correct please take a look on Load Runner User Guide section calls "Import Data from existing Databases " what you need to install client version of db type you try to use ( Oracle , DB2, SQL Server ) to have a driver and using ODBC create new Data Source Name user DNS or System DNS make sure that connection setting is correct and you able to access proper db ( test it) . go to your script create new parameter in your script ( paramer.bat) -- you can make this parameter global - not only one script - multiple scripts will able to use same parameter ( depend on you scenario logic and needs) and use Data Wizard to create Query and connect to DB using DNS connection you created and test. if your connection and query valid you will get data you need, which will be part of .dat file and in same time you will able to manipulate this data using all manipulation abilities provided for any build –in parameter in Load Runner
I hope it is help
Ruslan
--
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
Thanks Ruslan, I have entirely missed that section and don't know anything about it or the Data wizard tool you mention. (unless that is what you use in VUGEN to do variable substitution. ) ... it sounds interesting and I will go look for it.
Sam ,
I think this option is useful for you even if you try to create bat file based on SQL and copy it ( bat file in other location - manual work ) and use it later in test - in fact you can have library of this kind of bat files based on version - in case if you need to comeback to old versions. One more point based on Load Runner Parameters functionality you can easily change data format store in you generated bat file. At list it will save your time for test preparation
Thanks,
Ruslan
--
We normally run ramp up tests that range from 30 min, to 1 hour, to
over 4 hours (not frequent), and have anywhere from a few hundred input
rows to around 50k. We try not to repeat some queries to avoid DB caching.
This loading input into memory I will have to watch closely. On the
bright side, the programmers are changing the application so that some
of the heavy hitter stored procedures will go away. I hope.
Sam ,
Restore points and transactional / definition data sets this is related to process of repeatable testing your test db as soon as db is restored based on latest production version .
But I think we missing one more piece of information.
Based on the info you provided you dealing with multiple production db's. Is this same system ( some kind of multi tenancy system or SAAS) ?or is this customer specific production db's ?. If it is customer specific db does they all (customer) use same version of the product or the version are different?
My Point is are we dealing with customer specific input data or this data or general input data which need to be rebuild or recreate for the test
Thanks,
Ruslan
P.S Sam sorry for try to get more info it is very interesting topic it also may help with my process as well.
--
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
Sam,
There is one more solution to think of
Jmeter ( free tool) will do most of it for you but it will save result file as in XML format ( see example in end o message) so you will need to create program ,which will remove XML part of the return values:
If it is look interesting pleaes take a look on following :
http://jakarta.apache.org/jmeter/usermanual/build-db-test-plan.html
you can run one simple test and put JDBC requests one after other or concurrently and each of them will generate similar to provided below XML file which will be store in Disk as unique file ( neeed some small addition work on it) . Next time you need to run it will execute query you define and rewrite result files
( I just give you overview if you think it will be useful for you let me know i can get you more details about it )
This is example of the store in file result include XML
--
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
For more options, visit this group at
Sam ,
Also please as soon as you test refreshing of db result during run time Please let us know if it actually work. I also have to deal with huge db's sizes and data sets and did not have chance to figure it out , does it actually refresh or keep initial value. Will be good to know .
Thanks in advance
Ruslan
--
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
For more options, visit this group at