while Retrieving schedule id with schedule name request getting stuck

samara
samara Explorer

Trying to get the schedule id from name but given request is getting stuck.please help

String urlGet = urlHost + "/Extractions/ScheduleGetByName(ScheduleName='" + ScheduleName + "')";
HttpGet request = new HttpGet(urlGet);
request.addHeader("Authorization", "Token "+sessionToken);

System.out.println("Retrieve Schedule with this name: "+ ScheduleName); ---running till here

HttpResponse response = httpclient.execute(request); -- getting stuck at this point if given schedule is not availble

Best Answer

  • samara
    samara Explorer
    Answer ✓
    • yes we are using proxy, one of user suggested to increase MaxConnPerRoute.it worked. Anayways Thank you for trying

Answers