Test data from one script should go to another script and both scripts are running parallelly

6 views
Skip to first unread message

uday hasrali

unread,
Jul 4, 2013, 5:00:39 AM7/4/13
to LR-Loa...@googlegroups.com
Problem Description:

Test data from one script should go to another  script

Conditions:
Both scripts should run on controller
1st script , which is data creation script is single user script (Always SAP GUI Protocol)
2nd script, which is actual scenario , is multi-user  (keep 5 user) (SAP GUI, SAP WEB or Java Vuser Protocol)
test will run for 4 days , test data script will run whenever data in script 2 are completely utilized


Thinking of below idea :

Script 1 will run and extract data to a file
In script 2 , C code is written to read data from file in runtime and iterate will all file data is used and run script1 again

Problem:
As more than 1 user will be accessing same file , iterations will fail as we cannot male script to take unique data
script 1 is 1 user and script 2 is 5 user


James Pulley

unread,
Jul 4, 2013, 11:02:32 AM7/4/13
to LR-Loa...@googlegroups.com

Virtual Table server, RabbitMQ, Queues in your database or pre-stage data for consumption

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

manickavasagam subbiah

unread,
Jul 4, 2013, 11:59:08 AM7/4/13
to LR-Loa...@googlegroups.com

Hi,
 
Latest Loadrunner 11.52 version comes with VTS(Virtual Table Server), using this utility you can use the same test data for different  scripts.
 
 
Thanks
Manick

Franklin Inbaraj

unread,
Jul 4, 2013, 6:26:12 PM7/4/13
to lr-loadrunner
try out squid
--
Regards,
Franklin Inbaraj

James Pulley

unread,
Jul 4, 2013, 11:50:30 PM7/4/13
to LR-Loa...@googlegroups.com

kantharaja t

unread,
Jul 4, 2013, 8:12:15 PM7/4/13
to LR-Loa...@googlegroups.com
This is possible Thru File handling,

Here is the algorithm

1. Divide the one file into ndifferent files using file structures(Place this code into vueser end of the script1)
2. Parameterize the file name with n files path created in script 1  should be (unique parameter)

n -> user load


Thanks and Regards
 Kantharaja
Reply all
Reply to author
Forward
0 new messages