Projects:External integration infrastructure/QA
Automatic Tests
The External integration infrastructure module includes a suite to test some features like:
- Entity mapping
- Entity exportation
- Query builders to find data pending to be synchronized
- Extensible parts: extend elements involved in a mapping process through modules
Performance Tests
The performance tests done for this projects have been focused on the testing of the mapping infrastructure itself. It has been measured:
- The time spent to generate a particular number of elements using a single thread. For these measurements, a mapping generator which includes different kind of mappings has been used. Here we have tested the improvements of keeping the mapping definition stored in cache.
- The time spent to generate an XML description of a set of mapped elements. To generate the XML representation of the elements, the TestXMLConverter class was used.
In addition, based on a real (mid-sized) client environment it has been tested:
- The complete process to find, map and export 50.000 business partners, using a custom extension of the ExternalSynchronizationProcess process which creates an asynchronous EDL process (with multiple threads) that generates a custom mapping for every business partner.
All the results are summarized in the following sheet.
Finally, the DB Pool Logging Utilities module has been used to find multiple connections per thread or slow queries during the usage of the External Integration infrastructure. It has not been found any issues in this regard.
Code review
https://docs.google.com/spreadsheets/d/1Euevdvu10VvDSnwLFjjZcwov9_TfT_f42PL8lVl8NcI/edit#gid=0