Solved
Forum Discussion
doubtsreadyapi
Contributor
Hi nmrao
Thanks for the update, When i try manually hitting the url in browser, it downloads the excel file under downloads folder. i have already tried this manually before.
So, Please let me know whether we can achieve it using readyAPi?
Thanks
nmrao
4 years agoChampion Level 3
I am member like you, explore the problems, see what works and suggest some solutions as part of that in spare time.
You may feel free to check with SmartBear customer support.
- richie4 years agoCommunity HeroHi doubtsreadyapi,
Just a quick update. From your description what youre asking is entirely achievable in ReadyAPI!.
It appears that the dynamically generated URL you are building differs from the URL you are submitting in the browser.
1. Grab the URL you are submitting in the browser, plug it into a url decoder to remove the percent encoding (via https://www.url-encode-decode.com)
2. Submit the request in ReadyAPI!, go to the RAW tab and grab the URL that is generated. Plug this into the html encoder/decoder and decode to remove the percent encoding
3. Compare the browser URL which works against the one submitted in ReadyAPI! and tske note of the differences.
4. Update the config in ReadyAPI! so that the dynamically generated URL matches the format/pattern of the browser URL
Ta
Rich