json
97 JSON Tests for for Authentication Endpoints link pdf link
Basic credentials
{
"login": "admin",
"password": "admin"
}Empty credentials:
{
"login": "",
"password": ""
}3- Null values:
{
"login": null,
"password": null
}Credentials as numbers:
{
"login": 123,
"password": 456
}Credentials as booleans:
Credentials as arrays:
Credentials as objects:
Special characters in credentials:
SQL Injection:
HTML tags in credentials:
Unicode in credentials:
Credentials with escape characters:
Credentials with white space:
Overlong values:
Malformed JSON (missing brace):
Malformed JSON (extra comma):
Missing login key:
Missing password key:
Swapped key values:
Extra keys:
Missing colon:
Invalid Boolean as credentials:
All keys, no values:
Nested objects:
Case sensitivity testing:
Login as a number, password as a string:
Login as a string, password as a number:
Repeated keys:
Single quotes instead of double:
Login and password with only special characters:
Unicode escape sequence:
Value as object instead of string:
Nonexistent variables as values:
Extra nested objects:
Hexadecimal values:
Extra symbols after valid JSON:
Only keys, without values:
Insertion of control characters:
Long Unicode Strings:
Newline Characters in Strings:
Tab Characters in Strings:
Test with HTML content in Strings:
JSON Injection in Strings:
Test with XML content in Strings:
Combination of Number, Strings, and Special characters:
Use of environment variables:
Backslashes in Strings:
Long strings of special characters:
Empty Key in JSON:
JSON Injection in Key:
Quotation marks in strings:
Credentials as nested arrays:
Credentials as nested objects:
Keys as numbers:
Testing with greater than and less than signs:
Testing with parentheses in credentials:
Credentials containing slashes:
Credentials containing multiple data types:
Using escape sequences:
Using curly braces in strings:
Using square brackets in strings:
Strings with only special characters:
Strings with control characters:
Null characters in strings:
Exponential numbers as strings:
Hexadecimal numbers as strings:
Leading zeros in numeric strings:
Multilingual input (here, English and Korean):
Extremely long keys:
Extremely long unicode strings:
JSON strings with semicolon:
JSON strings with backticks:
JSON strings with plus sign:
JSON strings with equal sign:
Strings with Asterisk (*) Symbol:
JSON containing JavaScript code:
Negative numbers as strings:
Values as URLs:
Strings with email format:
Strings with IP address format:
Strings with date format:
JSON with exponential values:
JSON with negative exponential values:
Using Zero Width Space (U+200B) in strings:
Using Zero Width Joiner (U+200D) in strings:
JSON with extremely large numbers:
Strings with backspace characters:
Test with emoji in strings:
JSON with comments, although they are not officially supported in JSON:
JSON with base64 encoded values:
Including null byte character (may cause truncation):
JSON with credentials in scientific notation:
Strings with octal values:
writeup
writeup