You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If in single suite will exist empty or duplicated URLs (this might happen fairly easy on huge suites) you will get ambiguous messages while running "malformed" xml.
The message presented on jenkins on older version of aet (2.1.3): [ERROR] Failed to process test suite: 'Not Found'
The message presented on jenkins on lastest version of aet (3.1.0): [ERROR] Failed to schedule test suite: '[Status: 400] Bad Request
Please provide ERROR message which will be more informative OR prevent it in some other way.
Please run below code and unncomenty one of urls to see a failure.
[Status: 400] Something is wrong with your suite definition! Detected errors:
Empty url
Duplicated url, with URL: /test0, with name: /test0
Duplicated url, with URL: /test1, with name: name-1
Duplicated url, with URL: /test3, with name: /test3, with description: description-1
Duplicated url, with URL: /test4, with name: /test4, with description: description-3
Ideally, this should also contain line numbers. I didn't dig deep into it, but I'm not sure if the Simple XML Framework library can provide them. That should be considered as another improvement.
Also, please note that currently, entries with the same href and different names (href="/test2" here) are not treated as a duplicate. I'm not a frequent AET user, so I'm not sure if the name serves some other important purpose, but if not, then the logic should probably be changed to treat every entry with identical href as a duplicate.
The documentation states that "If provided it [the name] should be unique for each test in the test suite.". However, I don't know what would be the purpose of having the same URL entered in the suite with different names.
If in single suite will exist empty or duplicated URLs (this might happen fairly easy on huge suites) you will get ambiguous messages while running "malformed" xml.
The message presented on jenkins on older version of aet (2.1.3):
[ERROR] Failed to process test suite: 'Not Found'
The message presented on jenkins on lastest version of aet (3.1.0):
[ERROR] Failed to schedule test suite: '[Status: 400] Bad Request
Please provide ERROR message which will be more informative OR prevent it in some other way.
Please run below code and unncomenty one of urls to see a failure.
Cheers!
The text was updated successfully, but these errors were encountered: