JHoreczky
13 years agoContributor
[Resolved] Conditional assertions
Hi,
Is it possible to configure conditional assertions? For example, a request that has optional data elements will return varying responses. In such case an assertion should not run for the missing content in the response.
So basically the assertion would only run on certain conditions. Is it doable to configure this through the out of the box assertion functionality, through point and click and maybe through some properties? What other options are available to implement this? Is it feasible to implement it through assertions by groovy scripting? If yes, can you provide some example, that I can start with?
Thanks,
Joseph H.
Is it possible to configure conditional assertions? For example, a request that has optional data elements will return varying responses. In such case an assertion should not run for the missing content in the response.
So basically the assertion would only run on certain conditions. Is it doable to configure this through the out of the box assertion functionality, through point and click and maybe through some properties? What other options are available to implement this? Is it feasible to implement it through assertions by groovy scripting? If yes, can you provide some example, that I can start with?
Thanks,
Joseph H.