Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check same request name behaviour #74

Open
finestructure opened this issue May 28, 2019 · 0 comments
Open

Check same request name behaviour #74

finestructure opened this issue May 28, 2019 · 0 comments

Comments

@finestructure
Copy link
Owner

I believe the following will silently overwrite the first request and run only once:

  document:
    url: ${api_url}/v1/contract/${contract_list[0].id}/document
    method: POST
    headers:
      Authorization: Bearer ${login.access_token}
    body:
      json:
        filename: vbox.png
        index: 8
    validation:
      status: 201

  document:
    url: ${api_url}/v1/contract/${contract_list[0].id}/document
    method: POST
    headers:
      Authorization: Bearer ${login.access_token}
    body:
      json:
        filename: vbox.png
        index: 9
    validation:
      status: 201

This must fail or at least warn about the duplicate key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant