TestMe TCM
API for performance testing and API testing
GETGet Token
http://127.0.0.1:8000/api/auth/token
Example Request
Get Token
200 OK
Example Response
Date
Server
Content-Type
X-Frame-Options
Vary
Content-Length
X-Content-Type-Options
Referrer-Policy
Set-Cookie
POSTLogin
http://127.0.0.1:8000/api/auth/login
After login csrf token must be copied from cookies and added as X-CSRFToken header to all further requests
Bodyraw (json)
Example Request
Login ok
200 OK
Example Response
No response body
This request doesn't return any response body
Date
Server
Content-Type
X-Frame-Options
Vary
Content-Length
X-Content-Type-Options
Referrer-Policy
Set-Cookie
Set-Cookie
GETLogout
http://127.0.0.1:8000/api/auth/logout
Example Request
Logout
200 OK
Example Response
No response body
This request doesn't return any response body
Date
Server
Content-Type
X-Frame-Options
Content-Length
Vary
X-Content-Type-Options
Referrer-Policy
Set-Cookie
GETList Test Cases
http://127.0.0.1:8000/api/tests
HEADERS
X-CSRFToken
Example Request
List Test Cases
200 OK
Example Response
Date
Server
Content-Type
X-Frame-Options
Content-Length
X-Content-Type-Options
Referrer-Policy
GETList Test Cases with params
http://127.0.0.1:8000/api/tests?page=1&size=5
HEADERS
X-CSRFToken
PARAMS
page
size
Example Request
List Test Cases with params
200 OK
Example Response
Date
Server
Content-Type
X-Frame-Options
Content-Length
X-Content-Type-Options
Referrer-Policy