Skip to main content
All CollectionsAPI & IntegrationsAPI CollectionAdvanced Test Plan
POST Test Step attachment for Step 1 using (FormData)
POST Test Step attachment for Step 1 using (FormData)
Updated this week
{{apiUrl}}/api/v1/testRun/attachment

This endpoint is used to attach files to a test step of a Test Run. See API Collection

Example Request

HEADERS

Authorization

<vansahConnectToken>

Generate a Token from Vansah

Body formdata

attachments

Required. Attachments (Supports Multiple Attachments)

testRunKey 246

Required. Test Run Number

projectKey PVT

Required. Project Key

testStep 1

Optional. Step Number, starts from 1

scriptType {{scriptType}}

Optional. "plainText" or "BDD" case insensitive, used when the case script type in the test run is plained test or bdd

Did this answer your question?