UaStressTest — load / stress test driver for eso::uatools::ualib. More...
#include <atomic>#include <chrono>#include <csignal>#include <cstdlib>#include <fstream>#include <iostream>#include <random>#include <string>#include <thread>#include <vector>#include <ifw/fnd/defs/base.hpp>#include <ifw/fnd/defs/iCommAdapter.hpp>#include <ifw/fnd/defs/logger.hpp>#include <eso/uatools/ualib/client.hpp>#include <eso/uatools/uastresstest/Config.hpp>#include <eso/uatools/uastresstest/Report.hpp>Functions | |
| int | main (int argc, char **argv) |
UaStressTest — load / stress test driver for eso::uatools::ualib.
Iteration 1. YAML config describes what the target server exposes (readable / writable / subscribable nodes, optional state-machine methods) and named scenarios to run against it. Five scenario kinds are supported: read — every thread reads the readable set in a loop write — every thread writes random values to writable subscribe — every thread subscribes to the subscribable set, passively counts notifications state-cycle — every thread walks the configured state-machine method cycle (init/enable/disable/reset/...) connect-disconnect — every thread connects + disconnects in a loop
All threads share ONE eso::uatools::Client. Multi-Client mode (one Client per thread, exercises cross-Client state) is iteration 2.
| int main | ( | int | argc, |
| char ** | argv ) |