Testnig HTTP request using green thread