HttpMaster Pro 4.4.0-web程序測試工具 HttpMaster是一個web程序測試工具,可以通過從指定網站請求資源來自動化測試。對於需要通過從指定網站請求多個資源來自動化Web應用程序測試的Web開發人員而言,一個有用的應用程序對於專業Web開發人員來說,無論我們是在討論網站還是網絡,都需要使用高級測試工具。 AusefulapplicationforthewebdeveloperswhoneedtoautomatethewebapplicationstestingbyrequestingmultipleresourcesfromaspecifiedwebsiteIt'sonlynaturalforprofessionalwebdeveloperstoneedadvancedtestingtoolsfortheirapplications,whetherwearetalkingaboutawebsiteoraweb-basedapplication.Withafeature-richfeatureset,HttpMasterProfessionalEditionaimstomeettherequirementsofmanyasfarasapplicationtestingisconcerned. HttpMasterproject WhenworkingwithHttpMaster,youwillmostofthetimemanageHttpMasterprojectpropertiesandpropertiesoftherequestitemscontainedinsidetheproject.Projectpropertiesofferglobaloptionstocustomizeinternetrequeststhatwillbeexecuted;changestothispropertiesaffectallprojectrequestitems. HttpMasterprojectcanbesavedtodiskasafilewith'hmpr'extensionforlaterreuse.ProjectfileisstoredinternallyinXMLformat. Broadsetofhttpproperties HttpMasterprojectcontainsalotofoptionswhichcanbeusedtofine-tunegeneratedhttprequests.Theseincluderequestencoding,globalURLandquerystring,globalhttprequestheaders,andcoupleofadvancedpropertieslikeURLencodingandabilitytocompletelydisableexecutiondatastoringwhichcanbeusefulifyouwantexecutionstobecompletedasfastaspossiblewithoutcollectinganydata. Parameters Inprojectpropertiesyoucanalsodefineparametersofdifferentdatatypesanddifferentgenerationtypes.Parametersenableyoutoincludedynamicdatawiththerequestitems;thiscanbeusefultogeneratemultiplerequestsbasedontheparameterdataortocreateglobalreusablevalues. Alldefinedparameterscanbeusedwithrequestitemproperties,forexample,withURLoftherequestitem. Responsedatavalidation BydefaultHttpMastervalidateseachexecutedrequestwithdefaultsystemvalidation.Defaultsystemvalidationmonitorsreturnedhttpstatuscodesanddeterminesexecutionresultaccordingtothisstatuscode.However,youcandefinecustomvalidationsinprojectpropertiesandthenusethisprojectvalidationstodefinecustomvalidationlogicalexpressionforeachrequestitem.Therearedifferenttypesofcustomvalidationsavailable;majorityofthemperformsomevalidationontheresponsebody. Requestchaining HttpMasterprojectenablesyoutodefinechainingitemsofdifferenttypeswhichcanthenbeusedinrequestitemstoincludesomedatafromthepreviousrequestwiththenextrequest.Youcanusetheseprojectchainingitemsinrequestitemproperties,forexample,insiderequestitemURL.Thiswilldynamicallyinsertdatafromthepreviousrequestinplaceswherechainingisused.Insuchaway,youcancreateachainofrequestswhereeachrequestwillusesomedatafromthepreviousrequest. Extensivedatauploadsupport Variousdatapropertiescanbespecifiedwhencreatingrequestitem,includinghttpmethod,URLaddress,andmore.HttpMasteralsohasarichsupportfordataupload;itenablesyoutopostplaintextdata,contentsofparticularfile,ormultipartformdatawhichcanincludemixofplaintextdataanddiskfiles.RequestbodydataforuploadcanalsobeautomaticallybuiltfromanexistingHTMLcontentobtainedfromsomeinternetaddress(URL)ordiskfile. Requestdatabuilder Ifyouhavetotestparticularwebsitewithvariousoptionsofinputdata,youcanbuildrequestbodyfromanexistingHTMLcontentobtainedfromURLordiskfile.HttpMasterwilldetectallHTMLinputelementsinsideFORMtagsandwilldisplaytheminthelistwhereyouwillbeabletoincludethemintherequestbody.ForallHTMLelementswithmultipleoptions(forexample,radiobuttonsorSELECTelements),HttpMasterwillobtainallpossiblevaluesfromHTMLcontentandwillenableyoutoautomaticallycreatemulti-valueparameterwithobtaineddatavalues. Requestitemexecution HttpMasterofferspowerfulexecutioncapabilitiesandallowsyoutoexecuteonlyopenedrequestitem,onlyselectedrequestitems,orallprojectrequestitems.Itisalsopossibletocreateexecutiongroupsandexecuteonlyrequestitemsthatarepartoftheparticularexecutiongroup. Duringtheexecutionprocessyoucanmonitorexecutionsprogressandstatusofeachrequestitem.HttpMasteralsoallowscompleteexecutiondatatobesavedtoexternalfilewith'hmex'extension.Youcanreopenthisfileanytimelatertoreviewexecutiondata. Executiongroupsandconditionalexecution Selectingthesamesetofrequestitemsforexecutionagainandagaincanbecomeatediousandtime-consumingtasks.Ifyouhavetoexecutethesamerequestitemsmanytimes,tryexecutiongroups.Executiongroupsarepowerfulfeatureforsimplifiedexecutionofmultiplerequestitemsandallowyoutospecifycustomexecutionorderforeveryrequestitemcontainedinthegroup. Executiongroupsalsosupportconditionalexecutionofrequestitemsbasedontheexecutionresultofsomeotherrequestiteminthesamegroup.Forexample,youcanspecifytoexecutecertainrequestitemonlyifsomeotherrequestitemwassuccessfullyexecuted. Comprehensivedatareview Oncetheexecutionofparticularrequestitemiscompleted,youcanopenandviewitsexecutionresults.Variousexecutiondataisavailableforreview,includinghttpheaders,cookies,responsedata,size,duration,etc. HttpMasteralsofeaturesseveralprettyviewersforuser-friendlydisplayofresponsedata,includingXML,JSON,HTML,CSS,andmore.Majorityofprettyviewerssupportcodefoldingforexpanding/collapsingselectedcodesections. Responsedatacanbefurthermanipulated,forexample,exportresponsebodytoanexternalfile,searchdataforparticularphrase,createPDFreport,andmore. Additionaltools HttpMasteralsoofferssomeadditionaltools,forexample,adhochttprequesttool.Ifyouneedtoquicklyexecuteasimplehttprequest,creatingprojectandrequestitemmightnotbethebestoption.Insuchsituations,youcanusethisadhocrequesttoolwhichalsosupportscompleteexecutiondatareviewandmanagement. YoucanalsoutilizecommandlineinterfacetoautomateexecutionofHttpMasterprojects.CommandlineexecutionresultsarestoredinspecialfileswhichcanbeopenedinHttpMasterforcompleteexecutiondatareview.