Hi All,
Iโm trying to write a test script that will allow me to save certain parts of the response of a POST request to a database (restdb). Can anyone point me to some resources to getting started?
Thank you,
Austin
Hi All,
Iโm trying to write a test script that will allow me to save certain parts of the response of a POST request to a database (restdb). Can anyone point me to some resources to getting started?
Thank you,
Austin
@spacecraft-candidat2 Welcome to the Community
So I understand that you need some fields from your response to be sent to your database.
First step is easy, where you can parse the API response and store them as variables of your scope. But to handle the second step we need to think about an approach. We can have access the database APIโs else you need to copy the response to the file and to automate the process of inserting those records to your database.
I have picked similar discussions from the forum for you, please go through them to get more details about your ask
I hope you this helps
Got it working! Thanks!