using the lodash function ._each, I should be able to access users.user[0].authType
For some reason it is coming back as undefined. The json has approximately 2,000 entries, so I’m trying to figure out should I just a traditional for loop and abandon ._each? or is there a way to include a generic variable for the index of ._each?
For clarity, you say ‘looping through more than one response’. Are you performing this function for one Postman request, or multiple Postman requests? If so, this code will have to be specific to each request you have, in each individual test script section.
If you can provide more context, I can provide more help.