Draft: Add test for RCA - troubleshoot via duo chat
Resolves https://gitlab.com/gitlab-org/quality/quality-engineering/team-tasks/-/issues/2894
Original request https://gitlab.slack.com/archives/C076ZH97XRS/p1721673260188409
This MR adds performance tests for the RCA Duo Troubleshoot feature.
api_v4_duo_chat_troubleshoot:
- Gets a list of projects
- Selects a random project from that list
- Gets list of failed jobs from project's pipeline ID
- Sends a graphql
aiAction
with "/troubleshoot"
api_v4_duo_chat_troubleshoot_response_and_streaming
- similar to above but with WebSocket tracking - Send a question to Duo Chat and await the start of the streamed response
Note: k6/tests/quarantined/api_v4_duo_chat_with_response_no_streaming.js
was used as a basis for this test
Edited by Nailia Iskhakova (OOO)