NifiLibrary
is a Robot Framework test library which provides keywords to work with Apache Nifi api
Install robotframework-nifilibrary
via pip
command
pip install -U robotframework-nifilibrary
*** Settings *** | ||||||
---|---|---|---|---|---|---|
Library | NifiLibrary | |||||
Library | OperatingSystem | |||||
*** Test Cases *** | ||||||
Rename File - Success | ||||||
${token} | Connect to Nifi | ${base_url} | ${username} | ${password} | ||
Update Parameter Value Without Stopped Component | ${parameter_context_id} | ${file_filter_param} | ${file_filter_name} | |||
Run Once Processor | ${get_file_processor_id} | |||||
List Directory | ${local_folder_path}/ | |||||
Wait Until Keyword Succeeds | 3x | 5s | File Should Exist | ${local_folder_path}/${file_name_value} |