The fullname function is a core component of the mock-jutsu library, specifically engineered to streamline the creation of high-quality test data for developers and QA engineers. By generating a complete identity consisting of both a first name and a surname, this tool ensures that applications are tested with realistic user information rather than repetitive or nonsensical placeholders. Whether you are populating a development database or simulating complex user registration flows, mock-jutsu provides a seamless, automated way to integrate authentic-looking mock data into your development lifecycle.
Under the hood, the fullname generator employs a sophisticated algorithm that draws from extensive, locale-specific datasets to ensure cultural accuracy. This mechanism allows the library to produce names that adhere to regional naming conventions; for example, specifying a Turkish locale might yield a result like "Emre Kaya." By adhering to these diverse linguistic standards, mock-jutsu helps developers identify potential edge cases in string handling, such as character encoding issues or varying name lengths, which are critical for building robust, globalised software that performs reliably across different markets.
In practical testing scenarios, the fullname function proves invaluable for UI/UX validation and backend performance benchmarking. Using realistic test data allows design teams to visualise how long names might wrap in a user interface or how search algorithms perform with diverse datasets. The primary benefit for developers is the significant reduction in manual data entry and the total elimination of privacy concerns associated with using sensitive production data. With mock-jutsu, you can generate thousands of unique, non-identifiable entries in seconds, ensuring that your staging environments remain populated with varied and high-fidelity information.
Accessibility is a hallmark of the mock-jutsu ecosystem, offering multiple integration points for the fullname generator. Developers can effortlessly incorporate it into Python scripts using the jutsu.generate('fullname') method, execute rapid commands via the CLI for quick prototyping, or even embed it within performance testing scripts using the JMeter syntax ${__mockjutsu(fullname,)}. This versatility ensures that regardless of the specific toolchain, engineering teams have constant access to reliable mock data. By automating the generation of full names, mock-jutsu empowers teams to focus on core logic and feature delivery, confident that their testing infrastructure is supported by accurate and versatile data generation capabilities.
mockjutsu generate fullname --locale TRmockjutsu generate fullname --locale DEmockjutsu bulk fullname --count 10 --locale TRmockjutsu export fullname --count 10 --format json --locale TRmockjutsu export fullname --count 10 --format csv --locale TRmockjutsu export fullname --count 10 --format sql --locale TRmockjutsu generate fullname --gender male# --mask: regulation-compliant output (PCI DSS / GDPR / KVKK)mockjutsu generate fullname --locale TR --maskmockjutsu bulk fullname --count 5 --locale TR --maskfrom mockjutsu import jutsujutsu.generate('fullname', locale='TR')jutsu.bulk('fullname', count=10, locale='TR')jutsu.template(['fullname'], count=5, locale='TR')# with --gender parameterjutsu.generate('fullname', gender='male', locale='TR')# mask=True: regulation-compliant outputjutsu.generate('fullname', locale='TR', mask=True)jutsu.bulk('fullname', count=5, locale='TR', mask=True)${__mockjutsu_identity(fullname,TR)}${__mockjutsu_identity(fullname:male)}# JMeter Function: __mockjutsu_identity# Parameter 1: fullname OR fullname:# Qualifier values: male|female# Parameter 2: locale (TR/UK/US/DE/FR/RU)${__mockjutsu_identity(fullname,DE)}# Add 'mask' keyword to get a regulation-compliant masked value${__mockjutsu_identity(fullname,TR,mask)}GET /generate/fullname?locale=TR# → {"type":"fullname","result":"...","status":"ok"}GET /bulk/fullname?count=10&locale=TRPOST /template {"types":["fullname"],"count":1,"locale":"TR"}# mask=true: regulation-compliant outputGET /generate/fullname?locale=TR&mask=trueGET /bulk/fullname?count=5&locale=TR&mask=true| Parameter | Values | Description |
|---|---|---|
| --locale | TR|UK|US|DE|FR|RU | Region / locale for locale-aware output |
| --gender | male|female | Filter output by gender |
| --mask | true | false | Return a regulation-compliant masked value (PCI DSS, GDPR, KVKK…) |