An Azure service that provides an event-driven serverless compute platform.
Hi @Kim Strasser ,
Thanks for reaching out to Microsoft Q&A.
Steps to create multiple test accounts in PlayFab using Postman:
- Set Up Postman Import the PlayFab REST API collection:
https: //raw.githubusercontent.com/PlayFab/PostmanCollection/master/playfabV2.json
- Creating Accounts:
- Individual Account Creation: You can create accounts one by one. To do this, you'll use the
RegisterPlayFabUserAPI in Postman: - Under the Client namespace, find
RegisterPlayFabUser. - In the request body, make sure to include the necessary fields like
Email,Password, and any other required information. - Loop for Multiple Accounts: Postman doesn't natively support loops in requests like some programming environments, but you can create a collection runner or write a small script to automate the Postman requests outside of Postman. However, you would typically call the
RegisterPlayFabUserendpoint multiple times with different parameters (for each account) in a sequential manner.
- Individual Account Creation: You can create accounts one by one. To do this, you'll use the
- Uploading Scores: After creating the accounts, you'll use the
UpdatePlayerStatisticsAPI to upload scores to your leaderboards:- Again, select the appropriate request under the Client namespace and provide the relevant statistics for the newly created accounts.
Use environment variables for storing EntityToken or other user identification to easily switch between accounts.
Hope this helps!