LoadRunner Support Forum
Showing results for 
Search instead for 
Do you mean 

how data dependent scripts work?

Occasional Contributor

how data dependent scripts work?

Hi,

 

plse explain me wht are the setting we need to take care if any also any possible error that we could encounter, while executing data dependant scripts in Vgen.?

 

Can we use the data once it is run ?

 

Thanks,

SRB

 

 

 

4 REPLIES
HPE Expert

Re: how data dependent scripts work?

Hello 

not sure if I am understanding, you may need to clarify, but if I am getting this questions correctly, you can accomplish this parametrizing the unique data and configure it to be unique.

 

regards

Highlighted
Frequent Advisor

Re: how data dependent scripts work?

Hi,

 

If the question is wrt volatile / depletable data, note that LR tests actually do update the application status of the data.

So in principle, this data will not be re-usable.

I have seen many approaches for these, the most foolproof of which is a DB level snapshot of the test data in the required state. Once the test is run, and the data is depleted, the backup is restored and presto, the same data can be re used.

 

Of course the above is subject to feasibility, and other factors also matter, like how the database would change in the future, and hence how the data backup becomes irrelevant etc.

 

Regards,

AJ

Occasional Contributor

Re: how data dependent scripts work?

thanks for your time
Occasional Contributor

Re: how data dependent scripts work?

thanx for your reply