Ask a Question

how to compare multiple database values with api response in single shot without groovy scripting?

SOLVED
Arunachalam_RM
Occasional Contributor

how to compare multiple database values with api response in single shot without groovy scripting?

i have created one table in my sql. i have created one 1 api json response which is coming from my local machine.

now i need to compare response values with databases values as loop.how to do that ?

I add assertion in the request itself.but its comparing all the json values with the last updated mysql database value.

Arunachalam_RM_1-1612179521769.png

 

Arunachalam_RM_0-1612179410948.png

Arunachalam_RM_3-1612179794526.png

 

 

12 REPLIES 12

 

Hey @Arunachalam_RM,

Do you still need the groovy?

I can do iti think but it'll takeme a couple of days cos im real busy with work at the moment. I'll start tonight, but it'll probably be quicker, better code and more efficient if one of the scripters does it rather than me.

Ta

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
Arunachalam_RM
Occasional Contributor

If possible let me know asap @richie
Thanks in advance
cancel
Showing results for 
Search instead for 
Did you mean: