Create users based on an array of data
POST http://postman-echo.com/post
This request creates a new user. It runs as many times as the number of elements in the data array.
The pre-request script sets the current user information in a variable and then uses that variable in the request body.
The test script takes care of storing the response and branching the execution based on the success of the request.
Request Body
{"username"=>"{{username}}", "name"=>"{{name}}", "role"=>"{{role}}"}