Default Test Cases

These are the cases where the request is sent with proper values.

Argument Related Cases

Argument Length

These cases are generated based on the length attribute of argument tag. This is applicable for arguments with delimiter style.

  • ArgMaxLength: The Arg Max Length case occurs when the value of an argument exceeds the maximum allowed length.
  • ArgMinLength: The Arg Min Length case occurs when the value of an argument does not meet the minimum allowed length.

Argument Concurrency

These cases are generated based on the concurrent and non-concurrent attribute of argument tag.

  • Concurrent: The Concurrent case occurs when an argument is sent without its concurrent arguments (i.e. arguments that are supposed to be sent always with the original argument).
  • Non Concurrent: The Non Concurrent case occurs when an argument is sent with its non concurrent arguments. (i.e. arguments that are not supposed to be sent in the same request).

Empty Argument

These cases are generated based on the emptiable-for attribute of property tag.

  • Empty Header: The Empty Header case occurs when a non-emptiable header is sent with empty values.
  • Empty Param: The Empty Param case occurs when a non-emptiable header is sent with empty values.

Invalid Argument

These cases are generated for all arguments that are params or headers.

  • Invalid Header: The Invalid Header case occurs when a header is sent with a value of invalid type.
  • Invalid Param: The Invalid Param case occurs when a param is sent with a value of invalid type.

Mandatory Argument

These cases are generated based on the required attribute of argument tag.

  • Mandatory Header: The Mandatory Header case occurs when a mandatory header is not sent in a request.
  • Mandatory Param: The Mandatory Param case occurs when a mandatory param is not sent in a request.

URL Related Cases

  • InvalidValueInURLPath: The Invalid Value In URL Path case occurs when an invalid value is sent in an URL Path variable. This case are generated for all arguments that are URL Path variables.

Request Body Related Cases

Empty Value Cases

These cases are genereted based on the emptiable-for attribute of property tag.

  • EmptyRoot: The Empty Root case occurs when the root key of request-body is sent with an empty value.
  • HollowBody: The Hollow Body case occurs when an empty request-body is sent for a request.
  • Empt Value: The Empty Value case occurs when a non emptiable-for property is sent with empty value.

Invalid Value Cases

These cases are generated for all property tags of request-body.

  • InvalidType: The Invalid Type case occurs when a property is sent with a value of invalid type in the request-body.
  • InvalidValue: The Invalid Type case occurs when a property is sent with an invalid value in the request-body.
  • Invalid Value Condition: The InvalidValueCondition case includes the API calls that are made with the invalid value conditions as specified in the property.

Length Cases

These cases are generated based on length attribute of the property tag.

  • MaximumLength: The Maximum Length case occurs when the length of a property (string or list) exceeds the allowed maximum length.
  • MinimumLength: The Maximum Length case occurs when the length of a property (string or list) does not meet the minimum allowed minimum limit.

These cases are generated based on decimal-place attribute of the propertytag. This is applicable only for double type properties.

  • MaxDecimalLength: The Max Decimal Length case occurs when the property exceeds the maximum allowed decimal place length.
  • MinDecimalLength: The Min Decimal Length case occurs when the property does not meet the minimum allowed decimal place length.

Mandatory Case

Theses cases are generated based on required-for attribute of the property tag.

  • Mandatory: The Mandatory case occurs when a required property is not sent in the request-body.
  • PrimaryNotSent: The* Primary Not Sent* case occurs when the primary key of the resources that is supposed to be sent in the request is not sent.

Null Case

Theses cases are generated based on nullable-for attribute of the property tag.

  • Null: The Null case occurs when a non-nullable property is sent with a null value in the request-body.
  • Root: The* Root* case occurs when null value is sent in the root key of the request-body.

Unique Case

Theses cases are generated based on unique-for attribute of the property tag.

  • Unique: The Unique case occurs when a unique property is sent with a duplicate value in the request-bdoy.

Regex Case

Theses cases are generated based on regex attribute of the property tag. The is applicable only for string type properties.

  • Regex: The Regex case occurs when a property with a regex restriction is sent with a value that violates the regex pattern.

Last Updated 2025-05-30 16:54:59 +0530 +0530