As explained above in Dynamic Values in the Recorded Script, "sessionid" is encrypted in production environment, which makes it impossible to keep track of the value in the script. Therefore, we will need to set the PowerServer Web APIs to the test mode:
-
"0" - normal mode
-
"1" - test mode: The test mode will allow PowerServer Web APIs to use plain-text session ID. The security will be compromised; please make sure to use the test mode only in the test environment and change back to the normal mode after completing the tests.
Under the test mode and before "sessionid" is correlated with a variable, the "sessionid" included in the requests is encrypted; and after "sessionid" is correlated with a variable, the "sessionid" will change to plain text.