Ask a questionAsk a question
 

AnswerHow to add Think time to a Transaction

  • Tuesday, November 03, 2009 7:57 AMvishal.sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I have recently started to work on vsts 2008. I wanted to know, what options are available in this tool w.r.t. think time on Web test and Load test.
    In webtest we can apply think time on individual requests via properties windows.
    i want to club my requests into a transaction and apply think time on transactions rather than on particular requests.
    Is there a way to apply think time on transactions in vsts?


    Thanks in advance

    vishal

Answers

  • Tuesday, November 03, 2009 4:24 PMJonathan Ren Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Vishal,

    There is no option to add think time to a transaction. It wouldn't know how to distribute the think times between the requests in your transaction. With that said, just distribute the think times that you want between the requests for the transaction or you could add it to one of the requests in the transaction as you see fit (such as the last request)

    Jon
    Navantis
    • Marked As Answer byvishal.sharma Thursday, November 05, 2009 5:11 AM
    •  
  • Thursday, November 05, 2009 8:08 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello vishal,

    About the normal disctribution, think times are used, but varied on a normal curve. Provides a more realistic simulation of virtual users by slightly varying the think time between requests.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.

All Replies

  • Tuesday, November 03, 2009 4:24 PMJonathan Ren Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Vishal,

    There is no option to add think time to a transaction. It wouldn't know how to distribute the think times between the requests in your transaction. With that said, just distribute the think times that you want between the requests for the transaction or you could add it to one of the requests in the transaction as you see fit (such as the last request)

    Jon
    Navantis
    • Marked As Answer byvishal.sharma Thursday, November 05, 2009 5:11 AM
    •  
  • Wednesday, November 04, 2009 7:43 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello vishal,

    As Jonathan mentioned, we are not able to add think time to a transaction. As think time is the time which are recorded for each Web page that spent by a user perusing a Web page, including viewing the page and determining the next action.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
  • Thursday, November 05, 2009 5:10 AMvishal.sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Jonathan/Edwar,

    Thanks for the response, i am working on another tool SandStorm, which has this feature of inserting think time on transactions, so wanted to clarify if vsts has this option or not.

    One more question in my mind, can you please discuss how the Normal Distribution option in Load test on think time works.

    Thanks,
    vishal



  • Thursday, November 05, 2009 8:08 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello vishal,

    About the normal disctribution, think times are used, but varied on a normal curve. Provides a more realistic simulation of virtual users by slightly varying the think time between requests.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.