Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
rflogs
is a command-line interface tool for uploading and managing Robot Framework test results with the RF Logs service. It provides an easy way to integrate RF Logs with your CI/CD pipelines or local development workflow.
Install rflogs
using pipx (recommended) or pip:
pipx install rflogs
or
pip install rflogs
rflogs
uses an API key for authentication. Set your RF Logs API key as an environment variable:
export RFLOGS_API_KEY=your_api_key_here
You can add this line to your shell configuration file (e.g., .bashrc
, .zshrc
) to make it permanent.
Without a valid API key, rflogs commands will not work. Ensure you have set this environment variable before proceeding with any operations.
After setting up your API key and installing rflogs, you can start using the tool. Here are the main commands:
rflogs upload
: Upload test resultsrflogs list
: List available runsrflogs info
: Get information about a specific runrflogs download
: Download test resultsrflogs delete
: Delete a specific runUpload test results after running your Robot Framework tests:
rflogs upload [OPTIONS] [OUTPUTDIR]
OUTPUTDIR
: Optional. Specifies the location of the test output files. Default is the current directory.Options:
-o
, --output
: Specify the XML output file. Default: output.xml-l
, --log
: Specify the HTML log file. Default: log.html-r
, --report
: Specify the HTML report file. Default: report.htmlNONE
as the value to skip uploading a specific file type.This command will:
Example usage:
rflogs upload ./results --output custom_output.xml --log custom_log.html --report NONE
Example output:
$ rflogs upload ./results
Uploading results
output.xml 1.20 MB - compressed to 800.00 KB [OK]
log.html 256.00 KB [OK]
report.html 128.00 KB [OK]
screenshot1.png 45.00 KB [OK]
screenshot2.png 52.00 KB [OK]
Run ID: 1234abcd
Files: 5
Size: 1.28 MB
HTML Files:
Log: https://rflogs.io/files/log.html
Report: https://rflogs.io/files/report.html
Run: https://rflogs.io/run-details.html?runId=1234abcd
You can associate tags with your test runs to categorize and filter them. Tags can be specified using the --tag
or -t
option when uploading results.
key:value
tag
rflogs upload -t env:production -t browser:chrome -t regression
Tags help in organizing and filtering your test runs on the RF Logs platform.
FAQs
A CLI tool for uploading Robot Framework test results to rflogs.io
We found that rflogs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.