"java.lang.AssertionError: assertion failed at java.security" error while importing the xml file containing the Test link testcases.

July 04, 2019

Problem

Getting the "java.lang.AssertionError: assertion failed at java.security" error while importing the xml file containing the Test link testcases.

Cause

The contents of the selected xml file for importing is not in the proper format. The usage of the tags might be the issue.

Fix

  1. Please check the format of the keywords tag.
  2. Edit your xml keywords as below to import successfully.
    • Existing :
      <keywords><keyword name="keyword1"><notes><![CDATA[bla]]></notes></keyword>
      </keywords>
    • Modified :
      <keyword><![CDATA[keyword1]]></keyword>
  3. Please place the <keyword> tag and its description in the <testcase> block.
  4. Attached the sample xml file testcases_import.xml for your reference.

Products: