Serial Number Parser

Extract information from your serial numbers.

Screenshot of a settings page displaying the Serial Number tab used for parsing serial numbers.

Overview

Serial numbers often encode multiple pieces of information, but it can be a challenge to manage extraction rules separately and juggle parameters in the test script. TofuPilot’s Serial Number Parsing feature lets you extract details like part numbers directly from serial numbers,regardless of your encoding format, and assign them to the appropriate test parameters automatically.

Integration

  1. To set up your serial number parser, go to Settings > Serial Number.

  2. Start by entering an example serial number under Your example serial number.

  3. Then define a regular expression to extract the part number in the Part number regex field.

You can immediately validate your regex using the preview field below. Once configured, you no longer need to manually define part_number in your script—it will be automatically parsed and passed to the test at runtime.

Screenshot of Tofupilot showing the page for managing serial number parsing.

Was this page helpful?