Learn about our new features recently updated daily.
Status of a Test
Used to get the status of a running test.
API
GET https://api.beaglesecurity.com/rest/v2/test/status?application_token={applicationToken}&result_token={result_token}
Required scope: read_test_status
Request headers
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Request parameters
application_token
string
required
A unique token for identifying the application in your account
result_token
string
required
A unique key for identify result session
Response
status
string
Status of the test
Possible values are:
  • runningTest is running
  • completedTest completed
progress
string
Percentage of test completed
code
string
Status code for the API call.
Values are:
  • SUCCESSAPI call is success
  • PLAN_NOT_SUPPORTEDYour plan does not support this feature.
  • INVALID_SESSIONInvalid session
  • FAILEDFailed to get test status.
  • NOT_AUTHORIZEDUser authentication failed.
message
string
Success/failure message for the API call

Next

Need to halt a running test? The Stop a Test API allows you to cancel an ongoing security test at any stage.