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

Not possible to specify multiple http response codes #67

Open
tobiiasl opened this issue Feb 27, 2018 · 0 comments
Open

Not possible to specify multiple http response codes #67

tobiiasl opened this issue Feb 27, 2018 · 0 comments

Comments

@tobiiasl
Copy link

Use case:
We are using KATT for api testing an http endpoint. But for some tests we first need to make sure that a resource exists (in this case a "customer"). Therefore we need to make a POST request to create the resource. If it already exists we will get 409 back, if not 201.

As far as I understand it is not possible to specify that more than response code is allowed and it is not possible to ignore the response code, only the header and body contents.

It would be very convenient to use KATT also for the POST call and not have to use another tool like Curl.

@andreineculau andreineculau added this to the 1.7.0 milestone May 19, 2019
@andreineculau andreineculau removed this from the 1.7.0 milestone Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants