Search code examples
authenticationjmeterdynamics-crmaccess-tokenload-testing

JMeter Test case to login over dynamic CRM


We have to migrate the existing visual studio web test over JMeter. Blazemeter we are using to record test case and when we are trying to run it over JMeter, it is failing while authentication against Dynamics CRM instance and it errors out 500 internal server error, with no other details.

Please let me know if you have done this already against any of the dynamic CRM instances.

Thanks


Solution

  • I don't think record-and-replay will work as the process is simply stupidly putting hard-coded values everywhere without making any correlation

    The options are in:

    1. Manually going through the recorded test plan identifying dynamic parameters, adding relevant post-processors to extract dynamic values and replace hard-coded values with the JMeter Variables from the post-processors
    2. Re-record your test scenario using Correlations Recorder Plugin for JMeter, there you will be able to pre-populate the correlation rules beforehand
    3. Re-record your test using BlazeMeter Proxy Recorder, it's capable of exporting recorded tests in "SmartJMX" mode with automatic detection and correlation of the dynamic parameters (most probably you will still have to do some manual polishing)