http://gdata.youtube.comaltatomQUERYatomatomjsonrssjson-in-scriptjsoncv2QUERY2122.1qQUERYxs:stringstart-indexQUERYxs:stringmax-resultsQUERYxs:stringapplication/atom+xml; charset=UTF-8200atom:feedapplication/json; charset=UTF-8200vid:Responseapplication/rss+xml; charset=UTF-8200rsstext/javascript; charset=UTF-8200application/json; charset=UTF-8400vid:Faultapplication/json;charset=UTF-8200vid:Response<xml-fragment/>http://gdata.youtube.comGlobal HTTP Settings qQUERYxs:stringstart-indexQUERYxs:stringmax-resultsQUERYxs:stringapplication/atom+xml; charset=UTF-8; type=feed200atom:feedapplication/json; charset=UTF-8200chan:Response<xml-fragment/>http://gdata.youtube.comGlobal HTTP Settingsapplication/vnd.google.gdata.error+xml404 400ns:errorsapplication/atom+xml; charset=UTF-8; type=feed200atom:feedapplication/rss+xml; charset=UTF-8200rss<xml-fragment/>http://gdata.youtube.comGlobal HTTP Settingsapplication/json; charset=UTF-8200most:Responsehttp://gdata.youtube.comGlobal HTTP Settingsapplication/atom+xml; charset=UTF-8; type=feed200atom:feedtext/javascript; charset=UTF-8200text/javascript;charset=UTF-8200<xml-fragment/>http://gdata.youtube.comGlobal HTTP SettingsSEQUENTIALBasic requests with the YouTube API: - Channel Search ; searches for channels named "smartbear" - JSON Response - validates that there is at least one hit - Video Search : searches for videos named "unprepared geeks" - ATOM XML Response - validates that there is at least one hit - Top Rated : validates that the top-rated RSS listing contains the correct youtube image - Most Popular : validates that the Most Popular response in JSONC format contains the expected access-control permissions - Most Viewed : validates that the Most Viewed response in JSON-in-Script format starts with the expected script call see https://developers.google.com/youtube/2.0/developers_guide_protocol_audience<xml-fragment/>http://gdata.youtube.comdeclare namespace ns1='http://gdata.youtube.com/feeds/api/channels'; count( //ns1:Response/ns1:feed/ns1:entry/ns1:e) > 0truefalsefalsefalseGlobal HTTP Settings <xml-fragment/>http://gdata.youtube.comdeclare namespace ns1='http://www.w3.org/2005/Atom'; exists( //ns1:feed/ns1:entry)truefalsefalsefalseGlobal HTTP Settings <xml-fragment/>http://gdata.youtube.com//rss[1]/channel[1]/image[1] http://www.youtube.com/img/pic_youtubelogo_123x63.gif Top Rated http://www.youtube.com/channel/HCWKQJPHqP4J0 ]]>falsefalsefalseGlobal HTTP Settings<xml-fragment/>http://gdata.youtube.comdeclare namespace ns1='http://gdata.youtube.com/feeds/api/standardfeeds/most_popular'; //ns1:Response[1]/ns1:data[1]/ns1:items[1]/ns1:e[1]/ns1:accessControl[1] allowed allowed allowed allowed allowed allowed allowed moderated ]]>falsefalsefalseGlobal HTTP Settings<xml-fragment/>http://gdata.youtube.comgdata\.io\.handleScriptLoaded(.*);falsetrueGlobal HTTP Settings