Forum Discussion
Hi mnaeem,
Thank you for your post. Here is the article which has Groovy samples for working with headers: https://support.smartbear.com/readyapi/docs/testing/scripts/samples/headers.html
- Olga_T7 years ago
Alumni
Hi all,
Nastya, thanks for the link provided!
mnaeem, did the article help you sort this out?
If the question was answered, could you please mark Nastya's reply as a Solution? This makes the search for the answer easier for other Community members in the future.
Thank you in advance!
- mnaeem7 years agoOccasional Contributor
HI Olga_T,
The article is good but it is not the solution for me. I am looking forward to add the authentication e.g. if for any requrest we need to send User ID and Password, if you know any good resource please share
Thanks and Regards,
Muhammad Naeem
- Nastya_Khovrina7 years ago
Alumni
Hi mnaeem,
If you added the auth profile as it's described here: https://support.smartbear.com/readyapi/docs/projects/requests/auth/profile/request.html
You will be able to change the credentials using the script from this article: https://smartbear-cc.force.com/portal/KbArticleViewer?name=How-to-change-credentials-for-an-auth-profile-using-Groovy-script&sp=all