All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.citrusframework.validation.script-validation-template.groovy Maven / Gradle / Ivy

import org.citrusframework.*
import org.citrusframework.variable.*
import org.citrusframework.context.TestContext
import org.citrusframework.validation.script.GroovyScriptExecutor
import org.citrusframework.message.Message

public class ValidationScript implements GroovyScriptExecutor{
    public void validate(Message receivedMessage, TestContext context){
        Map headers = receivedMessage.getHeaders()
        String payload = receivedMessage.getPayload(String.class)

        @SCRIPTBODY@
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy