LMS Testing Interface
The main reason for Gateway's existance is to relieve burdon from Tool Providers. This can be integration or testing burdon. To help relieve the testing and integration burdon, Tool Providers are invited to use the Mock LMS which is built into Gateway. The Mock LMS allows "replay" of launch data from different, selectable LMSs such that the launch appears to Gateway as though it is coming from that LMS.
To use the Mock LMS simply browse to the Mock LMS page.

The following parameters can be set. You can also set these values on the query string when calling into the mock_lms page to allow for automation.
Parameter | Description | Query String Override |
---|---|---|
Tool Consumer | The Tool Consumer that the Mock LMS will masqurade as. | toolConsumer (ie toolConsumer=Blackboard) |
Tool Provider | The Tool Provider that will be called by Gateway. | toolProvider (ie toolProvider=saplinghe) |
Tool Provider User Id | The Tool Provider User Id that will be used for the call. If blank the association flow will be launched. | userId (ie userId=212589) |
Tool Provider Query Params | A comma separated list of query params that will be passed to the Tool Provider. | queryString (ie queryString=courseid=5982,type=course) |
Submit | Automatically submits the form. Useful when filling in other options via URL. Only available through URL. | submit (ie submit=true) |
Debug | Enables or disables the Gateway Debug feature. | debug (ie debug=true default is off) |
Query String Example
To allow automated testing these values can be set on the URL when calling the Mock LMS page. For instance to replay a Blackboard launch, calling saplinghe with a tool provider user id of 100254 and providing optional launch context of courseid of 35496 and a type of course. The URL would look like the following (order is not important, demarcation for ease of reading only):
|----------Gateway URL-----------------------|--Tool Consumer--------|--Tool Provider-------|--User Id----|--Query String-----------------------|
https://gateway-staging.mnv-tech.com/mock_lms?toolConsumer=Blackboard&toolProvider=saplinghe&userId=100254&queryString=courseid=35496,type=course
It should be noted that URL parameters are case sensitive and MUST match the values found in the dropdowns included on the Mock LMS page