Hey,
I have read posts regarding api testing and request module ,which we can use in checking response successfully. But I wanted to know, irrespective of the URL, can I just check response is coming as 200 or not ? any UI is under process for the same ?
How to check url request response as 200 successfully
How to check url request response as 200 successfully
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: How to check url request response as 200 successfully
Hi,
If you mean you want to get the response code from Ranorex action like OpenBrowser, then no, there is no such feature. If you want to get the response code from web request, then you need to write some code for this. Check for example this post:
https://stackoverflow.com/questions/133 ... est-and-ht
If you mean you want to get the response code from Ranorex action like OpenBrowser, then no, there is no such feature. If you want to get the response code from web request, then you need to write some code for this. Check for example this post:
https://stackoverflow.com/questions/133 ... est-and-ht
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to check url request response as 200 successfully
Additionally if you want to get the response from an in browser request, you can use something like Chrome dev tools:
But as odklizec mentioned depending on your requirements you may be better off using a coded approach. Just know that coded network requests do not line up with what is in the browser as coded requests make requests outside of the browser...unless you have some type of middleware to pipe the requests from the browser to your API/code/whatever.
Hope this helps
Just remember if you want to automate and Chrome form objects, you need to launch Chrome with the below flag (just add it to the arguments part of the open browser action):Code: Select all
--force-renderer-accessibility
Hope this helps
You do not have the required permissions to view the files attached to this post.
Re: How to check url request response as 200 successfully
Thanks much Gyz. It helped.
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User