flood-io / element

💦Load test your app using real web browsers
https://element.flood.io
Apache License 2.0
350 stars 43 forks source link

Discrepancy in response time in step wise results for 1st Iteration & 2nd Iteration onwards in Flood HTML report #627

Open pAditya123 opened 11 months ago

pAditya123 commented 11 months ago

Describe the bug Executed sample script with 1 user 30 Iterations from CLI mode & generated the HTML report with --export option. In HTML report I see the discrepancy in response time for steps in 1st Iteration & 2nd Iteration onwards. For ex In HTML report I see step1 in Iteration 1 tooks 5 sec and same step1 in Iteration 2 took 60 sec, see the big gap in response time for same step in Iteration 1 & Iteration 2nd onwards.

To Reproduce Steps to reproduce the behavior:

  1. Install flood element in local machine
  2. execute sample script with few step in CLI mode with 1 user 30 Iterations
  3. Generate HTML report with flood --export option.
  4. Collect & read the HTML report results - see the response time for same step in 1st Iteration & 2nd Iteration onwards.

Expected behavior Expected to measure the correct response time of steps.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I am using below Test settings : export const settings: TestSettings = { loopCount: 30, description: "Sample test", screenshotOnFailure: true, disableCache: true, clearCache: true, clearCookies: true, actionDelay: 0, stepDelay: 0, waitTimeout: '300s', browser: 'chromium',

};