Skip to content

Configure header elements of a request #42

Description

@sebastianneubert

It should be possible to add special header data to the request object.

For example it should be possible to set the content_type of a request to application-xml.

# testsuite.yml
example:
    headers:
      - {Content-Type: 'application/xml'}
    Pages:
     - { url: /api/rest/users.json, post: { email: testuser@test.local, nickname: test, name: tester } }

The request to /api/rest/users.json should have the header:

'Content-Type: application/xml; charset=utf-8'

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