ludeknovy / jtl-reporter

JtlReporter is an online application that allows users to generate beautiful, customizable and easy to understand performance reports from JMeter(Taurus), Locust, and other tools.
https://jtlreporter.site
MIT License
127 stars 33 forks source link

Status feature in continuous upload results #276

Closed jorgetamayo21 closed 5 months ago

jorgetamayo21 commented 5 months ago

I'm trying to migrate from my Locust implementation that generates the JTL file and then uploads it, to the continuous results upload implementation and I can't find the "status" feature that is in the JTL file implementation:

imagen

I am tying that feature to a custom "getStatus" method but in the implementation of continuous upload of results I don't see it anywhere. The status is none and I don't see a way to set it when the test ends.

imagen

imagen

ludeknovy commented 5 months ago

Hi @jorgetamayo21 ! You can send the status in the body: https://github.com/ludeknovy/jtl-reporter-be/blob/742f0d6457ee08e36bc17c63fd4af9c5fd4cd73e/src/server/schema-validator/item-schema.ts#L73

The accepted values: https://github.com/ludeknovy/jtl-reporter-be/blob/742f0d6457ee08e36bc17c63fd4af9c5fd4cd73e/src/server/schema-validator/item-schema.ts#L18