Engineering guide

How to test an eFTI XSD update without losing your baseline

Run the same XML fixtures against the old and new schemas before changing the mapper. Then run the updated mapper against the new schema. The first comparison isolates the schema change; the second measures whether your mapping fix works.

Before you test

Pin the route, schema and mapper independently.

Worked example

Matching OpenAPI files did not make V0 and V1 interchangeable.

The Fintraffic API catalogue supplies separate schema packages. In our 1 December offline comparison, the three OpenAPI files matched byte for byte, but the identifier fixtures passed only against their own version’s schema. The shared problem-response schema was unchanged within the tested scope.

Fixed fixtureV0V1Decision
Legacy identifier exampleValidRejectedRetest the identifier mapping.
Minimal V1 upload requestRejectedValidReview the new structure and test business rules separately.
V1 request missing its messageRejectedRejectedKeep it as a negative case.
Shared problem response with numeric statusValidValidNo schema-driven retest for this unchanged scope.

Here, “valid” means the local XML validator accepted the fixture. The test did not submit a document or verify Fintraffic’s runtime.

Release decision

Repeat the affected tests and retain the old evidence.

Report the fixture ID, schema entry point, dependency digest, build and observed result on both versions. Add a structurally valid but semantically wrong case to the mapper suite. For example, a valid address in the wrong transport role might pass XSD but fail role validation. Preserve the old result instead of rewriting it for the newer bundle.

Read the Finland eFTI Gate integration checklist

Test the meaning of consignor and loading-site data

Software direction

Make transport data issues visible before the handoff.

Explore the public demo and compare proposed software plans. Paid access is not open yet.

Compare plans