{
//api_test_result_id
2 : {
"url" : "<https://rocketteam.com/serach/:userid>",
"request" : {
"headers" : {
"Content-Type" : {
"Type" : "String",
"Desc" : "Define request data type",
"Value" : "application/json"
},
"Age" : {
"Type" : "Integer",
"Desc" : "Fields for cashing",
"Value" : "15"
},
},
"body" : {
"ID" : {
"Type" : "String",
"Desc" : "Login User ID",
"itera" : false,
"Constraints" : [
"NotBlank", "Size(min=4, max=10)", "NotNull"
],
"Value" : "Hello"
},
"telephones" :{
"Type" : "String",
"Desc" : "cell-phone numbers with candidates",
"itera" : true,
"Constraints" : [
"NotBlank", "NotNull", "Length(min=2, max=5)"
],
"Value" : ["010-1234-1234", "010-1234-1235", "010-2345-1234"]
}
},
"path_variable" : {
"userid" : {
"Type" : "String",
"Desc" : "for login",
"Constraints" : [
"NotNull"
],
"Value" : "hi"
}
},
"params" : {
"age" : {
"Type" : "int",
"Desc" : "user age",
"Constraints" : [
"NotNull"
],
"Value" : 15
}
}
},
"response" : {
//status code
200 : {
"headers" : {
"Content-Type" : {
"Type" : "String",
"Desc" : "Define response data type",
"Value" : "application/json"
},
"Authorization" : {
"Type" : "String",
"Desc" : "Token for user authentication",
"Value" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
},
"connected_user" : {
"Type" : "Integer",
"Desc" : "users list online",
"itera" : true,
"Value" : [1,2,3,4,5]
}
},
"body":{
"ID" : {
"Type" : "String",
"Desc" : "Identify info for user",
"Value" : "Powerade"
},
"password" : {
"Type" : "String",
"Desc" : "password for authentication",
"Value" : "q1w2e3"
},
"age" : {
"Type" : "Integer",
"Desc" : "user age",
"Value" : 15
}
}
},
405 : {
"headers" : {
"Content-Type" : {
"Type" : "String",
"Desc" : "Identify info for user",
"Value" : "text/plain"
}
},
"body":{
"Message" : {
"Key" : "Message",
"Type" : "String",
"Desc" : "Message for user.",
"Value" : "Methods are not supported"
}
}
}
},
},
3 : {},
4 : {},
}