cancel
Showing results for 
Search instead for 
Did you mean: 

Sending variable to another script and getting result

Occasional Contributor

Sending variable to another script and getting result

I have common SQL script to validate ID. I would like to modularize. i have below idea but not sure what i need to use to accomplish.
[Both suite are under same project]

CommonTestSuite > TestCase > TestStep >
Step#1 POST REST request and gets ID as response
Step#2 JSON Slurper gets response ID and sends to CORE test suite for validation
Step#2 Based on the result from CORE test suite, assertion is passed or failed

CORESUITE > TestCase > TestStep >
Step#1 gets the ID and queries the ID in DB
Step#2 sends the result to the calling script

Please share any better idea to keep common SQL functions separate and calling them whenever required.
1 REPLY 1
Occasional Contributor

Re: Sending variable to another script and getting result

looks like this is gonna do the work, ill try

viewtopic.php?t=15744

if you have any other solutions please advise
New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors