Forum Discussion

Awesome's avatar
Awesome
Frequent Contributor
15 years ago

Assertions failing when using even listener on response

hi,

i'm running into the same issue as described in the following post, that my 'contains' assertions don't pass when run from the the testcase and i have to manually run each one or click the 'test' button:
viewtopic.php?f=13&t=7174&p=22598#p22598

i've tried three separate event listeners:
SubmitListener.afterSubmit
RequestFilter.afterSubmit
TestRunListener.afterSubmit

Each seems to work fine at parsing out the CDATA from my responses; however, the assertions for each one of my responses still fails (i have a wildcard in my assertions as well as a property expansion).

thanks for the help!

1 Reply

  • Hi,

    hm.. can you attach your project and give us a sample response message (for mocking) so we can see how this is set up?

    regards,

    /Ole
    eviware.com