Ask a Question

setting keystore to the groovystep to interact with Amazon DocumentDB

SOLVED
udayreddy_02
New Contributor

setting keystore to the groovystep to interact with Amazon DocumentDB

Dear Smartbear community

This is my very first post on the community ,

 

I am trying to connect to AWS DocumentDB using groovy script, before that I need to set up the keystore for connecting to DB, for that I have my keystore saved in WSS Container, but facing hard time to set that keystore to the corresponding groovy step where am trying to interact with AWS Document DB.

 

udayreddy_02_1-1617032317571.png

I have tried using https://community.smartbear.com/t5/API-Functional-Security-Testing/Set-SSL-Keystore-using-Groovy-on-... this approach, in this they are trying to set SSL keystore for API request, but in my case its for Groovy script. Please help me with the solution

 

1 ACCEPTED SOLUTION

Accepted Solutions
nmrao
Community Hero

Re: setting keystore to the groovystep to interact with Amazon DocumentDB

Please try their documentation if not already. Use the java program (for groovy, most similar)
https://docs.aws.amazon.com/documentdb/latest/developerguide/connect_programmatically.html


Regards,
Rao.

View solution in original post

4 REPLIES 4
nmrao
Community Hero

Re: setting keystore to the groovystep to interact with Amazon DocumentDB

Please try their documentation if not already. Use the java program (for groovy, most similar)
https://docs.aws.amazon.com/documentdb/latest/developerguide/connect_programmatically.html


Regards,
Rao.

View solution in original post

udayreddy_02
New Contributor

Re: setting keystore to the groovystep to interact with Amazon DocumentDB

I have followed the same approach and was able to connect to Document DB using JAVA through eclispe, tried to replicate  the same in groovy during which am getting suncerpathException which is related to set the keystore in ReadyAPI. Please help me further on this

nmrao
Community Hero

Re: setting keystore to the groovystep to interact with Amazon DocumentDB

I was trying to say earlier that the same java code should work in groovy script (with minor or no modifications).


Regards,
Rao.
sonya_m
Community Manager

Re: setting keystore to the groovystep to interact with Amazon DocumentDB

Thank you Rao!

 

Hi @udayreddy_02, looks like the code should work with some modifications, did you manage to make it work? 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: