How to send the parameter with different data type in readyAPI as a negative scenario in a Test Case
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023
10:39 PM
05-03-2023
10:39 PM
How to send the parameter with different data type in readyAPI as a negative scenario in a Test Case
How to send the parameter with different data type in readyAPI as a negative scenario in a Test Case
I would like to validate my API with all the negative scenarios and as part of it I would like to give other datatypes in the query parameter in my API.
I have added my test Case and tried to parameterize but still we are getting the string alone as data type. How to do that? Please suggest some ideas on it.
Labels:
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023
12:41 AM
05-04-2023
12:41 AM
Do you mean something like below?
https://example.com/api/resource?param1=123
https://example.com/api/resource?param1=abc - the service will return with 400 error code if user tries to pass incorrect data type for the query param.
Are youn't experience the same? Then should contact service provider.
Regards,
Rao.
