I had several test cases which were passing using 1.6 JDK. When I moved to 1.8 JDK, most of the TestNG test cases started failing in Jenkins and when I run on my local. When I debugged couple of test cases, I see that a doGET
method which gets a HTTP response for a particular URL returns nothing from mock file . It is basically an empty XML body.
The same thing returns the response using the same method and everything else on JDK 1.6. has anyone seen this with JDK 1.8 and can give me some pointers?