Create an async method that receive a callback function
Hi, I'm developing a yml openapi definition that will generate a client to interact with an already created API. This API has asynchronous functions that return "delayed" content, and the HTTP connection should be opened until a timeout, lets put the example that each two seconds return a json object that should be processed on the client. So, I would like that the openapi generated client can get a callback function that the USER pass to the generated library, that process this "delayed" response in a separated thread or similar. Looking to the documentation I think that the callbacks are not defined for this purpose. Is possible to do that with openapi? Thanks in advance!1.7KViews0likes2CommentsHow to simulate an asynchronous web service with mock services in soapUI
I'm trying to simulate an asynchronous service. The service must send an ack response and then after some time invoke a callback service. I have been trying different scripts based on some post thai I have found using testcase to invoke the callback service, but I haven't been able to get that the service sends the response before the invokation of the callback service. Does it exits a way to run a test case and then send a response without wait that the test case finishes? Thank you very muchSolved11KViews0likes7Comments