Skip to main content

Overview

By default, LoadForge is set to test plain HTTP/HTTPS websites. But its versatility allows users to venture beyond this norm. If you’re looking to load test an XML-RPC server, LoadForge combined with Python provides a simple and effective way. This documentation walks you through how to achieve that.

Key Concepts

XML-RPC stands for “XML Remote Procedure Call”. It’s a protocol that encodes its calls as XML and transmits via HTTP. It allows for data to be passed, processed, and returned. LoadForge is a platform that offers a straightforward way to create load tests using Python scripts, such as those that define interactions with XML-RPC servers.

Testing XML-RPC Servers

Below is a practical example of how you can customize LoadForge to test an XML-RPC server. This script simulates calls to the get_time() and get_random_number() functions. Replace these calls with those relevant to your XML-RPC service.

Code Example:


LoadForge is built on the backbone of Locust, making it compatible with open-source Locust scripts. If you’re already a Locust user, you can effortlessly port your scripts to LoadForge to amplify your testing capabilities.