elastic / kibana-load-testing

Http load testing project for Kibana
Apache License 2.0
6 stars 19 forks source link

[Journeys] use cookie header instead of auth API call #326

Closed dmlemeshko closed 1 year ago

dmlemeshko commented 1 year ago

Summary

Closes #325

This PR adds capability to run journey without making login call but setting Cookie header. GenericJourney will now check if "/internal/security/login" is listed in json file. If so, the journey will be run as before. If not, cookies will be generated based on max number of concurrent users and individually passed to each virtual user session.

This PR also updates some of existing journeys to skip login API request and start directly with main flow (LensJourney, CanvasJourney, DashboardJourney and DiscoverJourney)

Checklist

Delete any items that are not applicable to this PR.