Mobile App Testing

Testing Connecting to RapID from your app

This section outlines the behaviour of using each test identifier on a specific method in the mobile SDK. See the programmers guide for details on methods and return values.

Collecting a Credential

Collecting a credential using the test anonymous identifiers outlined here requires a RequestId. The RequestId can be obtained either by using the cURL example or saving the response from the calls from the webserver.

The following table shows the expected responses for the test RequestId values.

RequestId Response
Your RequestId for TestCertificateRequestValid1 RapidSuccess
Your RequestId for TestCertificateRequestValid2 RapidSuccess
Your RequestId for TestCertificateRequestValid3 RapidSuccess
Your RequestId for TestCertificateRequestValid4 RapidSuccess
Your RequestId for TestCertificateRequestValid5 RapidSuccess
Your RequestId for TestCertificateRequestExpired RapidServerCertificateRequestTimeout
Your RequestId for TestCertificateRequestCollected RapidServerCertificateAlreadyCollected
Your RequestId for TestGracePeriodRequest RapidSuccess
your RequestId for TestExpiredCertificateRequest RapidSuccess
Your RequestId for TestNoMoreLicenses RapidNoMoreCustomerLicenses
a1111111-a111-111a-1a11-11111a111111 RapidServerRequestNotFound
not provided RapidServerIdentifierInvalid

Note: Your end-user credentials have a lifetime of one year. When this has elapsed, the RapID Mobile SDK will automatically attempt to renew the credential. You can test this behaviour immediately by using the TestGracePeriodRequest and TestExpiredCertificateRequest test identifiers. The grace period request is within its renewal period (the 31 days after license expiry) whereas the expired request has a credential which expires straight away.