Ask a Question

Listener/Assertion run order

CLewis
Occasional Contributor

Listener/Assertion run order

I have a listener that I wrote that removes the CDATA tags from responses, so that we can use xpath assertions on the tunneled xml.

However, it no longer works in 2.0 because it seems the assertions run before my listener, or, the assertions use an unmodified copy of the response, I'm not sure which.

My listener currently implements the SubmitListener, and does it's work in afterSubmit().

Is there a better listener I can use, one that runs before the assertions, or some other way to try and do what I'm going for?

Thanks,
Cory
1 REPLY 1
omatzura
Super Contributor

Hi Cory,

hmm.. can you mail me the code of your listener so I can see exactly how it modifies the response? (ole@eviware.com)

thanks in advance!

regards,

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: