Registry / testing / rfswarm-agent

rfswarm-agent

JSON →
library1.5.3pypypiunverified

RFSwarm Agent is the load generation component of the RFSwarm performance testing framework. Agents execute test plans sent by the RFSwarm Manager, supporting protocols like HTTP, WebSocket, and custom protocols. Current version 1.5.3 requires Python ≥3.6. Release cadence is irregular.

pip install rfswarm-agent
INSTALL
IMPORT
SIG · RFSWARM-AGENT
R
rfswarm-agent
testingpythonv1.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RFSwarmAgent
from rfswarm_agent import RFSwarmAgent
from rfswarm_agent import RFSwarmAgent

Initialize and run a RFSwarm Agent connecting to a manager.

from rfswarm_agent import RFSwarmAgent import os agent = RFSwarmAgent( manager_url=os.environ.get('RFSWARM_MANAGER_URL', 'http://localhost:8080'), agent_name='my-agent' ) agent.run()
Debug
Known issues
gotchaThe import module uses underscores (rfswarm_agent), while the PyPI package name uses hyphens (rfswarm-agent). This mismatch often leads to ImportError.
fix
Use 'from rfswarm_agent import ...' not 'from rfswarm-agent import ...'.
affects: all
deprecatedPython 3.6 support ends; future versions may drop Python <3.9.
fix
Upgrade to Python 3.9+ or pin version 1.5.x.
affects: >=1.5.0, <2.0
gotchaThe agent requires the RFSwarm Manager to be running and accessible. Agents started without a manager will hang until timeout.
fix
Ensure the manager URL is correct and the manager is running before starting the agent.
affects: all
breakingIn version 1.5.0, the RFSwarmManagerURL parameter was renamed to manager_url. Older code using the old parameter name will raise TypeError.
fix
Update your code: change 'RFSwarmManagerURL' to 'manager_url' when instantiating RFSwarmAgent.
affects: >=1.5.0
Upgrade
Version history
1.5.3latest on PyPI · released Nov 18, 2025
Audit
Dependencies
rfswarm-manageroptionalRequired for orchestration and test plan distribution.
websocket-clientoptionalUsed for WebSocket protocol support in agents.
Agent activity
4 hits · last 30 days
node
4
Resources
rfswarm-agent — pip install rfswarm-agent · libregistry