added below tests * API verb tests added ( POST /PUT/PATCH) * Query param tests (This is also includes invalid and valid) * Edit APIs( update of api name and api datasource as well) * mustache API test * Market Place API test * Curl POST test
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"baseUrl": "https://mock-api.appsmith.com",
|
|
"methods": "users",
|
|
"headerKey": "Content-Type",
|
|
"headerValue": "application/xml",
|
|
"headerValueBlank": " ",
|
|
"queryKey": "page",
|
|
"queryValue": "2",
|
|
"queryAndValue": "users?page=2",
|
|
"successStatusCode": "200 OK",
|
|
"failureStatusCode": "5000",
|
|
"responsetext": "Roger Brickelberry",
|
|
"pageResponsetext": "Josh M Krantz",
|
|
"apiname": "SecondAPI",
|
|
"baseUrl2": "https://reqres.in",
|
|
"methods1": "api/users/1",
|
|
"responsetext2": "qui est esse",
|
|
"baseUrl3": "https://reqres.in",
|
|
"methods2": "api/users/2",
|
|
"responsetext3": "Josh M Krantz",
|
|
"postUrl": "https://reqres.in",
|
|
"deleteUrl": "",
|
|
"Post": "POST",
|
|
"Delete": "DELETE",
|
|
"Patch": "PATCH",
|
|
"methodput": "api/users/2",
|
|
"methodpost": "api/users",
|
|
"methodpatch": "api/users/2",
|
|
"methoddelete": "1",
|
|
"putAction": "//div[contains(@id,'react-select') and contains(text(),'PUT')]",
|
|
"postAction": "//div[contains(@id,'react-select') and contains(text(),'POST')]",
|
|
"patchAction": "//div[contains(@id,'react-select') and contains(text(),'PATCH')]",
|
|
"moustacheMethod": "{{Api.text}}"
|
|
} |