Skip to Content
PublishersIntegration Tests

Integration tests

Before a publisher can enable their API integration, a series of integration tests must pass. These scenario-based integration tests are designed to run frequently & automatically and ensure that your API is working as expected.

Integration tests can be configured in the GetFTR portal, here.

To configure your integration tests, provide as many scenarios and expected responses as possible.

Test configuration table

ColumnDescription
Test ScenarioThe type of scenario to test against your API
Organization identifiersProvide the described type of identifier, EntityId IPv4, IPv6, etc.
DOIThe DOI to test the response against your API
EntitledWhether or not the response should indicate the provided identifier is entitled to the DOI
StatusThe last known status of the test

Test scenarios

ScenarioDescription
IP AddressTest a specific IPv4 or IPv6 address to determine if a user is entitled (or not) to a specific DOI
SAMLTest an EntityId, OpenAthens or Shibboleth identifier against a DOI
Open AccessTest a specific DOI to determine if the response (accessType) indicates it is OA
Perm FreeTest a specific DOI to determine if the response (accessType) indicates it is permanently free to read
Free DOITest a specific DOI to determine if the response (accessType) indicates it is free to read
Unknown DOITest an integration responds correctly to a request containing a DOI that does not belong to the Publisher
Unknown OrgTest an integration responds correctly to a request containing an organization identifier that is unknown or malformed
Last updated on