we are planning to use Gatling for functional testing and exploring if there is any way of logging custom messages to the report, similar to how we might use Extent or Allure reporting where we can log details about assertions, etc. We used to have the Rest Assured Java framework earlier with Extent report for detailed test reports, but are now looking into transitioning to Gatling with the idea of having a single framework for both functional and performance tests. It seems like functional support in Gatling is limited. Can we use Gatling for functional testing at all?
One example is that I’m calling an API, and with the response I get, I do some logic in a session block and validate certain conditions there. Is there a way to print these validation results to the report from the session block? I understand that we can use checks and assertions, which are logged to the report, but this is coupled with the API call. Most of the time, we need to have a session block where we implement custom logic. So, I’m wondering if I can continue using Gatling for these functional tests.