Ask a questionAsk a question
 

AnswerDatasources and muliple agents

  • Thursday, November 05, 2009 2:00 PMrichard84 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi All,

    I have a couple of questions regarding loadtesting if a may.....

    Question1:
    I have discovered that i have to use the 'Unique' access method for a datasouce when using muliple agents that require uniquie access across the test run.
    This works fine but it appers that when using this method that the datasource is accessed uniquely & sequentially. Is there anyway to make the access method Unique & Random?
     
    Question2:
    Is there an ability to persist the datasource cursor between test runs?

    Thanks
    Richard. 

Answers

  • Thursday, November 05, 2009 3:11 PMslumley MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Question1:  Checkout this blog post.  It shows you how to create a plugin that allows unique access across multiple agents with sequential or random:http://blogs.msdn.com/slumley/pages/description-of-access-methods-in-data-sources.aspx

    Question2: If you want to persist the location, there is no built in way to do this.  You could persist some value that allows you to get back to the correct spot and then have a plugin which moves the cursor back to that location.  The above post shows you how to move the cursor in a plugin.
    Blog - http://blogs.msdn.com/slumley/default.aspx

All Replies

  • Thursday, November 05, 2009 3:11 PMslumley MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Question1:  Checkout this blog post.  It shows you how to create a plugin that allows unique access across multiple agents with sequential or random:http://blogs.msdn.com/slumley/pages/description-of-access-methods-in-data-sources.aspx

    Question2: If you want to persist the location, there is no built in way to do this.  You could persist some value that allows you to get back to the correct spot and then have a plugin which moves the cursor back to that location.  The above post shows you how to move the cursor in a plugin.
    Blog - http://blogs.msdn.com/slumley/default.aspx