Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleWorking Sample

Please look at at Sample projects Projects and Code snippets Snippets sections for a more concrete end-to-end example.

...

1. Use API Key for Importing Results

Please Generate API Key if if you don't have for your selected project. 

...

ParameterTypeRequiredDescription
apiKeystringYesYour API Key. API Key is unique for a specific user in a single project. The result will be imported for the project associated with the given API Key.
formatstringYes

Format of result file to be imported. Supported formats:

 

testAssetHierarchystringNo

Level of Hierarchy : Test Scenario-Test Case Or Test Case-Test Step

testCaseUpdateLevelnumberNoTest Case update level while reusing test case, starts from 0 to 2. (This is only applicable when you use TestCase-TestStep Hierarchy option)

0 Append test steps while reusing Test Case.
1 Override test steps while reusing Test Case.
2 No change in test steps while reusing Test Case.
Default :- No change in test steps while reusing Test Case.

testRunNamestringNoName of the test run to be created. Default value: Test Run
platformstringNoName of Platform on which test run to be executed.
labelsstringNoComma separated names of Labels to be added to the test run.
versionsstringNoComma separated names of versions to be added to the test run.
componentsstringNoComma separated names of Components to be added to the test run.
sprintstringNoName of Sprint to be added to the test run.
commentstringNoComment to be added to the test run.
testRunKeystringNoProvide Test Run key to append new results to existing Test Run.
attachFile
booleanNoPass true for attachments upload in execution. Default value: false.
JIRAFieldsJSONNoCheck specific Automation custom fields possible value and format here.

...

3. View imported test results

Please refer to to View Imported Test Results section to view imported test results.

...