Skip to content

Draft: Add test for RCA - troubleshoot via duo chat

Jay McCure requested to merge jmc-rca-test into main

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:

  1. Gets a list of projects
  2. Selects a random project from that list
  3. Gets list of failed jobs from project's pipeline ID
  4. 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)

Merge request reports

Loading