The tle_satellite function within the mock-jutsu library provides developers and aerospace engineers with a robust solution for generating high-fidelity orbital test data. Built to adhere strictly to the NORAD and USSPACECOM standards, this tool produces Two-Line Element sets (TLE) that are essential for testing satellite tracking software, ground station telemetry systems, and space situational awareness applications. By leveraging mock-jutsu, teams can bypass the logistical challenge of sourcing real-world TLE data from public catalogues, instead generating physics-consistent parameters for a wide range of orbit types, including Low Earth Orbit (LEO), Medium Earth Orbit (MEO), Geostationary Orbit (GEO), Sun-Synchronous Orbit (SSO), and Highly Elliptical Orbit (HEO).
Technical accuracy is paramount when dealing with orbital mechanics, and tle_satellite ensures this through rigorous algorithmic validation. Each generated record consists of two 69-character lines containing critical data points such as inclination, right ascension of the ascending node (RAAN), eccentricity, and mean motion. To guarantee the integrity of the mock data, the library implements a precise NORAD Modulo-10 checksum verification on both lines. This level of detail ensures that any downstream parser or orbital propagator used during the testing phase will treat the generated output as a legitimate, valid satellite record, facilitating seamless end-to-end integration testing.
Integrating this function into your development workflow is straightforward across various environments. Developers can invoke the function directly in Python using jutsu.generate('tle_satellite') or utilise the CLI command mockjutsu generate tle_satellite for rapid data generation. For those conducting performance testing or load simulation, the library provides a JMeter function, ${__mockjutsu(tle_satellite,)}, allowing for the dynamic injection of orbital data into large-scale test scripts. This versatility makes it an indispensable asset for teams building complex aerospace simulations that require diverse and reliable test data sets.
Ultimately, using tle_satellite within the mock-jutsu framework empowers development teams to simulate specific orbital configurations and edge cases that are often difficult to replicate with live data. Whether you are validating the logic of a new tracking algorithm or stress-testing a global satellite database, the ability to generate standardised, error-free mock data accelerates the development lifecycle. By automating the creation of these complex orbital strings, mock-jutsu reduces the risk of manual data entry errors and ensures that your testing environment remains both realistic and highly scalable.
mockjutsu generate tle_satellitemockjutsu bulk tle_satellite --count 10mockjutsu export tle_satellite --count 10 --format jsonmockjutsu export tle_satellite --count 10 --format csvmockjutsu export tle_satellite --count 10 --format sqlfrom mockjutsu import jutsujutsu.generate('tle_satellite')jutsu.bulk('tle_satellite', count=10)jutsu.template(['tle_satellite'], count=5)${__mockjutsu_tle(tle_satellite)}# JMeter Function: __mockjutsu_tle# Parameter 1: tle_satellite# Parameter 2: (not required for this function)GET /generate/tle_satellite# → {"type":"tle_satellite","result":"...","status":"ok"}GET /bulk/tle_satellite?count=10POST /template {"types":["tle_satellite"],"count":1}