Skip to content

JsonMappingException: Could not read test result file allure-results #482

Description

@EvgenyMarchuk

Describe the Bug

Getting JsonMappingException using allure serve when parameters value is more than maximum allowed. But report is generated

Steps to Reproduce

  1. Try to get json file with params value more than maximum allowed(20000000)
  2. open cmd
  3. run allure serve

Expected Behaviour

There is no error

Screenshots or Additional Context

Could not read test result file allure-results\065735e26ab94a27b7912691bf93fc82-result.json
com.fasterxml.jackson.databind.JsonMappingException: String value length (20051112) exceeds the maximum allowed (20000000, from `StreamReadConstraints.getMaxStringLength()`) (through reference chain: io.qameta.allure.model.TestResult["parameters"]->java.util.ArrayList[0]->io.qameta.allure.model.Parameter["value"])

What Language are you using?

C#

What Framework/Allure Integration you are using?

nunit 4

What version of Allure Integration you are using?

2.12

What version of Allure Report you are using?

2.27

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions