Ask a Question

Data Validation after Running a POST Request

SOLVED
navnak
New Contributor

Data Validation after Running a POST Request

I'm quite new to Ready API and API testing, but need help with needing to validate that after running a post request that the request has been successfully inserted into the database and fetch the status column from the db, which I will use with assertions

The db is running on GCP...

 

Any help is greatly appreciated 

2 REPLIES 2
richie
Community Hero

Hey @navnak 

 

the first thing you'll have to do is identify the RDBMS that is supported by GCP.

 

For on premise database connections I typically use JDBC (JDBC thin drivers with a JDBC connection string) to configure a database connection. 

 

With cloud based RDBMS's like MS Azure SQL (which is a cloud based version of SQL Server) rather than using JDBC, I've had to connect using something like XRMToolbox and connect using REST instead and all database queries are done via REST rather than JDBC (SQL) instead.

 

If you find out what RDBMS that GCP supports (the database you want to query) we can then go forward and assist with the other stuff to get you connected.

 

Cheers,

 

Rich

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
navnak
New Contributor

Thank you Rich, that's helped out and also got help in running it from one of the ReadyAPI guys.

cancel
Showing results for 
Search instead for 
Did you mean: