Can write Groovy server code in Katalon test case?

104 views Asked by At

I have written a test case that injects and fetches data into and from the system via APIs. So far the journey is good.

In today's date, my test case is acting as a client where it depends on a server.

Can we make our test case listen for user inputs, so that I will write a web client where the user will initiate the data and our Katalon test case should listen for the inputs from UI/client? And based on the user parameters our test case will be triggered.

So my question here is can we write Groovy server code inside our Katalon test case and let it act as an HTTP server listening on a port, where any client can put the request and wait for the test results.

This way we can let our Katalon test running on a reserved machine which will act as a server and we can simply supply client web app to intended users, which will be used for preparing the test data and submit onto the server. Wait for the test results.

Can someone please suggest to me how to make this possible?

0

There are 0 answers