Skip to content

Self test issue: JPP_0201 #107

@HolQue

Description

@HolQue

Previously in test case JPP_0201 the JsonPreprocessor returned values, but with a parameter not resolved in a proper way:

Error:

Found deviating return values
(1) '[DICT] (22/22) > {milestone_2} [STR]  :  'MILESTONE-2 (new value)''   > (expected)
(2) '[DICT] (22/22) > {innermost_milestone_name${m${ilstr()o}ne}_str(2)} [STR]  :  'MILESTONE-2 (new value)''   > (returned)

The latest version of JsonPreprocessor does not return values any more, but throws the following exception:

'Could not overwrite parameter ${m${ilstr(${innermost_milestone_name})o}ne}_str(${milestone_number}) due to wrong format.
           Please check key '${m${ilstr(${innermost_milestone_name})o}ne}_str(${milestone_number})' in config file!!!'

But what is wrong with the format? This error message is not helpful.

The expectation is still that the expression is resolved to parameter name "milestone_2".

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions