AutoBE
    Preparing search index...

    Numeric literal for number values.

    Represents direct numeric values including integers, decimals, and floating-point numbers. Essential for business data like quantities, prices, scores, and identifiers used in test scenarios.

    E2E testing scenarios:

    • Product quantities and prices for API operation parameters
    • Score values and ratings in business validations
    • Pagination parameters (page, limit) for API calls
    • Business thresholds and limits for conditional logic
    • Mathematical calculations with captured data

    Note: Commonly used as arguments in IApiOperateStatement for numeric parameters, or in comparisons with captured API response data.

    interface INumericLiteral {
        type: "numericLiteral";
        value: number;
    }
    Index

    Properties

    Properties

    type: "numericLiteral"

    Type discriminator.

    value: number

    The numeric value.

    Can be integer or floating-point number. Should represent realistic business values appropriate for the test scenario context (e.g., reasonable prices, quantities, scores).

    AI consideration: Use business-appropriate values rather than arbitrary numbers (e.g., 10000 for price instead of 12345.67).