Package com.consol.citrus.functions.core
Class ReadFileResourceFunction
- java.lang.Object
-
- com.consol.citrus.functions.core.ReadFileResourceFunction
-
- All Implemented Interfaces:
com.consol.citrus.functions.Function
public class ReadFileResourceFunction extends Object implements com.consol.citrus.functions.Function
Function reads file from given file path and returns the complete file content as function result. File content is automatically parsed for test variables. File path can also have test variables as part of the file name or path.- Since:
- 2.4
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description ReadFileResourceFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(List<String> parameterList, com.consol.citrus.context.TestContext context)
-