I'm trying to do an assert to make sure a correct XMLHttpRequest is made. I know that I can get the exact Request URL from the Developers Console -> Network tab -> XHR tab's general information section. Currently, I'm using Eclipse with TestNG and JAVA as my programming language.
Above is the site I'm testing, and what I need to verify (with AssertTrue) is the Request URL for the "Republican" option in the drop down menu located at the top left of the screen. I'm not sure how to retrieve that specific URL.
I've spent an hour online trying to find a solution for you, but to no avail. I noticed that JMeter did get mentioned a bit in some of the links I read. If anyone knows how to do this or could point me to the documentation I could read that would help, I'd be very appreciative.