Forum Discussion

corrale211's avatar
13 years ago

Count Feature's Use of External Data in a Complex Scenario

How does the complex scenario count feature work with variable data from an external data source?

For instance, our intention for a complex scenario would have 3 scenarios:



Scenario 1 - Count 1:  Log a user into a web application.

Scenario 2 - Count 3: Click a link with a dynamic variable that is unique to the provided user. Each iteration of this scenario should grab a different id that is still unique to the user

Scenario 3 - Count 1:  Log a user out.



The intention is to run this complex scenario concurrently for a number of different users whilst at the same time have scenario 2 use a unique set of ids per user. 



Thanks!

Phil


1 Reply

  • AlexeyKryuchkov's avatar
    AlexeyKryuchkov
    SmartBear Alumni (Retired)
    Hi Philip,



    The variables should provide data in correspondence to their specification given in appropriate help topics (you can find them listed in the "Using External Data Sources" help topic). Please let me know if they behave in a different way.



    Scenario 2 - Count 3: Click a link with a dynamic variable that is unique to the provided user. Each iteration of this scenario should grab a different id that is still unique to the user


    To accomplish this task, try setting the value access type to "Next value on each use". To learn about this type, please refer to the mentioned help topics.