Virtual service doesn't show the created 404 text in Request
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2021
05:51 AM
05-05-2021
05:51 AM
Virtual service doesn't show the created 404 text in Request
Hi,
I'm working with the API's(Virtual) service. It's great to be able to mock responses! But, if I add a second request in my testcase that should give me e.g. 404 error message, the text isn't showing in the json response. How come please?
Setup:
VirtService:
I've filled in the wrong Nbr number thus expecting a 404 with my text. I do see the 404 but not my text:
How can I solve this please?
Thanks in advance,
Kind regards,
AAB
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2021
06:27 AM
05-05-2021
06:27 AM
oh, Ok, I've found out why. As this Nbr is a part of the URL, there is no connection possible. That's why ReadyAPI gives an HTTP404 on its own.
Might the number have been a parameter, this should be working.
@Anastasia can you aknowledge please?
