I am unable to get the value of runId variable in the last line. I set the runid in last function.
var runId; testrail.getCases(project_id=551,filters={suite_