Forum Discussion

Harish007's avatar
Harish007
Occasional Visitor
3 years ago

Trigger Scheduler using ReadyAPI

Dear Team

Scenario: I have 2 APIs, one for create record and another for get records

Once after the record is created, only if we run the batch or scheduler then only we can verify the record is present in Get Records API

To trigger that batch or scheduler, is there any way we can do it using ReadyAPI?
  • KarelHusa's avatar
    KarelHusa
    Champion Level 1

    Harish007,

    the solution depends on how to trigger your batch processing (scheduler) -- via REST/HTTP request, DB function, or some other way? Also, you can do anything from within a Groovy script.

     

    So, there are different options in ReadyAPI.

     

    The question is also whether the batch processing needs to happen and if it can be somehow automated, at least in a test environment.

     

    Best regards,

    Karel