Forum Discussion

vondie's avatar
vondie
Contributor
7 years ago

Microsoft CRM - Recorded Tests Fail on Playback

I am trying to record and playback tests to create a new Lead record for our Microsoft CRM web application and experiencing a 400 Bad Request error with the POST request to the InlineEditWebService.asmx. I found this article that goes into detail how to fix this and similar issues in LoadRunner but it doesn't translate well for me to LoadComplete: https://community.dynamics.com/crm/b/crmperformancetesting/archive/2018/01/03/dynamics-crm-365-performance-testing-with-loadrunner

 

Has anyone else experienced issues with MS CRM and creating load tests in LoadComplete? I already sent a request to Smartbear for assistance through the tool but haven't heard back yet. We are on a tight timeline to get load tests created and run them to ensure our application can handle and increase of 200 users in the next month. Any help is greatly appreciated! 

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    The correct link is https://community.dynamics.com/crm/b/crmperformancetesting/archive/2018/01/03/dynamics-crm-365-performance-testing-with-loadrunner.

    Most probably, you need to carefully analyze recorded and replayed traffic and adjust automatic data correlation made initially by LoadComplete. (Like it is said in the article) It is difficult to say something more definite without seen your test project and test log.

     

    > I already sent a request to Smartbear for assistance through the tool but haven't heard back yet.

    How did you do this?

    For the initial problem submission you must use this form: https://support.smartbear.com/message/?prod=LoadComplete

    • vondie's avatar
      vondie
      Contributor

      I submitted a request through the tool through the prompt that displays when test errors/warnings occur. I searched Google for some LoadComplete articles on modifying auto-correlation so I will start there and post back if I find anything out. Thanks for your response AlexKaras!

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        Data correlation in LoadComplete is described here:

        https://support.smartbear.com/loadcomplete/docs/testing-with/data-correlation/index.html

        (And I really would recommend to familiarize yourself with the documentation as it is just great and contains a lot of useful information.)

         

        If you like, I may try to get a look at your project and try to help but obviously cannot promise anything definite. :)

        The basic scheme is to Validate your recorded scenario. This will execute it for one user and store all data to the test log. Then you should start from the first failed request, compare recorded and played-back data and figure-out what difference caused request to fail. Correct request appropriately (missed cookie, data from the previous request(s), etc.) until it passes. Then move to the next failed request and so on.