json

97 JSON Tests for for Authentication Endpoints link pdf link

  1. Basic credentials

{
"login": "admin",
"password": "admin"
}
  1. Empty credentials:

{
"login": "",
"password": ""
}

3- Null values:

{
"login": null,
"password": null
}
  1. Credentials as numbers:

{
"login": 123,
"password": 456
}
  1. Credentials as booleans:

  1. Credentials as arrays:

  1. Credentials as objects:

  1. Special characters in credentials:

  1. SQL Injection:

  1. HTML tags in credentials:

  1. Unicode in credentials:

  1. Credentials with escape characters:

  1. Credentials with white space:

  1. Overlong values:

  1. Malformed JSON (missing brace):

  1. Malformed JSON (extra comma):

  1. Missing login key:

  1. Missing password key:

  1. Swapped key values:

  1. Extra keys:

  1. Missing colon:

  1. Invalid Boolean as credentials:

  1. All keys, no values:

  1. Nested objects:

  1. Case sensitivity testing:

  1. Login as a number, password as a string:

  1. Login as a string, password as a number:

  1. Repeated keys:

  1. Single quotes instead of double:

  1. Login and password with only special characters:

  1. Unicode escape sequence:

  1. Value as object instead of string:

  1. Nonexistent variables as values:

  1. Extra nested objects:

  1. Hexadecimal values:

  1. Extra symbols after valid JSON:

  1. Only keys, without values:

  1. Insertion of control characters:

  1. Long Unicode Strings:

  1. Newline Characters in Strings:

  1. Tab Characters in Strings:

  1. Test with HTML content in Strings:

  1. JSON Injection in Strings:

  1. Test with XML content in Strings:

  1. Combination of Number, Strings, and Special characters:

  1. Use of environment variables:

  1. Backslashes in Strings:

  1. Long strings of special characters:

  1. Empty Key in JSON:

  1. JSON Injection in Key:

  1. Quotation marks in strings:

  1. Credentials as nested arrays:

  1. Credentials as nested objects:

  1. Keys as numbers:

  1. Testing with greater than and less than signs:

  1. Testing with parentheses in credentials:

  1. Credentials containing slashes:

  1. Credentials containing multiple data types:

  1. Using escape sequences:

  1. Using curly braces in strings:

  1. Using square brackets in strings:

  1. Strings with only special characters:

  1. Strings with control characters:

  1. Null characters in strings:

  1. Exponential numbers as strings:

  1. Hexadecimal numbers as strings:

  1. Leading zeros in numeric strings:

  1. Multilingual input (here, English and Korean):

  1. Extremely long keys:

  1. Extremely long unicode strings:

  1. JSON strings with semicolon:

  1. JSON strings with backticks:

  1. JSON strings with plus sign:

  1. JSON strings with equal sign:

  1. Strings with Asterisk (*) Symbol:

  1. JSON containing JavaScript code:

  1. Negative numbers as strings:

  1. Values as URLs:

  1. Strings with email format:

  1. Strings with IP address format:

  1. Strings with date format:

  1. JSON with exponential values:

  1. JSON with negative exponential values:

  1. Using Zero Width Space (U+200B) in strings:

  1. Using Zero Width Joiner (U+200D) in strings:

  1. JSON with extremely large numbers:

  1. Strings with backspace characters:

  1. Test with emoji in strings:

  1. JSON with comments, although they are not officially supported in JSON:

  1. JSON with base64 encoded values:

  1. Including null byte character (may cause truncation):

  1. JSON with credentials in scientific notation:

  1. Strings with octal values:

  1. writeup

  1. writeup