Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing assertions.json file after update into to version: >=3.10.0 #4500

Closed
patrykks opened this issue Dec 20, 2023 · 5 comments
Closed

Missing assertions.json file after update into to version: >=3.10.0 #4500

patrykks opened this issue Dec 20, 2023 · 5 comments

Comments

@patrykks
Copy link

patrykks commented Dec 20, 2023

After updating Gatling (Gradle Gatling Plugin - 'io.gatling.gradle') to version: 3.10.0 in gatling report (gatling artifacts file) there is missing assertions.json file. Before update report was containing following files:

  • build/reports/gatling/app/js/assertions.json
  • build/reports/gatling/app/js/assertions.xml

But after change there is only single file assertions.xml (assertions.json) is missing

  • build/reports/gatling/app/js/assertions.xml

I tried to find information about this change in release notes but I didn't manage to find anything about it. Is is expected change? If so does exists any way to restore generating assertions.json file (for example by modyfying Gatling simulation source code)? If this is not expected is it possible to restore old format of gatling report?

@patrykks patrykks changed the title Missing assertions.json file after update into to version: 3.10.0 Missing assertions.json file after update into to version: >=3.10.0 Dec 20, 2023
@slandelle
Copy link
Member

This change is intended.
This file was never a publicly documented feature nor used internally in any Gatling official components.

@AnskCat
Copy link

AnskCat commented Dec 21, 2023

Previously I was heavily using assertions.xml to reflect test/assertion statuses on Test report in AzureDevOps pipelines (as ADO can parse it as Junit results). I guess same happening in other CI solutions. Without having access to assertions.xml engineers are limited with results visualisation.
If there will be enough official plugins, issue can be eliminated.

@slandelle
Copy link
Member

There's a wide range of official CI solutions plugins and integrations for Gatling Enterprise, including AzureDevOps pipelines.
There won't be any new free ones.

@jonhattan
Copy link

This file was never a publicly documented feature nor used internally in any Gatling official components.

@slandelle indeed it was documented at https://gatling.io/docs/gatling/reference/current/core/assertions/#reports

It is a mess to lose features we rely on overnight.

@slandelle
Copy link
Member

You're right, this was indeed documented.

Unfortunately, it was generating extra maintenance burden for us, while not serving any purpose in any official Gatling component, neither open-source nor Enterprise.

I've updated the documentation accordingly.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants