The inn_individual function within the mock-jutsu library is an essential tool for developers and QA engineers requiring high-fidelity test data for Russian financial and administrative systems. This specialized utility generates a syntactically correct Individual Taxpayer Identification Number (INN) specifically for individuals, which serves as a foundational identifier in the Russian Federation. By providing realistic mock data, mock-jutsu enables software teams to simulate complex registration, taxation, and identity verification workflows without compromising sensitive personal information or relying on static, repetitive datasets that could skew results.
Technically, the inn_individual utility adheres strictly to official regulatory standards to ensure data integrity. For individuals, an INN consists of a 12-digit sequence where the first two digits represent the subject of the Russian Federation and the next two indicate the local tax office. The following six digits represent the unique taxpayer record, while the final two digits are checksums calculated using a specific weighted algorithm. The mock-jutsu library ensures that every generated value passes these standard validation checks, making it indispensable for testing systems that implement strict input verification logic or database constraints.
Utilizing inn_individual is vital for various testing scenarios, such as verifying the integration of Know Your Customer (KYC) modules, processing tax filings, or validating user profile forms in e-commerce and banking applications. Because the tool is available via a Python API, a command-line interface, and a dedicated JMeter plugin, it fits seamlessly into diverse CI/CD pipelines and automated performance testing suites. Developers benefit from significantly reduced manual data entry and the total elimination of "invalid format" errors that often plague early-stage integration testing when using non-compliant test data.
Integration of this function is straightforward across different environments. Whether you are running jutsu.generate('inn_individual') in a Python script or executing mockjutsu generate inn_individual via the CLI, the library provides instant access to valid identifiers. For performance engineers, the JMeter integration allows for the dynamic injection of unique identifiers during high-load stress tests. By automating the creation of these complex identifiers, mock-jutsu empowers development teams to focus on core application logic and system reliability while maintaining the highest standards of data realism.
mockjutsu generate inn_individualmockjutsu bulk inn_individual --count 10mockjutsu export inn_individual --count 10 --format jsonmockjutsu export inn_individual --count 10 --format csvmockjutsu export inn_individual --count 10 --format sql# --mask: regulation-compliant output (PCI DSS / GDPR / KVKK)mockjutsu generate inn_individual --maskmockjutsu bulk inn_individual --count 5 --maskfrom mockjutsu import jutsujutsu.generate('inn_individual')jutsu.bulk('inn_individual', count=10)jutsu.template(['inn_individual'], count=5)# mask=True: regulation-compliant outputjutsu.generate('inn_individual', mask=True)jutsu.bulk('inn_individual', count=5, mask=True)${__mockjutsu_identity(inn_individual)}# JMeter Function: __mockjutsu_identity# Parameter 1: inn_individual# Parameter 2: (not required for this function)# Add 'mask' keyword to get a regulation-compliant masked value${__mockjutsu_identity(inn_individual,mask)}GET /generate/inn_individual# → {"type":"inn_individual","result":"...","status":"ok"}GET /bulk/inn_individual?count=10POST /template {"types":["inn_individual"],"count":1}# mask=true: regulation-compliant outputGET /generate/inn_individual?mask=trueGET /bulk/inn_individual?count=5&mask=true| Parameter | Values | Description |
|---|---|---|
| --mask | true | false | Return a regulation-compliant masked value (PCI DSS, GDPR, KVKK…) |