Unable to execute DevTest API Test from Jenkins CA SV Plugin

Document ID : KB000115356
Last Modified Date : 19/09/2018
Show Technical Document Details
Receiving error in Jenkins when API test triggered. Below is the error message 

Building in workspace C:\Program Files (x86)\Jenkins\workspace\CADevTest-API 
Deploying Test MAR file: DevTest_config_info.mari 
To DevTest API located on 
Deployment of the test/testsuite failed! 
ERROR: Status code is 400 
Response body from DevTest is: {"error":{"type":"IllegalArgumentException","message":"Our audit file is either missing or we are not a model archive or are corrupt."}} 
Parsing report 
Parsing suites 
Parsing cases 
[Zephyr Enterprise Test Management [INFO] Examining test results... 
Error parsing surefire reports. 
Please ensure "Publish JUnit test result report is added" as a post build action 
Build step 'Publish test result to Zephyr Enterprise' marked build as failure 
Finished: FAILURE
DevTest 10.3

Using a MARI file instead of a MAR field caused the issue. 

The Error shows  what file is used.  
Deploying Test MAR file: DevTest_config_info.mari 


To deploy and start test cases and test suites, select the Test Type from the drop-down list and enter the MAR file path in the MAR file field. 

The chosen Test Type must match the contents of the MAR file. 

Additional Information:
  • Deploy Test Cases and Test Suites