Hi @WaelAburezeq,
When I ran your collection, in the POST Create SAS Studio Compute Session call, I see the key:value "id": "5fe124e0-a4fe-4149-85cd-58ac5530009f-ses0000", and you add that value to a variable in the Tests code: pm.environment.set("computesessionid", jsonData.id);
I then ran the last call in your collection GET Get Active Compute Sessions. The session id from above returned successfully.
I then see you use that same value to end the session in the DELETE SAS Studio Compute Session: {{viyahostserver}}/compute/sessions/{{computesessionid}}.
I rerun the GET Get Active Compute Sessions call and this returned an empty response as there are no active sessions, indicated by this in the response: "count":0,"items":[],"limit":10,"version":2}.
I think your code is good and running properly.
Thanks,
Joe
... View more