We need to stub out the code which retrieves panels & recipients from Qualtrics. This will allow load testing the Qualtrics LTI exclusive of Qualtrics.
The existing code:
1. Retrieves list of distributionIds from the LTI Settings service
2. Sends Qualtrics a distributionId and receives the corresponding surveyId and PanelId.
3. Sends Qualtrics the above PanelId and receives the corresponding list of users (recipients)
4. The QualtricsLTI tool then constructs a list of Survey URLs based on the current user's email (corresponding to recipient)
There are a couple options:
Plan A) Refactor code, creating an interface & two interfaces (one with the current implementation, and the other which returns fake data for step 2 & 3)
Plan B) Create a fake Qualtrics server which responds to the requests in steps 2 & 3 and returns fake data
The deliverable will be a configurable QualtricsLTI tool which can be run in the load testing environment and display a student view without any calls to Qualtrics.
|Identify QualtricsLTI methods for refactoring and/or stubbing out||CLOSED||Unassigned|