I'm trying to padd a filtered variable with zero's. Before my web service call step that uses the variable I have a java step that has this in it:
var PID_Str = PID.toString();
for(int i = PID_Str.length(); i < 11; i++)
PID = "0" + PID;
When I run my test in ITR, the Java step correctly prints the variable with the right amount of zero's padded to it, But when I look at the properties in java and webservice steps after it runs I see the value was not updated.
Is there a certain way I have to save the new PID value to my PID filtered variable?