citrusframework / citrus

Framework for automated integration tests with focus on messaging integration
https://citrusframework.org
Apache License 2.0
449 stars 136 forks source link

Test duration in JUnit reports #813

Open siordache opened 2 years ago

siordache commented 2 years ago

User story As a tester, I want to see test durations in the JUnit reports so that I'm able to see how my SUT behaves during stress tests.

Additional context The report templates for testsuites and testcases already contain the attribute time, whose value is provided by the property test.duration. However, test.duration is set to 0.0 for both testsuites and testcases.

christophd commented 2 years ago

I agree that it does not make sense to set this to 0.0

I doubt though that the test duration is a good indication of the SUT performance. Citrus as a framework is not optimized to perform performance testing in terms of highest possible throughput and optimized test duration