Gatling test coverage

Hi!
I have some tests in working project. Can I take code coverage statistics for Gatling load tests? (not default report) It would be nice to suggest how to combine this with Jenkins and Jacoco :slight_smile:

Hello Denis,

Thanks for posting and getting in touch. Load tests with Gatling aren’t testing your actual code, they’re testing a series of requests and API calls and measuring response times and errors. So you don’t really get code coverage percentage.

To integrate with Jenkins you can use Gatling Enterprise and the API available with it to connect with Jenkins and add Gatling tests to your CI pipeline.

All the

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.