public Workflow testWorkflow(WorkflowTestRequest testRequest) {
        Validate.notNull(testRequest, "testRequest cannot be null");
        if (testRequest.getWorkflowDef() != null) {
            testRequest.setName(testRequest.getWorkflowDef().getName());
            testRequest.setVersion(testRequest.getWorkflowDef().getVersion());
        }
        return postForEntity("workflow/test", testRequest, null, Workflow.class);
    }
Paginated search for workflows based on payload

@param start start value of page
@param size number of workflows to be returned
@param sort sort order
@param freeText additional free text query
@param query the search query
@return the {@link SearchResult} containing the {@link Workflow} that match the query
client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java