How can I initialize complex initial variable for my test. Something like:
variables.set("token", md5("something" + md5("something" + somevalue + "some other value") + "some value one more time" + someVal));
Dmytro, almost exactly the way that you have described. Runscope provides the CryptoJS library, and you would do it this way:
var someValue = "woot";
variables.set("token", CryptoJS.MD5("something" +
CryptoJS.MD5("foo1" + someValue + "someOtherValue").toString() +
"foo2" + someValue).toString());
The full Runscope scripts documentation is here.