Skip to content

Not able to match a URL which doesn't have path but have parameters #94

Description

@kapadiapankit

Hey @mrak

Thanks for the package. I've been using it since long and today I got a little different scenario which I am unable to configure.

Not able to match a URL which doesn't have path and does have many parameters.
Example URL: https://hostname.com/?param1=a&param2=b

Tried this:

- request:
    url: ^/
    params:
      param1: a
      param2: b
    method: GET
    headers:
      content-type: application/xml
  response:
    status: 200
    file: responses/xml_successful.xml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions