This code sample gets current temparture from weather.gov (http://graphical.weather.gov/xml/rest.php).
returns temperature date for the given time period. (Hint: the end date has to be a future date!). Result format is xml.
call XML server https://msdn.microsoft.com/en-us/library/ms535874(v=vs.85).aspx
read DOM document https://msdn.microsoft.com/library/ms757878(v=vs.85).aspx
The file weather_us.jmx is am alternative sample this time using jmeter.