Welcome to the Robotmk Example Collection — a curated set of example projects and templates for working with Robotmk in Checkmk Synthetic Monitoring.
This repository should help beginners with "helo world" examples as well as server advanced users serve as a source of inspiration with templates and experiments.
All suites listed here are intended to be integrated with Checkmk using Robotmk for illustrative purposes.
Web Tests:
| Folder | Description | Docs |
|---|---|---|
| web-mfa-login | This suite shows how easy it is to create own keywords with Python, here: calculating a TOTP token to log into an app. | |
| web-airbnb-responsive | A test which shows how to simulate mobile devices using different viewports like tablets and smartphones. | |
| web-get | How to test a web page for expected text using the RequestsLibrary. | RequestsLibrary |
| web-text | How to test a web page for expected text. | Get Text |
| web-images | How to test a web page for an expected image. | Image Should Contain Template |
| supermarket-complaints | Test for the supermarket complaints portal, see Youtube Channel => | Checkmk Synthetic Monitoring Series (Youtube) |
Robot Framework-only:
| Folder | Description | Docs |
|---|---|---|
| rf-python-varfiles | WIP: A playground to test with variable files (TBD: YAML) | Variable Files |
| rf-listener-create-dynamic-tests | Shows how to use a Robot Framework listener to generate test cases on runtime. | Listener API |
| rf-keyword-grouping | An exmaple of how to use the new GROUP syntax introduced in Robot Framework 7.2 |
GROUP Syntax |
| rf-custom-library | How to write your own RF keywords in Python | Creating Keywords |
Others:
| Folder | Description | Docs |
|---|---|---|
| api/github-api | This suite demonstrates how to use the Requests Library to connect with REST APIs. | Requests Library |
| robotcode-toml | WIP: A repository to showcase the features of the awesome RobotCode extension | RobotCode TOML |
| web-tables | A small test which does some tricks with HTML tables. | Tables |
2. templates/
| Folder | Description | Docs |
|---|---|---|
| Minimal | Very minimal set of files to start with RF | |
| Web Template | Minimal set of files to start with RF and Browser Library. |
| Folder | Description | Docs |
|---|---|---|
| cmk-kpi-monitoring | A RF suite showing how specific keywords can be discovered, alternatively to the server-side pattern based approach | Checkmk Docs: KPI Monitoring |
| dummy_globetrack_tests | "Globetrack" is my fake application and I use this whenever I need a handful of realistic tests with runtime graphs. | -- |
| rf-simple-examples | It really can't be any simpler. | -- |
| rf-strings | How to work with the Strings Library. | String Library |
| robotcode-toml | Sample TOML files for RobotCode(for inspiration) | RobotCode: About TOML FIles |
| web_playwright_traceviewer | A Playwright based test to demonstrate how traces, HAR files and videos can be recorded. | desc |
| web-checkmk-site | WIP: This test logs into a Checkmk site and verifies the users. | |
- Checkmk Training on Synthetic Monitoring - Learn from the inventor of Robotmk!
- Checkmk Documentation – Synthetic Monitoring
- Robot Framework Official Docs
- Robotmk Blog
Found a bug? Have an idea or want to contribute your own test example?
Feel free to open an issue or pull request. This project thrives on shared experience.
MIT License — see LICENSE
Thanks for checking out this collection. Happy testing and monitoring!
Simon Meggle / Checkmk