Skip to content

The correlationID is not generated correctly when suite name is overriden #440

Closed
@tkaik

Description

@tkaik

Describe the bug
Suite correlationID is incorrectly generated when the suite name is overriden by a client script parameter (e.g. --name parameter when using aet.sh). The generated correlationId always contains the original suite name from the XML file, instead of the overriden suite name.

  • Version used: AET 3.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Create a new, valid suite.xml file (e.g. use the example from https://github.com/Cognifide/aet/wiki/AETIn10Minutes#set-up-the-test)
  2. Run it with client script parameter whichs overrides the suite name, e.g. ./aet.sh http://localhost:8181 --name replaced-suite-name
  3. Open the generated report - see that the correlationId contains the original suite name from XML file.

Expected behavior
The correlationId should be generated using the overriden suite name. In general, when the suite name is provided as the client script parameter, the whole AET suite processing should ignore the original suite name from the XML file.

Screenshots

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions