legeti
12 years agoNew Contributor
Check if Reponse equals result of an formula
Hi all,
I have a little problem.....
I want to check if a specific field in the response equals to an formula.
For example:
I have the following custom properties or request parameter.
${testcaseA#A} = 50
${testcaseB#A} = 50
Then i want to add an assertion which check if <result> == ( ${testcaseA#A} * 2 ) + ${testcaseB#A} = 50
How can i do such kind of calculation for assertion?
Thank you in advance!
BYE
legeti
I have a little problem.....
I want to check if a specific field in the response equals to an formula.
For example:
<response>
<result>150</result>
</response>
I have the following custom properties or request parameter.
${testcaseA#A} = 50
${testcaseB#A} = 50
Then i want to add an assertion which check if <result> == ( ${testcaseA#A} * 2 ) + ${testcaseB#A} = 50
How can i do such kind of calculation for assertion?
Thank you in advance!
BYE
legeti