Skip to content

bug: modify response/request rule does not work in GET GraphQL requests #35

@nafees87n

Description

@nafees87n

Describe your issue?

  1. The rule parser in both extension and desktop app only match GQL operationName in request body and not from queryParams in case of GET request

  2. The network traffic table in both extension and desktop app do parse queryParams as well but the actual rule matcher does not. requestDetails.requestData is undefined in case of GET requests. Refer here

  3. GQL requests like https://www.producthunt.com/frontend/graphql?operationName=HeaderDesktopProductsNavigationQuery&variables=%7B%7D&extensions=%7B%22persistedQuery%22%3A%7B%22version%22%3A1%2C%22sha256Hash%22%3A%22b837580ad37ccb60cafa1e4dca02cedfcb1d60dd6742323032ee0f64204fc579%22%7D%7D are not matched by graphql filter

Repro steps

Try to create a GraphQL response/request rule to apply on a GET request where operationName and query is passed through query params. Check rule wont be applied.

What Requestly tool were you using?

  • Extension
  • Desktop-App
  • Android SDK
  • Selenium

Your Environment

Chrome 142

Requestly Version

25.9.24

Error screenshot

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions