Forum Discussion
fsking
New Contributor
Hi nmrao, thanks for your reply. Am I correct in my understanding that the log.info will log this in the Script log, but not do any validation on it? Cause that's what it's doing with me.
nmrao
7 years agoChampion Level 3
That is correct. It justs logs the result and does not validate.
If you want to validate, then do:
//Assign expected soap action value below def expected = 'your soap action' def actual = mockRequest.requestHeaders['SOAPAction'][0] assert expected == actual, 'Soap Action not matching'
Related Content
- 2 years agoKimdongart1