How to log and analyze debug information in LoadForge.
When running load tests, it’s often essential to capture debug information to understand what’s happening during test execution. LoadForge provides a simple way to log debug information that appears in your test results.
Debug logs can help you identify issues with your test scripts, track request flows, and validate data handling during test execution.
The simplest way to log debug information in LoadForge is by using Python’s standard print() function in your Locustfile. These print statements are captured and displayed in the “Errors & Logs” section of your test results.
After your test run completes, all print statements are collected and displayed in the “Errors & Logs” section of your test results. This provides valuable insights into what happened during the test execution.
Errors & Logs Section
Logs are collected from all workers and aggregated in the final report. This means you can see debug information from all virtual users across all LoadForge workers.