Skip to Main Content
Status Planning to implement
Categories Bug
Created by Mikkel B. Mikkelsen
Created on Nov 15, 2024

Test tool - Multiple Expected Output Files Fails (because of multiple distributions)

The test tool does not work in scenarios where Link2 has more than one distribution on the same SenderPartner, ReceiverPartner and DocumentType. All expected output files are attached. But the Test Tool can not handle it. This becomes especially important that we can handle when we need to Migrate InInventoryReports and InSalesReports, because we always have more than one Distribution in these scenarios. Using the Test Tool will become a large task in this scenario and we would like a solution for this problem.

As I understand you have to manually change the order of the expected output files to match the Link3 Interchange out files, which they are compared to. Otherwise you get all sorts of null refference exceptions when you press "Start Compare". Could it be a solution, to send some META data about the Format/Variant/Version of all the Expected Output Files in a separate Expected Output File, which can then be used to create the correct order of the files in the Test Case. Otherwise this will be a big task for us to handle, because all of our InInventoryReport and InSalesReports have multiple distributions, because we need to send them to two different systems in different formats.


How to reproduce:

Create an Interchange with multiple Expected output files in different formats, e.g. Json and XML. Create a Test Case with this Document. Run the Test Case. Press start compare. I don't know if the 6 MB JSON files has any impact on the error I experience.


The 4 Documents which are pointing to 4 different distributions:https://bestseller-test-link.bizbrains.com/tracking/result/details;documentIds=700334,700333,700332,700331;internalReload=true

Test Case (I have changed the order of the Expected Output files):https://bestseller-test-link.bizbrains.com/test-tool/test-cases/test-case-interchanges;testCaseId=10091





This bug is splitted from this original bug: LINK3-I-601

  • Attach files