Skip to content

Postman parser throws non-blocking error when test reference contains single quote in folder name

When a simple quote is present in a directory name inside a Postman collection and therefore also in the test reference in SquashTM, the parsing of the generated report causes a non-blocking error which could distort the final execution status of the test.

Could this problem also occur for other test technologies?

One track could be to explore the implementation of the MessageFormat.format() method.

Example of a test reference with simple quote in folder name: 20221201_SquashTM_Postman_Test_Reference_with_simple_quote_in_folder_name

Example of the Success execution result: 20221201_SquashTM_Postman_Bad_Success_Execution_with_simple_quote_in_folder_name

Example of the parsing logs: 20221201_Postman_Interpreter_Logs_with_simple_quote_in_folder_name

Example of full parsing logs: 20221201_Postman_parsing_logs_with_simple_quote_in_folder_name.txt

Also to see: java-plugins#35 (closed)

Edited by Jean-Marc BELORGANE