Forum Discussion

asseldonk01's avatar
asseldonk01
Contributor
9 years ago

adding assertion via groovy to assertion teststep

Hi, I have seen a lot of information about adding assertions via groovy to a soap teststep. I could not find any info on adding an assertion to an assertion teststep. I am looking for a way to add the source and property via groovy to the assertion teststep. Any suggestions?

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Isn't your problem being addressed if the assertion added to teststep?
    • asseldonk01's avatar
      asseldonk01
      Contributor

      Hi Rao., when reading an xml message from a soa queue into a property an assertion teststep or a groovy script with assertions is the only way. As there is a nich way to add an assertion I would imagine that there is also a nice way to add an assertion to an asserion teststep based on a property assignment.

       

      You are right that in case of a soap request adding the assertion to the teststep can be used.