Projects:Add HTML Export In ProcessDefinition Reports/QA Specifications
Contents |
Automatic Tests
This contribution does not add automatic test.
Functional Tests
Functional tests can be found here and here.
Performance Tests
Test environment
- A new report template showing all the invoices for a given organizaton was created
- A new Process Definition of type Report was created
- A new Report Definition was created and configured to use the same report template for all the formats
- A new Menu was created
Methodology
- Tomcat Server restarted
- Selected "F&B España - Región Norte" organization as input parameter
- Executed ten times the report in HTML format, registered the execution time and computed the average time
- Tomcat Server restarted
- Selected "F&B España - Región Norte" organization as input parameter
- Executed ten times the report in PDF format, registered the execution time and computed the average
- Tomcat Server restarted
- Selected "F&B España - Región Norte" organization as input parameter
- Executed ten times the report in XLS format, registered the execution time and computed the average
Results
The following table shows the execution times by report format, in milliseconds.
HTML | XLS | |
---|---|---|
7606 | 8240 | 8164 |
490 | 498 | 580 |
373 | 398 | 388 |
486 | 370 | 432 |
307 | 323 | 345 |
308 | 1444 | 350 |
274 | 340 | 298 |
274 | 301 | 293 |
299 | 313 | 302 |
480 | 311 | 263 |
Average | ||
1089.7 | 1253.8 | 1141.5 |
Conclusions
- The new HTML format does not introduce any performance issue comparing to previous existing formats.
Code Review
The project has passed through several stages of code review that are summarized in the following sheet.