Microgaming Integration Testing Tool User Guide
Breadcrumbs

List of Tests and Explanations

Login

Test

Explanation

Success

Sends a known player login request to your /login endpoint.

Random User

Sends an unknown player login request to your /login endpoint.

No X-MGP-TOKEN

Sends a request to your /login endpoint without an X-MGP-TOKEN.

If you do not utilize the X-MGP-TOKEN, this test can be skipped.

Random X-MGP-TOKEN

Sends a request to your /login endpoint with a random X-MGP-TOKEN.

If you do not utilize the X-MGP-TOKEN, this test can be skipped.

No Operator Login Token

Sends a request to your /login endpoint without an Operator Login Token.

This test is available only when a value is entered in the Agent Operator Login Token field.

Random Operator Login Token

Sends a request to your /login endpoint with a random Operator Login Token.

This test is available only when a value is entered in the Agent Operator Login Token field.


Get Balance

Test

Explanation

Success

Sends a known player get balance request to your /getbalance endpoint.

Random User

Sends an unknown player get balance request to your /getbalance endpoint.

No X-MGP-TOKEN

Sends a request to your /getbalance endpoint without an X-MGP-TOKEN.

If you do not utilize the X-MGP-TOKEN, this test can be skipped.

Random X-MGP-TOKEN

Sends a request to your /getbalance endpoint with a random X-MGP-TOKEN.

If you do not utilize the X-MGP-TOKEN, this test can be skipped.

Random Ext Operator Token

Sends a request to your /getbalance endpoint with a random extOperatorToken.

If you do not utilize the extOperatorToken, this test can be skipped.


Update Balance

Test

Explanation

Wager With No Win

Tests a debit without a credit.

Wager With Win

Tests a debit with a credit.

Wager With Free Spin Win

Tests a debit with multiple credits.

Free Game With No Win

Tests a debit with a zero amount and no credit.

Free Game With Win

Tests a debit with a zero amount and with a credit.

Free Game With Free Spin Win

Tests a debit with a zero amount, with multiple credits.

Multiple Debit With No Win

Tests multiple debits within a single betId with no credit, which can happen with certain game features such as multiplier.

Multiple Debit With Win

Tests multiple debits within a single betId with a credit, which can happen with certain game features such as multiplier.

Idempotency

Tests to ensure that when you receive a txnId, that you treat it idempotently. The test will send the same txnId twice and ensure that you only alter your player balance once.

Not Enough Balance

This test will check your player balance and attempt to debit twice that amount.

Random User

This test will attempt to update a nonexistent player’s balance.

Max String Length

This test will attempt to send a txnId and betId with the max possible length.

Refer to the String Limits section of the MG+ Agent Guide for Single Wallet Integrations.


Rollback

Test

Explanation

Rollback Debit

This test will debit a player then attempt to rollback that debit.

Rollback Debit Without Amount

This test will debit a player then attempt to rollback that debit without a specified amount.

You must check the txnId provided in the request and return that amount to your player.

Rollback Debit Without Currency

This test will debit a player then attempt to rollback that debit without a specified currency.

You must check the txnId provided in the request and return that amount to your player.

Rollback Debit Without Currency Or Amount

This test will debit a player then attempt to rollback that debit without a specified currency or amount.

You must check the txnId provided in the request and return that amount to your player.


Promotion

The purpose of these tests are to ensure you accept payouts to players outside of gameplay.

Test

Explanation

Achievement

This test will send a single promotion credit to your player with the txnEventType of “ACHIEVEMENT”.

Promotion

This test will send a single promotion credit to your player with the txnEventType of “PROMOTION”.

Store

This test will send a single promotion credit to your player with the txnEventType of “STORE”.

Tournament

This test will send a single promotion credit to your player with the txnEventType of “TOURNAMENT”.


Free Games

Test

Explanation

Player Rejects Offer

Sends a notification to a webhook to simulate when a player rejects a free game offer.

This test is available only when Enable Free Game Tests is turned on.


Monitor

Test

Explanation

Success

This test ensures that you have implemented the /monitor API.