1. For testing, print the access token (String)globalMap.get("accessToken") on console to check if it is retrieved correctly.
2. There should be a blank space after Bearer, eg:
"Bearer "+(String)globalMap.get("accessToken")
3. Write the all the header name/value in the Http Header list of tRest or tHttpRequest as it requires them in Postman.