Test Steps › Create Test Steps For TestCase
Test Steps
Create Test Steps For TestCase ⚠ Deprecated — This endpoint is deprecated and may be removed in a future version.
Deprecated: Use PUT /api/v2/test-cases with step_events instead.
Create Test Steps For TestCase curl -- request POST \
-- url "https://test-manager-api.lambdatest.com/api/v1/test-steps" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"test_case_id" : "test_case_id" ,
"test_steps" : [
{
"serial_no" : 1 ,
"description" : "enter emails and password" ,
"outcome" : "Login error"
} ,
{
"serial_no" : 2 ,
"description" : "enter emails and password" ,
"outcome" : "Login error"
}
]
} '
{
"message" : "Test steps created successfully" ,
"type" : "Success"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response 200▼
application/json OK
message string
Example: "Test steps created successfully"
type string
Example: "Success"
Create Test Steps For TestCase curl -- request POST \
-- url "https://test-manager-api.lambdatest.com/api/v1/test-steps" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"test_case_id" : "test_case_id" ,
"test_steps" : [
{
"serial_no" : 1 ,
"description" : "enter emails and password" ,
"outcome" : "Login error"
} ,
{
"serial_no" : 2 ,
"description" : "enter emails and password" ,
"outcome" : "Login error"
}
]
} '
{
"message" : "Test steps created successfully" ,
"type" : "Success"
}