# Testing Tutorial for RubyPlay Seamless Wallet API ## Purpose and Audience The purpose of this document is to explain the testing of the implemented RubyPlay Seamless Wallet API using a predefined Postman collection. The audience is the third-party operators that integrate with RubyPlay. Testing is intended to help the Operator ensure the implemented API is working correctly. ## How To Start The RubyPlay Seamless Wallet API has to be implemented by the Operator before testing. ## Necessary Tools The Operator has to install the Postman application. Go to the [Postman official website](https://www.postman.com/) to download the required app. We use screenshots of Postman v10.19 in this document. ## Testing Steps For successful testing, the Operator has to perform the steps described below. ### 1. Import Postman Collection Download the collection file, which has to be imported to the Postman app: RGS-RGS.postman_collection.json To import Postman collection: 1. Open Postman by clicking its icon Postman Icon 1. Select Collections and then click Import Import Collection 1. Click Select files or use Drag and Drop method to import the collection Upload Collection 1. Choose the `RGS-RGS.postman_collection.json` file in the dialog box and click Open. Postman will automatically import this file Choose Collection File Collection ### 2. Import Environment File The next step is to import the Environment file to Postman. 1. Download the template of the Environment file template-operator.postman_environment.json You can change the name of the Environment file. 1. Select Environments and then click Import Import Env 1. Import `template-operator.postman_environment.json` as you did with `RGS-RGS.postman_collection.json` Upload Env 1. Click `template-operator`, change the specified fields in the template (`url`, `sessionToken` and `gameId`) and then click Save Change Fields ### 3. Choose Environment File After importing the Environment file to Postman, choose `template-operator` in the following select box: Choose Env ### 4. Launch Collection Runner The next step is to launch the Collection Runner to perform the testing. Do the following: 1. Make sure the Environment file is chosen 2. Click Collections to open the existing collections 3. Choose the `RGS-RGS` collection and click ... 4. Click Run collection Open Run Settings 1. Select the pointed check box and click Run RGS-RGS Run Collection 1. After successful testing you will see the following results Testing Results 1. In case of some failures, please retry testing by clicking Run Again and if the failures occur again, check the implemented Seamless Wallet API.