Forum Discussion
- RJanecekRegular ContributorI found something similar :
context.getTestSuite().getTestCaseByName("teststep1").getTestStepByName("Zadost").addAssertion("SOAP Fault")
but this isnt exactly what I want - Hi,
you could either add the assertion and enable/disable it via a script;
context.getTestSuite().getTestCaseByName("teststep1").getTestStepByName("Zadost").getAssertionByName( "..." ).disabled = true/false
but you would have to do this before the request is submitted..
would that work?
regards!
/Ole
SmartBear Software - RJanecekRegular Contributoryes this works but it isnt still what I want. this solution change code in sopaUI project what I dont want
- Hi,
then you would have to do it via a groovy script - just search for the soap fault element in the response..
regards,
/Ole
SmartBear Software