Why Did the Test Work Yesterday But Not Today?

Symptom:

Your BlazeMeter script worked fine yesterday but today, when you tried to run it again, it failed.

Solution:

  • Check the jmeter-console0.log file. Browse to the specific Test Reports -> Logs -> jmeter-console0.log Tab and click Download. Check for warning and error type messages and resolve the errors based on details mentioned in log file.

  • Do you have static data in your request body that refers to time beyond 24 hours or calendar days? Then parametrize the script using synthetic test data.
  • Is your target site temporarily down? Check site status before running the test.
  • Was there a change in protocol or URL of your target site from that recorded in your script? Check the protocol in the script and change it to a working one if required.
  • Low or no network connectivity? Check your internet connectivity, direct or proxy connections
  • Was the data in the CSV file for one-time use and has already been used? Change the CSV file with a fresh working data set or edit your script to use synthetic functions to generate data in the required format.
  • Are regular expressions not matching due to changes in site code? Debug your script in JMeter, use the Regular Expression tester from the 'view result tree' listener and update the regular expressions where required.