reportportal / logger-java-rest-assured

Report Portal logger for REST Assured
Apache License 2.0
2 stars 0 forks source link

requests and responses get reported 8 times - the same message #25

Closed ABHammad closed 6 months ago

ABHammad commented 8 months ago

Describe the bug the rest assured request/response is getting reported 8 times, which is messy to filter a lot of logs are duplicated

Steps to Reproduce Steps to reproduce the behavior:

  1. add logger-java-rest-assured to the project
  2. run junit5 test (rest assured) by mvn command (run in parallel)
  3. check reportportal

Expected behavior it should logs messages just one time as it is called only one time

Actual behavior messages reported 8 times

Dependency versions

com.epam.reportportal logger-java-rest-assured 5.3.0
    <dependency>
        <groupId>com.epam.reportportal</groupId>
        <artifactId>logger-java-log4j</artifactId>
        <version>5.2.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-api</artifactId>
        <version>2.22.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-core</artifactId>
        <version>2.22.1</version>
    </dependency>
HardNorth commented 8 months ago

@ABHammad What is your server version?

ABHammad commented 8 months ago

@HardNorth here is the server version API Service: 5.10.1;Index Service: 5.10.1;Jobs Service: 5.10.0;Authorization Service: 5.10.0;Service UI: 5.10.0;

HardNorth commented 8 months ago

@ABHammad Can you show how this looks, take a screenshot?

ABHammad commented 8 months ago
Screenshot 2024-02-13 at 13 06 22

and there are still few messages more the same data

HardNorth commented 6 months ago

Duplicate: https://github.com/reportportal/reportportal/issues/2148