yarab
16 years agoOccasional Contributor
Re: help: property as function of another property
Hi,
please help
I have this request:
2
24
I want the crsNum to be random between 1 and 4, I did that using property expansion: ${=(int)(Math.random()*10)}
Q: I want StudentAge to be function of crsNum, how to do it in soapUI Pro?
Ex: if crsNum=1, then StudentAge= 10 to 20
if crsNum=2, then StudentAge= 20 to 30
and so on
Another example If I have property t1=current time, How to set another defined property t2=t2-t1
thank you in advance ..
please help
I have this request:
I want the crsNum to be random between 1 and 4, I did that using property expansion: ${=(int)(Math.random()*10)}
Q: I want StudentAge to be function of crsNum, how to do it in soapUI Pro?
Ex: if crsNum=1, then StudentAge= 10 to 20
if crsNum=2, then StudentAge= 20 to 30
and so on
Another example If I have property t1=current time, How to set another defined property t2=t2-t1
thank you in advance ..