Can anyone provide How to do Manual Correlation with RPT for Dynamic values.. like in Loadrunner.
I want to correlate JText_210359 in my script..
Please provide detailed Steps.
Your help would be appriciated.
This topic has been locked.
5 replies Latest Post - 2012-06-08T15:17:21Z by KMooney
Pinned topic Step by Step Example of Manual Correlation
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-06-08T15:17:21Z at 2012-06-08T15:17:21Z by KMooney
RobertoFdez 270004J1CV50 PostsACCEPTED ANSWER
Re: Step by Step Example of Manual Correlation2012-06-01T08:39:33Z in response to SystemAdminHi,
First of all, you must specify the source of the data you are going to correlate. There are several options:
1- Static value provided by the developer (creating a variable)
2- Static values provided previously by the developer (creating a datapool)
3- Dynamic values extracted from a database (creating a custom code and introducing some logic inside it)
4- Dynamic values extracted from previous responses (creating references)
Once you have the source data set, go to the request where you want to do the substitution, select the portion of text, right click substitute and then select data source. In the new window, look for the source data you have created and click OK. RPT automatically will search the same portion of text in the whole test and ask you to perform more substitution (this is very useful with strings, but not always, so be careful).
SystemAdmin 110000D4XK5507 PostsACCEPTED ANSWER
Re: Step by Step Example of Manual Correlation2012-06-01T23:35:53Z in response to RobertoFdezThanks Robert..
I would like to correlate Dynamic values extracted from previous responses (creating references).
for JText_26827 This is Name of the Text field not the value
after JText like "26827" is the dynamic value changes on each session..
If i substitute reference it substitutedon the Value fo the JText field.
Please provide detailed steps/Screen shots as i am new to RPT.
your help would be appriciated..
petersda 110000QHU0371 PostsACCEPTED ANSWER
Re: Step by Step Example of Manual Correlation2012-06-04T18:58:28Z in response to SystemAdminThis would work the same. Substitutions are done using offsets into the data. Select the 26827 by highlighting it, right click, Substitute From -> Data Source. We will show previously created references that match 26827 and if there are none there is a button to show potential candidates. Click this and it will show you candidates you can use. If the 26827 value is pervasive throughout your test, I recommend using the first reference site that exists in your test (closer to the top of the tree) and then all your sites will be able to use the same reference. After you make this correlation you will be prompted if you would like to find more candidates to substitute. If you say yes, we will find all other candidates in your test and substitute them as well.
Rules are also something to consider. They are relatively new, but once you perform the manual step above we will create a rule for you and you can then apply it to future tests.
KMooney 0600000GBF282 Posts