none
Microsoft.VisualStudio.TestTools.WebTesting.WebTestException: Context parameter 'Sandeep' not found in test context RRS feed

  • Question

  • Hi There,

    Received the below exception for the context parameters:

    Microsoft.VisualStudio.TestTools.WebTesting.WebTestException: Context parameter 'Sandeep' not found in test context
       at Microsoft.VisualStudio.TestTools.WebStress.HelperMethods.UpdateBindingSites(WebTestCaseContext testCaseContext, String preBoundString)
       at Microsoft.VisualStudio.TestTools.WebStress.WebTestInstrumentedTransaction.PerformRequestDataBinding()
       at Microsoft.VisualStudio.TestTools.WebStress.WebTestInstrumentedTransaction.Execute(WebTestCaseContext testCaseContext, AsyncCallback completionCallback, Object callerState)

    Please help me in resolving the issue. Also, attached the exact code and other details.

    Thank you!

    Best Regards,

    Sandeep


    Wednesday, July 10, 2019 8:51 PM

All replies

  • Hi eesandeep,

    Welcome to MSDN forum.

    According to your description, did you use web test for http request? If so, we recommend you could add a validation for the http request, it would check if the last response works normally.

    Please refer more here: Code a custom validation rule for a web performance test

    Any feedback will be expected.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Thursday, July 11, 2019 6:19 AM