Team System Developer Center > Visual Studio Team System Forums > Visual Studio Web Performance and Load Testing > VSTS Load Testing and Dynamic Parameters - Deleting unnecessary lines of code
Ask a questionAsk a question
 

AnswerVSTS Load Testing and Dynamic Parameters - Deleting unnecessary lines of code

  • Wednesday, October 28, 2009 1:03 PMJerry InfantGerald Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello All,

     

    We are using VSTS to measure performance of our Web Application.

     

    We record a Normal Web Test and then convert the same into a Load Test. During recording of Web Test there are a lot of dynamic parameters which get captured.

     

    Things work fine until the next new build. Once a new build is installed these dynamic parameters start throwing up errors. The only solution we have found out is re-recording. This is quite an absurd way, esp when you write certain logic inside the recorded code.

    We tried deleting the unnecessary lines of recorded object which causes even more confusion and script fails to run.

     

    Any suggestions?…Would unselecting the dynamic parameters help? I have tried it, but cant test it till my next build gets deployed.

    Thanks,
    jerry

Answers

  • Friday, October 30, 2009 3:36 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello,

    Sorry I am not able to understand 'Things work fine until the next new build', could you please explain more information about 'build'? Usually it is not recommended to unselect the dynamic parameters whose value is generated each time a user runs the application, and therefore playback of recorded values won't work.
    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

  • Friday, October 30, 2009 3:36 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello,

    Sorry I am not able to understand 'Things work fine until the next new build', could you please explain more information about 'build'? Usually it is not recommended to unselect the dynamic parameters whose value is generated each time a user runs the application, and therefore playback of recorded values won't work.
    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.