SSO and AMS credit writeback: a test plan before launch
Test single sign-on and AMS credit writeback before launch by running a fixed set of cases with real account types: new member, lapsed member, non-member and duplicate. For each case, record the expected result, the actual result and the evidence. Pass only when the AMS shows the right credit against the right person.
VertoLaunch · Updated
Why do SSO and credit writeback need their own test plan?
Single sign-on and credit writeback are the two connections that most often decide whether an association academy works. Sign-on decides who the platform thinks the learner is. Writeback decides whether the credit lands on the right record in your AMS.
If sign-on maps a learner to the wrong account, every later step is wrong. If writeback fails quietly, the learner sees a completion and the member record shows nothing. Both faults are invisible to a quick demo.
This plan is vendor neutral. Your platform may use SAML, OpenID Connect or a connector built for your AMS. The tests are the same either way. They check behavior, not protocol.
What do you need in place before testing?
Gather these first so that the tests are repeatable.
- A test environment for the LMS and, if possible, a test or sandbox copy of the AMS. Do not use live member records unless you have no alternative.
- A set of test identities covering each member type you serve.
- The field mapping between the AMS and the LMS, written down.
- The credit rules for each course: credit type, value and when it is awarded.
- A named person from the association and a named person from the platform side for escalation.
Write the expected result for each test before you run it. Otherwise you will rationalize whatever you see.
Which test identities should you create?
Real memberships are messy. Build test identities that match the mess.
- Active member with a clean record.
- Lapsed member within any grace period you allow.
- Lapsed member outside it.
- Non-member who buys or registers as a guest.
- Member with two accounts or a duplicate in the AMS.
- Member whose name or email changed since they joined.
- Member from a group or chapter account, if you have them.
Each identity should have a different outcome in your rules. If two identities behave the same, you do not need both.
What are the test cases?
Run each case in order and record the result. Add rows for your own rules.
| ID | Test | What to do | Expected result |
|---|---|---|---|
| S1 | First sign-on, active member | Sign in from the association site | One LMS account created, linked to the right AMS ID |
| S2 | Repeat sign-on | Sign in again the next day | Same account, no duplicate |
| S3 | Lapsed member | Sign in with a lapsed identity | Access follows your written rule |
| S4 | Non-member | Register as a guest | Guest access only, no member pricing or credit mapping to a member |
| S5 | Name or email change | Change the value in the AMS, then sign in | Account updates or flags a conflict, as designed |
| S6 | Sign out and session expiry | Sign out in either system, then return | No stale session and no wrong-account access |
| S7 | Deep link | Open a course link while signed out | Sign-on, then return to the same course |
| W1 | Credit on completion | Complete a course as an active member | Correct credit type and value appear on the AMS record |
| W2 | Credit date | Check the date on the AMS record | Date of completion, not the date of sync |
| W3 | Failed attempt | Fail an assessment | No credit written |
| W4 | Retake and pass | Retake and pass | One credit entry, not two |
| W5 | Duplicate AMS record | Complete a course as the duplicate identity | Credit lands on the intended record or is queued for review |
| W6 | Writeback failure | Disable the AMS connection and complete a course | Failure is logged, alert is raised and credit is queued |
| W7 | Retry after failure | Restore the connection | Queued credit is written once |
Add a column for the actual result, the tester, the date and a link to the evidence.
How do you capture evidence?
A pass without evidence will not survive a question six months later. For every case, capture the same four items.
- A screenshot or export of the LMS record.
- A screenshot or export of the AMS record.
- The time of the test, so you can find it in logs.
- The name of the tester.
Store the evidence in one shared folder, organized by test ID. Keep it for as long as your own retention rules require.
How should you sequence the testing?
Order matters. Sign-on faults corrupt every later result, so fix them first.
- Run the S tests until all pass.
- Run the W tests with the passing identities.
- Run the failure and retry tests last, because they change system state.
- Clean up test data in both systems and confirm that nothing leaked into live reports.
- Rerun the full set once after any fix, not only the failed case.
Plan time for at least two full rounds. The first round finds problems. The second proves the fixes did not break something else.
What are the common failure patterns?
These patterns come up often enough to test deliberately.
- A match on email only. A changed email then creates a second person.
- Credit written on sync date, so a completion in one month shows in the next.
- Double writes after a retry.
- A silent failure with no log or alert.
- A mapping that sends the wrong credit type for a course that carries two.
Fixes sit across the LMS, the AMS and the connector between them. Agree before the test who decides where a fix goes.
When is the plan complete, and who signs off?
The plan is complete when every case has passed or has a documented, accepted exception. The association owner of the credit rules should sign. So should the person who owns the AMS.
After launch, repeat a short version of the plan in the monthly check. See Online academy monthly operations checklist. Associations that want one team to build and connect the academy can read about eLearning for associations.
VertoLaunch is a services company that builds, migrates and runs online academies. It is not an LMS vendor and does not claim any affiliation with a platform, AMS or regulator. For platform selection, see How to choose an LMS for a CE or licensure provider.
Quick answers
Talk it through in 20 minutes
A 20-minute scoping call ends with a written recommendation, whether or not we work together.
Written recommendation either way. NDAs standard.