var jsonList=pm.response.text();
var json=JSON.parse(jsonList)
function getValue( key1,key2, str ) {
var m = str.match( new RegExp(key1+'(.*?)'+key2) );
return m ? m[ 1 ] : false;
}
var access_token=json['data']['accessToken']
console.log(access_token);
pm.globals.set("access_token", access_token);