AddTestcasesToTestsuite
This method can be used for the following activity: Add test cases to a test suite;
Parameters
The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
Headers
Query
id (string)
Id of the testsuite.
Example:
Body
testcases (array of objects)
A list of all test cases to add to the test suite.
Example:
testcase (string)
Details for the test case.
Example:
details (string)
Details for the test case. Supports rich-text.
Example:
code (string) (optional)
Code for the test case.
Example:
sort_order (number) (optional)
Sort Order to apply to the test case.
Example:
tags (array of strings) (optional)
Tags for the test case.
Example:
execution_flow (array of objects) (optional)
Execution flows for the test case.
Example:
custom_fields (array of objects) (optional)
Custom fields. Must include a key and value. Key must be unique and letters, number and underscores only.
For more information visit https://support.attackforge.com/attackforge-enterprise/getting-started/custom-fields-and-forms#using-custom-fields-with-apis
Example:
Example
The following example is a cURL request to add a test case on a testsuite.
Request
Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
Response
Response contains a status.
Last updated