Topic
  • 5 replies
  • Latest Post - ‏2012-06-08T15:17:21Z by KMooney
SystemAdmin
SystemAdmin
5507 Posts

Pinned topic Step by Step Example of Manual Correlation

‏2012-06-01T03:02:01Z |
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.
Updated on 2012-06-08T15:17:21Z at 2012-06-08T15:17:21Z by KMooney
  • RobertoFdez
    RobertoFdez
    50 Posts

    Re: Step by Step Example of Manual Correlation

    ‏2012-06-01T08:39:33Z  
    Hi,

    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
    SystemAdmin
    5507 Posts

    Re: Step by Step Example of Manual Correlation

    ‏2012-06-01T23:35:53Z  
    Hi,

    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).
    Thanks 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
    petersda
    376 Posts

    Re: Step by Step Example of Manual Correlation

    ‏2012-06-04T18:58:28Z  
    Thanks 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..
    This 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
    KMooney
    283 Posts

    Re: Step by Step Example of Manual Correlation

    ‏2012-06-08T15:15:51Z  
    • petersda
    • ‏2012-06-04T18:58:28Z
    This 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.
    As a complement to Dawn's response the attached document has some screen shots and shows the steps she suggests.
  • KMooney
    KMooney
    283 Posts

    Re: Step by Step Example of Manual Correlation

    ‏2012-06-08T15:17:21Z  
    • KMooney
    • ‏2012-06-08T15:15:51Z
    As a complement to Dawn's response the attached document has some screen shots and shows the steps she suggests.
    Did not see document attached. Trying again.