If I open a SSH session, I can pass it the password, and it is unencrypted. But if I open a tcl session, the password stays encrypted.
call get_param.fftc#get_param ${arg[1]} password save as password, has a RM query, value() open ssh device command typeset a=\ command [query password value()] perform substitutions Command field contains an encrypted value command echo $a ==>password open tcl shell command set a \ command [query password value()] perform substitutions Command field contains an encrypted value command puts $a ==>encrypted=
Answer by PaulD · Jul 08, 2010 at 12:03 AM
On those two steps, are you setting the checkbox "Command field contains an encrypted value (such as a masked parameter substitution)"?
If so, then another possibility is that you have an extra bit of whitespace in the command field which, I think, may screw up the decryption. (If this is true, we could do a better job of telling you about it, of course!)
Well, I basically copied the tcl line to the ssh one. But just in case, I re-typed the line. Still doesn't work. Testcase attached; Just change the LinuxGen1_cli to any SSH session that has a password.
Well, I don't see anything wrong with this. We need to create an equivalent test case and find out what is going on.
Analysis Rule Wizard bug? 1 Answer
iTest 4.1.1 leaves something running 1 Answer
double interpolation in call? 1 Answer
How to append a query string to the command in a http session 2 Answers
Why does this query not match? 1 Answer
Copyright 2008- Spirent Communications, all rights reserved. Terms and Conditions.