20-07-22 09:19 AM
Hi guys,
does anyone of you was using the outputs command from Ressource PC Commands?
My goal is to get termination reason for a session without accessing database.
From the command description it should be doable, but when I execute it on various session ids, I'm receiving the response: SESSION NOT FOUND. The session id can be found in database though...
The only case, when it worked is when I create and run a session using PC Commands, then output for the session is found.
Is there any limitation for outputs? For example: it's only applicable for sessions created via Resource Commands? Or am I missing something?
Best,
Ł
26-07-22 11:54 PM
27-07-22 01:59 PM
Hi Hossein,
sure!
The request looks as follows:
http://{myResource}:8181/user name {myUserName}&password {myPassword}&outputs {mySessionID}
Variables in curly braces are replaced with valid and existing values.
Best,
Ł
27-07-22 05:30 PM
28-07-22 12:49 PM
USER SET USER AUTHENTICATED SESSION NOT FOUNDFull response for: http://{Resource IP}:8181/user name {USERNAME} password {PASSWORD}&outputs {SESSION ID}
USER SET USER NOT SET
Currently I'm using BP version 6.6.
Best,
Ł
28-07-22 02:14 PM
USER SET
OUTPUTS:<outputs><output name="Final Loop Count" type="number" value="3" /></outputs>
USER SET
USER AUTHENTICATED
OUTPUTS:<outputs><output name="Final Loop Count" type="number" value="3" /></outputs>