DevOps Automation

DevOps Automation

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#DevOps
 View Only
  • 1.  Test generation is taking Longer time

    Posted Wed August 23, 2023 09:42 AM

    Hello,

    I have recorded a session and noticed an issue with test generation. It got initiated and progressed up to an extent before it stops generating further. In my case, It's waiting at Test generation (86%) for a while.

    Also, I noticed once Response length is higher than expected(2048KB) - I changed this value to the value higher than response length (in my case, it's 30000KB) in Preferences --> Test generation. However, I still see the same Issue.

    Any help is appreciated.

    (I have attached screenshot of the test generation process & changes in preferences)

    Thanks,

    Sudheesh Srikantam



    ------------------------------
    sudheesh srikantam
    ------------------------------


  • 2.  RE: Test generation is taking Longer time

    Posted Wed August 23, 2023 12:21 PM

    Test generation can take a long time; even an hour or more.  The biggest component of the time is automatic data correlation; the time it takes for correlation is highly dependent on the traffic.

    The change you made, specifying 30000K instead of 2048K as the maximum response size, could contribute to the slowness.  Unless you know that you need to do data correlation on the entire response, I recommend keeping the 2048K default.  The playback will still receive the entire response but the test will be smaller and test generation time may be less.

    For some traffic, you can reduce the test generation time by changing the "Optimize automatic data correlation for execution" setting in the Data Correlation tab of the HTTP Test Generation options to "Efficiency" (the default is Accuracy).



    ------------------------------
    Scott Didier
    ------------------------------



  • 3.  RE: Test generation is taking Longer time

    Posted Wed August 23, 2023 02:15 PM

    Hello Scott,

    Thanks for your reply !

    I have rollback the settings to previous and also changed the options to "Efficiency". I still see the same Issue. It's been 2 hours since the generation Initiated.

    Thanks,

    Sudheesh S



    ------------------------------
    sudheesh srikantam
    ------------------------------



  • 4.  RE: Test generation is taking Longer time

    Posted Mon August 28, 2023 03:11 PM

    Assuming that the test generation did eventually complete, you could experiment with generating a new test from the recording with data correlation turned off.  To do this, right-click on the recording, select "Generate Test" and picked "HTTP Test, check the "Customize automatic data correlation" option in the Select Location dialog and then uncheck "Do automatic data correlation".  With automatic correlation disabled, the test should generate much faster.  However, most application require some data correlation so you would have to manually correlate your test and/or use a data correlation rules file.



    ------------------------------
    Scott Didier
    ------------------------------