benchmark_2015.jmx 417 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <jmeterTestPlan version="1.2" properties="2.8" jmeter="2.13 r1665067">
  9. <hashTree>
  10. <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Performance Toolkit" enabled="true">
  11. <stringProp name="TestPlan.comments"></stringProp>
  12. <boolProp name="TestPlan.functional_mode">false</boolProp>
  13. <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
  14. <stringProp name="TestPlan.user_define_classpath"></stringProp>
  15. <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  16. <collectionProp name="Arguments.arguments">
  17. <elementProp name="request_protocol" elementType="Argument">
  18. <stringProp name="Argument.name">request_protocol</stringProp>
  19. <stringProp name="Argument.value">${__P(request_protocol,http)}</stringProp>
  20. <stringProp name="Argument.metadata">=</stringProp>
  21. </elementProp>
  22. <elementProp name="abandonedCartByGuest" elementType="Argument">
  23. <stringProp name="Argument.name">abandonedCartByGuest</stringProp>
  24. <stringProp name="Argument.value">${__P(abandonedCartByGuest,0)}</stringProp>
  25. <stringProp name="Argument.metadata">=</stringProp>
  26. </elementProp>
  27. <elementProp name="abandonedCartByGuestPercent" elementType="Argument">
  28. <stringProp name="Argument.name">abandonedCartByGuestPercent</stringProp>
  29. <stringProp name="Argument.value">${__P(abandonedCartByGuestPercent,100)}</stringProp>
  30. <stringProp name="Argument.metadata">=</stringProp>
  31. </elementProp>
  32. <elementProp name="abandonedCartByCustomer" elementType="Argument">
  33. <stringProp name="Argument.name">abandonedCartByCustomer</stringProp>
  34. <stringProp name="Argument.value">${__P(abandonedCartByCustomer,0)}</stringProp>
  35. <stringProp name="Argument.metadata">=</stringProp>
  36. </elementProp>
  37. <elementProp name="abandonedCartByCustomerPercent" elementType="Argument">
  38. <stringProp name="Argument.name">abandonedCartByCustomerPercent</stringProp>
  39. <stringProp name="Argument.value">${__P(abandonedCartByCustomerPercent,100)}</stringProp>
  40. <stringProp name="Argument.metadata">=</stringProp>
  41. </elementProp>
  42. <elementProp name="accountManagement" elementType="Argument">
  43. <stringProp name="Argument.name">accountManagement</stringProp>
  44. <stringProp name="Argument.value">${__P(accountManagement,0)}</stringProp>
  45. <stringProp name="Argument.metadata">=</stringProp>
  46. </elementProp>
  47. <elementProp name="accountManagementPercent" elementType="Argument">
  48. <stringProp name="Argument.name">accountManagementPercent</stringProp>
  49. <stringProp name="Argument.value">${__P(accountManagementPercent,100)}</stringProp>
  50. <stringProp name="Argument.metadata">=</stringProp>
  51. </elementProp>
  52. <elementProp name="admin_password" elementType="Argument">
  53. <stringProp name="Argument.name">admin_password</stringProp>
  54. <stringProp name="Argument.value">${__P(admin_password,123123q)}</stringProp>
  55. <stringProp name="Argument.metadata">=</stringProp>
  56. </elementProp>
  57. <elementProp name="admin_path" elementType="Argument">
  58. <stringProp name="Argument.name">admin_path</stringProp>
  59. <stringProp name="Argument.value">${__P(admin_path,admin)}</stringProp>
  60. <stringProp name="Argument.metadata">=</stringProp>
  61. </elementProp>
  62. <elementProp name="admin_user" elementType="Argument">
  63. <stringProp name="Argument.name">admin_user</stringProp>
  64. <stringProp name="Argument.value">${__P(admin_user,admin)}</stringProp>
  65. <stringProp name="Argument.metadata">=</stringProp>
  66. </elementProp>
  67. <elementProp name="adminBrowseCustomersGridPercent" elementType="Argument">
  68. <stringProp name="Argument.name">adminBrowseCustomersGridPercent</stringProp>
  69. <stringProp name="Argument.value">${__P(adminBrowseCustomersGridPercent,100)}</stringProp>
  70. <stringProp name="Argument.metadata">=</stringProp>
  71. </elementProp>
  72. <elementProp name="adminBrowseCustomersGridScenario1_ViewOddGridPages" elementType="Argument">
  73. <stringProp name="Argument.name">adminBrowseCustomersGridScenario1_ViewOddGridPages</stringProp>
  74. <stringProp name="Argument.value">${__P(adminBrowseCustomersGridScenario1_ViewOddGridPages,0)}</stringProp>
  75. <stringProp name="Argument.metadata">=</stringProp>
  76. </elementProp>
  77. <elementProp name="adminBrowseCustomersGridScenario2_ViewEvenGridPages" elementType="Argument">
  78. <stringProp name="Argument.name">adminBrowseCustomersGridScenario2_ViewEvenGridPages</stringProp>
  79. <stringProp name="Argument.value">${__P(adminBrowseCustomersGridScenario2_ViewEvenGridPages,0)}</stringProp>
  80. <stringProp name="Argument.metadata">=</stringProp>
  81. </elementProp>
  82. <elementProp name="adminBrowseCustomersGridScenario3_Filtering" elementType="Argument">
  83. <stringProp name="Argument.name">adminBrowseCustomersGridScenario3_Filtering</stringProp>
  84. <stringProp name="Argument.value">${__P(adminBrowseCustomersGridScenario3_Filtering,0)}</stringProp>
  85. <stringProp name="Argument.metadata">=</stringProp>
  86. </elementProp>
  87. <elementProp name="adminBrowseCustomersGridScenario4_Sorting" elementType="Argument">
  88. <stringProp name="Argument.name">adminBrowseCustomersGridScenario4_Sorting</stringProp>
  89. <stringProp name="Argument.value">${__P(adminBrowseCustomersGridScenario4_Sorting,0)}</stringProp>
  90. <stringProp name="Argument.metadata">=</stringProp>
  91. </elementProp>
  92. <elementProp name="adminBrowseCustomersGridScenario5_FilteringAndSorting" elementType="Argument">
  93. <stringProp name="Argument.name">adminBrowseCustomersGridScenario5_FilteringAndSorting</stringProp>
  94. <stringProp name="Argument.value">${__P(adminBrowseCustomersGridScenario5_FilteringAndSorting,0)}</stringProp>
  95. <stringProp name="Argument.metadata">=</stringProp>
  96. </elementProp>
  97. <elementProp name="adminBrowseOrdersGridPercent" elementType="Argument">
  98. <stringProp name="Argument.name">adminBrowseOrdersGridPercent</stringProp>
  99. <stringProp name="Argument.value">${__P(adminBrowseOrdersGridPercent,100)}</stringProp>
  100. <stringProp name="Argument.metadata">=</stringProp>
  101. </elementProp>
  102. <elementProp name="adminBrowseOrdersGridScenario1_ViewOddGridPages" elementType="Argument">
  103. <stringProp name="Argument.name">adminBrowseOrdersGridScenario1_ViewOddGridPages</stringProp>
  104. <stringProp name="Argument.value">${__P(adminBrowseOrdersGridScenario1_ViewOddGridPages,0)}</stringProp>
  105. <stringProp name="Argument.metadata">=</stringProp>
  106. </elementProp>
  107. <elementProp name="adminBrowseOrdersGridScenario2_ViewEvenGridPages" elementType="Argument">
  108. <stringProp name="Argument.name">adminBrowseOrdersGridScenario2_ViewEvenGridPages</stringProp>
  109. <stringProp name="Argument.value">${__P(adminBrowseOrdersGridScenario2_ViewEvenGridPages,0)}</stringProp>
  110. <stringProp name="Argument.metadata">=</stringProp>
  111. </elementProp>
  112. <elementProp name="adminBrowseOrdersGridScenario3_Filtering" elementType="Argument">
  113. <stringProp name="Argument.name">adminBrowseOrdersGridScenario3_Filtering</stringProp>
  114. <stringProp name="Argument.value">${__P(adminBrowseOrdersGridScenario3_Filtering,0)}</stringProp>
  115. <stringProp name="Argument.metadata">=</stringProp>
  116. </elementProp>
  117. <elementProp name="adminBrowseOrdersGridScenario4_Sorting" elementType="Argument">
  118. <stringProp name="Argument.name">adminBrowseOrdersGridScenario4_Sorting</stringProp>
  119. <stringProp name="Argument.value">${__P(adminBrowseOrdersGridScenario4_Sorting,0)}</stringProp>
  120. <stringProp name="Argument.metadata">=</stringProp>
  121. </elementProp>
  122. <elementProp name="adminBrowseOrdersGridScenario5_FilteringAndSorting" elementType="Argument">
  123. <stringProp name="Argument.name">adminBrowseOrdersGridScenario5_FilteringAndSorting</stringProp>
  124. <stringProp name="Argument.value">${__P(adminBrowseOrdersGridScenario5_FilteringAndSorting,0)}</stringProp>
  125. <stringProp name="Argument.metadata">=</stringProp>
  126. </elementProp>
  127. <elementProp name="adminBrowseProductsGridPercent" elementType="Argument">
  128. <stringProp name="Argument.name">adminBrowseProductsGridPercent</stringProp>
  129. <stringProp name="Argument.value">${__P(adminBrowseProductsGridPercent,100)}</stringProp>
  130. <stringProp name="Argument.metadata">=</stringProp>
  131. </elementProp>
  132. <elementProp name="adminBrowseProductsGridScenario1_ViewOddGridPages" elementType="Argument">
  133. <stringProp name="Argument.name">adminBrowseProductsGridScenario1_ViewOddGridPages</stringProp>
  134. <stringProp name="Argument.value">${__P(adminBrowseProductsGridScenario1_ViewOddGridPages,0)}</stringProp>
  135. <stringProp name="Argument.metadata">=</stringProp>
  136. </elementProp>
  137. <elementProp name="adminBrowseProductsGridScenario2_ViewEvenGridPages" elementType="Argument">
  138. <stringProp name="Argument.name">adminBrowseProductsGridScenario2_ViewEvenGridPages</stringProp>
  139. <stringProp name="Argument.value">${__P(adminBrowseProductsGridScenario2_ViewEvenGridPages,0)}</stringProp>
  140. <stringProp name="Argument.metadata">=</stringProp>
  141. </elementProp>
  142. <elementProp name="adminBrowseProductsGridScenario3_Filtering" elementType="Argument">
  143. <stringProp name="Argument.name">adminBrowseProductsGridScenario3_Filtering</stringProp>
  144. <stringProp name="Argument.value">${__P(adminBrowseProductsGridScenario3_Filtering,0)}</stringProp>
  145. <stringProp name="Argument.metadata">=</stringProp>
  146. </elementProp>
  147. <elementProp name="adminBrowseProductsGridScenario4_Sorting" elementType="Argument">
  148. <stringProp name="Argument.name">adminBrowseProductsGridScenario4_Sorting</stringProp>
  149. <stringProp name="Argument.value">${__P(adminBrowseProductsGridScenario4_Sorting,0)}</stringProp>
  150. <stringProp name="Argument.metadata">=</stringProp>
  151. </elementProp>
  152. <elementProp name="adminBrowseProductsGridScenario5_FilteringAndSorting" elementType="Argument">
  153. <stringProp name="Argument.name">adminBrowseProductsGridScenario5_FilteringAndSorting</stringProp>
  154. <stringProp name="Argument.value">${__P(adminBrowseProductsGridScenario5_FilteringAndSorting,0)}</stringProp>
  155. <stringProp name="Argument.metadata">=</stringProp>
  156. </elementProp>
  157. <elementProp name="adminCategoryCount" elementType="Argument">
  158. <stringProp name="Argument.name">adminCategoryCount</stringProp>
  159. <stringProp name="Argument.value">${__P(adminCategoryCount,0)}</stringProp>
  160. <stringProp name="Argument.metadata">=</stringProp>
  161. </elementProp>
  162. <elementProp name="adminCategoryManagement" elementType="Argument">
  163. <stringProp name="Argument.name">adminCategoryManagement</stringProp>
  164. <stringProp name="Argument.value">${__P(adminCategoryManagement,0)}</stringProp>
  165. <stringProp name="Argument.metadata">=</stringProp>
  166. </elementProp>
  167. <elementProp name="adminCategoryManagementDelay" elementType="Argument">
  168. <stringProp name="Argument.name">adminCategoryManagementDelay</stringProp>
  169. <stringProp name="Argument.value">${__P(adminCategoryManagementDelay,0)}</stringProp>
  170. <stringProp name="Argument.metadata">=</stringProp>
  171. </elementProp>
  172. <elementProp name="adminCategoryManagementPercent" elementType="Argument">
  173. <stringProp name="Argument.name">adminCategoryManagementPercent</stringProp>
  174. <stringProp name="Argument.value">${__P(adminCategoryManagementPercent,100)}</stringProp>
  175. <stringProp name="Argument.metadata">=</stringProp>
  176. </elementProp>
  177. <elementProp name="adminCMSManagement" elementType="Argument">
  178. <stringProp name="Argument.name">adminCMSManagement</stringProp>
  179. <stringProp name="Argument.value">${__P(adminCMSManagement,0)}</stringProp>
  180. <stringProp name="Argument.metadata">=</stringProp>
  181. </elementProp>
  182. <elementProp name="adminCMSManagementDelay" elementType="Argument">
  183. <stringProp name="Argument.name">adminCMSManagementDelay</stringProp>
  184. <stringProp name="Argument.value">${__P(adminCMSManagementDelay,0)}</stringProp>
  185. <stringProp name="Argument.metadata">=</stringProp>
  186. </elementProp>
  187. <elementProp name="adminCMSManagementPercent" elementType="Argument">
  188. <stringProp name="Argument.name">adminCMSManagementPercent</stringProp>
  189. <stringProp name="Argument.value">${__P(adminCMSManagementPercent,100)}</stringProp>
  190. <stringProp name="Argument.metadata">=</stringProp>
  191. </elementProp>
  192. <elementProp name="adminCreateOrder" elementType="Argument">
  193. <stringProp name="Argument.name">adminCreateOrder</stringProp>
  194. <stringProp name="Argument.value">${__P(adminCreateOrder,0)}</stringProp>
  195. <stringProp name="Argument.metadata">=</stringProp>
  196. </elementProp>
  197. <elementProp name="adminCreateOrderPercent" elementType="Argument">
  198. <stringProp name="Argument.name">adminCreateOrderPercent</stringProp>
  199. <stringProp name="Argument.value">${__P(adminCreateOrderPercent,100)}</stringProp>
  200. <stringProp name="Argument.metadata">=</stringProp>
  201. </elementProp>
  202. <elementProp name="adminCreateProduct" elementType="Argument">
  203. <stringProp name="Argument.name">adminCreateProduct</stringProp>
  204. <stringProp name="Argument.value">${__P(adminCreateProduct,0)}</stringProp>
  205. <stringProp name="Argument.metadata">=</stringProp>
  206. </elementProp>
  207. <elementProp name="adminCreateProductPercent" elementType="Argument">
  208. <stringProp name="Argument.name">adminCreateProductPercent</stringProp>
  209. <stringProp name="Argument.value">${__P(adminCreateProductPercent,100)}</stringProp>
  210. <stringProp name="Argument.metadata">=</stringProp>
  211. </elementProp>
  212. <elementProp name="adminCustomerManagement" elementType="Argument">
  213. <stringProp name="Argument.name">adminCustomerManagement</stringProp>
  214. <stringProp name="Argument.value">${__P(adminCustomerManagement,0)}</stringProp>
  215. <stringProp name="Argument.metadata">=</stringProp>
  216. </elementProp>
  217. <elementProp name="adminCustomerManagementDelay" elementType="Argument">
  218. <stringProp name="Argument.name">adminCustomerManagementDelay</stringProp>
  219. <stringProp name="Argument.value">${__P(adminCustomerManagementDelay,0)}</stringProp>
  220. <stringProp name="Argument.metadata">=</stringProp>
  221. </elementProp>
  222. <elementProp name="adminCustomerManagementPercent" elementType="Argument">
  223. <stringProp name="Argument.name">adminCustomerManagementPercent</stringProp>
  224. <stringProp name="Argument.value">${__P(adminCustomerManagementPercent,100)}</stringProp>
  225. <stringProp name="Argument.metadata">=</stringProp>
  226. </elementProp>
  227. <elementProp name="adminEditOrder" elementType="Argument">
  228. <stringProp name="Argument.name">adminEditOrder</stringProp>
  229. <stringProp name="Argument.value">${__P(adminEditOrder,0)}</stringProp>
  230. <stringProp name="Argument.metadata">=</stringProp>
  231. </elementProp>
  232. <elementProp name="adminEditOrderPercent" elementType="Argument">
  233. <stringProp name="Argument.name">adminEditOrderPercent</stringProp>
  234. <stringProp name="Argument.value">${__P(adminEditOrderPercent,100)}</stringProp>
  235. <stringProp name="Argument.metadata">=</stringProp>
  236. </elementProp>
  237. <elementProp name="adminEditProduct" elementType="Argument">
  238. <stringProp name="Argument.name">adminEditProduct</stringProp>
  239. <stringProp name="Argument.value">${__P(adminEditProduct,0)}</stringProp>
  240. <stringProp name="Argument.metadata">=</stringProp>
  241. </elementProp>
  242. <elementProp name="adminEditProductPercent" elementType="Argument">
  243. <stringProp name="Argument.name">adminEditProductPercent</stringProp>
  244. <stringProp name="Argument.value">${__P(adminEditProductPercent,100)}</stringProp>
  245. <stringProp name="Argument.metadata">=</stringProp>
  246. </elementProp>
  247. <elementProp name="adminExportCustomers" elementType="Argument">
  248. <stringProp name="Argument.name">adminExportCustomers</stringProp>
  249. <stringProp name="Argument.value">${__P(adminExportCustomers,0)}</stringProp>
  250. <stringProp name="Argument.metadata">=</stringProp>
  251. </elementProp>
  252. <elementProp name="adminExportProducts" elementType="Argument">
  253. <stringProp name="Argument.name">adminExportProducts</stringProp>
  254. <stringProp name="Argument.value">${__P(adminExportProducts,0)}</stringProp>
  255. <stringProp name="Argument.metadata">=</stringProp>
  256. </elementProp>
  257. <elementProp name="adminImportCustomerBehavior" elementType="Argument">
  258. <stringProp name="Argument.name">adminImportCustomerBehavior</stringProp>
  259. <stringProp name="Argument.value">${__P(adminImportCustomerBehavior,)}</stringProp>
  260. <stringProp name="Argument.metadata">=</stringProp>
  261. </elementProp>
  262. <elementProp name="adminImportCustomerFilePath" elementType="Argument">
  263. <stringProp name="Argument.name">adminImportCustomerFilePath</stringProp>
  264. <stringProp name="Argument.value">${__P(adminImportCustomerFilePath,0)}</stringProp>
  265. <stringProp name="Argument.metadata">=</stringProp>
  266. </elementProp>
  267. <elementProp name="adminImportCustomers" elementType="Argument">
  268. <stringProp name="Argument.name">adminImportCustomers</stringProp>
  269. <stringProp name="Argument.value">${__P(adminImportCustomers,0)}</stringProp>
  270. <stringProp name="Argument.metadata">=</stringProp>
  271. </elementProp>
  272. <elementProp name="adminImportProductBehavior" elementType="Argument">
  273. <stringProp name="Argument.name">adminImportProductBehavior</stringProp>
  274. <stringProp name="Argument.value">${__P(adminImportProductBehavior,)}</stringProp>
  275. <stringProp name="Argument.metadata">=</stringProp>
  276. </elementProp>
  277. <elementProp name="adminImportProductFilePath" elementType="Argument">
  278. <stringProp name="Argument.name">adminImportProductFilePath</stringProp>
  279. <stringProp name="Argument.value">${__P(adminImportProductFilePath,0)}</stringProp>
  280. <stringProp name="Argument.metadata">=</stringProp>
  281. </elementProp>
  282. <elementProp name="adminImportProductFilePath-2" elementType="Argument">
  283. <stringProp name="Argument.name">adminImportProductFilePath-2</stringProp>
  284. <stringProp name="Argument.value">${__P(adminImportProductFilePath-2,0)}</stringProp>
  285. <stringProp name="Argument.metadata">=</stringProp>
  286. </elementProp>
  287. <elementProp name="adminImportProducts" elementType="Argument">
  288. <stringProp name="Argument.name">adminImportProducts</stringProp>
  289. <stringProp name="Argument.value">${__P(adminImportProducts,0)}</stringProp>
  290. <stringProp name="Argument.metadata">=</stringProp>
  291. </elementProp>
  292. <elementProp name="adminPromotionsManagement" elementType="Argument">
  293. <stringProp name="Argument.name">adminPromotionsManagement</stringProp>
  294. <stringProp name="Argument.value">${__P(adminPromotionsManagement,0)}</stringProp>
  295. <stringProp name="Argument.metadata">=</stringProp>
  296. </elementProp>
  297. <elementProp name="adminPromotionsManagementDelay" elementType="Argument">
  298. <stringProp name="Argument.name">adminPromotionsManagementDelay</stringProp>
  299. <stringProp name="Argument.value">${__P(adminPromotionsManagementDelay,0)}</stringProp>
  300. <stringProp name="Argument.metadata">=</stringProp>
  301. </elementProp>
  302. <elementProp name="adminPromotionsManagementPercent" elementType="Argument">
  303. <stringProp name="Argument.name">adminPromotionsManagementPercent</stringProp>
  304. <stringProp name="Argument.value">${__P(adminPromotionsManagementPercent,100)}</stringProp>
  305. <stringProp name="Argument.metadata">=</stringProp>
  306. </elementProp>
  307. <elementProp name="apiBrowseAndBuyFlow" elementType="Argument">
  308. <stringProp name="Argument.name">apiBrowseAndBuyFlow</stringProp>
  309. <stringProp name="Argument.value">${__P(apiBrowseAndBuyFlow,0)}</stringProp>
  310. <stringProp name="Argument.metadata">=</stringProp>
  311. </elementProp>
  312. <elementProp name="apiBrowseAndBuyFlowPercent" elementType="Argument">
  313. <stringProp name="Argument.name">apiBrowseAndBuyFlowPercent</stringProp>
  314. <stringProp name="Argument.value">${__P(apiBrowseAndBuyFlowPercent,100)}</stringProp>
  315. <stringProp name="Argument.metadata">=</stringProp>
  316. </elementProp>
  317. <elementProp name="apiCustomerSync" elementType="Argument">
  318. <stringProp name="Argument.name">apiCustomerSync</stringProp>
  319. <stringProp name="Argument.value">${__P(apiCustomerSync,0)}</stringProp>
  320. <stringProp name="Argument.metadata">=</stringProp>
  321. </elementProp>
  322. <elementProp name="apiCustomerSyncPercent" elementType="Argument">
  323. <stringProp name="Argument.name">apiCustomerSyncPercent</stringProp>
  324. <stringProp name="Argument.value">${__P(apiCustomerSyncPercent,100)}</stringProp>
  325. <stringProp name="Argument.metadata">=</stringProp>
  326. </elementProp>
  327. <elementProp name="apiOrderInvoiceShipmentSync" elementType="Argument">
  328. <stringProp name="Argument.name">apiOrderInvoiceShipmentSync</stringProp>
  329. <stringProp name="Argument.value">${__P(apiOrderInvoiceShipmentSync,0)}</stringProp>
  330. <stringProp name="Argument.metadata">=</stringProp>
  331. </elementProp>
  332. <elementProp name="apiOrderInvoiceShipmentSyncPercent" elementType="Argument">
  333. <stringProp name="Argument.name">apiOrderInvoiceShipmentSyncPercent</stringProp>
  334. <stringProp name="Argument.value">${__P(apiOrderInvoiceShipmentSyncPercent,100)}</stringProp>
  335. <stringProp name="Argument.metadata">=</stringProp>
  336. </elementProp>
  337. <elementProp name="apiProcessOrders" elementType="Argument">
  338. <stringProp name="Argument.name">apiProcessOrders</stringProp>
  339. <stringProp name="Argument.value">${__P(apiProcessOrders,0)}</stringProp>
  340. <stringProp name="Argument.metadata">=</stringProp>
  341. </elementProp>
  342. <elementProp name="apiProcessOrdersPercent" elementType="Argument">
  343. <stringProp name="Argument.name">apiProcessOrdersPercent</stringProp>
  344. <stringProp name="Argument.value">${__P(apiProcessOrdersPercent,100)}</stringProp>
  345. <stringProp name="Argument.metadata">=</stringProp>
  346. </elementProp>
  347. <elementProp name="apiProductSync" elementType="Argument">
  348. <stringProp name="Argument.name">apiProductSync</stringProp>
  349. <stringProp name="Argument.value">${__P(apiProductSync,0)}</stringProp>
  350. <stringProp name="Argument.metadata">=</stringProp>
  351. </elementProp>
  352. <elementProp name="apiProductSyncPercent" elementType="Argument">
  353. <stringProp name="Argument.name">apiProductSyncPercent</stringProp>
  354. <stringProp name="Argument.value">${__P(apiProductSyncPercent,100)}</stringProp>
  355. <stringProp name="Argument.metadata">=</stringProp>
  356. </elementProp>
  357. <elementProp name="apiSnapshot" elementType="Argument">
  358. <stringProp name="Argument.name">apiSnapshot</stringProp>
  359. <stringProp name="Argument.value">${__P(apiSnapshot,0)}</stringProp>
  360. <stringProp name="Argument.metadata">=</stringProp>
  361. </elementProp>
  362. <elementProp name="bamboo_build_number" elementType="Argument">
  363. <stringProp name="Argument.name">bamboo_build_number</stringProp>
  364. <stringProp name="Argument.value">${__P(bamboo_build_number,)}</stringProp>
  365. <stringProp name="Argument.metadata">=</stringProp>
  366. </elementProp>
  367. <elementProp name="base_path" elementType="Argument">
  368. <stringProp name="Argument.name">base_path</stringProp>
  369. <stringProp name="Argument.value">${__P(base_path,)}</stringProp>
  370. <stringProp name="Argument.metadata">=</stringProp>
  371. </elementProp>
  372. <elementProp name="cache_indicator" elementType="Argument">
  373. <stringProp name="Argument.name">cache_indicator</stringProp>
  374. <stringProp name="Argument.value">${__P(cache_indicator,0)}</stringProp>
  375. <stringProp name="Argument.metadata">=</stringProp>
  376. </elementProp>
  377. <elementProp name="catalogBrowsingByGuest" elementType="Argument">
  378. <stringProp name="Argument.name">catalogBrowsingByGuest</stringProp>
  379. <stringProp name="Argument.value">${__P(catalogBrowsingByGuest,0)}</stringProp>
  380. <stringProp name="Argument.metadata">=</stringProp>
  381. </elementProp>
  382. <elementProp name="catalogBrowsingByGuestPercent" elementType="Argument">
  383. <stringProp name="Argument.name">catalogBrowsingByGuestPercent</stringProp>
  384. <stringProp name="Argument.value">${__P(catalogBrowsingByGuestPercent,100)}</stringProp>
  385. <stringProp name="Argument.metadata">=</stringProp>
  386. </elementProp>
  387. <elementProp name="catalogBrowsingByCustomer" elementType="Argument">
  388. <stringProp name="Argument.name">catalogBrowsingByCustomer</stringProp>
  389. <stringProp name="Argument.value">${__P(catalogBrowsingByCustomer,0)}</stringProp>
  390. <stringProp name="Argument.metadata">=</stringProp>
  391. </elementProp>
  392. <elementProp name="catalogBrowsingByCustomerPercent" elementType="Argument">
  393. <stringProp name="Argument.name">catalogBrowsingByCustomerPercent</stringProp>
  394. <stringProp name="Argument.value">${__P(catalogBrowsingByCustomerPercent,100)}</stringProp>
  395. <stringProp name="Argument.metadata">=</stringProp>
  396. </elementProp>
  397. <elementProp name="categories_count" elementType="Argument">
  398. <stringProp name="Argument.name">categories_count</stringProp>
  399. <stringProp name="Argument.value">${__P(categories_count,100)}</stringProp>
  400. <stringProp name="Argument.metadata">=</stringProp>
  401. </elementProp>
  402. <elementProp name="checkoutByGuest" elementType="Argument">
  403. <stringProp name="Argument.name">checkoutByGuest</stringProp>
  404. <stringProp name="Argument.value">${__P(checkoutByGuest,0)}</stringProp>
  405. <stringProp name="Argument.metadata">=</stringProp>
  406. </elementProp>
  407. <elementProp name="checkoutByGuestPercent" elementType="Argument">
  408. <stringProp name="Argument.name">checkoutByGuestPercent</stringProp>
  409. <stringProp name="Argument.value">${__P(checkoutByGuestPercent,100)}</stringProp>
  410. <stringProp name="Argument.metadata">=</stringProp>
  411. </elementProp>
  412. <elementProp name="checkoutByCustomer" elementType="Argument">
  413. <stringProp name="Argument.name">checkoutByCustomer</stringProp>
  414. <stringProp name="Argument.value">${__P(checkoutByCustomer,0)}</stringProp>
  415. <stringProp name="Argument.metadata">=</stringProp>
  416. </elementProp>
  417. <elementProp name="checkoutByCustomerPercent" elementType="Argument">
  418. <stringProp name="Argument.name">checkoutByCustomerPercent</stringProp>
  419. <stringProp name="Argument.value">${__P(checkoutByCustomerPercent,100)}</stringProp>
  420. <stringProp name="Argument.metadata">=</stringProp>
  421. </elementProp>
  422. <elementProp name="configurable_products_count" elementType="Argument">
  423. <stringProp name="Argument.name">configurable_products_count</stringProp>
  424. <stringProp name="Argument.value">${__P(configurable_products_count,30)}</stringProp>
  425. <stringProp name="Argument.metadata">=</stringProp>
  426. </elementProp>
  427. <elementProp name="customer_checkout_percent" elementType="Argument">
  428. <stringProp name="Argument.name">customer_checkout_percent</stringProp>
  429. <stringProp name="Argument.value">${__P(customer_checkout_percent,4)}</stringProp>
  430. <stringProp name="Argument.metadata">=</stringProp>
  431. </elementProp>
  432. <elementProp name="customer_limit" elementType="Argument">
  433. <stringProp name="Argument.name">customer_limit</stringProp>
  434. <stringProp name="Argument.value">${__P(customer_limit,20)}</stringProp>
  435. <stringProp name="Argument.metadata">=</stringProp>
  436. </elementProp>
  437. <elementProp name="customer_password" elementType="Argument">
  438. <stringProp name="Argument.name">customer_password</stringProp>
  439. <stringProp name="Argument.value">123123q</stringProp>
  440. <stringProp name="Argument.metadata">=</stringProp>
  441. </elementProp>
  442. <elementProp name="customers_page_size" elementType="Argument">
  443. <stringProp name="Argument.name">customers_page_size</stringProp>
  444. <stringProp name="Argument.value">${__P(customers_page_size,20)}</stringProp>
  445. <stringProp name="Argument.metadata">=</stringProp>
  446. </elementProp>
  447. <elementProp name="dashboard_enabled" elementType="Argument">
  448. <stringProp name="Argument.name">dashboard_enabled</stringProp>
  449. <stringProp name="Argument.value">${__P(dashboard_enabled,0)}</stringProp>
  450. <stringProp name="Argument.metadata">=</stringProp>
  451. </elementProp>
  452. <elementProp name="files_folder" elementType="Argument">
  453. <stringProp name="Argument.name">files_folder</stringProp>
  454. <stringProp name="Argument.value">${__P(files_folder,/opt/mpaf/tool/fragments/files/)}</stringProp>
  455. <stringProp name="Argument.metadata">=</stringProp>
  456. </elementProp>
  457. <elementProp name="guest_checkout_percent" elementType="Argument">
  458. <stringProp name="Argument.name">guest_checkout_percent</stringProp>
  459. <stringProp name="Argument.value">${__P(guest_checkout_percent,4)}</stringProp>
  460. <stringProp name="Argument.metadata">=</stringProp>
  461. </elementProp>
  462. <elementProp name="host" elementType="Argument">
  463. <stringProp name="Argument.name">host</stringProp>
  464. <stringProp name="Argument.value">${__P(host,)}</stringProp>
  465. <stringProp name="Argument.metadata">=</stringProp>
  466. </elementProp>
  467. <elementProp name="loops" elementType="Argument">
  468. <stringProp name="Argument.name">loops</stringProp>
  469. <stringProp name="Argument.value">${__P(loops,1)}</stringProp>
  470. <stringProp name="Argument.metadata">=</stringProp>
  471. </elementProp>
  472. <elementProp name="lineItemsAmount" elementType="Argument">
  473. <stringProp name="Argument.name">lineItemsAmount</stringProp>
  474. <stringProp name="Argument.value">${__P(lineItemsAmount,10)}</stringProp>
  475. <stringProp name="Argument.metadata">=</stringProp>
  476. </elementProp>
  477. <elementProp name="orders" elementType="Argument">
  478. <stringProp name="Argument.name">orders</stringProp>
  479. <stringProp name="Argument.value">${__P(orders,0)}</stringProp>
  480. <stringProp name="Argument.metadata">=</stringProp>
  481. </elementProp>
  482. <elementProp name="orders_page_size" elementType="Argument">
  483. <stringProp name="Argument.name">orders_page_size</stringProp>
  484. <stringProp name="Argument.value">${__P(orders_page_size,20)}</stringProp>
  485. <stringProp name="Argument.metadata">=</stringProp>
  486. </elementProp>
  487. <elementProp name="products_page_size" elementType="Argument">
  488. <stringProp name="Argument.name">products_page_size</stringProp>
  489. <stringProp name="Argument.value">${__P(products_page_size,20)}</stringProp>
  490. <stringProp name="Argument.metadata">=</stringProp>
  491. </elementProp>
  492. <elementProp name="productCompareByGuest" elementType="Argument">
  493. <stringProp name="Argument.name">productCompareByGuest</stringProp>
  494. <stringProp name="Argument.value">${__P(productCompareByGuest,0)}</stringProp>
  495. <stringProp name="Argument.metadata">=</stringProp>
  496. </elementProp>
  497. <elementProp name="productCompareByGuestPercent" elementType="Argument">
  498. <stringProp name="Argument.name">productCompareByGuestPercent</stringProp>
  499. <stringProp name="Argument.value">${__P(productCompareByGuestPercent,100)}</stringProp>
  500. <stringProp name="Argument.metadata">=</stringProp>
  501. </elementProp>
  502. <elementProp name="productCompareDelay" elementType="Argument">
  503. <stringProp name="Argument.name">productCompareDelay</stringProp>
  504. <stringProp name="Argument.value">${__P(productCompareDelay,0)}</stringProp>
  505. <stringProp name="Argument.metadata">=</stringProp>
  506. </elementProp>
  507. <elementProp name="productsGridMassActions" elementType="Argument">
  508. <stringProp name="Argument.name">productsGridMassActions</stringProp>
  509. <stringProp name="Argument.value">${__P(productsGridMassActions,0)}</stringProp>
  510. <stringProp name="Argument.metadata">=</stringProp>
  511. </elementProp>
  512. <elementProp name="productsGridMassActionsPercent" elementType="Argument">
  513. <stringProp name="Argument.name">productsGridMassActionsPercent</stringProp>
  514. <stringProp name="Argument.value">${__P(productsGridMassActionsPercent,100)}</stringProp>
  515. <stringProp name="Argument.metadata">=</stringProp>
  516. </elementProp>
  517. <elementProp name="ramp_period" elementType="Argument">
  518. <stringProp name="Argument.name">ramp_period</stringProp>
  519. <stringProp name="Argument.value">${__P(ramp_period,0)}</stringProp>
  520. <stringProp name="Argument.metadata">=</stringProp>
  521. </elementProp>
  522. <elementProp name="redis_host" elementType="Argument">
  523. <stringProp name="Argument.name">redis_host</stringProp>
  524. <stringProp name="Argument.value">${__P(redis_host,)}</stringProp>
  525. <stringProp name="Argument.metadata">=</stringProp>
  526. </elementProp>
  527. <elementProp name="report_save_path" elementType="Argument">
  528. <stringProp name="Argument.name">report_save_path</stringProp>
  529. <stringProp name="Argument.value">${__P(report_save_path,./)}</stringProp>
  530. <stringProp name="Argument.metadata">=</stringProp>
  531. </elementProp>
  532. <elementProp name="response_time_file_name" elementType="Argument">
  533. <stringProp name="Argument.name">response_time_file_name</stringProp>
  534. <stringProp name="Argument.value">${__P(response_time_file_name,production.csv)}</stringProp>
  535. <stringProp name="Argument.metadata">=</stringProp>
  536. </elementProp>
  537. <elementProp name="reviewByCustomer" elementType="Argument">
  538. <stringProp name="Argument.name">reviewByCustomer</stringProp>
  539. <stringProp name="Argument.value">${__P(reviewByCustomer,0)}</stringProp>
  540. <stringProp name="Argument.metadata">=</stringProp>
  541. </elementProp>
  542. <elementProp name="reviewByCustomerPercent" elementType="Argument">
  543. <stringProp name="Argument.name">reviewByCustomerPercent</stringProp>
  544. <stringProp name="Argument.value">${__P(reviewByCustomerPercent,100)}</stringProp>
  545. <stringProp name="Argument.metadata">=</stringProp>
  546. </elementProp>
  547. <elementProp name="reviewDelay" elementType="Argument">
  548. <stringProp name="Argument.name">reviewDelay</stringProp>
  549. <stringProp name="Argument.value">${__P(reviewDelay,0)}</stringProp>
  550. <stringProp name="Argument.metadata">=</stringProp>
  551. </elementProp>
  552. <elementProp name="scenario" elementType="Argument">
  553. <stringProp name="Argument.name">scenario</stringProp>
  554. <stringProp name="Argument.value">${__P(scenario,)}</stringProp>
  555. <stringProp name="Argument.metadata">=</stringProp>
  556. </elementProp>
  557. <elementProp name="seedForRandom" elementType="Argument">
  558. <stringProp name="Argument.name">seedForRandom</stringProp>
  559. <stringProp name="Argument.value">${__P(seedForRandom,1)}</stringProp>
  560. <stringProp name="Argument.metadata">=</stringProp>
  561. </elementProp>
  562. <elementProp name="searchQuick" elementType="Argument">
  563. <stringProp name="Argument.name">searchQuick</stringProp>
  564. <stringProp name="Argument.value">${__P(searchQuick,0)}</stringProp>
  565. <stringProp name="Argument.metadata">=</stringProp>
  566. </elementProp>
  567. <elementProp name="searchQuick_percent" elementType="Argument">
  568. <stringProp name="Argument.name">searchQuick_percent</stringProp>
  569. <stringProp name="Argument.value">${__P(searchQuick_percent,100)}</stringProp>
  570. <stringProp name="Argument.metadata">=</stringProp>
  571. </elementProp>
  572. <elementProp name="searchQuickFilter" elementType="Argument">
  573. <stringProp name="Argument.name">searchQuickFilter</stringProp>
  574. <stringProp name="Argument.value">${__P(searchQuickFilter,0)}</stringProp>
  575. <stringProp name="Argument.metadata">=</stringProp>
  576. </elementProp>
  577. <elementProp name="searchQuickFilter_percent" elementType="Argument">
  578. <stringProp name="Argument.name">searchQuickFilter_percent</stringProp>
  579. <stringProp name="Argument.value">${__P(searchQuickFilter_percent,100)}</stringProp>
  580. <stringProp name="Argument.metadata">=</stringProp>
  581. </elementProp>
  582. <elementProp name="searchAdvanced" elementType="Argument">
  583. <stringProp name="Argument.name">searchAdvanced</stringProp>
  584. <stringProp name="Argument.value">${__P(searchAdvanced,0)}</stringProp>
  585. <stringProp name="Argument.metadata">=</stringProp>
  586. </elementProp>
  587. <elementProp name="searchAdvanced_percent" elementType="Argument">
  588. <stringProp name="Argument.name">searchAdvanced_percent</stringProp>
  589. <stringProp name="Argument.value">${__P(searchAdvanced_percent,100)}</stringProp>
  590. <stringProp name="Argument.metadata">=</stringProp>
  591. </elementProp>
  592. <elementProp name="setupAndTearDownThread" elementType="Argument">
  593. <stringProp name="Argument.name">setupAndTearDownThread</stringProp>
  594. <stringProp name="Argument.value">${__P(setupAndTearDownThread,1)}</stringProp>
  595. <stringProp name="Argument.metadata">=</stringProp>
  596. </elementProp>
  597. <elementProp name="simple_products_count" elementType="Argument">
  598. <stringProp name="Argument.name">simple_products_count</stringProp>
  599. <stringProp name="Argument.value">${__P(simple_products_count,30)}</stringProp>
  600. <stringProp name="Argument.metadata">=</stringProp>
  601. </elementProp>
  602. <elementProp name="sprint_identifier" elementType="Argument">
  603. <stringProp name="Argument.name">sprint_identifier</stringProp>
  604. <stringProp name="Argument.value">${__P(sprint_identifier,)}</stringProp>
  605. <stringProp name="Argument.metadata">=</stringProp>
  606. </elementProp>
  607. <elementProp name="start_time" elementType="Argument">
  608. <stringProp name="Argument.name">start_time</stringProp>
  609. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  610. <stringProp name="Argument.metadata">=</stringProp>
  611. </elementProp>
  612. <elementProp name="starting_index" elementType="Argument">
  613. <stringProp name="Argument.name">starting_index</stringProp>
  614. <stringProp name="Argument.value">${__P(starting_index,0)}</stringProp>
  615. <stringProp name="Argument.metadata">=</stringProp>
  616. </elementProp>
  617. <elementProp name="test_duration" elementType="Argument">
  618. <stringProp name="Argument.name">test_duration</stringProp>
  619. <stringProp name="Argument.value">${__P(test_duration,900)}</stringProp>
  620. <stringProp name="Argument.metadata">=</stringProp>
  621. </elementProp>
  622. <elementProp name="think_time_deviation" elementType="Argument">
  623. <stringProp name="Argument.name">think_time_deviation</stringProp>
  624. <stringProp name="Argument.value">${__P(think_time_deviation,1000)}</stringProp>
  625. <stringProp name="Argument.metadata">=</stringProp>
  626. </elementProp>
  627. <elementProp name="think_time_delay_offset" elementType="Argument">
  628. <stringProp name="Argument.name">think_time_delay_offset</stringProp>
  629. <stringProp name="Argument.value">${__P(think_time_delay_offset,2000)}</stringProp>
  630. <stringProp name="Argument.metadata">=</stringProp>
  631. </elementProp>
  632. <elementProp name="url_suffix" elementType="Argument">
  633. <stringProp name="Argument.name">url_suffix</stringProp>
  634. <stringProp name="Argument.value">.html</stringProp>
  635. <stringProp name="Argument.metadata">=</stringProp>
  636. </elementProp>
  637. <elementProp name="users" elementType="Argument">
  638. <stringProp name="Argument.name">users</stringProp>
  639. <stringProp name="Argument.value">${__P(users,100)}</stringProp>
  640. <stringProp name="Argument.metadata">=</stringProp>
  641. </elementProp>
  642. <elementProp name="view_catalog_percent" elementType="Argument">
  643. <stringProp name="Argument.name">view_catalog_percent</stringProp>
  644. <stringProp name="Argument.value">${__P(view_catalog_percent,62)}</stringProp>
  645. <stringProp name="Argument.metadata">=</stringProp>
  646. </elementProp>
  647. <elementProp name="view_product_add_to_cart_percent" elementType="Argument">
  648. <stringProp name="Argument.name">view_product_add_to_cart_percent</stringProp>
  649. <stringProp name="Argument.value">${__P(view_product_add_to_cart_percent,30)}</stringProp>
  650. <stringProp name="Argument.metadata">=</stringProp>
  651. </elementProp>
  652. <elementProp name="website_id" elementType="Argument">
  653. <stringProp name="Argument.name">website_id</stringProp>
  654. <stringProp name="Argument.value">1</stringProp>
  655. <stringProp name="Argument.metadata">=</stringProp>
  656. </elementProp>
  657. <elementProp name="wishlistByCustomer" elementType="Argument">
  658. <stringProp name="Argument.name">wishlistByCustomer</stringProp>
  659. <stringProp name="Argument.value">${__P(wishlistByCustomer,0)}</stringProp>
  660. <stringProp name="Argument.metadata">=</stringProp>
  661. </elementProp>
  662. <elementProp name="wishlistByCustomerPercent" elementType="Argument">
  663. <stringProp name="Argument.name">wishlistByCustomerPercent</stringProp>
  664. <stringProp name="Argument.value">${__P(wishlistByCustomerPercent,100)}</stringProp>
  665. <stringProp name="Argument.metadata">=</stringProp>
  666. </elementProp>
  667. <elementProp name="wishlistDelay" elementType="Argument">
  668. <stringProp name="Argument.name">wishlistDelay</stringProp>
  669. <stringProp name="Argument.value">${__P(wishlistDelay,0)}</stringProp>
  670. <stringProp name="Argument.metadata">=</stringProp>
  671. </elementProp>
  672. </collectionProp>
  673. </elementProp>
  674. </TestPlan>
  675. <hashTree>
  676. <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
  677. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  678. <collectionProp name="Arguments.arguments"/>
  679. </elementProp>
  680. <stringProp name="HTTPSampler.domain">${host}</stringProp>
  681. <stringProp name="HTTPSampler.port"/>
  682. <stringProp name="HTTPSampler.connect_timeout"/>
  683. <stringProp name="HTTPSampler.response_timeout"/>
  684. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  685. <stringProp name="HTTPSampler.contentEncoding">utf-8</stringProp>
  686. <stringProp name="HTTPSampler.path"/>
  687. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  688. <stringProp name="HTTPSampler.concurrentPool">4</stringProp>
  689. </ConfigTestElement>
  690. <hashTree/>
  691. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  692. <collectionProp name="HeaderManager.headers">
  693. <elementProp name="Accept-Language" elementType="Header">
  694. <stringProp name="Header.name">Accept-Language</stringProp>
  695. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  696. </elementProp>
  697. <elementProp name="Accept" elementType="Header">
  698. <stringProp name="Header.name">Accept</stringProp>
  699. <stringProp name="Header.value">application/json,text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  700. </elementProp>
  701. <elementProp name="User-Agent" elementType="Header">
  702. <stringProp name="Header.name">User-Agent</stringProp>
  703. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  704. </elementProp>
  705. <elementProp name="Accept-Encoding" elementType="Header">
  706. <stringProp name="Header.name">Accept-Encoding</stringProp>
  707. <stringProp name="Header.value">gzip, deflate</stringProp>
  708. </elementProp>
  709. </collectionProp>
  710. </HeaderManager>
  711. <hashTree/>
  712. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  713. <collectionProp name="CookieManager.cookies">
  714. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  715. <stringProp name="Cookie.value">30</stringProp>
  716. <stringProp name="Cookie.domain">${host}</stringProp>
  717. <stringProp name="Cookie.path">/</stringProp>
  718. <boolProp name="Cookie.secure">false</boolProp>
  719. <longProp name="Cookie.expires">0</longProp>
  720. <boolProp name="Cookie.path_specified">true</boolProp>
  721. <boolProp name="Cookie.domain_specified">true</boolProp>
  722. </elementProp>
  723. </collectionProp>
  724. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  725. </CookieManager>
  726. <hashTree/>
  727. <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
  728. <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
  729. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  730. <boolProp name="LoopController.continue_forever">false</boolProp>
  731. <stringProp name="LoopController.loops">1</stringProp>
  732. </elementProp>
  733. <stringProp name="ThreadGroup.num_threads">${setupAndTearDownThread}</stringProp>
  734. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  735. <longProp name="ThreadGroup.start_time">1384333221000</longProp>
  736. <longProp name="ThreadGroup.end_time">1384333221000</longProp>
  737. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  738. <stringProp name="ThreadGroup.duration"/>
  739. <stringProp name="ThreadGroup.delay"/>
  740. </SetupThreadGroup>
  741. <hashTree>
  742. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Initialize" enabled="true">
  743. <stringProp name="BeanShellSampler.query">
  744. props.remove("category_url_key");
  745. props.remove("category_url_keys_list");
  746. props.remove("category_name");
  747. props.remove("category_names_list");
  748. props.remove("simple_products_list");
  749. props.remove("configurable_products_list");
  750. props.remove("users");
  751. props.remove("customer_emails_list");
  752. /* This is only used when admin is enabled. */
  753. props.put("activeAdminThread", "");
  754. /* Set the environment - at this time '01' or '02' */
  755. String path = "${host}";
  756. String environment = path.substring(4, 6);
  757. props.put("environment", environment);</stringProp>
  758. <stringProp name="BeanShellSampler.filename"/>
  759. <stringProp name="BeanShellSampler.parameters"/>
  760. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  761. </BeanShellSampler>
  762. <hashTree/>
  763. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: validate user defined variables" enabled="true">
  764. <stringProp name="BeanShellSampler.query">Boolean stopTestOnError (String error) {
  765. log.error(error);
  766. System.out.println(error);
  767. SampleResult.setStopTest(true);
  768. return false;
  769. }
  770. if ("${host}" == "1") {
  771. return stopTestOnError("\"host\" parameter is not defined. Please define host parameter as: \"-Jhost=example.com\"");
  772. }
  773. String path = "${base_path}";
  774. String slash = "/";
  775. if (!slash.equals(path.substring(path.length() -1)) || !slash.equals(path.substring(0, 1))) {
  776. return stopTestOnError("\"base_path\" parameter is invalid. It must start and end with \"/\"");
  777. }
  778. </stringProp>
  779. <stringProp name="BeanShellSampler.filename"/>
  780. <stringProp name="BeanShellSampler.parameters"/>
  781. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  782. </BeanShellSampler>
  783. <hashTree/>
  784. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  785. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  786. <collectionProp name="Arguments.arguments"/>
  787. </elementProp>
  788. <stringProp name="HTTPSampler.domain"/>
  789. <stringProp name="HTTPSampler.port"/>
  790. <stringProp name="HTTPSampler.connect_timeout"/>
  791. <stringProp name="HTTPSampler.response_timeout"/>
  792. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  793. <stringProp name="HTTPSampler.contentEncoding"/>
  794. <stringProp name="HTTPSampler.path">${base_path}${admin_path}</stringProp>
  795. <stringProp name="HTTPSampler.method">GET</stringProp>
  796. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  797. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  798. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  799. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  800. <boolProp name="HTTPSampler.monitor">false</boolProp>
  801. <stringProp name="HTTPSampler.embedded_url_re"/>
  802. </HTTPSamplerProxy>
  803. <hashTree>
  804. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  805. <collectionProp name="Asserion.test_strings">
  806. <stringProp name="-1397214398">Welcome</stringProp>
  807. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  808. </collectionProp>
  809. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  810. <boolProp name="Assertion.assume_success">false</boolProp>
  811. <intProp name="Assertion.test_type">2</intProp>
  812. </ResponseAssertion>
  813. <hashTree/>
  814. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  815. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  816. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  817. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  818. <stringProp name="RegexExtractor.template">$1$</stringProp>
  819. <stringProp name="RegexExtractor.default"/>
  820. <stringProp name="RegexExtractor.match_number">1</stringProp>
  821. </RegexExtractor>
  822. <hashTree/>
  823. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  824. <collectionProp name="Asserion.test_strings">
  825. <stringProp name="2845929">^.+$</stringProp>
  826. </collectionProp>
  827. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  828. <boolProp name="Assertion.assume_success">false</boolProp>
  829. <intProp name="Assertion.test_type">1</intProp>
  830. <stringProp name="Assertion.scope">variable</stringProp>
  831. <stringProp name="Scope.variable">admin_form_key</stringProp>
  832. </ResponseAssertion>
  833. <hashTree/>
  834. </hashTree>
  835. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  836. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  837. <collectionProp name="Arguments.arguments">
  838. <elementProp name="dummy" elementType="HTTPArgument">
  839. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  840. <stringProp name="Argument.value"/>
  841. <stringProp name="Argument.metadata">=</stringProp>
  842. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  843. <stringProp name="Argument.name">dummy</stringProp>
  844. </elementProp>
  845. <elementProp name="form_key" elementType="HTTPArgument">
  846. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  847. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  848. <stringProp name="Argument.metadata">=</stringProp>
  849. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  850. <stringProp name="Argument.name">form_key</stringProp>
  851. </elementProp>
  852. <elementProp name="login[password]" elementType="HTTPArgument">
  853. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  854. <stringProp name="Argument.value">${admin_password}</stringProp>
  855. <stringProp name="Argument.metadata">=</stringProp>
  856. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  857. <stringProp name="Argument.name">login[password]</stringProp>
  858. </elementProp>
  859. <elementProp name="login[username]" elementType="HTTPArgument">
  860. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  861. <stringProp name="Argument.value">${admin_user}</stringProp>
  862. <stringProp name="Argument.metadata">=</stringProp>
  863. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  864. <stringProp name="Argument.name">login[username]</stringProp>
  865. </elementProp>
  866. </collectionProp>
  867. </elementProp>
  868. <stringProp name="HTTPSampler.domain"/>
  869. <stringProp name="HTTPSampler.port"/>
  870. <stringProp name="HTTPSampler.connect_timeout"/>
  871. <stringProp name="HTTPSampler.response_timeout"/>
  872. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  873. <stringProp name="HTTPSampler.contentEncoding"/>
  874. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  875. <stringProp name="HTTPSampler.method">POST</stringProp>
  876. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  877. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  878. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  879. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  880. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  881. <boolProp name="HTTPSampler.monitor">false</boolProp>
  882. <stringProp name="HTTPSampler.embedded_url_re"/>
  883. <stringProp name="TestPlan.comments">Implementation needs to be set to Java as per http://stackoverflow.com/questions/19636282/jmeter-error-in-redirect-url-for-get</stringProp>
  884. </HTTPSamplerProxy>
  885. <hashTree>
  886. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert logged-in" enabled="true">
  887. <collectionProp name="Asserion.test_strings">
  888. <stringProp name="1847038912">&lt;title&gt;Dashboard / Magento Admin&lt;/title&gt;</stringProp>
  889. </collectionProp>
  890. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  891. <boolProp name="Assertion.assume_success">false</boolProp>
  892. <intProp name="Assertion.test_type">2</intProp>
  893. </ResponseAssertion>
  894. <hashTree/>
  895. </hashTree>
  896. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - HTTP Request: Admin - Enable All Cache Types" enabled="true">
  897. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  898. <collectionProp name="Arguments.arguments">
  899. <elementProp name="form_key" elementType="HTTPArgument">
  900. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  901. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  902. <stringProp name="Argument.metadata">=</stringProp>
  903. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  904. <stringProp name="Argument.name">form_key</stringProp>
  905. </elementProp>
  906. <elementProp name="massaction_prepare_key" elementType="HTTPArgument">
  907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  908. <stringProp name="Argument.value">types</stringProp>
  909. <stringProp name="Argument.metadata">=</stringProp>
  910. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  911. <stringProp name="Argument.name">massaction_prepare_key</stringProp>
  912. </elementProp>
  913. <elementProp name="types" elementType="HTTPArgument">
  914. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  915. <stringProp name="Argument.value">config,layout,block_html,collections,reflection,db_ddl,eav,config_integration,full_page,target_rule,translate,config_webservice,config_integration_api</stringProp>
  916. <stringProp name="Argument.metadata">=</stringProp>
  917. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  918. <stringProp name="Argument.name">types</stringProp>
  919. </elementProp>
  920. </collectionProp>
  921. </elementProp>
  922. <stringProp name="HTTPSampler.domain"/>
  923. <stringProp name="HTTPSampler.port"/>
  924. <stringProp name="HTTPSampler.connect_timeout"/>
  925. <stringProp name="HTTPSampler.response_timeout"/>
  926. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  927. <stringProp name="HTTPSampler.contentEncoding"/>
  928. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/cache/massEnable</stringProp>
  929. <stringProp name="HTTPSampler.method">POST</stringProp>
  930. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  931. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  932. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  933. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  934. <boolProp name="HTTPSampler.monitor">false</boolProp>
  935. <stringProp name="HTTPSampler.embedded_url_re"/>
  936. <stringProp name="TestPlan.comments">Begin by enabling all cache types</stringProp>
  937. </HTTPSamplerProxy>
  938. <hashTree/>
  939. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - HTTP Request: Admin - Refresh All Cache Types" enabled="true">
  940. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  941. <collectionProp name="Arguments.arguments">
  942. <elementProp name="form_key" elementType="HTTPArgument">
  943. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  944. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  945. <stringProp name="Argument.metadata">=</stringProp>
  946. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  947. <stringProp name="Argument.name">form_key</stringProp>
  948. </elementProp>
  949. <elementProp name="massaction_prepare_key" elementType="HTTPArgument">
  950. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  951. <stringProp name="Argument.value">types</stringProp>
  952. <stringProp name="Argument.metadata">=</stringProp>
  953. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  954. <stringProp name="Argument.name">massaction_prepare_key</stringProp>
  955. </elementProp>
  956. <elementProp name="types" elementType="HTTPArgument">
  957. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  958. <stringProp name="Argument.value">config,layout,block_html,collections,reflection,db_ddl,eav,config_integration,full_page,target_rule,translate,config_webservice,config_integration_api</stringProp>
  959. <stringProp name="Argument.metadata">=</stringProp>
  960. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  961. <stringProp name="Argument.name">types</stringProp>
  962. </elementProp>
  963. </collectionProp>
  964. </elementProp>
  965. <stringProp name="HTTPSampler.domain"/>
  966. <stringProp name="HTTPSampler.port"/>
  967. <stringProp name="HTTPSampler.connect_timeout"/>
  968. <stringProp name="HTTPSampler.response_timeout"/>
  969. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  970. <stringProp name="HTTPSampler.contentEncoding"/>
  971. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/cache/massRefresh</stringProp>
  972. <stringProp name="HTTPSampler.method">POST</stringProp>
  973. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  974. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  975. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  976. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  977. <boolProp name="HTTPSampler.monitor">false</boolProp>
  978. <stringProp name="HTTPSampler.embedded_url_re"/>
  979. <stringProp name="TestPlan.comments">Refresh all cache types</stringProp>
  980. </HTTPSamplerProxy>
  981. <hashTree/>
  982. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Extract categories" enabled="true"/>
  983. <hashTree>
  984. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  985. <collectionProp name="HeaderManager.headers">
  986. <elementProp name="" elementType="Header">
  987. <stringProp name="Header.name">Content-Type</stringProp>
  988. <stringProp name="Header.value">application/json</stringProp>
  989. </elementProp>
  990. <elementProp name="" elementType="Header">
  991. <stringProp name="Header.name">Accept</stringProp>
  992. <stringProp name="Header.value">*/*</stringProp>
  993. </elementProp>
  994. </collectionProp>
  995. </HeaderManager>
  996. <hashTree/>
  997. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  998. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  999. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1000. <collectionProp name="Arguments.arguments">
  1001. <elementProp name="" elementType="HTTPArgument">
  1002. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1003. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1004. <stringProp name="Argument.metadata">=</stringProp>
  1005. </elementProp>
  1006. </collectionProp>
  1007. </elementProp>
  1008. <stringProp name="HTTPSampler.domain"/>
  1009. <stringProp name="HTTPSampler.port"/>
  1010. <stringProp name="HTTPSampler.connect_timeout"/>
  1011. <stringProp name="HTTPSampler.response_timeout"/>
  1012. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1013. <stringProp name="HTTPSampler.contentEncoding"/>
  1014. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1015. <stringProp name="HTTPSampler.method">POST</stringProp>
  1016. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1017. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1018. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1019. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1020. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1021. <stringProp name="HTTPSampler.embedded_url_re"/>
  1022. </HTTPSamplerProxy>
  1023. <hashTree>
  1024. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true">
  1025. <stringProp name="VAR">admin_token</stringProp>
  1026. <stringProp name="JSONPATH">$</stringProp>
  1027. <stringProp name="DEFAULT"/>
  1028. <stringProp name="VARIABLE"/>
  1029. <stringProp name="SUBJECT">BODY</stringProp>
  1030. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1031. <hashTree/>
  1032. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1033. <collectionProp name="Asserion.test_strings">
  1034. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1035. </collectionProp>
  1036. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1037. <boolProp name="Assertion.assume_success">false</boolProp>
  1038. <intProp name="Assertion.test_type">1</intProp>
  1039. <stringProp name="Assertion.scope">variable</stringProp>
  1040. <stringProp name="Scope.variable">admin_token</stringProp>
  1041. </ResponseAssertion>
  1042. <hashTree/>
  1043. </hashTree>
  1044. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1045. <collectionProp name="HeaderManager.headers">
  1046. <elementProp name="" elementType="Header">
  1047. <stringProp name="Header.name">Authorization</stringProp>
  1048. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1049. </elementProp>
  1050. </collectionProp>
  1051. </HeaderManager>
  1052. <hashTree/>
  1053. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get Categories Names and skus" enabled="true">
  1054. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1055. <collectionProp name="Arguments.arguments">
  1056. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1057. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1058. <stringProp name="Argument.value">path</stringProp>
  1059. <stringProp name="Argument.metadata">=</stringProp>
  1060. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1061. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1062. </elementProp>
  1063. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1064. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1065. <stringProp name="Argument.value">1/2/%</stringProp>
  1066. <stringProp name="Argument.metadata">=</stringProp>
  1067. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1068. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1069. </elementProp>
  1070. <elementProp name="searchCriteria[filterGroups][0][filters][0][conditionType]" elementType="HTTPArgument">
  1071. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1072. <stringProp name="Argument.value">like</stringProp>
  1073. <stringProp name="Argument.metadata">=</stringProp>
  1074. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1075. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][conditionType]</stringProp>
  1076. </elementProp>
  1077. <elementProp name="searchCriteria[filterGroups][1][filters][0][field]" elementType="HTTPArgument">
  1078. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1079. <stringProp name="Argument.value">level</stringProp>
  1080. <stringProp name="Argument.metadata">=</stringProp>
  1081. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1082. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][field]</stringProp>
  1083. </elementProp>
  1084. <elementProp name="searchCriteria[filterGroups][1][filters][0][value]" elementType="HTTPArgument">
  1085. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1086. <stringProp name="Argument.value">2</stringProp>
  1087. <stringProp name="Argument.metadata">=</stringProp>
  1088. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1089. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][value]</stringProp>
  1090. </elementProp>
  1091. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1092. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1093. <stringProp name="Argument.value">${categories_count}</stringProp>
  1094. <stringProp name="Argument.metadata">=</stringProp>
  1095. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1096. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1097. </elementProp>
  1098. </collectionProp>
  1099. </elementProp>
  1100. <stringProp name="HTTPSampler.domain"/>
  1101. <stringProp name="HTTPSampler.port"/>
  1102. <stringProp name="HTTPSampler.connect_timeout"/>
  1103. <stringProp name="HTTPSampler.response_timeout"/>
  1104. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1105. <stringProp name="HTTPSampler.contentEncoding"/>
  1106. <stringProp name="HTTPSampler.path">${base_path}rest/V1/categories/list</stringProp>
  1107. <stringProp name="HTTPSampler.method">GET</stringProp>
  1108. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1109. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1110. <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
  1111. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1112. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1113. <stringProp name="HTTPSampler.embedded_url_re"/>
  1114. </HTTPSamplerProxy>
  1115. <hashTree>
  1116. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category url key" enabled="true">
  1117. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1118. <stringProp name="RegexExtractor.refname">category_url_keys</stringProp>
  1119. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1120. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1121. <stringProp name="RegexExtractor.default"/>
  1122. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1123. </RegexExtractor>
  1124. <hashTree/>
  1125. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category name" enabled="true">
  1126. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1127. <stringProp name="RegexExtractor.refname">category_names</stringProp>
  1128. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1129. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1130. <stringProp name="RegexExtractor.default"/>
  1131. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1132. </RegexExtractor>
  1133. <hashTree/>
  1134. </hashTree>
  1135. </hashTree>
  1136. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: category url keys loop" enabled="true">
  1137. <stringProp name="ForeachController.inputVal">category_url_keys</stringProp>
  1138. <stringProp name="ForeachController.returnVal">category_url_key</stringProp>
  1139. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1140. </ForeachController>
  1141. <hashTree>
  1142. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1143. <stringProp name="CounterConfig.start">1</stringProp>
  1144. <stringProp name="CounterConfig.end"/>
  1145. <stringProp name="CounterConfig.incr">1</stringProp>
  1146. <stringProp name="CounterConfig.name">category_url_key_counter</stringProp>
  1147. <stringProp name="CounterConfig.format"/>
  1148. <boolProp name="CounterConfig.per_user">false</boolProp>
  1149. </CounterConfig>
  1150. <hashTree/>
  1151. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect category url keys" enabled="true">
  1152. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1153. // If it is first iteration of cycle then recreate category url key list
  1154. if (1 == Integer.parseInt(vars.get("category_url_key_counter"))) {
  1155. categoryUrlKeysList = new ArrayList();
  1156. props.put("category_url_keys_list", categoryUrlKeysList);
  1157. props.put("category_url_key", vars.get("category_url_key"));
  1158. } else {
  1159. categoryUrlKeysList = props.get("category_url_keys_list");
  1160. }
  1161. categoryUrlKeysList.add(vars.get("category_url_key"));</stringProp>
  1162. <stringProp name="BeanShellSampler.filename"/>
  1163. <stringProp name="BeanShellSampler.parameters"/>
  1164. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1165. </BeanShellSampler>
  1166. <hashTree/>
  1167. </hashTree>
  1168. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: category names loop" enabled="true">
  1169. <stringProp name="ForeachController.inputVal">category_names</stringProp>
  1170. <stringProp name="ForeachController.returnVal">category_name</stringProp>
  1171. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1172. </ForeachController>
  1173. <hashTree>
  1174. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1175. <stringProp name="CounterConfig.start">1</stringProp>
  1176. <stringProp name="CounterConfig.end"/>
  1177. <stringProp name="CounterConfig.incr">1</stringProp>
  1178. <stringProp name="CounterConfig.name">category_name_counter</stringProp>
  1179. <stringProp name="CounterConfig.format"/>
  1180. <boolProp name="CounterConfig.per_user">false</boolProp>
  1181. </CounterConfig>
  1182. <hashTree/>
  1183. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect category names" enabled="true">
  1184. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1185. // If it is first iteration of cycle then recreate category name list
  1186. if (1 == Integer.parseInt(vars.get("category_name_counter"))) {
  1187. categoryNamesList = new ArrayList();
  1188. props.put("category_names_list",categoryNamesList);
  1189. props.put("category_name", vars.get("category_name"));
  1190. } else {
  1191. categoryNamesList = props.get("category_names_list");
  1192. }
  1193. categoryNamesList.add(vars.get("category_name"));</stringProp>
  1194. <stringProp name="BeanShellSampler.filename"/>
  1195. <stringProp name="BeanShellSampler.parameters"/>
  1196. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1197. </BeanShellSampler>
  1198. <hashTree/>
  1199. </hashTree>
  1200. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect category" enabled="true">
  1201. <stringProp name="BeanShellSampler.query">props.put("category_url_key", vars.get("category_url_key"));
  1202. props.put("category_name", vars.get("category_name"));</stringProp>
  1203. <stringProp name="BeanShellSampler.filename"/>
  1204. <stringProp name="BeanShellSampler.parameters"/>
  1205. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1206. </BeanShellSampler>
  1207. <hashTree/>
  1208. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Retrieve simple products" enabled="true"/>
  1209. <hashTree>
  1210. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1211. <collectionProp name="HeaderManager.headers">
  1212. <elementProp name="" elementType="Header">
  1213. <stringProp name="Header.name">Content-Type</stringProp>
  1214. <stringProp name="Header.value">application/json</stringProp>
  1215. </elementProp>
  1216. <elementProp name="" elementType="Header">
  1217. <stringProp name="Header.name">Accept</stringProp>
  1218. <stringProp name="Header.value">*/*</stringProp>
  1219. </elementProp>
  1220. </collectionProp>
  1221. </HeaderManager>
  1222. <hashTree/>
  1223. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1224. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1225. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1226. <collectionProp name="Arguments.arguments">
  1227. <elementProp name="" elementType="HTTPArgument">
  1228. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1229. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1230. <stringProp name="Argument.metadata">=</stringProp>
  1231. </elementProp>
  1232. </collectionProp>
  1233. </elementProp>
  1234. <stringProp name="HTTPSampler.domain"/>
  1235. <stringProp name="HTTPSampler.port"/>
  1236. <stringProp name="HTTPSampler.connect_timeout"/>
  1237. <stringProp name="HTTPSampler.response_timeout"/>
  1238. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1239. <stringProp name="HTTPSampler.contentEncoding"/>
  1240. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1241. <stringProp name="HTTPSampler.method">POST</stringProp>
  1242. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1243. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1244. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1245. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1246. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1247. <stringProp name="HTTPSampler.embedded_url_re"/>
  1248. </HTTPSamplerProxy>
  1249. <hashTree>
  1250. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true">
  1251. <stringProp name="VAR">admin_token</stringProp>
  1252. <stringProp name="JSONPATH">$</stringProp>
  1253. <stringProp name="DEFAULT"/>
  1254. <stringProp name="VARIABLE"/>
  1255. <stringProp name="SUBJECT">BODY</stringProp>
  1256. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1257. <hashTree/>
  1258. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1259. <collectionProp name="Asserion.test_strings">
  1260. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1261. </collectionProp>
  1262. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1263. <boolProp name="Assertion.assume_success">false</boolProp>
  1264. <intProp name="Assertion.test_type">1</intProp>
  1265. <stringProp name="Assertion.scope">variable</stringProp>
  1266. <stringProp name="Scope.variable">admin_token</stringProp>
  1267. </ResponseAssertion>
  1268. <hashTree/>
  1269. </hashTree>
  1270. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1271. <collectionProp name="HeaderManager.headers">
  1272. <elementProp name="" elementType="Header">
  1273. <stringProp name="Header.name">Authorization</stringProp>
  1274. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1275. </elementProp>
  1276. </collectionProp>
  1277. </HeaderManager>
  1278. <hashTree/>
  1279. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get simple products" enabled="true">
  1280. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1281. <collectionProp name="Arguments.arguments">
  1282. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1283. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1284. <stringProp name="Argument.value">type_id</stringProp>
  1285. <stringProp name="Argument.metadata">=</stringProp>
  1286. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1287. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1288. </elementProp>
  1289. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1290. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1291. <stringProp name="Argument.value">simple</stringProp>
  1292. <stringProp name="Argument.metadata">=</stringProp>
  1293. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1294. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1295. </elementProp>
  1296. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1297. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1298. <stringProp name="Argument.value">${simple_products_count}</stringProp>
  1299. <stringProp name="Argument.metadata">=</stringProp>
  1300. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1301. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1302. </elementProp>
  1303. </collectionProp>
  1304. </elementProp>
  1305. <stringProp name="HTTPSampler.domain"/>
  1306. <stringProp name="HTTPSampler.port"/>
  1307. <stringProp name="HTTPSampler.connect_timeout"/>
  1308. <stringProp name="HTTPSampler.response_timeout"/>
  1309. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1310. <stringProp name="HTTPSampler.contentEncoding"/>
  1311. <stringProp name="HTTPSampler.path">${base_path}rest/V1/products</stringProp>
  1312. <stringProp name="HTTPSampler.method">GET</stringProp>
  1313. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1314. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1315. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1316. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1317. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1318. <stringProp name="HTTPSampler.embedded_url_re"/>
  1319. </HTTPSamplerProxy>
  1320. <hashTree>
  1321. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  1322. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1323. <stringProp name="RegexExtractor.refname">simple_products_url_keys</stringProp>
  1324. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1325. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1326. <stringProp name="RegexExtractor.default"/>
  1327. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1328. </RegexExtractor>
  1329. <hashTree/>
  1330. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product ids" enabled="true">
  1331. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1332. <stringProp name="RegexExtractor.refname">simple_product_ids</stringProp>
  1333. <stringProp name="RegexExtractor.regex">\"id\":(\d+),</stringProp>
  1334. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1335. <stringProp name="RegexExtractor.default"/>
  1336. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1337. </RegexExtractor>
  1338. <hashTree/>
  1339. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product titles" enabled="true">
  1340. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1341. <stringProp name="RegexExtractor.refname">simple_product_names</stringProp>
  1342. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1343. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1344. <stringProp name="RegexExtractor.default"/>
  1345. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1346. </RegexExtractor>
  1347. <hashTree/>
  1348. </hashTree>
  1349. </hashTree>
  1350. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Prepare simple products" enabled="true">
  1351. <stringProp name="ForeachController.inputVal">simple_product_ids</stringProp>
  1352. <stringProp name="ForeachController.returnVal">simple_product_id</stringProp>
  1353. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1354. </ForeachController>
  1355. <hashTree>
  1356. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1357. <stringProp name="CounterConfig.start">1</stringProp>
  1358. <stringProp name="CounterConfig.end"/>
  1359. <stringProp name="CounterConfig.incr">1</stringProp>
  1360. <stringProp name="CounterConfig.name">simple_products_counter</stringProp>
  1361. <stringProp name="CounterConfig.format"/>
  1362. <boolProp name="CounterConfig.per_user">false</boolProp>
  1363. </CounterConfig>
  1364. <hashTree/>
  1365. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect simple product" enabled="true">
  1366. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1367. import java.util.HashMap;
  1368. import org.apache.commons.codec.binary.Base64;
  1369. // If it is first iteration of cycle then recreate productList
  1370. if (1 == Integer.parseInt(vars.get("simple_products_counter"))) {
  1371. productList = new ArrayList();
  1372. props.put("simple_products_list", productList);
  1373. } else {
  1374. productList = props.get("simple_products_list");
  1375. }
  1376. String productUrl = vars.get("request_protocol") + "://" + vars.get("host") + vars.get("base_path") + vars.get("simple_products_url_keys_" + vars.get("simple_products_counter"))+ vars.get("url_suffix");
  1377. encodedUrl = Base64.encodeBase64(productUrl.getBytes());
  1378. // Create product map
  1379. Map productMap = new HashMap();
  1380. productMap.put("id", vars.get("simple_product_id"));
  1381. productMap.put("title", vars.get("simple_product_names_" + vars.get("simple_products_counter")));
  1382. productMap.put("url_key", vars.get("simple_products_url_keys_" + vars.get("simple_products_counter")));
  1383. productMap.put("uenc", new String(encodedUrl));
  1384. // Collect products map in products list
  1385. productList.add(productMap);</stringProp>
  1386. <stringProp name="BeanShellSampler.filename"/>
  1387. <stringProp name="BeanShellSampler.parameters"/>
  1388. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1389. </BeanShellSampler>
  1390. <hashTree/>
  1391. </hashTree>
  1392. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Retrieve configurable products" enabled="true"/>
  1393. <hashTree>
  1394. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1395. <collectionProp name="HeaderManager.headers">
  1396. <elementProp name="" elementType="Header">
  1397. <stringProp name="Header.name">Content-Type</stringProp>
  1398. <stringProp name="Header.value">application/json</stringProp>
  1399. </elementProp>
  1400. <elementProp name="" elementType="Header">
  1401. <stringProp name="Header.name">Accept</stringProp>
  1402. <stringProp name="Header.value">*/*</stringProp>
  1403. </elementProp>
  1404. </collectionProp>
  1405. </HeaderManager>
  1406. <hashTree/>
  1407. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1408. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1409. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1410. <collectionProp name="Arguments.arguments">
  1411. <elementProp name="" elementType="HTTPArgument">
  1412. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1413. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1414. <stringProp name="Argument.metadata">=</stringProp>
  1415. </elementProp>
  1416. </collectionProp>
  1417. </elementProp>
  1418. <stringProp name="HTTPSampler.domain"/>
  1419. <stringProp name="HTTPSampler.port"/>
  1420. <stringProp name="HTTPSampler.connect_timeout"/>
  1421. <stringProp name="HTTPSampler.response_timeout"/>
  1422. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1423. <stringProp name="HTTPSampler.contentEncoding"/>
  1424. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1425. <stringProp name="HTTPSampler.method">POST</stringProp>
  1426. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1427. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1428. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1429. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1430. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1431. <stringProp name="HTTPSampler.embedded_url_re"/>
  1432. </HTTPSamplerProxy>
  1433. <hashTree>
  1434. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true">
  1435. <stringProp name="VAR">admin_token</stringProp>
  1436. <stringProp name="JSONPATH">$</stringProp>
  1437. <stringProp name="DEFAULT"/>
  1438. <stringProp name="VARIABLE"/>
  1439. <stringProp name="SUBJECT">BODY</stringProp>
  1440. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1441. <hashTree/>
  1442. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1443. <collectionProp name="Asserion.test_strings">
  1444. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1445. </collectionProp>
  1446. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1447. <boolProp name="Assertion.assume_success">false</boolProp>
  1448. <intProp name="Assertion.test_type">1</intProp>
  1449. <stringProp name="Assertion.scope">variable</stringProp>
  1450. <stringProp name="Scope.variable">admin_token</stringProp>
  1451. </ResponseAssertion>
  1452. <hashTree/>
  1453. </hashTree>
  1454. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1455. <collectionProp name="HeaderManager.headers">
  1456. <elementProp name="" elementType="Header">
  1457. <stringProp name="Header.name">Authorization</stringProp>
  1458. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1459. </elementProp>
  1460. </collectionProp>
  1461. </HeaderManager>
  1462. <hashTree/>
  1463. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get configurable products" enabled="true">
  1464. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1465. <collectionProp name="Arguments.arguments">
  1466. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1467. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1468. <stringProp name="Argument.value">type_id</stringProp>
  1469. <stringProp name="Argument.metadata">=</stringProp>
  1470. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1471. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1472. </elementProp>
  1473. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1474. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1475. <stringProp name="Argument.value">configurable</stringProp>
  1476. <stringProp name="Argument.metadata">=</stringProp>
  1477. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1478. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1479. </elementProp>
  1480. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1481. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1482. <stringProp name="Argument.value">${configurable_products_count}</stringProp>
  1483. <stringProp name="Argument.metadata">=</stringProp>
  1484. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1485. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1486. </elementProp>
  1487. </collectionProp>
  1488. </elementProp>
  1489. <stringProp name="HTTPSampler.domain"/>
  1490. <stringProp name="HTTPSampler.port"/>
  1491. <stringProp name="HTTPSampler.connect_timeout"/>
  1492. <stringProp name="HTTPSampler.response_timeout"/>
  1493. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1494. <stringProp name="HTTPSampler.contentEncoding"/>
  1495. <stringProp name="HTTPSampler.path">${base_path}rest/V1/products</stringProp>
  1496. <stringProp name="HTTPSampler.method">GET</stringProp>
  1497. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1498. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1499. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1500. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1501. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1502. <stringProp name="HTTPSampler.embedded_url_re"/>
  1503. </HTTPSamplerProxy>
  1504. <hashTree>
  1505. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  1506. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1507. <stringProp name="RegexExtractor.refname">configurable_products_url_keys</stringProp>
  1508. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1509. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1510. <stringProp name="RegexExtractor.default"/>
  1511. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1512. </RegexExtractor>
  1513. <hashTree/>
  1514. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product ids" enabled="true">
  1515. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1516. <stringProp name="RegexExtractor.refname">configurable_product_ids</stringProp>
  1517. <stringProp name="RegexExtractor.regex">\"id\":(\d+),</stringProp>
  1518. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1519. <stringProp name="RegexExtractor.default"/>
  1520. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1521. </RegexExtractor>
  1522. <hashTree/>
  1523. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product titles" enabled="true">
  1524. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1525. <stringProp name="RegexExtractor.refname">configurable_product_names</stringProp>
  1526. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1527. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1528. <stringProp name="RegexExtractor.default"/>
  1529. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1530. </RegexExtractor>
  1531. <hashTree/>
  1532. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product skus" enabled="true">
  1533. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1534. <stringProp name="RegexExtractor.refname">configurable_product_skus</stringProp>
  1535. <stringProp name="RegexExtractor.regex">sku\":\"(.*?)\"</stringProp>
  1536. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1537. <stringProp name="RegexExtractor.default"/>
  1538. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1539. </RegexExtractor>
  1540. <hashTree/>
  1541. </hashTree>
  1542. </hashTree>
  1543. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Prepare configurable products" enabled="true">
  1544. <stringProp name="ForeachController.inputVal">configurable_product_ids</stringProp>
  1545. <stringProp name="ForeachController.returnVal">configurable_product_id</stringProp>
  1546. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1547. </ForeachController>
  1548. <hashTree>
  1549. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1550. <stringProp name="CounterConfig.start">1</stringProp>
  1551. <stringProp name="CounterConfig.end"/>
  1552. <stringProp name="CounterConfig.incr">1</stringProp>
  1553. <stringProp name="CounterConfig.name">configurable_products_counter</stringProp>
  1554. <stringProp name="CounterConfig.format"/>
  1555. <boolProp name="CounterConfig.per_user">false</boolProp>
  1556. </CounterConfig>
  1557. <hashTree/>
  1558. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect configurable product" enabled="true">
  1559. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1560. import java.util.HashMap;
  1561. import org.apache.commons.codec.binary.Base64;
  1562. // If it is first iteration of cycle then recreate productList
  1563. if (1 == Integer.parseInt(vars.get("configurable_products_counter"))) {
  1564. productList = new ArrayList();
  1565. props.put("configurable_products_list", productList);
  1566. } else {
  1567. productList = props.get("configurable_products_list");
  1568. }
  1569. String productUrl = vars.get("request_protocol") + "://" + vars.get("host") + vars.get("base_path") + vars.get("configurable_products_url_keys_" + vars.get("configurable_products_counter"))+ vars.get("url_suffix");
  1570. encodedUrl = Base64.encodeBase64(productUrl.getBytes());
  1571. // Create product map
  1572. Map productMap = new HashMap();
  1573. productMap.put("id", vars.get("configurable_product_id"));
  1574. productMap.put("title", vars.get("configurable_product_names_" + vars.get("configurable_products_counter")));
  1575. productMap.put("sku", vars.get("configurable_product_skus_" + vars.get("configurable_products_counter")));
  1576. productMap.put("url_key", vars.get("configurable_products_url_keys_" + vars.get("configurable_products_counter")));
  1577. productMap.put("uenc", new String(encodedUrl));
  1578. // Collect products map in products list
  1579. productList.add(productMap);</stringProp>
  1580. <stringProp name="BeanShellSampler.filename"/>
  1581. <stringProp name="BeanShellSampler.parameters"/>
  1582. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1583. </BeanShellSampler>
  1584. <hashTree/>
  1585. </hashTree>
  1586. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Open Customer Grid" enabled="true">
  1587. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  1588. <collectionProp name="Arguments.arguments"/>
  1589. </elementProp>
  1590. <stringProp name="HTTPSampler.domain"/>
  1591. <stringProp name="HTTPSampler.port"/>
  1592. <stringProp name="HTTPSampler.connect_timeout"/>
  1593. <stringProp name="HTTPSampler.response_timeout"/>
  1594. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1595. <stringProp name="HTTPSampler.contentEncoding"/>
  1596. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/customer/index/</stringProp>
  1597. <stringProp name="HTTPSampler.method">GET</stringProp>
  1598. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1599. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1600. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1601. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1602. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1603. <stringProp name="HTTPSampler.embedded_url_re"/>
  1604. </HTTPSamplerProxy>
  1605. <hashTree>
  1606. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  1607. <stringProp name="filename"/>
  1608. <stringProp name="parameters"/>
  1609. <boolProp name="resetInterpreter">true</boolProp>
  1610. <stringProp name="script">import org.apache.jmeter.protocol.http.control.CookieManager;
  1611. import org.apache.jmeter.protocol.http.control.Cookie;
  1612. CookieManager manager = sampler.getCookieManager();
  1613. Cookie cookie = new Cookie("adminhtml",vars.get("COOKIE_adminhtml"),vars.get("host"),"/",false,0);
  1614. manager.add(cookie); </stringProp>
  1615. </BeanShellPreProcessor>
  1616. <hashTree/>
  1617. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Customer Grid" enabled="true">
  1618. <collectionProp name="Asserion.test_strings">
  1619. <stringProp name="-679437259">Customers</stringProp>
  1620. <stringProp name="495525733">&lt;title&gt;Customers / Customers / Magento Admin&lt;/title&gt;</stringProp>
  1621. </collectionProp>
  1622. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1623. <boolProp name="Assertion.assume_success">false</boolProp>
  1624. <intProp name="Assertion.test_type">2</intProp>
  1625. </ResponseAssertion>
  1626. <hashTree/>
  1627. </hashTree>
  1628. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Search Customers" enabled="true">
  1629. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  1630. <collectionProp name="Arguments.arguments">
  1631. <elementProp name="namespace" elementType="HTTPArgument">
  1632. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1633. <stringProp name="Argument.value">customer_listing</stringProp>
  1634. <stringProp name="Argument.metadata">=</stringProp>
  1635. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1636. <stringProp name="Argument.name">namespace</stringProp>
  1637. </elementProp>
  1638. <elementProp name="search" elementType="HTTPArgument">
  1639. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1640. <stringProp name="Argument.value"/>
  1641. <stringProp name="Argument.metadata">=</stringProp>
  1642. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1643. <stringProp name="Argument.name">search</stringProp>
  1644. </elementProp>
  1645. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  1646. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1647. <stringProp name="Argument.value">customer_since[locale]=en_US&amp;website_id=1</stringProp>
  1648. <stringProp name="Argument.metadata">=</stringProp>
  1649. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1650. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  1651. </elementProp>
  1652. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  1653. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1654. <stringProp name="Argument.value">${customers_page_size}</stringProp>
  1655. <stringProp name="Argument.metadata">=</stringProp>
  1656. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1657. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  1658. </elementProp>
  1659. <elementProp name="paging[current]" elementType="HTTPArgument">
  1660. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1661. <stringProp name="Argument.value">1</stringProp>
  1662. <stringProp name="Argument.metadata">=</stringProp>
  1663. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1664. <stringProp name="Argument.name">paging[current]</stringProp>
  1665. </elementProp>
  1666. <elementProp name="sorting[field]" elementType="HTTPArgument">
  1667. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1668. <stringProp name="Argument.value">entity_id</stringProp>
  1669. <stringProp name="Argument.metadata">=</stringProp>
  1670. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1671. <stringProp name="Argument.name">sorting[field]</stringProp>
  1672. </elementProp>
  1673. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  1674. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1675. <stringProp name="Argument.value">asc</stringProp>
  1676. <stringProp name="Argument.metadata">=</stringProp>
  1677. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1678. <stringProp name="Argument.name">sorting[direction]</stringProp>
  1679. </elementProp>
  1680. <elementProp name="isAjax" elementType="HTTPArgument">
  1681. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1682. <stringProp name="Argument.value">true</stringProp>
  1683. <stringProp name="Argument.metadata">=</stringProp>
  1684. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1685. <stringProp name="Argument.name">isAjax</stringProp>
  1686. </elementProp>
  1687. </collectionProp>
  1688. </elementProp>
  1689. <stringProp name="HTTPSampler.domain"/>
  1690. <stringProp name="HTTPSampler.port"/>
  1691. <stringProp name="HTTPSampler.connect_timeout"/>
  1692. <stringProp name="HTTPSampler.response_timeout"/>
  1693. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1694. <stringProp name="HTTPSampler.contentEncoding"/>
  1695. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  1696. <stringProp name="HTTPSampler.method">GET</stringProp>
  1697. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1698. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1699. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1700. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1701. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1702. <stringProp name="HTTPSampler.embedded_url_re"/>
  1703. </HTTPSamplerProxy>
  1704. <hashTree>
  1705. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert total records is not 0" enabled="true">
  1706. <collectionProp name="Asserion.test_strings">
  1707. <stringProp name="827137952">\"totalRecords\":0</stringProp>
  1708. </collectionProp>
  1709. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1710. <boolProp name="Assertion.assume_success">false</boolProp>
  1711. <intProp name="Assertion.test_type">20</intProp>
  1712. </ResponseAssertion>
  1713. <hashTree/>
  1714. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer emails" enabled="true">
  1715. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1716. <stringProp name="RegexExtractor.refname">customer_emails</stringProp>
  1717. <stringProp name="RegexExtractor.regex">\"email\":\"([^"]+)</stringProp>
  1718. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1719. <stringProp name="RegexExtractor.default"/>
  1720. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1721. </RegexExtractor>
  1722. <hashTree/>
  1723. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer ids" enabled="true">
  1724. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1725. <stringProp name="RegexExtractor.refname">customer_ids</stringProp>
  1726. <stringProp name="RegexExtractor.regex">\"entity_id\":\"([^"]+)</stringProp>
  1727. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1728. <stringProp name="RegexExtractor.default"/>
  1729. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1730. </RegexExtractor>
  1731. <hashTree/>
  1732. </hashTree>
  1733. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: customer emails loop (search result)" enabled="true">
  1734. <stringProp name="ForeachController.inputVal">customer_emails</stringProp>
  1735. <stringProp name="ForeachController.returnVal">customer_email</stringProp>
  1736. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1737. </ForeachController>
  1738. <hashTree>
  1739. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1740. <stringProp name="CounterConfig.start">1</stringProp>
  1741. <stringProp name="CounterConfig.end"/>
  1742. <stringProp name="CounterConfig.incr">1</stringProp>
  1743. <stringProp name="CounterConfig.name">email_counter</stringProp>
  1744. <stringProp name="CounterConfig.format"/>
  1745. <boolProp name="CounterConfig.per_user">false</boolProp>
  1746. </CounterConfig>
  1747. <hashTree/>
  1748. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect customer emails" enabled="true">
  1749. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1750. // If it is first iteration of cycle then recreate emailsList
  1751. if (1 == Integer.parseInt(vars.get("email_counter"))) {
  1752. emailsList = new ArrayList();
  1753. props.put("customer_emails_list", emailsList);
  1754. } else {
  1755. emailsList = props.get("customer_emails_list");
  1756. }
  1757. emailsList.add(vars.get("customer_email"));</stringProp>
  1758. <stringProp name="BeanShellSampler.filename"/>
  1759. <stringProp name="BeanShellSampler.parameters"/>
  1760. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1761. </BeanShellSampler>
  1762. <hashTree/>
  1763. </hashTree>
  1764. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: customer ids loop (search result)" enabled="true">
  1765. <stringProp name="ForeachController.inputVal">customer_ids</stringProp>
  1766. <stringProp name="ForeachController.returnVal">customer_id</stringProp>
  1767. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1768. </ForeachController>
  1769. <hashTree>
  1770. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1771. <stringProp name="CounterConfig.start">1</stringProp>
  1772. <stringProp name="CounterConfig.end"/>
  1773. <stringProp name="CounterConfig.incr">1</stringProp>
  1774. <stringProp name="CounterConfig.name">id_counter</stringProp>
  1775. <stringProp name="CounterConfig.format"/>
  1776. <boolProp name="CounterConfig.per_user">false</boolProp>
  1777. </CounterConfig>
  1778. <hashTree/>
  1779. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect customer ids" enabled="true">
  1780. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1781. // If it is first iteration of cycle then recreate idsList
  1782. if (1 == Integer.parseInt(vars.get("id_counter"))) {
  1783. idsList = new ArrayList();
  1784. props.put("customer_ids_list", idsList);
  1785. } else {
  1786. idsList = props.get("customer_ids_list");
  1787. }
  1788. idsList.add(vars.get("customer_id"));</stringProp>
  1789. <stringProp name="BeanShellSampler.filename"/>
  1790. <stringProp name="BeanShellSampler.parameters"/>
  1791. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1792. </BeanShellSampler>
  1793. <hashTree/>
  1794. </hashTree>
  1795. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Validate properties and count users" enabled="true">
  1796. <stringProp name="BeanShellSampler.query">Boolean stopTestOnError (String error) {
  1797. log.error(error);
  1798. System.out.println(error);
  1799. SampleResult.setStopTest(true);
  1800. return false;
  1801. }
  1802. if (props.get("simple_products_list") == null) {
  1803. return stopTestOnError("Cannot find simple products. Test stopped.");
  1804. }
  1805. if (props.get("configurable_products_list") == null) {
  1806. return stopTestOnError("Cannot find configurable products. Test stopped.");
  1807. }
  1808. if (props.get("customer_emails_list") == null) {
  1809. return stopTestOnError("Cannot find customer emails. Test stopped.");
  1810. }
  1811. if (props.get("category_url_keys_list") == null) {
  1812. return stopTestOnError("Cannot find category url keys. Test stopped.");
  1813. }
  1814. if (props.get("category_names_list") == null) {
  1815. return stopTestOnError("Cannot find category names. Test stopped.");
  1816. }
  1817. int orders = Integer.parseInt(vars.get("orders"));
  1818. if (orders &gt; 0) {
  1819. int checkout_sum = Integer.parseInt(vars.get("guest_checkout_percent")) + Integer.parseInt(vars.get("customer_checkout_percent"));
  1820. checkout_sum = checkout_sum &gt; 0 ? checkout_sum : 1;
  1821. int users = orders * (100 / checkout_sum);
  1822. props.put("users", users);
  1823. } else {
  1824. props.put("users", Integer.parseInt(vars.get("users")));
  1825. }
  1826. </stringProp>
  1827. <stringProp name="BeanShellSampler.filename"/>
  1828. <stringProp name="BeanShellSampler.parameters"/>
  1829. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1830. </BeanShellSampler>
  1831. <hashTree/>
  1832. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller: Disable cache type?" enabled="true">
  1833. <stringProp name="IfController.condition">"${cache_indicator}" == "1" || "${cache_indicator}" == "2"</stringProp>
  1834. <boolProp name="IfController.evaluateAll">false</boolProp>
  1835. </IfController>
  1836. <hashTree>
  1837. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: resolve cache types" enabled="true">
  1838. <stringProp name="BeanShellSampler.query">// Default to disable all cache types
  1839. vars.put("cache_types", "config,layout,block_html,collections,reflection,db_ddl,eav,config_integration,full_page,target_rule,translate,config_webservice,config_integration_api");
  1840. if ("${cache_indicator}" == "1") {
  1841. // Only disable Full Page Cache
  1842. vars.put("cache_types", "full_page");
  1843. }
  1844. </stringProp>
  1845. <stringProp name="BeanShellSampler.filename"/>
  1846. <stringProp name="BeanShellSampler.parameters"/>
  1847. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1848. </BeanShellSampler>
  1849. <hashTree/>
  1850. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - HTTP Request: Admin - Disable Specific Cache Types" enabled="true">
  1851. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  1852. <collectionProp name="Arguments.arguments">
  1853. <elementProp name="form_key" elementType="HTTPArgument">
  1854. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1855. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  1856. <stringProp name="Argument.metadata">=</stringProp>
  1857. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1858. <stringProp name="Argument.name">form_key</stringProp>
  1859. </elementProp>
  1860. <elementProp name="massaction_prepare_key" elementType="HTTPArgument">
  1861. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1862. <stringProp name="Argument.value">types</stringProp>
  1863. <stringProp name="Argument.metadata">=</stringProp>
  1864. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1865. <stringProp name="Argument.name">massaction_prepare_key</stringProp>
  1866. </elementProp>
  1867. <elementProp name="types" elementType="HTTPArgument">
  1868. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1869. <stringProp name="Argument.value">${cache_types}</stringProp>
  1870. <stringProp name="Argument.metadata">=</stringProp>
  1871. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1872. <stringProp name="Argument.name">types</stringProp>
  1873. </elementProp>
  1874. </collectionProp>
  1875. </elementProp>
  1876. <stringProp name="HTTPSampler.domain"/>
  1877. <stringProp name="HTTPSampler.port"/>
  1878. <stringProp name="HTTPSampler.connect_timeout"/>
  1879. <stringProp name="HTTPSampler.response_timeout"/>
  1880. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1881. <stringProp name="HTTPSampler.contentEncoding"/>
  1882. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/cache/massDisable</stringProp>
  1883. <stringProp name="HTTPSampler.method">POST</stringProp>
  1884. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1885. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1886. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1887. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1888. <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">true</boolProp>
  1889. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1890. <stringProp name="HTTPSampler.embedded_url_re"/>
  1891. </HTTPSamplerProxy>
  1892. <hashTree/>
  1893. </hashTree>
  1894. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller - Cache Validation - All Enabled" enabled="true">
  1895. <stringProp name="IfController.condition">"${cache_indicator}" == "0"</stringProp>
  1896. <boolProp name="IfController.evaluateAll">false</boolProp>
  1897. </IfController>
  1898. <hashTree>
  1899. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - HTTP Request - Cache Validation - All Enabled" enabled="true">
  1900. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  1901. <collectionProp name="Arguments.arguments">
  1902. <elementProp name="form_key" elementType="HTTPArgument">
  1903. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1904. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  1905. <stringProp name="Argument.metadata">=</stringProp>
  1906. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1907. <stringProp name="Argument.name">form_key</stringProp>
  1908. <stringProp name="Argument.desc">true</stringProp>
  1909. </elementProp>
  1910. </collectionProp>
  1911. </elementProp>
  1912. <stringProp name="HTTPSampler.domain"/>
  1913. <stringProp name="HTTPSampler.port"/>
  1914. <stringProp name="HTTPSampler.connect_timeout"/>
  1915. <stringProp name="HTTPSampler.response_timeout"/>
  1916. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1917. <stringProp name="HTTPSampler.contentEncoding"/>
  1918. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/cache/</stringProp>
  1919. <stringProp name="HTTPSampler.method">GET</stringProp>
  1920. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1921. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1922. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1923. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1924. <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">true</boolProp>
  1925. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1926. <stringProp name="HTTPSampler.embedded_url_re"/>
  1927. </HTTPSamplerProxy>
  1928. <hashTree>
  1929. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion - Cache Validation - All Enabled" enabled="true">
  1930. <collectionProp name="Asserion.test_strings">
  1931. <stringProp name="860336383">TRANSLATE(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1932. <stringProp name="1466502763">CONFIG(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1933. <stringProp name="-1659688004">LAYOUT_GENERAL_CACHE_TAG(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1934. <stringProp name="-21423984">BLOCK_HTML(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1935. <stringProp name="593884002">COLLECTION_DATA(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1936. <stringProp name="-751452301">EAV(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1937. <stringProp name="1611481748">FPC(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1938. <stringProp name="846147458">DB_DDL(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1939. <stringProp name="-534412103">INTEGRATION(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1940. <stringProp name="-72935653">INTEGRATION_API_CONFIG(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1941. <stringProp name="330643820">WEBSERVICE(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1942. <stringProp name="-479894558">REFLECTION(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1943. <stringProp name="1450477507">TARGET_RULE(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1944. </collectionProp>
  1945. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1946. <boolProp name="Assertion.assume_success">false</boolProp>
  1947. <intProp name="Assertion.test_type">2</intProp>
  1948. </ResponseAssertion>
  1949. <hashTree/>
  1950. </hashTree>
  1951. </hashTree>
  1952. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller - Cache Validation - Only FPC Disabled" enabled="true">
  1953. <stringProp name="IfController.condition">"${cache_indicator}" == "1"</stringProp>
  1954. <boolProp name="IfController.evaluateAll">false</boolProp>
  1955. </IfController>
  1956. <hashTree>
  1957. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - HTTP Request - Cache Validation - Only FPC Disabled" enabled="true">
  1958. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  1959. <collectionProp name="Arguments.arguments">
  1960. <elementProp name="form_key" elementType="HTTPArgument">
  1961. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1962. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  1963. <stringProp name="Argument.metadata">=</stringProp>
  1964. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1965. <stringProp name="Argument.name">form_key</stringProp>
  1966. <stringProp name="Argument.desc">true</stringProp>
  1967. </elementProp>
  1968. </collectionProp>
  1969. </elementProp>
  1970. <stringProp name="HTTPSampler.domain"/>
  1971. <stringProp name="HTTPSampler.port"/>
  1972. <stringProp name="HTTPSampler.connect_timeout"/>
  1973. <stringProp name="HTTPSampler.response_timeout"/>
  1974. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1975. <stringProp name="HTTPSampler.contentEncoding"/>
  1976. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/cache/</stringProp>
  1977. <stringProp name="HTTPSampler.method">GET</stringProp>
  1978. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1979. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1980. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1981. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1982. <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">true</boolProp>
  1983. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1984. <stringProp name="HTTPSampler.embedded_url_re"/>
  1985. </HTTPSamplerProxy>
  1986. <hashTree>
  1987. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion - Cache Validation - All Disabled" enabled="true">
  1988. <collectionProp name="Asserion.test_strings">
  1989. <stringProp name="860336383">TRANSLATE(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1990. <stringProp name="1466502763">CONFIG(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1991. <stringProp name="-1659688004">LAYOUT_GENERAL_CACHE_TAG(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1992. <stringProp name="-21423984">BLOCK_HTML(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1993. <stringProp name="593884002">COLLECTION_DATA(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1994. <stringProp name="-751452301">EAV(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1995. <stringProp name="-2075232047">FPC(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  1996. <stringProp name="846147458">DB_DDL(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1997. <stringProp name="-534412103">INTEGRATION(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1998. <stringProp name="-72935653">INTEGRATION_API_CONFIG(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  1999. <stringProp name="330643820">WEBSERVICE(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  2000. <stringProp name="-479894558">REFLECTION(?s).+?&lt;span&gt;Enabled&lt;/span&gt;</stringProp>
  2001. <stringProp name="46789595">TARGET_RULE(?s).+?&lt;span&gt;Enabled&lt;/span</stringProp>
  2002. </collectionProp>
  2003. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2004. <boolProp name="Assertion.assume_success">false</boolProp>
  2005. <intProp name="Assertion.test_type">2</intProp>
  2006. </ResponseAssertion>
  2007. <hashTree/>
  2008. </hashTree>
  2009. </hashTree>
  2010. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller - Cache Validation - All Disabled" enabled="true">
  2011. <stringProp name="IfController.condition">"${cache_indicator}" == "2"</stringProp>
  2012. <boolProp name="IfController.evaluateAll">false</boolProp>
  2013. </IfController>
  2014. <hashTree>
  2015. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - HTTP Request - Cache Validation - All Disabled" enabled="true">
  2016. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2017. <collectionProp name="Arguments.arguments">
  2018. <elementProp name="form_key" elementType="HTTPArgument">
  2019. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2020. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  2021. <stringProp name="Argument.metadata">=</stringProp>
  2022. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2023. <stringProp name="Argument.name">form_key</stringProp>
  2024. <stringProp name="Argument.desc">true</stringProp>
  2025. </elementProp>
  2026. </collectionProp>
  2027. </elementProp>
  2028. <stringProp name="HTTPSampler.domain"/>
  2029. <stringProp name="HTTPSampler.port"/>
  2030. <stringProp name="HTTPSampler.connect_timeout"/>
  2031. <stringProp name="HTTPSampler.response_timeout"/>
  2032. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2033. <stringProp name="HTTPSampler.contentEncoding"/>
  2034. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/cache/</stringProp>
  2035. <stringProp name="HTTPSampler.method">GET</stringProp>
  2036. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2037. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2038. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2039. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2040. <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">true</boolProp>
  2041. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2042. <stringProp name="HTTPSampler.embedded_url_re"/>
  2043. </HTTPSamplerProxy>
  2044. <hashTree>
  2045. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion - Cache Validation - All Disabled" enabled="true">
  2046. <collectionProp name="Asserion.test_strings">
  2047. <stringProp name="409065414">TRANSLATE(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2048. <stringProp name="2020354010">CONFIG(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2049. <stringProp name="-402279255">LAYOUT_GENERAL_CACHE_TAG(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2050. <stringProp name="-1155702187">BLOCK_HTML(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2051. <stringProp name="738976195">COLLECTION_DATA(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2052. <stringProp name="1983223762">EAV(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2053. <stringProp name="-2075232047">FPC(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2054. <stringProp name="-30791261">DB_DDL(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2055. <stringProp name="121535308">INTEGRATION(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2056. <stringProp name="1542403370">INTEGRATION_API_CONFIG(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2057. <stringProp name="1168465145">WEBSERVICE(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2058. <stringProp name="1811579203">REFLECTION(?s).+?&lt;span&gt;Disabled&lt;/span&gt;</stringProp>
  2059. <stringProp name="49147452">TARGET_RULE(?s).+?&lt;span&gt;Disabled&lt;/span</stringProp>
  2060. </collectionProp>
  2061. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2062. <boolProp name="Assertion.assume_success">false</boolProp>
  2063. <intProp name="Assertion.test_type">2</intProp>
  2064. </ResponseAssertion>
  2065. <hashTree/>
  2066. </hashTree>
  2067. </hashTree>
  2068. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Ajax Load Login Form" enabled="true">
  2069. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2070. <collectionProp name="Arguments.arguments">
  2071. <elementProp name="blocks" elementType="HTTPArgument">
  2072. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2073. <stringProp name="Argument.value">["customer_form_login"]</stringProp>
  2074. <stringProp name="Argument.metadata">=</stringProp>
  2075. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2076. <stringProp name="Argument.name">blocks</stringProp>
  2077. </elementProp>
  2078. <elementProp name="handles" elementType="HTTPArgument">
  2079. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2080. <stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
  2081. <stringProp name="Argument.metadata">=</stringProp>
  2082. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2083. <stringProp name="Argument.name">handles</stringProp>
  2084. </elementProp>
  2085. <elementProp name="originalRequest" elementType="HTTPArgument">
  2086. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2087. <stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
  2088. <stringProp name="Argument.metadata">=</stringProp>
  2089. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2090. <stringProp name="Argument.name">originalRequest</stringProp>
  2091. </elementProp>
  2092. <elementProp name="ajax" elementType="HTTPArgument">
  2093. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2094. <stringProp name="Argument.value">true</stringProp>
  2095. <stringProp name="Argument.metadata">=</stringProp>
  2096. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2097. <stringProp name="Argument.name">ajax</stringProp>
  2098. </elementProp>
  2099. <elementProp name="isAjax" elementType="HTTPArgument">
  2100. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2101. <stringProp name="Argument.value">true</stringProp>
  2102. <stringProp name="Argument.metadata">=</stringProp>
  2103. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2104. <stringProp name="Argument.name">isAjax</stringProp>
  2105. </elementProp>
  2106. </collectionProp>
  2107. </elementProp>
  2108. <stringProp name="HTTPSampler.domain"/>
  2109. <stringProp name="HTTPSampler.port"/>
  2110. <stringProp name="HTTPSampler.connect_timeout"/>
  2111. <stringProp name="HTTPSampler.response_timeout"/>
  2112. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2113. <stringProp name="HTTPSampler.contentEncoding"/>
  2114. <stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
  2115. <stringProp name="HTTPSampler.method">GET</stringProp>
  2116. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2117. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2118. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2119. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2120. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2121. <stringProp name="HTTPSampler.embedded_url_re"/>
  2122. </HTTPSamplerProxy>
  2123. <hashTree>
  2124. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2125. <collectionProp name="Asserion.test_strings">
  2126. <stringProp name="940598773">"customer_form_login"</stringProp>
  2127. <stringProp name="1951684663">Registered Customers</stringProp>
  2128. <stringProp name="474011748">form_key</stringProp>
  2129. </collectionProp>
  2130. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2131. <boolProp name="Assertion.assume_success">false</boolProp>
  2132. <intProp name="Assertion.test_type">2</intProp>
  2133. </ResponseAssertion>
  2134. <hashTree/>
  2135. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  2136. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2137. <stringProp name="RegexExtractor.refname">form_key</stringProp>
  2138. <stringProp name="RegexExtractor.regex">&lt;input name=\\"form_key\\" type=\\"hidden\\" value=\\"([^'"]+)\\" \\/&gt;</stringProp>
  2139. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2140. <stringProp name="RegexExtractor.default"/>
  2141. <stringProp name="RegexExtractor.match_number">1</stringProp>
  2142. </RegexExtractor>
  2143. <hashTree/>
  2144. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  2145. <collectionProp name="Asserion.test_strings">
  2146. <stringProp name="2845929">^.+$</stringProp>
  2147. </collectionProp>
  2148. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2149. <boolProp name="Assertion.assume_success">false</boolProp>
  2150. <intProp name="Assertion.test_type">1</intProp>
  2151. <stringProp name="Assertion.scope">variable</stringProp>
  2152. <stringProp name="Scope.variable">form_key</stringProp>
  2153. </ResponseAssertion>
  2154. <hashTree/>
  2155. </hashTree>
  2156. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - WarmUp Add To Cart" enabled="true">
  2157. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2158. <collectionProp name="Arguments.arguments">
  2159. <elementProp name="product" elementType="HTTPArgument">
  2160. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2161. <stringProp name="Argument.value">1</stringProp>
  2162. <stringProp name="Argument.metadata">=</stringProp>
  2163. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2164. <stringProp name="Argument.name">product</stringProp>
  2165. </elementProp>
  2166. <elementProp name="related_product" elementType="HTTPArgument">
  2167. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2168. <stringProp name="Argument.value"/>
  2169. <stringProp name="Argument.metadata">=</stringProp>
  2170. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2171. <stringProp name="Argument.name">related_product</stringProp>
  2172. </elementProp>
  2173. <elementProp name="qty" elementType="HTTPArgument">
  2174. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2175. <stringProp name="Argument.value">1</stringProp>
  2176. <stringProp name="Argument.metadata">=</stringProp>
  2177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2178. <stringProp name="Argument.name">qty</stringProp>
  2179. </elementProp>
  2180. <elementProp name="form_key" elementType="HTTPArgument">
  2181. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2182. <stringProp name="Argument.value">${form_key}</stringProp>
  2183. <stringProp name="Argument.metadata">=</stringProp>
  2184. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2185. <stringProp name="Argument.name">form_key</stringProp>
  2186. </elementProp>
  2187. </collectionProp>
  2188. </elementProp>
  2189. <stringProp name="HTTPSampler.domain"/>
  2190. <stringProp name="HTTPSampler.port"/>
  2191. <stringProp name="HTTPSampler.connect_timeout"/>
  2192. <stringProp name="HTTPSampler.response_timeout"/>
  2193. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2194. <stringProp name="HTTPSampler.contentEncoding"/>
  2195. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add</stringProp>
  2196. <stringProp name="HTTPSampler.method">POST</stringProp>
  2197. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2198. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2199. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2200. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2201. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2202. <stringProp name="HTTPSampler.embedded_url_re"/>
  2203. </HTTPSamplerProxy>
  2204. <hashTree/>
  2205. </hashTree>
  2206. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Catalog Browsing By Guest" enabled="true">
  2207. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  2208. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  2209. <boolProp name="LoopController.continue_forever">false</boolProp>
  2210. <stringProp name="LoopController.loops">${loops}</stringProp>
  2211. </elementProp>
  2212. <stringProp name="ThreadGroup.num_threads">${__javaScript(Math.round(props.get("users")*${view_catalog_percent}/100&gt;&gt;0))}</stringProp>
  2213. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  2214. <longProp name="ThreadGroup.start_time">1437409133000</longProp>
  2215. <longProp name="ThreadGroup.end_time">1437409133000</longProp>
  2216. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  2217. <stringProp name="ThreadGroup.duration"/>
  2218. <stringProp name="ThreadGroup.delay"/>
  2219. </ThreadGroup>
  2220. <hashTree>
  2221. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Get arguments${__property(activeAdminThread)}(CatProdBrows)" enabled="true">
  2222. <stringProp name="TestPlan.comments">Passing arguments between threads</stringProp>
  2223. <stringProp name="BeanShellSampler.query">
  2224. import java.util.Random;
  2225. Random random = new Random();
  2226. if (${seedForRandom} &gt; 0) {
  2227. random.setSeed(${seedForRandom});
  2228. }
  2229. number = random.nextInt(props.get("simple_products_list").size());
  2230. simpleList = props.get("simple_products_list").get(number);
  2231. vars.put("simple_product_1_url_key", simpleList.get("url_key"));
  2232. vars.put("simple_product_1_name", simpleList.get("title"));
  2233. vars.put("simple_product_1_id", simpleList.get("id"));
  2234. number1 = random.nextInt(props.get("simple_products_list").size());
  2235. simpleList = props.get("simple_products_list").get(number1);
  2236. vars.put("simple_product_2_url_key", simpleList.get("url_key"));
  2237. vars.put("simple_product_2_name", simpleList.get("title"));
  2238. vars.put("simple_product_2_id", simpleList.get("id"));
  2239. number = random.nextInt(props.get("configurable_products_list").size());
  2240. configurableList = props.get("configurable_products_list").get(number);
  2241. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  2242. vars.put("configurable_product_1_name", configurableList.get("title"));
  2243. vars.put("configurable_product_1_id", configurableList.get("id"));
  2244. number = random.nextInt(props.get("category_url_keys_list").size());
  2245. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  2246. vars.put("category_name", props.get("category_names_list").get(number));
  2247. vars.put("testLabel", "CatProdBrows");</stringProp>
  2248. <stringProp name="BeanShellSampler.filename"/>
  2249. <stringProp name="BeanShellSampler.parameters"/>
  2250. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  2251. </BeanShellSampler>
  2252. <hashTree/>
  2253. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2254. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2255. <collectionProp name="Arguments.arguments"/>
  2256. </elementProp>
  2257. <stringProp name="HTTPSampler.domain"/>
  2258. <stringProp name="HTTPSampler.port"/>
  2259. <stringProp name="HTTPSampler.connect_timeout"/>
  2260. <stringProp name="HTTPSampler.response_timeout"/>
  2261. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2262. <stringProp name="HTTPSampler.contentEncoding"/>
  2263. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  2264. <stringProp name="HTTPSampler.method">GET</stringProp>
  2265. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2266. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2267. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2268. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2269. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2270. <stringProp name="HTTPSampler.embedded_url_re"/>
  2271. </HTTPSamplerProxy>
  2272. <hashTree>
  2273. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2274. <collectionProp name="Asserion.test_strings">
  2275. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  2276. </collectionProp>
  2277. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2278. <boolProp name="Assertion.assume_success">false</boolProp>
  2279. <intProp name="Assertion.test_type">2</intProp>
  2280. </ResponseAssertion>
  2281. <hashTree/>
  2282. </hashTree>
  2283. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2284. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2285. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2286. </GaussianRandomTimer>
  2287. <hashTree/>
  2288. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2289. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2290. <collectionProp name="Arguments.arguments"/>
  2291. </elementProp>
  2292. <stringProp name="HTTPSampler.domain"/>
  2293. <stringProp name="HTTPSampler.port"/>
  2294. <stringProp name="HTTPSampler.connect_timeout"/>
  2295. <stringProp name="HTTPSampler.response_timeout"/>
  2296. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2297. <stringProp name="HTTPSampler.contentEncoding"/>
  2298. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  2299. <stringProp name="HTTPSampler.method">GET</stringProp>
  2300. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2301. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2302. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2303. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2304. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2305. <stringProp name="HTTPSampler.embedded_url_re"/>
  2306. </HTTPSamplerProxy>
  2307. <hashTree>
  2308. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2309. <collectionProp name="Asserion.test_strings">
  2310. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  2311. </collectionProp>
  2312. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2313. <boolProp name="Assertion.assume_success">false</boolProp>
  2314. <intProp name="Assertion.test_type">6</intProp>
  2315. </ResponseAssertion>
  2316. <hashTree/>
  2317. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  2318. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2319. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  2320. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  2321. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2322. <stringProp name="RegexExtractor.default"/>
  2323. <stringProp name="RegexExtractor.match_number">1</stringProp>
  2324. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  2325. </RegexExtractor>
  2326. <hashTree/>
  2327. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  2328. <collectionProp name="Asserion.test_strings">
  2329. <stringProp name="1191417111">^[0-9]+$</stringProp>
  2330. </collectionProp>
  2331. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2332. <boolProp name="Assertion.assume_success">false</boolProp>
  2333. <intProp name="Assertion.test_type">1</intProp>
  2334. <stringProp name="Assertion.scope">variable</stringProp>
  2335. <stringProp name="Scope.variable">category_id</stringProp>
  2336. </ResponseAssertion>
  2337. <hashTree/>
  2338. </hashTree>
  2339. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2340. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2341. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2342. </GaussianRandomTimer>
  2343. <hashTree/>
  2344. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2345. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2346. <collectionProp name="Arguments.arguments"/>
  2347. </elementProp>
  2348. <stringProp name="HTTPSampler.domain"/>
  2349. <stringProp name="HTTPSampler.port"/>
  2350. <stringProp name="HTTPSampler.connect_timeout"/>
  2351. <stringProp name="HTTPSampler.response_timeout"/>
  2352. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2353. <stringProp name="HTTPSampler.contentEncoding"/>
  2354. <stringProp name="HTTPSampler.path">${base_path}${simple_product_1_url_key}${url_suffix}</stringProp>
  2355. <stringProp name="HTTPSampler.method">GET</stringProp>
  2356. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2357. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2358. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2359. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2360. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2361. <stringProp name="HTTPSampler.embedded_url_re"/>
  2362. </HTTPSamplerProxy>
  2363. <hashTree>
  2364. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2365. <collectionProp name="Asserion.test_strings">
  2366. <stringProp name="1254853024">&lt;title&gt;${simple_product_1_name}</stringProp>
  2367. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  2368. </collectionProp>
  2369. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2370. <boolProp name="Assertion.assume_success">false</boolProp>
  2371. <intProp name="Assertion.test_type">2</intProp>
  2372. </ResponseAssertion>
  2373. <hashTree/>
  2374. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  2375. <stringProp name="XPathExtractor.default"/>
  2376. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  2377. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  2378. <boolProp name="XPathExtractor.validate">false</boolProp>
  2379. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  2380. <boolProp name="XPathExtractor.namespace">false</boolProp>
  2381. </XPathExtractor>
  2382. <hashTree/>
  2383. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  2384. <collectionProp name="Asserion.test_strings">
  2385. <stringProp name="89649215">^\d+$</stringProp>
  2386. </collectionProp>
  2387. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2388. <boolProp name="Assertion.assume_success">false</boolProp>
  2389. <intProp name="Assertion.test_type">1</intProp>
  2390. <stringProp name="Assertion.scope">variable</stringProp>
  2391. <stringProp name="Scope.variable">product_id</stringProp>
  2392. </ResponseAssertion>
  2393. <hashTree/>
  2394. </hashTree>
  2395. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2396. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2397. <collectionProp name="Arguments.arguments"/>
  2398. </elementProp>
  2399. <stringProp name="HTTPSampler.domain"/>
  2400. <stringProp name="HTTPSampler.port"/>
  2401. <stringProp name="HTTPSampler.connect_timeout"/>
  2402. <stringProp name="HTTPSampler.response_timeout"/>
  2403. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2404. <stringProp name="HTTPSampler.contentEncoding"/>
  2405. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  2406. <stringProp name="HTTPSampler.method">GET</stringProp>
  2407. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2408. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2409. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2410. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2411. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2412. <stringProp name="HTTPSampler.embedded_url_re"/>
  2413. </HTTPSamplerProxy>
  2414. <hashTree>
  2415. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2416. <collectionProp name="Asserion.test_strings">
  2417. <stringProp name="49586">200</stringProp>
  2418. </collectionProp>
  2419. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  2420. <boolProp name="Assertion.assume_success">false</boolProp>
  2421. <intProp name="Assertion.test_type">2</intProp>
  2422. </ResponseAssertion>
  2423. <hashTree/>
  2424. </hashTree>
  2425. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2426. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2427. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2428. </GaussianRandomTimer>
  2429. <hashTree/>
  2430. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2431. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2432. <collectionProp name="Arguments.arguments"/>
  2433. </elementProp>
  2434. <stringProp name="HTTPSampler.domain"/>
  2435. <stringProp name="HTTPSampler.port"/>
  2436. <stringProp name="HTTPSampler.connect_timeout"/>
  2437. <stringProp name="HTTPSampler.response_timeout"/>
  2438. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2439. <stringProp name="HTTPSampler.contentEncoding"/>
  2440. <stringProp name="HTTPSampler.path">${base_path}${simple_product_2_url_key}${url_suffix}</stringProp>
  2441. <stringProp name="HTTPSampler.method">GET</stringProp>
  2442. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2443. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2444. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2445. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2446. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2447. <stringProp name="HTTPSampler.embedded_url_re"/>
  2448. </HTTPSamplerProxy>
  2449. <hashTree>
  2450. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2451. <collectionProp name="Asserion.test_strings">
  2452. <stringProp name="2142356705">&lt;title&gt;${simple_product_2_name}</stringProp>
  2453. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  2454. </collectionProp>
  2455. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2456. <boolProp name="Assertion.assume_success">false</boolProp>
  2457. <intProp name="Assertion.test_type">2</intProp>
  2458. </ResponseAssertion>
  2459. <hashTree/>
  2460. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  2461. <stringProp name="XPathExtractor.default"/>
  2462. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  2463. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  2464. <boolProp name="XPathExtractor.validate">false</boolProp>
  2465. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  2466. <boolProp name="XPathExtractor.namespace">false</boolProp>
  2467. </XPathExtractor>
  2468. <hashTree/>
  2469. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  2470. <collectionProp name="Asserion.test_strings">
  2471. <stringProp name="89649215">^\d+$</stringProp>
  2472. </collectionProp>
  2473. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2474. <boolProp name="Assertion.assume_success">false</boolProp>
  2475. <intProp name="Assertion.test_type">1</intProp>
  2476. <stringProp name="Assertion.scope">variable</stringProp>
  2477. <stringProp name="Scope.variable">product_id</stringProp>
  2478. </ResponseAssertion>
  2479. <hashTree/>
  2480. </hashTree>
  2481. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2482. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2483. <collectionProp name="Arguments.arguments"/>
  2484. </elementProp>
  2485. <stringProp name="HTTPSampler.domain"/>
  2486. <stringProp name="HTTPSampler.port"/>
  2487. <stringProp name="HTTPSampler.connect_timeout"/>
  2488. <stringProp name="HTTPSampler.response_timeout"/>
  2489. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2490. <stringProp name="HTTPSampler.contentEncoding"/>
  2491. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  2492. <stringProp name="HTTPSampler.method">GET</stringProp>
  2493. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2494. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2495. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2496. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2497. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2498. <stringProp name="HTTPSampler.embedded_url_re"/>
  2499. </HTTPSamplerProxy>
  2500. <hashTree>
  2501. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2502. <collectionProp name="Asserion.test_strings">
  2503. <stringProp name="49586">200</stringProp>
  2504. </collectionProp>
  2505. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  2506. <boolProp name="Assertion.assume_success">false</boolProp>
  2507. <intProp name="Assertion.test_type">2</intProp>
  2508. </ResponseAssertion>
  2509. <hashTree/>
  2510. </hashTree>
  2511. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2512. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2513. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2514. </GaussianRandomTimer>
  2515. <hashTree/>
  2516. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2517. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2518. <collectionProp name="Arguments.arguments"/>
  2519. </elementProp>
  2520. <stringProp name="HTTPSampler.domain"/>
  2521. <stringProp name="HTTPSampler.port"/>
  2522. <stringProp name="HTTPSampler.connect_timeout"/>
  2523. <stringProp name="HTTPSampler.response_timeout"/>
  2524. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2525. <stringProp name="HTTPSampler.contentEncoding"/>
  2526. <stringProp name="HTTPSampler.path">${base_path}${configurable_product_1_url_key}${url_suffix}</stringProp>
  2527. <stringProp name="HTTPSampler.method">GET</stringProp>
  2528. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2529. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2530. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2531. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2532. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2533. <stringProp name="HTTPSampler.embedded_url_re"/>
  2534. </HTTPSamplerProxy>
  2535. <hashTree>
  2536. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2537. <collectionProp name="Asserion.test_strings">
  2538. <stringProp name="199922279">&lt;title&gt;${configurable_product_1_name}</stringProp>
  2539. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  2540. </collectionProp>
  2541. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2542. <boolProp name="Assertion.assume_success">false</boolProp>
  2543. <intProp name="Assertion.test_type">2</intProp>
  2544. </ResponseAssertion>
  2545. <hashTree/>
  2546. </hashTree>
  2547. </hashTree>
  2548. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Abandoned Cart By Guest" enabled="true">
  2549. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  2550. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  2551. <boolProp name="LoopController.continue_forever">false</boolProp>
  2552. <stringProp name="LoopController.loops">${loops}</stringProp>
  2553. </elementProp>
  2554. <stringProp name="ThreadGroup.num_threads">${__javaScript(Math.round(props.get("users")*${view_product_add_to_cart_percent}/100&gt;&gt;0))}</stringProp>
  2555. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  2556. <longProp name="ThreadGroup.start_time">1437411475000</longProp>
  2557. <longProp name="ThreadGroup.end_time">1437411475000</longProp>
  2558. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  2559. <stringProp name="ThreadGroup.duration"/>
  2560. <stringProp name="ThreadGroup.delay"/>
  2561. </ThreadGroup>
  2562. <hashTree>
  2563. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Get arguments${__property(activeAdminThread)}(BrowsAddToCart)" enabled="true">
  2564. <stringProp name="TestPlan.comments">Passing arguments between threads</stringProp>
  2565. <stringProp name="BeanShellSampler.query">
  2566. import java.util.Random;
  2567. Random random = new Random();
  2568. if (${seedForRandom} &gt; 0) {
  2569. random.setSeed(${seedForRandom});
  2570. }
  2571. number = random.nextInt(props.get("simple_products_list").size());
  2572. simpleList = props.get("simple_products_list").get(number);
  2573. vars.put("simple_product_1_url_key", simpleList.get("url_key"));
  2574. vars.put("simple_product_1_name", simpleList.get("title"));
  2575. vars.put("simple_product_1_id", simpleList.get("id"));
  2576. vars.put("simple_product_1_uenc", simpleList.get("uenc"));
  2577. number1 = random.nextInt(props.get("simple_products_list").size());
  2578. simpleList = props.get("simple_products_list").get(number1);
  2579. vars.put("simple_product_2_url_key", simpleList.get("url_key"));
  2580. vars.put("simple_product_2_name", simpleList.get("title"));
  2581. vars.put("simple_product_2_id", simpleList.get("id"));
  2582. vars.put("simple_product_2_uenc", simpleList.get("uenc"));
  2583. number = random.nextInt(props.get("configurable_products_list").size());
  2584. configurableList = props.get("configurable_products_list").get(number);
  2585. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  2586. vars.put("configurable_product_1_name", configurableList.get("title"));
  2587. vars.put("configurable_product_1_id", configurableList.get("id"));
  2588. vars.put("configurable_attribute_id", configurableList.get("attribute_id"));
  2589. vars.put("configurable_option_id", configurableList.get("attribute_option_id"));
  2590. vars.put("configurable_product_1_uenc", simpleList.get("uenc"));
  2591. number = random.nextInt(props.get("category_url_keys_list").size());
  2592. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  2593. vars.put("category_name", props.get("category_names_list").get(number));
  2594. vars.put("testLabel", "BrowsAddToCart");
  2595. vars.put("loadType", "Guest");</stringProp>
  2596. <stringProp name="BeanShellSampler.filename"/>
  2597. <stringProp name="BeanShellSampler.parameters"/>
  2598. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  2599. </BeanShellSampler>
  2600. <hashTree/>
  2601. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2602. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2603. <collectionProp name="Arguments.arguments"/>
  2604. </elementProp>
  2605. <stringProp name="HTTPSampler.domain"/>
  2606. <stringProp name="HTTPSampler.port"/>
  2607. <stringProp name="HTTPSampler.connect_timeout"/>
  2608. <stringProp name="HTTPSampler.response_timeout"/>
  2609. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2610. <stringProp name="HTTPSampler.contentEncoding"/>
  2611. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  2612. <stringProp name="HTTPSampler.method">GET</stringProp>
  2613. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2614. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2615. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2616. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2617. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2618. <stringProp name="HTTPSampler.embedded_url_re"/>
  2619. </HTTPSamplerProxy>
  2620. <hashTree>
  2621. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2622. <collectionProp name="Asserion.test_strings">
  2623. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  2624. </collectionProp>
  2625. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2626. <boolProp name="Assertion.assume_success">false</boolProp>
  2627. <intProp name="Assertion.test_type">2</intProp>
  2628. </ResponseAssertion>
  2629. <hashTree/>
  2630. </hashTree>
  2631. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Load Login Form${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2632. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2633. <collectionProp name="Arguments.arguments">
  2634. <elementProp name="blocks" elementType="HTTPArgument">
  2635. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2636. <stringProp name="Argument.value">["customer_form_login"]</stringProp>
  2637. <stringProp name="Argument.metadata">=</stringProp>
  2638. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2639. <stringProp name="Argument.name">blocks</stringProp>
  2640. </elementProp>
  2641. <elementProp name="handles" elementType="HTTPArgument">
  2642. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2643. <stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
  2644. <stringProp name="Argument.metadata">=</stringProp>
  2645. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2646. <stringProp name="Argument.name">handles</stringProp>
  2647. </elementProp>
  2648. <elementProp name="originalRequest" elementType="HTTPArgument">
  2649. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2650. <stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
  2651. <stringProp name="Argument.metadata">=</stringProp>
  2652. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2653. <stringProp name="Argument.name">originalRequest</stringProp>
  2654. </elementProp>
  2655. <elementProp name="ajax" elementType="HTTPArgument">
  2656. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2657. <stringProp name="Argument.value">true</stringProp>
  2658. <stringProp name="Argument.metadata">=</stringProp>
  2659. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2660. <stringProp name="Argument.name">ajax</stringProp>
  2661. </elementProp>
  2662. <elementProp name="isAjax" elementType="HTTPArgument">
  2663. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2664. <stringProp name="Argument.value">true</stringProp>
  2665. <stringProp name="Argument.metadata">=</stringProp>
  2666. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2667. <stringProp name="Argument.name">isAjax</stringProp>
  2668. </elementProp>
  2669. </collectionProp>
  2670. </elementProp>
  2671. <stringProp name="HTTPSampler.domain"/>
  2672. <stringProp name="HTTPSampler.port"/>
  2673. <stringProp name="HTTPSampler.connect_timeout"/>
  2674. <stringProp name="HTTPSampler.response_timeout"/>
  2675. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2676. <stringProp name="HTTPSampler.contentEncoding"/>
  2677. <stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
  2678. <stringProp name="HTTPSampler.method">GET</stringProp>
  2679. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2680. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2681. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2682. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2683. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2684. <stringProp name="HTTPSampler.embedded_url_re"/>
  2685. </HTTPSamplerProxy>
  2686. <hashTree>
  2687. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2688. <collectionProp name="Asserion.test_strings">
  2689. <stringProp name="940598773">"customer_form_login"</stringProp>
  2690. <stringProp name="1951684663">Registered Customers</stringProp>
  2691. <stringProp name="474011748">form_key</stringProp>
  2692. </collectionProp>
  2693. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2694. <boolProp name="Assertion.assume_success">false</boolProp>
  2695. <intProp name="Assertion.test_type">2</intProp>
  2696. </ResponseAssertion>
  2697. <hashTree/>
  2698. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  2699. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2700. <stringProp name="RegexExtractor.refname">form_key</stringProp>
  2701. <stringProp name="RegexExtractor.regex">&lt;input name=\\"form_key\\" type=\\"hidden\\" value=\\"([^'"]+)\\" \\/&gt;</stringProp>
  2702. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2703. <stringProp name="RegexExtractor.default"/>
  2704. <stringProp name="RegexExtractor.match_number">1</stringProp>
  2705. </RegexExtractor>
  2706. <hashTree/>
  2707. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  2708. <collectionProp name="Asserion.test_strings">
  2709. <stringProp name="2845929">^.+$</stringProp>
  2710. </collectionProp>
  2711. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2712. <boolProp name="Assertion.assume_success">false</boolProp>
  2713. <intProp name="Assertion.test_type">1</intProp>
  2714. <stringProp name="Assertion.scope">variable</stringProp>
  2715. <stringProp name="Scope.variable">form_key</stringProp>
  2716. </ResponseAssertion>
  2717. <hashTree/>
  2718. </hashTree>
  2719. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2720. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2721. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2722. </GaussianRandomTimer>
  2723. <hashTree/>
  2724. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2725. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2726. <collectionProp name="Arguments.arguments"/>
  2727. </elementProp>
  2728. <stringProp name="HTTPSampler.domain"/>
  2729. <stringProp name="HTTPSampler.port"/>
  2730. <stringProp name="HTTPSampler.connect_timeout"/>
  2731. <stringProp name="HTTPSampler.response_timeout"/>
  2732. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2733. <stringProp name="HTTPSampler.contentEncoding"/>
  2734. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  2735. <stringProp name="HTTPSampler.method">GET</stringProp>
  2736. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2737. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2738. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2739. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2740. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2741. <stringProp name="HTTPSampler.embedded_url_re"/>
  2742. </HTTPSamplerProxy>
  2743. <hashTree>
  2744. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2745. <collectionProp name="Asserion.test_strings">
  2746. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  2747. </collectionProp>
  2748. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2749. <boolProp name="Assertion.assume_success">false</boolProp>
  2750. <intProp name="Assertion.test_type">6</intProp>
  2751. </ResponseAssertion>
  2752. <hashTree/>
  2753. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  2754. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2755. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  2756. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  2757. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2758. <stringProp name="RegexExtractor.default"/>
  2759. <stringProp name="RegexExtractor.match_number">1</stringProp>
  2760. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  2761. </RegexExtractor>
  2762. <hashTree/>
  2763. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  2764. <collectionProp name="Asserion.test_strings">
  2765. <stringProp name="1191417111">^[0-9]+$</stringProp>
  2766. </collectionProp>
  2767. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2768. <boolProp name="Assertion.assume_success">false</boolProp>
  2769. <intProp name="Assertion.test_type">1</intProp>
  2770. <stringProp name="Assertion.scope">variable</stringProp>
  2771. <stringProp name="Scope.variable">category_id</stringProp>
  2772. </ResponseAssertion>
  2773. <hashTree/>
  2774. </hashTree>
  2775. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2776. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2777. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2778. </GaussianRandomTimer>
  2779. <hashTree/>
  2780. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2781. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2782. <collectionProp name="Arguments.arguments"/>
  2783. </elementProp>
  2784. <stringProp name="HTTPSampler.domain"/>
  2785. <stringProp name="HTTPSampler.port"/>
  2786. <stringProp name="HTTPSampler.connect_timeout"/>
  2787. <stringProp name="HTTPSampler.response_timeout"/>
  2788. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2789. <stringProp name="HTTPSampler.contentEncoding"/>
  2790. <stringProp name="HTTPSampler.path">${base_path}${simple_product_1_url_key}${url_suffix}</stringProp>
  2791. <stringProp name="HTTPSampler.method">GET</stringProp>
  2792. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2793. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2794. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2795. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2796. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2797. <stringProp name="HTTPSampler.embedded_url_re"/>
  2798. </HTTPSamplerProxy>
  2799. <hashTree>
  2800. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2801. <collectionProp name="Asserion.test_strings">
  2802. <stringProp name="1254853024">&lt;title&gt;${simple_product_1_name}</stringProp>
  2803. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  2804. </collectionProp>
  2805. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2806. <boolProp name="Assertion.assume_success">false</boolProp>
  2807. <intProp name="Assertion.test_type">2</intProp>
  2808. </ResponseAssertion>
  2809. <hashTree/>
  2810. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  2811. <stringProp name="XPathExtractor.default"/>
  2812. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  2813. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  2814. <boolProp name="XPathExtractor.validate">false</boolProp>
  2815. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  2816. <boolProp name="XPathExtractor.namespace">false</boolProp>
  2817. </XPathExtractor>
  2818. <hashTree/>
  2819. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  2820. <collectionProp name="Asserion.test_strings">
  2821. <stringProp name="89649215">^\d+$</stringProp>
  2822. </collectionProp>
  2823. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2824. <boolProp name="Assertion.assume_success">false</boolProp>
  2825. <intProp name="Assertion.test_type">1</intProp>
  2826. <stringProp name="Assertion.scope">variable</stringProp>
  2827. <stringProp name="Scope.variable">product_id</stringProp>
  2828. </ResponseAssertion>
  2829. <hashTree/>
  2830. </hashTree>
  2831. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2832. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2833. <collectionProp name="Arguments.arguments"/>
  2834. </elementProp>
  2835. <stringProp name="HTTPSampler.domain"/>
  2836. <stringProp name="HTTPSampler.port"/>
  2837. <stringProp name="HTTPSampler.connect_timeout"/>
  2838. <stringProp name="HTTPSampler.response_timeout"/>
  2839. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2840. <stringProp name="HTTPSampler.contentEncoding"/>
  2841. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  2842. <stringProp name="HTTPSampler.method">GET</stringProp>
  2843. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2844. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2845. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2846. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2847. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2848. <stringProp name="HTTPSampler.embedded_url_re"/>
  2849. </HTTPSamplerProxy>
  2850. <hashTree>
  2851. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2852. <collectionProp name="Asserion.test_strings">
  2853. <stringProp name="49586">200</stringProp>
  2854. </collectionProp>
  2855. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  2856. <boolProp name="Assertion.assume_success">false</boolProp>
  2857. <intProp name="Assertion.test_type">2</intProp>
  2858. </ResponseAssertion>
  2859. <hashTree/>
  2860. </hashTree>
  2861. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  2862. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  2863. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  2864. </GaussianRandomTimer>
  2865. <hashTree/>
  2866. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2867. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2868. <collectionProp name="Arguments.arguments">
  2869. <elementProp name="product" elementType="HTTPArgument">
  2870. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2871. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  2872. <stringProp name="Argument.metadata">=</stringProp>
  2873. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2874. <stringProp name="Argument.name">product</stringProp>
  2875. </elementProp>
  2876. <elementProp name="related_product" elementType="HTTPArgument">
  2877. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2878. <stringProp name="Argument.value"/>
  2879. <stringProp name="Argument.metadata">=</stringProp>
  2880. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2881. <stringProp name="Argument.name">related_product</stringProp>
  2882. </elementProp>
  2883. <elementProp name="qty" elementType="HTTPArgument">
  2884. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2885. <stringProp name="Argument.value">1</stringProp>
  2886. <stringProp name="Argument.metadata">=</stringProp>
  2887. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2888. <stringProp name="Argument.name">qty</stringProp>
  2889. </elementProp>
  2890. <elementProp name="form_key" elementType="HTTPArgument">
  2891. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2892. <stringProp name="Argument.value">${form_key}</stringProp>
  2893. <stringProp name="Argument.metadata">=</stringProp>
  2894. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2895. <stringProp name="Argument.name">form_key</stringProp>
  2896. </elementProp>
  2897. </collectionProp>
  2898. </elementProp>
  2899. <stringProp name="HTTPSampler.domain"/>
  2900. <stringProp name="HTTPSampler.port"/>
  2901. <stringProp name="HTTPSampler.connect_timeout"/>
  2902. <stringProp name="HTTPSampler.response_timeout"/>
  2903. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2904. <stringProp name="HTTPSampler.contentEncoding"/>
  2905. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  2906. <stringProp name="HTTPSampler.method">POST</stringProp>
  2907. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2908. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2909. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2910. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2911. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2912. <stringProp name="HTTPSampler.embedded_url_re"/>
  2913. </HTTPSamplerProxy>
  2914. <hashTree>
  2915. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  2916. <collectionProp name="HeaderManager.headers">
  2917. <elementProp name="" elementType="Header">
  2918. <stringProp name="Header.name">X-Requested-With</stringProp>
  2919. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  2920. </elementProp>
  2921. </collectionProp>
  2922. </HeaderManager>
  2923. <hashTree/>
  2924. </hashTree>
  2925. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}${__property(activeAdminThread)}(${testLabel})" enabled="true">
  2926. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2927. <collectionProp name="Arguments.arguments">
  2928. <elementProp name="sections" elementType="HTTPArgument">
  2929. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2930. <stringProp name="Argument.value">cart,messages</stringProp>
  2931. <stringProp name="Argument.metadata">=</stringProp>
  2932. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2933. <stringProp name="Argument.name">sections</stringProp>
  2934. </elementProp>
  2935. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  2936. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2937. <stringProp name="Argument.value">true</stringProp>
  2938. <stringProp name="Argument.metadata">=</stringProp>
  2939. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2940. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  2941. </elementProp>
  2942. <elementProp name="_" elementType="HTTPArgument">
  2943. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2944. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  2945. <stringProp name="Argument.metadata">=</stringProp>
  2946. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2947. <stringProp name="Argument.name">_</stringProp>
  2948. </elementProp>
  2949. </collectionProp>
  2950. </elementProp>
  2951. <stringProp name="HTTPSampler.domain"/>
  2952. <stringProp name="HTTPSampler.port"/>
  2953. <stringProp name="HTTPSampler.connect_timeout"/>
  2954. <stringProp name="HTTPSampler.response_timeout"/>
  2955. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2956. <stringProp name="HTTPSampler.contentEncoding"/>
  2957. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  2958. <stringProp name="HTTPSampler.method">GET</stringProp>
  2959. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2960. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2961. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2962. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2963. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2964. <stringProp name="HTTPSampler.embedded_url_re"/>
  2965. </HTTPSamplerProxy>
  2966. <hashTree>
  2967. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  2968. <collectionProp name="HeaderManager.headers">
  2969. <elementProp name="" elementType="Header">
  2970. <stringProp name="Header.name">X-Requested-With</stringProp>
  2971. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  2972. </elementProp>
  2973. </collectionProp>
  2974. </HeaderManager>
  2975. <hashTree/>
  2976. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2977. <collectionProp name="Asserion.test_strings">
  2978. <stringProp name="210217247">You added ${simple_product_1_name} to your shopping cart.</stringProp>
  2979. </collectionProp>
  2980. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2981. <boolProp name="Assertion.assume_success">false</boolProp>
  2982. <intProp name="Assertion.test_type">2</intProp>
  2983. </ResponseAssertion>
  2984. <hashTree/>
  2985. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2986. <collectionProp name="Asserion.test_strings">
  2987. <stringProp name="2057973164">This product is out of stock.</stringProp>
  2988. </collectionProp>
  2989. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2990. <boolProp name="Assertion.assume_success">false</boolProp>
  2991. <intProp name="Assertion.test_type">6</intProp>
  2992. </ResponseAssertion>
  2993. <hashTree/>
  2994. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2995. <collectionProp name="Asserion.test_strings">
  2996. <stringProp name="-350323027">\"summary_count\":1</stringProp>
  2997. </collectionProp>
  2998. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2999. <boolProp name="Assertion.assume_success">false</boolProp>
  3000. <intProp name="Assertion.test_type">2</intProp>
  3001. </ResponseAssertion>
  3002. <hashTree/>
  3003. </hashTree>
  3004. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3005. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3006. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3007. </GaussianRandomTimer>
  3008. <hashTree/>
  3009. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3010. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3011. <collectionProp name="Arguments.arguments"/>
  3012. </elementProp>
  3013. <stringProp name="HTTPSampler.domain"/>
  3014. <stringProp name="HTTPSampler.port"/>
  3015. <stringProp name="HTTPSampler.connect_timeout"/>
  3016. <stringProp name="HTTPSampler.response_timeout"/>
  3017. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3018. <stringProp name="HTTPSampler.contentEncoding"/>
  3019. <stringProp name="HTTPSampler.path">${base_path}${simple_product_2_url_key}${url_suffix}</stringProp>
  3020. <stringProp name="HTTPSampler.method">GET</stringProp>
  3021. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3022. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3023. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3024. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3025. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3026. <stringProp name="HTTPSampler.embedded_url_re"/>
  3027. </HTTPSamplerProxy>
  3028. <hashTree>
  3029. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3030. <collectionProp name="Asserion.test_strings">
  3031. <stringProp name="2142356705">&lt;title&gt;${simple_product_2_name}</stringProp>
  3032. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3033. </collectionProp>
  3034. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3035. <boolProp name="Assertion.assume_success">false</boolProp>
  3036. <intProp name="Assertion.test_type">2</intProp>
  3037. </ResponseAssertion>
  3038. <hashTree/>
  3039. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  3040. <stringProp name="XPathExtractor.default"/>
  3041. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  3042. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  3043. <boolProp name="XPathExtractor.validate">false</boolProp>
  3044. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3045. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3046. </XPathExtractor>
  3047. <hashTree/>
  3048. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  3049. <collectionProp name="Asserion.test_strings">
  3050. <stringProp name="89649215">^\d+$</stringProp>
  3051. </collectionProp>
  3052. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3053. <boolProp name="Assertion.assume_success">false</boolProp>
  3054. <intProp name="Assertion.test_type">1</intProp>
  3055. <stringProp name="Assertion.scope">variable</stringProp>
  3056. <stringProp name="Scope.variable">product_id</stringProp>
  3057. </ResponseAssertion>
  3058. <hashTree/>
  3059. </hashTree>
  3060. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3061. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3062. <collectionProp name="Arguments.arguments"/>
  3063. </elementProp>
  3064. <stringProp name="HTTPSampler.domain"/>
  3065. <stringProp name="HTTPSampler.port"/>
  3066. <stringProp name="HTTPSampler.connect_timeout"/>
  3067. <stringProp name="HTTPSampler.response_timeout"/>
  3068. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3069. <stringProp name="HTTPSampler.contentEncoding"/>
  3070. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  3071. <stringProp name="HTTPSampler.method">GET</stringProp>
  3072. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3073. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3074. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3075. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3076. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3077. <stringProp name="HTTPSampler.embedded_url_re"/>
  3078. </HTTPSamplerProxy>
  3079. <hashTree>
  3080. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3081. <collectionProp name="Asserion.test_strings">
  3082. <stringProp name="49586">200</stringProp>
  3083. </collectionProp>
  3084. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  3085. <boolProp name="Assertion.assume_success">false</boolProp>
  3086. <intProp name="Assertion.test_type">2</intProp>
  3087. </ResponseAssertion>
  3088. <hashTree/>
  3089. </hashTree>
  3090. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3091. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3092. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3093. </GaussianRandomTimer>
  3094. <hashTree/>
  3095. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3096. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3097. <collectionProp name="Arguments.arguments">
  3098. <elementProp name="product" elementType="HTTPArgument">
  3099. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3100. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  3101. <stringProp name="Argument.metadata">=</stringProp>
  3102. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3103. <stringProp name="Argument.name">product</stringProp>
  3104. </elementProp>
  3105. <elementProp name="related_product" elementType="HTTPArgument">
  3106. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3107. <stringProp name="Argument.value"/>
  3108. <stringProp name="Argument.metadata">=</stringProp>
  3109. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3110. <stringProp name="Argument.name">related_product</stringProp>
  3111. </elementProp>
  3112. <elementProp name="qty" elementType="HTTPArgument">
  3113. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3114. <stringProp name="Argument.value">1</stringProp>
  3115. <stringProp name="Argument.metadata">=</stringProp>
  3116. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3117. <stringProp name="Argument.name">qty</stringProp>
  3118. </elementProp>
  3119. <elementProp name="form_key" elementType="HTTPArgument">
  3120. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3121. <stringProp name="Argument.value">${form_key}</stringProp>
  3122. <stringProp name="Argument.metadata">=</stringProp>
  3123. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3124. <stringProp name="Argument.name">form_key</stringProp>
  3125. </elementProp>
  3126. </collectionProp>
  3127. </elementProp>
  3128. <stringProp name="HTTPSampler.domain"/>
  3129. <stringProp name="HTTPSampler.port"/>
  3130. <stringProp name="HTTPSampler.connect_timeout"/>
  3131. <stringProp name="HTTPSampler.response_timeout"/>
  3132. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3133. <stringProp name="HTTPSampler.contentEncoding"/>
  3134. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  3135. <stringProp name="HTTPSampler.method">POST</stringProp>
  3136. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3137. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3138. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3139. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3140. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3141. <stringProp name="HTTPSampler.embedded_url_re"/>
  3142. </HTTPSamplerProxy>
  3143. <hashTree>
  3144. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3145. <collectionProp name="HeaderManager.headers">
  3146. <elementProp name="" elementType="Header">
  3147. <stringProp name="Header.name">X-Requested-With</stringProp>
  3148. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  3149. </elementProp>
  3150. </collectionProp>
  3151. </HeaderManager>
  3152. <hashTree/>
  3153. </hashTree>
  3154. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}2${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3155. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3156. <collectionProp name="Arguments.arguments">
  3157. <elementProp name="sections" elementType="HTTPArgument">
  3158. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3159. <stringProp name="Argument.value">cart,messages</stringProp>
  3160. <stringProp name="Argument.metadata">=</stringProp>
  3161. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3162. <stringProp name="Argument.name">sections</stringProp>
  3163. <stringProp name="Argument.desc">true</stringProp>
  3164. </elementProp>
  3165. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  3166. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3167. <stringProp name="Argument.value">true</stringProp>
  3168. <stringProp name="Argument.metadata">=</stringProp>
  3169. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3170. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  3171. <stringProp name="Argument.desc">true</stringProp>
  3172. </elementProp>
  3173. <elementProp name="_" elementType="HTTPArgument">
  3174. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3175. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  3176. <stringProp name="Argument.metadata">=</stringProp>
  3177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3178. <stringProp name="Argument.name">_</stringProp>
  3179. <stringProp name="Argument.desc">true</stringProp>
  3180. </elementProp>
  3181. </collectionProp>
  3182. </elementProp>
  3183. <stringProp name="HTTPSampler.domain"/>
  3184. <stringProp name="HTTPSampler.port"/>
  3185. <stringProp name="HTTPSampler.connect_timeout"/>
  3186. <stringProp name="HTTPSampler.response_timeout"/>
  3187. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3188. <stringProp name="HTTPSampler.contentEncoding"/>
  3189. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  3190. <stringProp name="HTTPSampler.method">GET</stringProp>
  3191. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3192. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3193. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3194. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3195. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3196. <stringProp name="HTTPSampler.embedded_url_re"/>
  3197. </HTTPSamplerProxy>
  3198. <hashTree>
  3199. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3200. <collectionProp name="HeaderManager.headers">
  3201. <elementProp name="" elementType="Header">
  3202. <stringProp name="Header.name">X-Requested-With</stringProp>
  3203. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  3204. </elementProp>
  3205. </collectionProp>
  3206. </HeaderManager>
  3207. <hashTree/>
  3208. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3209. <collectionProp name="Asserion.test_strings">
  3210. <stringProp name="221533374">You added ${simple_product_2_name} to your shopping cart.</stringProp>
  3211. </collectionProp>
  3212. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3213. <boolProp name="Assertion.assume_success">false</boolProp>
  3214. <intProp name="Assertion.test_type">2</intProp>
  3215. </ResponseAssertion>
  3216. <hashTree/>
  3217. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3218. <collectionProp name="Asserion.test_strings">
  3219. <stringProp name="2057973164">This product is out of stock.</stringProp>
  3220. </collectionProp>
  3221. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3222. <boolProp name="Assertion.assume_success">false</boolProp>
  3223. <intProp name="Assertion.test_type">6</intProp>
  3224. </ResponseAssertion>
  3225. <hashTree/>
  3226. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3227. <collectionProp name="Asserion.test_strings">
  3228. <stringProp name="-350323026">\"summary_count\":2</stringProp>
  3229. </collectionProp>
  3230. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3231. <boolProp name="Assertion.assume_success">false</boolProp>
  3232. <intProp name="Assertion.test_type">2</intProp>
  3233. </ResponseAssertion>
  3234. <hashTree/>
  3235. </hashTree>
  3236. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3237. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3238. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3239. </GaussianRandomTimer>
  3240. <hashTree/>
  3241. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3242. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3243. <collectionProp name="Arguments.arguments"/>
  3244. </elementProp>
  3245. <stringProp name="HTTPSampler.domain"/>
  3246. <stringProp name="HTTPSampler.port"/>
  3247. <stringProp name="HTTPSampler.connect_timeout"/>
  3248. <stringProp name="HTTPSampler.response_timeout"/>
  3249. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3250. <stringProp name="HTTPSampler.contentEncoding"/>
  3251. <stringProp name="HTTPSampler.path">${base_path}${configurable_product_1_url_key}${url_suffix}</stringProp>
  3252. <stringProp name="HTTPSampler.method">GET</stringProp>
  3253. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3254. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3255. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3256. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3257. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3258. <stringProp name="HTTPSampler.embedded_url_re"/>
  3259. </HTTPSamplerProxy>
  3260. <hashTree>
  3261. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3262. <collectionProp name="Asserion.test_strings">
  3263. <stringProp name="199922279">&lt;title&gt;${configurable_product_1_name}</stringProp>
  3264. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3265. </collectionProp>
  3266. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3267. <boolProp name="Assertion.assume_success">false</boolProp>
  3268. <intProp name="Assertion.test_type">2</intProp>
  3269. </ResponseAssertion>
  3270. <hashTree/>
  3271. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract product sku" enabled="true">
  3272. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3273. <stringProp name="RegexExtractor.refname">configurable_product_sku</stringProp>
  3274. <stringProp name="RegexExtractor.regex">itemprop="sku"&gt;([^&lt;]*)&lt;\/</stringProp>
  3275. <stringProp name="RegexExtractor.template">$1$</stringProp>
  3276. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  3277. <stringProp name="RegexExtractor.match_number">1</stringProp>
  3278. </RegexExtractor>
  3279. <hashTree/>
  3280. </hashTree>
  3281. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3282. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3283. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3284. </GaussianRandomTimer>
  3285. <hashTree/>
  3286. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Get Configurable Product Options" enabled="true">
  3287. <boolProp name="LoopController.continue_forever">true</boolProp>
  3288. <stringProp name="LoopController.loops">1</stringProp>
  3289. </LoopController>
  3290. <hashTree>
  3291. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3292. <collectionProp name="HeaderManager.headers">
  3293. <elementProp name="" elementType="Header">
  3294. <stringProp name="Header.name">Content-Type</stringProp>
  3295. <stringProp name="Header.value">application/json</stringProp>
  3296. </elementProp>
  3297. <elementProp name="" elementType="Header">
  3298. <stringProp name="Header.name">Accept</stringProp>
  3299. <stringProp name="Header.value">*/*</stringProp>
  3300. </elementProp>
  3301. </collectionProp>
  3302. </HeaderManager>
  3303. <hashTree/>
  3304. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  3305. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  3306. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  3307. <collectionProp name="Arguments.arguments">
  3308. <elementProp name="" elementType="HTTPArgument">
  3309. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3310. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  3311. <stringProp name="Argument.metadata">=</stringProp>
  3312. </elementProp>
  3313. </collectionProp>
  3314. </elementProp>
  3315. <stringProp name="HTTPSampler.domain"/>
  3316. <stringProp name="HTTPSampler.port"/>
  3317. <stringProp name="HTTPSampler.connect_timeout"/>
  3318. <stringProp name="HTTPSampler.response_timeout"/>
  3319. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3320. <stringProp name="HTTPSampler.contentEncoding"/>
  3321. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  3322. <stringProp name="HTTPSampler.method">POST</stringProp>
  3323. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3324. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3325. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3326. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3327. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3328. <stringProp name="HTTPSampler.embedded_url_re"/>
  3329. </HTTPSamplerProxy>
  3330. <hashTree>
  3331. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true">
  3332. <stringProp name="VAR">admin_token</stringProp>
  3333. <stringProp name="JSONPATH">$</stringProp>
  3334. <stringProp name="DEFAULT"/>
  3335. <stringProp name="VARIABLE"/>
  3336. <stringProp name="SUBJECT">BODY</stringProp>
  3337. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  3338. <hashTree/>
  3339. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  3340. <collectionProp name="Asserion.test_strings">
  3341. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  3342. </collectionProp>
  3343. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3344. <boolProp name="Assertion.assume_success">false</boolProp>
  3345. <intProp name="Assertion.test_type">1</intProp>
  3346. <stringProp name="Assertion.scope">variable</stringProp>
  3347. <stringProp name="Scope.variable">admin_token</stringProp>
  3348. </ResponseAssertion>
  3349. <hashTree/>
  3350. </hashTree>
  3351. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3352. <collectionProp name="HeaderManager.headers">
  3353. <elementProp name="" elementType="Header">
  3354. <stringProp name="Header.name">Authorization</stringProp>
  3355. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  3356. </elementProp>
  3357. </collectionProp>
  3358. </HeaderManager>
  3359. <hashTree/>
  3360. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3361. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3362. <collectionProp name="Arguments.arguments"/>
  3363. </elementProp>
  3364. <stringProp name="HTTPSampler.domain"/>
  3365. <stringProp name="HTTPSampler.port"/>
  3366. <stringProp name="HTTPSampler.connect_timeout"/>
  3367. <stringProp name="HTTPSampler.response_timeout"/>
  3368. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3369. <stringProp name="HTTPSampler.contentEncoding"/>
  3370. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${configurable_product_sku}/options/all</stringProp>
  3371. <stringProp name="HTTPSampler.method">GET</stringProp>
  3372. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3373. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3374. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3375. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3376. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3377. <stringProp name="HTTPSampler.embedded_url_re"/>
  3378. </HTTPSamplerProxy>
  3379. <hashTree>
  3380. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="JSON Path Extractor: Extract attribute_ids" enabled="true">
  3381. <stringProp name="VAR">attribute_ids</stringProp>
  3382. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  3383. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  3384. <stringProp name="VARIABLE"/>
  3385. <stringProp name="SUBJECT">BODY</stringProp>
  3386. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  3387. <hashTree/>
  3388. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="JSON Path Extractor: Extract option_values" enabled="true">
  3389. <stringProp name="VAR">option_values</stringProp>
  3390. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  3391. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  3392. <stringProp name="VARIABLE"/>
  3393. <stringProp name="SUBJECT">BODY</stringProp>
  3394. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  3395. <hashTree/>
  3396. </hashTree>
  3397. </hashTree>
  3398. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3399. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3400. <collectionProp name="Arguments.arguments">
  3401. <elementProp name="product" elementType="HTTPArgument">
  3402. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3403. <stringProp name="Argument.value">${configurable_product_1_id}</stringProp>
  3404. <stringProp name="Argument.metadata">=</stringProp>
  3405. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3406. <stringProp name="Argument.name">product</stringProp>
  3407. </elementProp>
  3408. <elementProp name="related_product" elementType="HTTPArgument">
  3409. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3410. <stringProp name="Argument.value"/>
  3411. <stringProp name="Argument.metadata">=</stringProp>
  3412. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3413. <stringProp name="Argument.name">related_product</stringProp>
  3414. </elementProp>
  3415. <elementProp name="qty" elementType="HTTPArgument">
  3416. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3417. <stringProp name="Argument.value">1</stringProp>
  3418. <stringProp name="Argument.metadata">=</stringProp>
  3419. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3420. <stringProp name="Argument.name">qty</stringProp>
  3421. </elementProp>
  3422. <elementProp name="super_attribute[${configurable_attribute_id}]" elementType="HTTPArgument">
  3423. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3424. <stringProp name="Argument.value">${configurable_option_id}</stringProp>
  3425. <stringProp name="Argument.metadata">=</stringProp>
  3426. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3427. <stringProp name="Argument.name">super_attribute[${configurable_attribute_id}]</stringProp>
  3428. </elementProp>
  3429. <elementProp name="form_key" elementType="HTTPArgument">
  3430. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3431. <stringProp name="Argument.value">${form_key}</stringProp>
  3432. <stringProp name="Argument.metadata">=</stringProp>
  3433. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3434. <stringProp name="Argument.name">form_key</stringProp>
  3435. </elementProp>
  3436. </collectionProp>
  3437. </elementProp>
  3438. <stringProp name="HTTPSampler.domain"/>
  3439. <stringProp name="HTTPSampler.port"/>
  3440. <stringProp name="HTTPSampler.connect_timeout"/>
  3441. <stringProp name="HTTPSampler.response_timeout"/>
  3442. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3443. <stringProp name="HTTPSampler.contentEncoding"/>
  3444. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  3445. <stringProp name="HTTPSampler.method">POST</stringProp>
  3446. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3447. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3448. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3449. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3450. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3451. <stringProp name="HTTPSampler.embedded_url_re"/>
  3452. </HTTPSamplerProxy>
  3453. <hashTree>
  3454. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3455. <collectionProp name="HeaderManager.headers">
  3456. <elementProp name="" elementType="Header">
  3457. <stringProp name="Header.name">X-Requested-With</stringProp>
  3458. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  3459. </elementProp>
  3460. </collectionProp>
  3461. </HeaderManager>
  3462. <hashTree/>
  3463. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  3464. <boolProp name="resetInterpreter">false</boolProp>
  3465. <stringProp name="parameters"/>
  3466. <stringProp name="filename"/>
  3467. <stringProp name="script">
  3468. try {
  3469. attribute_ids = vars.get("attribute_ids");
  3470. option_values = vars.get("option_values");
  3471. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  3472. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  3473. attribute_ids_array = attribute_ids.split(",");
  3474. option_values_array = option_values.split(",");
  3475. args = ctx.getCurrentSampler().getArguments();
  3476. it = args.iterator();
  3477. while (it.hasNext()) {
  3478. argument = it.next();
  3479. if (argument.getStringValue().contains("${")) {
  3480. args.removeArgument(argument.getName());
  3481. }
  3482. }
  3483. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  3484. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  3485. }
  3486. } catch (Exception e) {
  3487. log.error("eror&#x2026;", e);
  3488. }
  3489. </stringProp>
  3490. </BeanShellPreProcessor>
  3491. <hashTree/>
  3492. </hashTree>
  3493. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}3${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3494. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3495. <collectionProp name="Arguments.arguments">
  3496. <elementProp name="sections" elementType="HTTPArgument">
  3497. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3498. <stringProp name="Argument.value">cart,messages</stringProp>
  3499. <stringProp name="Argument.metadata">=</stringProp>
  3500. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3501. <stringProp name="Argument.name">sections</stringProp>
  3502. <stringProp name="Argument.desc">true</stringProp>
  3503. </elementProp>
  3504. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  3505. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3506. <stringProp name="Argument.value">true</stringProp>
  3507. <stringProp name="Argument.metadata">=</stringProp>
  3508. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3509. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  3510. <stringProp name="Argument.desc">true</stringProp>
  3511. </elementProp>
  3512. <elementProp name="_" elementType="HTTPArgument">
  3513. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3514. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  3515. <stringProp name="Argument.metadata">=</stringProp>
  3516. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3517. <stringProp name="Argument.name">_</stringProp>
  3518. <stringProp name="Argument.desc">true</stringProp>
  3519. </elementProp>
  3520. </collectionProp>
  3521. </elementProp>
  3522. <stringProp name="HTTPSampler.domain"/>
  3523. <stringProp name="HTTPSampler.port"/>
  3524. <stringProp name="HTTPSampler.connect_timeout"/>
  3525. <stringProp name="HTTPSampler.response_timeout"/>
  3526. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3527. <stringProp name="HTTPSampler.contentEncoding"/>
  3528. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  3529. <stringProp name="HTTPSampler.method">GET</stringProp>
  3530. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3531. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3532. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3533. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3534. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3535. <stringProp name="HTTPSampler.embedded_url_re"/>
  3536. </HTTPSamplerProxy>
  3537. <hashTree>
  3538. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3539. <collectionProp name="HeaderManager.headers">
  3540. <elementProp name="" elementType="Header">
  3541. <stringProp name="Header.name">X-Requested-With</stringProp>
  3542. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  3543. </elementProp>
  3544. </collectionProp>
  3545. </HeaderManager>
  3546. <hashTree/>
  3547. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3548. <collectionProp name="Asserion.test_strings">
  3549. <stringProp name="-1346272328">You added ${configurable_product_1_name} to your shopping cart.</stringProp>
  3550. </collectionProp>
  3551. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3552. <boolProp name="Assertion.assume_success">false</boolProp>
  3553. <intProp name="Assertion.test_type">2</intProp>
  3554. </ResponseAssertion>
  3555. <hashTree/>
  3556. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3557. <collectionProp name="Asserion.test_strings">
  3558. <stringProp name="-108122347">We don't have as many &amp;quot;${configurable_product_1_name}&amp;quot; as you requested.</stringProp>
  3559. </collectionProp>
  3560. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3561. <boolProp name="Assertion.assume_success">false</boolProp>
  3562. <intProp name="Assertion.test_type">6</intProp>
  3563. </ResponseAssertion>
  3564. <hashTree/>
  3565. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3566. <collectionProp name="Asserion.test_strings">
  3567. <stringProp name="-350323025">\"summary_count\":3</stringProp>
  3568. </collectionProp>
  3569. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3570. <boolProp name="Assertion.assume_success">false</boolProp>
  3571. <intProp name="Assertion.test_type">2</intProp>
  3572. </ResponseAssertion>
  3573. <hashTree/>
  3574. </hashTree>
  3575. </hashTree>
  3576. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Checkout By Guest" enabled="true">
  3577. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  3578. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  3579. <boolProp name="LoopController.continue_forever">false</boolProp>
  3580. <stringProp name="LoopController.loops">${loops}</stringProp>
  3581. </elementProp>
  3582. <stringProp name="ThreadGroup.num_threads">${__javaScript(Math.round(props.get("users")*${guest_checkout_percent}/100&gt;&gt;0))}</stringProp>
  3583. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  3584. <longProp name="ThreadGroup.start_time">1437409133000</longProp>
  3585. <longProp name="ThreadGroup.end_time">1437409133000</longProp>
  3586. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  3587. <stringProp name="ThreadGroup.duration"/>
  3588. <stringProp name="ThreadGroup.delay"/>
  3589. </ThreadGroup>
  3590. <hashTree>
  3591. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Get arguments${__property(activeAdminThread)}(GuestChkt)" enabled="true">
  3592. <stringProp name="TestPlan.comments">Passing arguments between threads</stringProp>
  3593. <stringProp name="BeanShellSampler.query">
  3594. import java.util.Random;
  3595. Random random = new Random();
  3596. if (${seedForRandom} &gt; 0) {
  3597. random.setSeed(${seedForRandom});
  3598. }
  3599. number = random.nextInt(props.get("simple_products_list").size());
  3600. simpleList = props.get("simple_products_list").get(number);
  3601. vars.put("simple_product_1_url_key", simpleList.get("url_key"));
  3602. vars.put("simple_product_1_name", simpleList.get("title"));
  3603. vars.put("simple_product_1_id", simpleList.get("id"));
  3604. vars.put("simple_product_1_uenc", simpleList.get("uenc"));
  3605. number1 = random.nextInt(props.get("simple_products_list").size());
  3606. simpleList = props.get("simple_products_list").get(number1);
  3607. vars.put("simple_product_2_url_key", simpleList.get("url_key"));
  3608. vars.put("simple_product_2_name", simpleList.get("title"));
  3609. vars.put("simple_product_2_id", simpleList.get("id"));
  3610. vars.put("simple_product_2_uenc", simpleList.get("uenc"));
  3611. number = random.nextInt(props.get("configurable_products_list").size());
  3612. configurableList = props.get("configurable_products_list").get(number);
  3613. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  3614. vars.put("configurable_product_1_name", configurableList.get("title"));
  3615. vars.put("configurable_product_1_id", configurableList.get("id"));
  3616. vars.put("configurable_attribute_id", configurableList.get("attribute_id"));
  3617. vars.put("configurable_option_id", configurableList.get("attribute_option_id"));
  3618. vars.put("configurable_product_1_uenc", simpleList.get("uenc"));
  3619. number = random.nextInt(props.get("category_url_keys_list").size());
  3620. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  3621. vars.put("category_name", props.get("category_names_list").get(number));
  3622. vars.put("testLabel", "GuestChkt");
  3623. vars.put("loadType", "Guest");</stringProp>
  3624. <stringProp name="BeanShellSampler.filename"/>
  3625. <stringProp name="BeanShellSampler.parameters"/>
  3626. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3627. </BeanShellSampler>
  3628. <hashTree/>
  3629. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3630. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3631. <collectionProp name="Arguments.arguments"/>
  3632. </elementProp>
  3633. <stringProp name="HTTPSampler.domain"/>
  3634. <stringProp name="HTTPSampler.port"/>
  3635. <stringProp name="HTTPSampler.connect_timeout"/>
  3636. <stringProp name="HTTPSampler.response_timeout"/>
  3637. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3638. <stringProp name="HTTPSampler.contentEncoding"/>
  3639. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  3640. <stringProp name="HTTPSampler.method">GET</stringProp>
  3641. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3642. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3643. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3644. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3645. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3646. <stringProp name="HTTPSampler.embedded_url_re"/>
  3647. </HTTPSamplerProxy>
  3648. <hashTree>
  3649. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3650. <collectionProp name="Asserion.test_strings">
  3651. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  3652. </collectionProp>
  3653. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3654. <boolProp name="Assertion.assume_success">false</boolProp>
  3655. <intProp name="Assertion.test_type">2</intProp>
  3656. </ResponseAssertion>
  3657. <hashTree/>
  3658. </hashTree>
  3659. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Load Login Form${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3660. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3661. <collectionProp name="Arguments.arguments">
  3662. <elementProp name="blocks" elementType="HTTPArgument">
  3663. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3664. <stringProp name="Argument.value">["customer_form_login"]</stringProp>
  3665. <stringProp name="Argument.metadata">=</stringProp>
  3666. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3667. <stringProp name="Argument.name">blocks</stringProp>
  3668. </elementProp>
  3669. <elementProp name="handles" elementType="HTTPArgument">
  3670. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3671. <stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
  3672. <stringProp name="Argument.metadata">=</stringProp>
  3673. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3674. <stringProp name="Argument.name">handles</stringProp>
  3675. </elementProp>
  3676. <elementProp name="originalRequest" elementType="HTTPArgument">
  3677. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3678. <stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
  3679. <stringProp name="Argument.metadata">=</stringProp>
  3680. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3681. <stringProp name="Argument.name">originalRequest</stringProp>
  3682. </elementProp>
  3683. <elementProp name="ajax" elementType="HTTPArgument">
  3684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3685. <stringProp name="Argument.value">true</stringProp>
  3686. <stringProp name="Argument.metadata">=</stringProp>
  3687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3688. <stringProp name="Argument.name">ajax</stringProp>
  3689. </elementProp>
  3690. <elementProp name="isAjax" elementType="HTTPArgument">
  3691. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3692. <stringProp name="Argument.value">true</stringProp>
  3693. <stringProp name="Argument.metadata">=</stringProp>
  3694. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3695. <stringProp name="Argument.name">isAjax</stringProp>
  3696. </elementProp>
  3697. </collectionProp>
  3698. </elementProp>
  3699. <stringProp name="HTTPSampler.domain"/>
  3700. <stringProp name="HTTPSampler.port"/>
  3701. <stringProp name="HTTPSampler.connect_timeout"/>
  3702. <stringProp name="HTTPSampler.response_timeout"/>
  3703. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3704. <stringProp name="HTTPSampler.contentEncoding"/>
  3705. <stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
  3706. <stringProp name="HTTPSampler.method">GET</stringProp>
  3707. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3708. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3709. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3710. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3711. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3712. <stringProp name="HTTPSampler.embedded_url_re"/>
  3713. </HTTPSamplerProxy>
  3714. <hashTree>
  3715. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3716. <collectionProp name="Asserion.test_strings">
  3717. <stringProp name="940598773">"customer_form_login"</stringProp>
  3718. <stringProp name="1951684663">Registered Customers</stringProp>
  3719. <stringProp name="474011748">form_key</stringProp>
  3720. </collectionProp>
  3721. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3722. <boolProp name="Assertion.assume_success">false</boolProp>
  3723. <intProp name="Assertion.test_type">2</intProp>
  3724. </ResponseAssertion>
  3725. <hashTree/>
  3726. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  3727. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3728. <stringProp name="RegexExtractor.refname">form_key</stringProp>
  3729. <stringProp name="RegexExtractor.regex">&lt;input name=\\"form_key\\" type=\\"hidden\\" value=\\"([^'"]+)\\" \\/&gt;</stringProp>
  3730. <stringProp name="RegexExtractor.template">$1$</stringProp>
  3731. <stringProp name="RegexExtractor.default"/>
  3732. <stringProp name="RegexExtractor.match_number">1</stringProp>
  3733. </RegexExtractor>
  3734. <hashTree/>
  3735. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  3736. <collectionProp name="Asserion.test_strings">
  3737. <stringProp name="2845929">^.+$</stringProp>
  3738. </collectionProp>
  3739. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3740. <boolProp name="Assertion.assume_success">false</boolProp>
  3741. <intProp name="Assertion.test_type">1</intProp>
  3742. <stringProp name="Assertion.scope">variable</stringProp>
  3743. <stringProp name="Scope.variable">form_key</stringProp>
  3744. </ResponseAssertion>
  3745. <hashTree/>
  3746. </hashTree>
  3747. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3748. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3749. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3750. </GaussianRandomTimer>
  3751. <hashTree/>
  3752. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3753. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3754. <collectionProp name="Arguments.arguments"/>
  3755. </elementProp>
  3756. <stringProp name="HTTPSampler.domain"/>
  3757. <stringProp name="HTTPSampler.port"/>
  3758. <stringProp name="HTTPSampler.connect_timeout"/>
  3759. <stringProp name="HTTPSampler.response_timeout"/>
  3760. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3761. <stringProp name="HTTPSampler.contentEncoding"/>
  3762. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  3763. <stringProp name="HTTPSampler.method">GET</stringProp>
  3764. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3765. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3766. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3767. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3768. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3769. <stringProp name="HTTPSampler.embedded_url_re"/>
  3770. </HTTPSamplerProxy>
  3771. <hashTree>
  3772. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3773. <collectionProp name="Asserion.test_strings">
  3774. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  3775. </collectionProp>
  3776. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3777. <boolProp name="Assertion.assume_success">false</boolProp>
  3778. <intProp name="Assertion.test_type">6</intProp>
  3779. </ResponseAssertion>
  3780. <hashTree/>
  3781. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  3782. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3783. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  3784. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  3785. <stringProp name="RegexExtractor.template">$1$</stringProp>
  3786. <stringProp name="RegexExtractor.default"/>
  3787. <stringProp name="RegexExtractor.match_number">1</stringProp>
  3788. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  3789. </RegexExtractor>
  3790. <hashTree/>
  3791. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  3792. <collectionProp name="Asserion.test_strings">
  3793. <stringProp name="1191417111">^[0-9]+$</stringProp>
  3794. </collectionProp>
  3795. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3796. <boolProp name="Assertion.assume_success">false</boolProp>
  3797. <intProp name="Assertion.test_type">1</intProp>
  3798. <stringProp name="Assertion.scope">variable</stringProp>
  3799. <stringProp name="Scope.variable">category_id</stringProp>
  3800. </ResponseAssertion>
  3801. <hashTree/>
  3802. </hashTree>
  3803. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3804. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3805. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3806. </GaussianRandomTimer>
  3807. <hashTree/>
  3808. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3809. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3810. <collectionProp name="Arguments.arguments"/>
  3811. </elementProp>
  3812. <stringProp name="HTTPSampler.domain"/>
  3813. <stringProp name="HTTPSampler.port"/>
  3814. <stringProp name="HTTPSampler.connect_timeout"/>
  3815. <stringProp name="HTTPSampler.response_timeout"/>
  3816. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3817. <stringProp name="HTTPSampler.contentEncoding"/>
  3818. <stringProp name="HTTPSampler.path">${base_path}${simple_product_1_url_key}${url_suffix}</stringProp>
  3819. <stringProp name="HTTPSampler.method">GET</stringProp>
  3820. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3821. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3822. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3823. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3824. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3825. <stringProp name="HTTPSampler.embedded_url_re"/>
  3826. </HTTPSamplerProxy>
  3827. <hashTree>
  3828. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3829. <collectionProp name="Asserion.test_strings">
  3830. <stringProp name="1254853024">&lt;title&gt;${simple_product_1_name}</stringProp>
  3831. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3832. </collectionProp>
  3833. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3834. <boolProp name="Assertion.assume_success">false</boolProp>
  3835. <intProp name="Assertion.test_type">2</intProp>
  3836. </ResponseAssertion>
  3837. <hashTree/>
  3838. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  3839. <stringProp name="XPathExtractor.default"/>
  3840. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  3841. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  3842. <boolProp name="XPathExtractor.validate">false</boolProp>
  3843. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3844. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3845. </XPathExtractor>
  3846. <hashTree/>
  3847. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  3848. <collectionProp name="Asserion.test_strings">
  3849. <stringProp name="89649215">^\d+$</stringProp>
  3850. </collectionProp>
  3851. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3852. <boolProp name="Assertion.assume_success">false</boolProp>
  3853. <intProp name="Assertion.test_type">1</intProp>
  3854. <stringProp name="Assertion.scope">variable</stringProp>
  3855. <stringProp name="Scope.variable">product_id</stringProp>
  3856. </ResponseAssertion>
  3857. <hashTree/>
  3858. </hashTree>
  3859. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3860. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3861. <collectionProp name="Arguments.arguments"/>
  3862. </elementProp>
  3863. <stringProp name="HTTPSampler.domain"/>
  3864. <stringProp name="HTTPSampler.port"/>
  3865. <stringProp name="HTTPSampler.connect_timeout"/>
  3866. <stringProp name="HTTPSampler.response_timeout"/>
  3867. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3868. <stringProp name="HTTPSampler.contentEncoding"/>
  3869. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  3870. <stringProp name="HTTPSampler.method">GET</stringProp>
  3871. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3872. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3873. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3874. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3875. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3876. <stringProp name="HTTPSampler.embedded_url_re"/>
  3877. </HTTPSamplerProxy>
  3878. <hashTree>
  3879. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3880. <collectionProp name="Asserion.test_strings">
  3881. <stringProp name="49586">200</stringProp>
  3882. </collectionProp>
  3883. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  3884. <boolProp name="Assertion.assume_success">false</boolProp>
  3885. <intProp name="Assertion.test_type">2</intProp>
  3886. </ResponseAssertion>
  3887. <hashTree/>
  3888. </hashTree>
  3889. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  3890. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  3891. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  3892. </GaussianRandomTimer>
  3893. <hashTree/>
  3894. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3895. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3896. <collectionProp name="Arguments.arguments">
  3897. <elementProp name="product" elementType="HTTPArgument">
  3898. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3899. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  3900. <stringProp name="Argument.metadata">=</stringProp>
  3901. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3902. <stringProp name="Argument.name">product</stringProp>
  3903. </elementProp>
  3904. <elementProp name="related_product" elementType="HTTPArgument">
  3905. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3906. <stringProp name="Argument.value"/>
  3907. <stringProp name="Argument.metadata">=</stringProp>
  3908. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3909. <stringProp name="Argument.name">related_product</stringProp>
  3910. </elementProp>
  3911. <elementProp name="qty" elementType="HTTPArgument">
  3912. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3913. <stringProp name="Argument.value">1</stringProp>
  3914. <stringProp name="Argument.metadata">=</stringProp>
  3915. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3916. <stringProp name="Argument.name">qty</stringProp>
  3917. </elementProp>
  3918. <elementProp name="form_key" elementType="HTTPArgument">
  3919. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3920. <stringProp name="Argument.value">${form_key}</stringProp>
  3921. <stringProp name="Argument.metadata">=</stringProp>
  3922. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3923. <stringProp name="Argument.name">form_key</stringProp>
  3924. </elementProp>
  3925. </collectionProp>
  3926. </elementProp>
  3927. <stringProp name="HTTPSampler.domain"/>
  3928. <stringProp name="HTTPSampler.port"/>
  3929. <stringProp name="HTTPSampler.connect_timeout"/>
  3930. <stringProp name="HTTPSampler.response_timeout"/>
  3931. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3932. <stringProp name="HTTPSampler.contentEncoding"/>
  3933. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  3934. <stringProp name="HTTPSampler.method">POST</stringProp>
  3935. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3936. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3937. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3938. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3939. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3940. <stringProp name="HTTPSampler.embedded_url_re"/>
  3941. </HTTPSamplerProxy>
  3942. <hashTree>
  3943. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3944. <collectionProp name="HeaderManager.headers">
  3945. <elementProp name="" elementType="Header">
  3946. <stringProp name="Header.name">X-Requested-With</stringProp>
  3947. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  3948. </elementProp>
  3949. </collectionProp>
  3950. </HeaderManager>
  3951. <hashTree/>
  3952. </hashTree>
  3953. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}${__property(activeAdminThread)}(${testLabel})" enabled="true">
  3954. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3955. <collectionProp name="Arguments.arguments">
  3956. <elementProp name="sections" elementType="HTTPArgument">
  3957. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3958. <stringProp name="Argument.value">cart,messages</stringProp>
  3959. <stringProp name="Argument.metadata">=</stringProp>
  3960. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3961. <stringProp name="Argument.name">sections</stringProp>
  3962. </elementProp>
  3963. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  3964. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3965. <stringProp name="Argument.value">true</stringProp>
  3966. <stringProp name="Argument.metadata">=</stringProp>
  3967. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3968. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  3969. </elementProp>
  3970. <elementProp name="_" elementType="HTTPArgument">
  3971. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  3972. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  3973. <stringProp name="Argument.metadata">=</stringProp>
  3974. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3975. <stringProp name="Argument.name">_</stringProp>
  3976. </elementProp>
  3977. </collectionProp>
  3978. </elementProp>
  3979. <stringProp name="HTTPSampler.domain"/>
  3980. <stringProp name="HTTPSampler.port"/>
  3981. <stringProp name="HTTPSampler.connect_timeout"/>
  3982. <stringProp name="HTTPSampler.response_timeout"/>
  3983. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3984. <stringProp name="HTTPSampler.contentEncoding"/>
  3985. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  3986. <stringProp name="HTTPSampler.method">GET</stringProp>
  3987. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3988. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3989. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3990. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3991. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3992. <stringProp name="HTTPSampler.embedded_url_re"/>
  3993. </HTTPSamplerProxy>
  3994. <hashTree>
  3995. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  3996. <collectionProp name="HeaderManager.headers">
  3997. <elementProp name="" elementType="Header">
  3998. <stringProp name="Header.name">X-Requested-With</stringProp>
  3999. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4000. </elementProp>
  4001. </collectionProp>
  4002. </HeaderManager>
  4003. <hashTree/>
  4004. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4005. <collectionProp name="Asserion.test_strings">
  4006. <stringProp name="210217247">You added ${simple_product_1_name} to your shopping cart.</stringProp>
  4007. </collectionProp>
  4008. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4009. <boolProp name="Assertion.assume_success">false</boolProp>
  4010. <intProp name="Assertion.test_type">2</intProp>
  4011. </ResponseAssertion>
  4012. <hashTree/>
  4013. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4014. <collectionProp name="Asserion.test_strings">
  4015. <stringProp name="2057973164">This product is out of stock.</stringProp>
  4016. </collectionProp>
  4017. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4018. <boolProp name="Assertion.assume_success">false</boolProp>
  4019. <intProp name="Assertion.test_type">6</intProp>
  4020. </ResponseAssertion>
  4021. <hashTree/>
  4022. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4023. <collectionProp name="Asserion.test_strings">
  4024. <stringProp name="-350323027">\"summary_count\":1</stringProp>
  4025. </collectionProp>
  4026. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4027. <boolProp name="Assertion.assume_success">false</boolProp>
  4028. <intProp name="Assertion.test_type">2</intProp>
  4029. </ResponseAssertion>
  4030. <hashTree/>
  4031. </hashTree>
  4032. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4033. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4034. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4035. </GaussianRandomTimer>
  4036. <hashTree/>
  4037. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4038. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4039. <collectionProp name="Arguments.arguments"/>
  4040. </elementProp>
  4041. <stringProp name="HTTPSampler.domain"/>
  4042. <stringProp name="HTTPSampler.port"/>
  4043. <stringProp name="HTTPSampler.connect_timeout"/>
  4044. <stringProp name="HTTPSampler.response_timeout"/>
  4045. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4046. <stringProp name="HTTPSampler.contentEncoding"/>
  4047. <stringProp name="HTTPSampler.path">${base_path}${simple_product_2_url_key}${url_suffix}</stringProp>
  4048. <stringProp name="HTTPSampler.method">GET</stringProp>
  4049. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4050. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4051. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4052. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4053. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4054. <stringProp name="HTTPSampler.embedded_url_re"/>
  4055. </HTTPSamplerProxy>
  4056. <hashTree>
  4057. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4058. <collectionProp name="Asserion.test_strings">
  4059. <stringProp name="2142356705">&lt;title&gt;${simple_product_2_name}</stringProp>
  4060. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  4061. </collectionProp>
  4062. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4063. <boolProp name="Assertion.assume_success">false</boolProp>
  4064. <intProp name="Assertion.test_type">2</intProp>
  4065. </ResponseAssertion>
  4066. <hashTree/>
  4067. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  4068. <stringProp name="XPathExtractor.default"/>
  4069. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  4070. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  4071. <boolProp name="XPathExtractor.validate">false</boolProp>
  4072. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  4073. <boolProp name="XPathExtractor.namespace">false</boolProp>
  4074. </XPathExtractor>
  4075. <hashTree/>
  4076. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  4077. <collectionProp name="Asserion.test_strings">
  4078. <stringProp name="89649215">^\d+$</stringProp>
  4079. </collectionProp>
  4080. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4081. <boolProp name="Assertion.assume_success">false</boolProp>
  4082. <intProp name="Assertion.test_type">1</intProp>
  4083. <stringProp name="Assertion.scope">variable</stringProp>
  4084. <stringProp name="Scope.variable">product_id</stringProp>
  4085. </ResponseAssertion>
  4086. <hashTree/>
  4087. </hashTree>
  4088. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4089. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4090. <collectionProp name="Arguments.arguments"/>
  4091. </elementProp>
  4092. <stringProp name="HTTPSampler.domain"/>
  4093. <stringProp name="HTTPSampler.port"/>
  4094. <stringProp name="HTTPSampler.connect_timeout"/>
  4095. <stringProp name="HTTPSampler.response_timeout"/>
  4096. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4097. <stringProp name="HTTPSampler.contentEncoding"/>
  4098. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  4099. <stringProp name="HTTPSampler.method">GET</stringProp>
  4100. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4101. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4102. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4103. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4104. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4105. <stringProp name="HTTPSampler.embedded_url_re"/>
  4106. </HTTPSamplerProxy>
  4107. <hashTree>
  4108. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4109. <collectionProp name="Asserion.test_strings">
  4110. <stringProp name="49586">200</stringProp>
  4111. </collectionProp>
  4112. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  4113. <boolProp name="Assertion.assume_success">false</boolProp>
  4114. <intProp name="Assertion.test_type">2</intProp>
  4115. </ResponseAssertion>
  4116. <hashTree/>
  4117. </hashTree>
  4118. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4119. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4120. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4121. </GaussianRandomTimer>
  4122. <hashTree/>
  4123. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4124. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4125. <collectionProp name="Arguments.arguments">
  4126. <elementProp name="product" elementType="HTTPArgument">
  4127. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4128. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  4129. <stringProp name="Argument.metadata">=</stringProp>
  4130. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4131. <stringProp name="Argument.name">product</stringProp>
  4132. </elementProp>
  4133. <elementProp name="related_product" elementType="HTTPArgument">
  4134. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4135. <stringProp name="Argument.value"/>
  4136. <stringProp name="Argument.metadata">=</stringProp>
  4137. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4138. <stringProp name="Argument.name">related_product</stringProp>
  4139. </elementProp>
  4140. <elementProp name="qty" elementType="HTTPArgument">
  4141. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4142. <stringProp name="Argument.value">1</stringProp>
  4143. <stringProp name="Argument.metadata">=</stringProp>
  4144. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4145. <stringProp name="Argument.name">qty</stringProp>
  4146. </elementProp>
  4147. <elementProp name="form_key" elementType="HTTPArgument">
  4148. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4149. <stringProp name="Argument.value">${form_key}</stringProp>
  4150. <stringProp name="Argument.metadata">=</stringProp>
  4151. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4152. <stringProp name="Argument.name">form_key</stringProp>
  4153. </elementProp>
  4154. </collectionProp>
  4155. </elementProp>
  4156. <stringProp name="HTTPSampler.domain"/>
  4157. <stringProp name="HTTPSampler.port"/>
  4158. <stringProp name="HTTPSampler.connect_timeout"/>
  4159. <stringProp name="HTTPSampler.response_timeout"/>
  4160. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4161. <stringProp name="HTTPSampler.contentEncoding"/>
  4162. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  4163. <stringProp name="HTTPSampler.method">POST</stringProp>
  4164. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4165. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4166. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4167. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4168. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4169. <stringProp name="HTTPSampler.embedded_url_re"/>
  4170. </HTTPSamplerProxy>
  4171. <hashTree>
  4172. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4173. <collectionProp name="HeaderManager.headers">
  4174. <elementProp name="" elementType="Header">
  4175. <stringProp name="Header.name">X-Requested-With</stringProp>
  4176. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4177. </elementProp>
  4178. </collectionProp>
  4179. </HeaderManager>
  4180. <hashTree/>
  4181. </hashTree>
  4182. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}2${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4183. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4184. <collectionProp name="Arguments.arguments">
  4185. <elementProp name="sections" elementType="HTTPArgument">
  4186. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4187. <stringProp name="Argument.value">cart,messages</stringProp>
  4188. <stringProp name="Argument.metadata">=</stringProp>
  4189. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4190. <stringProp name="Argument.name">sections</stringProp>
  4191. <stringProp name="Argument.desc">true</stringProp>
  4192. </elementProp>
  4193. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  4194. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4195. <stringProp name="Argument.value">true</stringProp>
  4196. <stringProp name="Argument.metadata">=</stringProp>
  4197. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4198. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  4199. <stringProp name="Argument.desc">true</stringProp>
  4200. </elementProp>
  4201. <elementProp name="_" elementType="HTTPArgument">
  4202. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4203. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  4204. <stringProp name="Argument.metadata">=</stringProp>
  4205. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4206. <stringProp name="Argument.name">_</stringProp>
  4207. <stringProp name="Argument.desc">true</stringProp>
  4208. </elementProp>
  4209. </collectionProp>
  4210. </elementProp>
  4211. <stringProp name="HTTPSampler.domain"/>
  4212. <stringProp name="HTTPSampler.port"/>
  4213. <stringProp name="HTTPSampler.connect_timeout"/>
  4214. <stringProp name="HTTPSampler.response_timeout"/>
  4215. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4216. <stringProp name="HTTPSampler.contentEncoding"/>
  4217. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  4218. <stringProp name="HTTPSampler.method">GET</stringProp>
  4219. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4220. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4221. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4222. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4223. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4224. <stringProp name="HTTPSampler.embedded_url_re"/>
  4225. </HTTPSamplerProxy>
  4226. <hashTree>
  4227. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4228. <collectionProp name="HeaderManager.headers">
  4229. <elementProp name="" elementType="Header">
  4230. <stringProp name="Header.name">X-Requested-With</stringProp>
  4231. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4232. </elementProp>
  4233. </collectionProp>
  4234. </HeaderManager>
  4235. <hashTree/>
  4236. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4237. <collectionProp name="Asserion.test_strings">
  4238. <stringProp name="221533374">You added ${simple_product_2_name} to your shopping cart.</stringProp>
  4239. </collectionProp>
  4240. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4241. <boolProp name="Assertion.assume_success">false</boolProp>
  4242. <intProp name="Assertion.test_type">2</intProp>
  4243. </ResponseAssertion>
  4244. <hashTree/>
  4245. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4246. <collectionProp name="Asserion.test_strings">
  4247. <stringProp name="2057973164">This product is out of stock.</stringProp>
  4248. </collectionProp>
  4249. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4250. <boolProp name="Assertion.assume_success">false</boolProp>
  4251. <intProp name="Assertion.test_type">6</intProp>
  4252. </ResponseAssertion>
  4253. <hashTree/>
  4254. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4255. <collectionProp name="Asserion.test_strings">
  4256. <stringProp name="-350323026">\"summary_count\":2</stringProp>
  4257. </collectionProp>
  4258. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4259. <boolProp name="Assertion.assume_success">false</boolProp>
  4260. <intProp name="Assertion.test_type">2</intProp>
  4261. </ResponseAssertion>
  4262. <hashTree/>
  4263. </hashTree>
  4264. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4265. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4266. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4267. </GaussianRandomTimer>
  4268. <hashTree/>
  4269. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4270. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4271. <collectionProp name="Arguments.arguments"/>
  4272. </elementProp>
  4273. <stringProp name="HTTPSampler.domain"/>
  4274. <stringProp name="HTTPSampler.port"/>
  4275. <stringProp name="HTTPSampler.connect_timeout"/>
  4276. <stringProp name="HTTPSampler.response_timeout"/>
  4277. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4278. <stringProp name="HTTPSampler.contentEncoding"/>
  4279. <stringProp name="HTTPSampler.path">${base_path}${configurable_product_1_url_key}${url_suffix}</stringProp>
  4280. <stringProp name="HTTPSampler.method">GET</stringProp>
  4281. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4282. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4283. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4284. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4285. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4286. <stringProp name="HTTPSampler.embedded_url_re"/>
  4287. </HTTPSamplerProxy>
  4288. <hashTree>
  4289. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4290. <collectionProp name="Asserion.test_strings">
  4291. <stringProp name="199922279">&lt;title&gt;${configurable_product_1_name}</stringProp>
  4292. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  4293. </collectionProp>
  4294. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4295. <boolProp name="Assertion.assume_success">false</boolProp>
  4296. <intProp name="Assertion.test_type">2</intProp>
  4297. </ResponseAssertion>
  4298. <hashTree/>
  4299. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract product sku" enabled="true">
  4300. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  4301. <stringProp name="RegexExtractor.refname">configurable_product_sku</stringProp>
  4302. <stringProp name="RegexExtractor.regex">itemprop="sku"&gt;([^&lt;]*)&lt;\/</stringProp>
  4303. <stringProp name="RegexExtractor.template">$1$</stringProp>
  4304. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  4305. <stringProp name="RegexExtractor.match_number">1</stringProp>
  4306. </RegexExtractor>
  4307. <hashTree/>
  4308. </hashTree>
  4309. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4310. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4311. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4312. </GaussianRandomTimer>
  4313. <hashTree/>
  4314. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Get Configurable Product Options" enabled="true">
  4315. <boolProp name="LoopController.continue_forever">true</boolProp>
  4316. <stringProp name="LoopController.loops">1</stringProp>
  4317. </LoopController>
  4318. <hashTree>
  4319. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4320. <collectionProp name="HeaderManager.headers">
  4321. <elementProp name="" elementType="Header">
  4322. <stringProp name="Header.name">Content-Type</stringProp>
  4323. <stringProp name="Header.value">application/json</stringProp>
  4324. </elementProp>
  4325. <elementProp name="" elementType="Header">
  4326. <stringProp name="Header.name">Accept</stringProp>
  4327. <stringProp name="Header.value">*/*</stringProp>
  4328. </elementProp>
  4329. </collectionProp>
  4330. </HeaderManager>
  4331. <hashTree/>
  4332. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  4333. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  4334. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  4335. <collectionProp name="Arguments.arguments">
  4336. <elementProp name="" elementType="HTTPArgument">
  4337. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4338. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  4339. <stringProp name="Argument.metadata">=</stringProp>
  4340. </elementProp>
  4341. </collectionProp>
  4342. </elementProp>
  4343. <stringProp name="HTTPSampler.domain"/>
  4344. <stringProp name="HTTPSampler.port"/>
  4345. <stringProp name="HTTPSampler.connect_timeout"/>
  4346. <stringProp name="HTTPSampler.response_timeout"/>
  4347. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4348. <stringProp name="HTTPSampler.contentEncoding"/>
  4349. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  4350. <stringProp name="HTTPSampler.method">POST</stringProp>
  4351. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4352. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4353. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4354. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4355. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4356. <stringProp name="HTTPSampler.embedded_url_re"/>
  4357. </HTTPSamplerProxy>
  4358. <hashTree>
  4359. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true">
  4360. <stringProp name="VAR">admin_token</stringProp>
  4361. <stringProp name="JSONPATH">$</stringProp>
  4362. <stringProp name="DEFAULT"/>
  4363. <stringProp name="VARIABLE"/>
  4364. <stringProp name="SUBJECT">BODY</stringProp>
  4365. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4366. <hashTree/>
  4367. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  4368. <collectionProp name="Asserion.test_strings">
  4369. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  4370. </collectionProp>
  4371. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4372. <boolProp name="Assertion.assume_success">false</boolProp>
  4373. <intProp name="Assertion.test_type">1</intProp>
  4374. <stringProp name="Assertion.scope">variable</stringProp>
  4375. <stringProp name="Scope.variable">admin_token</stringProp>
  4376. </ResponseAssertion>
  4377. <hashTree/>
  4378. </hashTree>
  4379. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4380. <collectionProp name="HeaderManager.headers">
  4381. <elementProp name="" elementType="Header">
  4382. <stringProp name="Header.name">Authorization</stringProp>
  4383. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  4384. </elementProp>
  4385. </collectionProp>
  4386. </HeaderManager>
  4387. <hashTree/>
  4388. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4389. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4390. <collectionProp name="Arguments.arguments"/>
  4391. </elementProp>
  4392. <stringProp name="HTTPSampler.domain"/>
  4393. <stringProp name="HTTPSampler.port"/>
  4394. <stringProp name="HTTPSampler.connect_timeout"/>
  4395. <stringProp name="HTTPSampler.response_timeout"/>
  4396. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4397. <stringProp name="HTTPSampler.contentEncoding"/>
  4398. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${configurable_product_sku}/options/all</stringProp>
  4399. <stringProp name="HTTPSampler.method">GET</stringProp>
  4400. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4401. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4402. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4403. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4404. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4405. <stringProp name="HTTPSampler.embedded_url_re"/>
  4406. </HTTPSamplerProxy>
  4407. <hashTree>
  4408. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="JSON Path Extractor: Extract attribute_ids" enabled="true">
  4409. <stringProp name="VAR">attribute_ids</stringProp>
  4410. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  4411. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  4412. <stringProp name="VARIABLE"/>
  4413. <stringProp name="SUBJECT">BODY</stringProp>
  4414. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4415. <hashTree/>
  4416. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="JSON Path Extractor: Extract option_values" enabled="true">
  4417. <stringProp name="VAR">option_values</stringProp>
  4418. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  4419. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  4420. <stringProp name="VARIABLE"/>
  4421. <stringProp name="SUBJECT">BODY</stringProp>
  4422. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4423. <hashTree/>
  4424. </hashTree>
  4425. </hashTree>
  4426. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4427. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4428. <collectionProp name="Arguments.arguments">
  4429. <elementProp name="product" elementType="HTTPArgument">
  4430. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4431. <stringProp name="Argument.value">${configurable_product_1_id}</stringProp>
  4432. <stringProp name="Argument.metadata">=</stringProp>
  4433. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4434. <stringProp name="Argument.name">product</stringProp>
  4435. </elementProp>
  4436. <elementProp name="related_product" elementType="HTTPArgument">
  4437. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4438. <stringProp name="Argument.value"/>
  4439. <stringProp name="Argument.metadata">=</stringProp>
  4440. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4441. <stringProp name="Argument.name">related_product</stringProp>
  4442. </elementProp>
  4443. <elementProp name="qty" elementType="HTTPArgument">
  4444. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4445. <stringProp name="Argument.value">1</stringProp>
  4446. <stringProp name="Argument.metadata">=</stringProp>
  4447. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4448. <stringProp name="Argument.name">qty</stringProp>
  4449. </elementProp>
  4450. <elementProp name="super_attribute[${configurable_attribute_id}]" elementType="HTTPArgument">
  4451. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4452. <stringProp name="Argument.value">${configurable_option_id}</stringProp>
  4453. <stringProp name="Argument.metadata">=</stringProp>
  4454. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4455. <stringProp name="Argument.name">super_attribute[${configurable_attribute_id}]</stringProp>
  4456. </elementProp>
  4457. <elementProp name="form_key" elementType="HTTPArgument">
  4458. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4459. <stringProp name="Argument.value">${form_key}</stringProp>
  4460. <stringProp name="Argument.metadata">=</stringProp>
  4461. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4462. <stringProp name="Argument.name">form_key</stringProp>
  4463. </elementProp>
  4464. </collectionProp>
  4465. </elementProp>
  4466. <stringProp name="HTTPSampler.domain"/>
  4467. <stringProp name="HTTPSampler.port"/>
  4468. <stringProp name="HTTPSampler.connect_timeout"/>
  4469. <stringProp name="HTTPSampler.response_timeout"/>
  4470. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4471. <stringProp name="HTTPSampler.contentEncoding"/>
  4472. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  4473. <stringProp name="HTTPSampler.method">POST</stringProp>
  4474. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4475. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4476. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4477. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4478. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4479. <stringProp name="HTTPSampler.embedded_url_re"/>
  4480. </HTTPSamplerProxy>
  4481. <hashTree>
  4482. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4483. <collectionProp name="HeaderManager.headers">
  4484. <elementProp name="" elementType="Header">
  4485. <stringProp name="Header.name">X-Requested-With</stringProp>
  4486. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4487. </elementProp>
  4488. </collectionProp>
  4489. </HeaderManager>
  4490. <hashTree/>
  4491. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  4492. <boolProp name="resetInterpreter">false</boolProp>
  4493. <stringProp name="parameters"/>
  4494. <stringProp name="filename"/>
  4495. <stringProp name="script">
  4496. try {
  4497. attribute_ids = vars.get("attribute_ids");
  4498. option_values = vars.get("option_values");
  4499. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  4500. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  4501. attribute_ids_array = attribute_ids.split(",");
  4502. option_values_array = option_values.split(",");
  4503. args = ctx.getCurrentSampler().getArguments();
  4504. it = args.iterator();
  4505. while (it.hasNext()) {
  4506. argument = it.next();
  4507. if (argument.getStringValue().contains("${")) {
  4508. args.removeArgument(argument.getName());
  4509. }
  4510. }
  4511. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  4512. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  4513. }
  4514. } catch (Exception e) {
  4515. log.error("eror&#x2026;", e);
  4516. }
  4517. </stringProp>
  4518. </BeanShellPreProcessor>
  4519. <hashTree/>
  4520. </hashTree>
  4521. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}3${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4522. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4523. <collectionProp name="Arguments.arguments">
  4524. <elementProp name="sections" elementType="HTTPArgument">
  4525. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4526. <stringProp name="Argument.value">cart,messages</stringProp>
  4527. <stringProp name="Argument.metadata">=</stringProp>
  4528. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4529. <stringProp name="Argument.name">sections</stringProp>
  4530. <stringProp name="Argument.desc">true</stringProp>
  4531. </elementProp>
  4532. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  4533. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4534. <stringProp name="Argument.value">true</stringProp>
  4535. <stringProp name="Argument.metadata">=</stringProp>
  4536. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4537. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  4538. <stringProp name="Argument.desc">true</stringProp>
  4539. </elementProp>
  4540. <elementProp name="_" elementType="HTTPArgument">
  4541. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4542. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  4543. <stringProp name="Argument.metadata">=</stringProp>
  4544. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4545. <stringProp name="Argument.name">_</stringProp>
  4546. <stringProp name="Argument.desc">true</stringProp>
  4547. </elementProp>
  4548. </collectionProp>
  4549. </elementProp>
  4550. <stringProp name="HTTPSampler.domain"/>
  4551. <stringProp name="HTTPSampler.port"/>
  4552. <stringProp name="HTTPSampler.connect_timeout"/>
  4553. <stringProp name="HTTPSampler.response_timeout"/>
  4554. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4555. <stringProp name="HTTPSampler.contentEncoding"/>
  4556. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  4557. <stringProp name="HTTPSampler.method">GET</stringProp>
  4558. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4559. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4560. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4561. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4562. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4563. <stringProp name="HTTPSampler.embedded_url_re"/>
  4564. </HTTPSamplerProxy>
  4565. <hashTree>
  4566. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4567. <collectionProp name="HeaderManager.headers">
  4568. <elementProp name="" elementType="Header">
  4569. <stringProp name="Header.name">X-Requested-With</stringProp>
  4570. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4571. </elementProp>
  4572. </collectionProp>
  4573. </HeaderManager>
  4574. <hashTree/>
  4575. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4576. <collectionProp name="Asserion.test_strings">
  4577. <stringProp name="-1346272328">You added ${configurable_product_1_name} to your shopping cart.</stringProp>
  4578. </collectionProp>
  4579. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4580. <boolProp name="Assertion.assume_success">false</boolProp>
  4581. <intProp name="Assertion.test_type">2</intProp>
  4582. </ResponseAssertion>
  4583. <hashTree/>
  4584. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4585. <collectionProp name="Asserion.test_strings">
  4586. <stringProp name="-108122347">We don't have as many &amp;quot;${configurable_product_1_name}&amp;quot; as you requested.</stringProp>
  4587. </collectionProp>
  4588. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4589. <boolProp name="Assertion.assume_success">false</boolProp>
  4590. <intProp name="Assertion.test_type">6</intProp>
  4591. </ResponseAssertion>
  4592. <hashTree/>
  4593. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4594. <collectionProp name="Asserion.test_strings">
  4595. <stringProp name="-350323025">\"summary_count\":3</stringProp>
  4596. </collectionProp>
  4597. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4598. <boolProp name="Assertion.assume_success">false</boolProp>
  4599. <intProp name="Assertion.test_type">2</intProp>
  4600. </ResponseAssertion>
  4601. <hashTree/>
  4602. </hashTree>
  4603. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4604. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4605. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4606. </GaussianRandomTimer>
  4607. <hashTree/>
  4608. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout start${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4609. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4610. <collectionProp name="Arguments.arguments"/>
  4611. </elementProp>
  4612. <stringProp name="HTTPSampler.domain"/>
  4613. <stringProp name="HTTPSampler.port"/>
  4614. <stringProp name="HTTPSampler.connect_timeout"/>
  4615. <stringProp name="HTTPSampler.response_timeout"/>
  4616. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4617. <stringProp name="HTTPSampler.contentEncoding"/>
  4618. <stringProp name="HTTPSampler.path">${base_path}checkout/</stringProp>
  4619. <stringProp name="HTTPSampler.method">GET</stringProp>
  4620. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4621. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4622. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4623. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4624. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4625. <stringProp name="HTTPSampler.embedded_url_re"/>
  4626. </HTTPSamplerProxy>
  4627. <hashTree>
  4628. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4629. <collectionProp name="Asserion.test_strings">
  4630. <stringProp name="-1403911775">&lt;title&gt;Checkout&lt;/title&gt;</stringProp>
  4631. </collectionProp>
  4632. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4633. <boolProp name="Assertion.assume_success">false</boolProp>
  4634. <intProp name="Assertion.test_type">2</intProp>
  4635. </ResponseAssertion>
  4636. <hashTree/>
  4637. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4638. <collectionProp name="Asserion.test_strings">
  4639. <stringProp name="-179817969">&lt;title&gt;Shopping Cart&lt;/title&gt;</stringProp>
  4640. </collectionProp>
  4641. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4642. <boolProp name="Assertion.assume_success">false</boolProp>
  4643. <intProp name="Assertion.test_type">6</intProp>
  4644. </ResponseAssertion>
  4645. <hashTree/>
  4646. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Cart Id" enabled="true">
  4647. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  4648. <stringProp name="RegexExtractor.refname">cart_id</stringProp>
  4649. <stringProp name="RegexExtractor.regex">"quoteData":{"entity_id":"([^'"]+)",</stringProp>
  4650. <stringProp name="RegexExtractor.template">$1$</stringProp>
  4651. <stringProp name="RegexExtractor.default"/>
  4652. <stringProp name="RegexExtractor.match_number">1</stringProp>
  4653. </RegexExtractor>
  4654. <hashTree/>
  4655. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  4656. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  4657. <stringProp name="RegexExtractor.refname">form_key</stringProp>
  4658. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  4659. <stringProp name="RegexExtractor.template">$1$</stringProp>
  4660. <stringProp name="RegexExtractor.default"/>
  4661. <stringProp name="RegexExtractor.match_number">1</stringProp>
  4662. </RegexExtractor>
  4663. <hashTree/>
  4664. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Cart Id extracted" enabled="true">
  4665. <collectionProp name="Asserion.test_strings">
  4666. <stringProp name="2845929">^.+$</stringProp>
  4667. </collectionProp>
  4668. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4669. <boolProp name="Assertion.assume_success">false</boolProp>
  4670. <intProp name="Assertion.test_type">1</intProp>
  4671. <stringProp name="Assertion.scope">variable</stringProp>
  4672. <stringProp name="Scope.variable">cart_id</stringProp>
  4673. </ResponseAssertion>
  4674. <hashTree/>
  4675. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  4676. <collectionProp name="Asserion.test_strings">
  4677. <stringProp name="2845929">^.+$</stringProp>
  4678. </collectionProp>
  4679. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4680. <boolProp name="Assertion.assume_success">false</boolProp>
  4681. <intProp name="Assertion.test_type">1</intProp>
  4682. <stringProp name="Assertion.scope">variable</stringProp>
  4683. <stringProp name="Scope.variable">form_key</stringProp>
  4684. </ResponseAssertion>
  4685. <hashTree/>
  4686. </hashTree>
  4687. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4688. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4689. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4690. </GaussianRandomTimer>
  4691. <hashTree/>
  4692. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Email Available${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4693. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  4694. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  4695. <collectionProp name="Arguments.arguments">
  4696. <elementProp name="" elementType="HTTPArgument">
  4697. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4698. <stringProp name="Argument.value">{"customerEmail":"test@example.com"}</stringProp>
  4699. <stringProp name="Argument.metadata">=</stringProp>
  4700. </elementProp>
  4701. </collectionProp>
  4702. </elementProp>
  4703. <stringProp name="HTTPSampler.domain"/>
  4704. <stringProp name="HTTPSampler.port"/>
  4705. <stringProp name="HTTPSampler.connect_timeout"/>
  4706. <stringProp name="HTTPSampler.response_timeout"/>
  4707. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4708. <stringProp name="HTTPSampler.contentEncoding"/>
  4709. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/customers/isEmailAvailable</stringProp>
  4710. <stringProp name="HTTPSampler.method">POST</stringProp>
  4711. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4712. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4713. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4714. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4715. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4716. <stringProp name="HTTPSampler.embedded_url_re"/>
  4717. </HTTPSamplerProxy>
  4718. <hashTree>
  4719. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4720. <collectionProp name="HeaderManager.headers">
  4721. <elementProp name="" elementType="Header">
  4722. <stringProp name="Header.name">Referer</stringProp>
  4723. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  4724. </elementProp>
  4725. <elementProp name="Content-Type" elementType="Header">
  4726. <stringProp name="Header.name">Content-Type</stringProp>
  4727. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  4728. </elementProp>
  4729. <elementProp name="X-Requested-With" elementType="Header">
  4730. <stringProp name="Header.name">X-Requested-With</stringProp>
  4731. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4732. </elementProp>
  4733. <elementProp name="Accept" elementType="Header">
  4734. <stringProp name="Header.name">Accept</stringProp>
  4735. <stringProp name="Header.value">application/json</stringProp>
  4736. </elementProp>
  4737. </collectionProp>
  4738. </HeaderManager>
  4739. <hashTree/>
  4740. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4741. <collectionProp name="Asserion.test_strings">
  4742. <stringProp name="3569038">true</stringProp>
  4743. </collectionProp>
  4744. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4745. <boolProp name="Assertion.assume_success">false</boolProp>
  4746. <intProp name="Assertion.test_type">8</intProp>
  4747. </ResponseAssertion>
  4748. <hashTree/>
  4749. </hashTree>
  4750. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4751. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4752. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4753. </GaussianRandomTimer>
  4754. <hashTree/>
  4755. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Estimate Shipping Methods${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4756. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  4757. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  4758. <collectionProp name="Arguments.arguments">
  4759. <elementProp name="" elementType="HTTPArgument">
  4760. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4761. <stringProp name="Argument.value">{"address":{"country_id":"US","postcode":"95630"}}</stringProp>
  4762. <stringProp name="Argument.metadata">=</stringProp>
  4763. </elementProp>
  4764. </collectionProp>
  4765. </elementProp>
  4766. <stringProp name="HTTPSampler.domain"/>
  4767. <stringProp name="HTTPSampler.port"/>
  4768. <stringProp name="HTTPSampler.connect_timeout"/>
  4769. <stringProp name="HTTPSampler.response_timeout"/>
  4770. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4771. <stringProp name="HTTPSampler.contentEncoding"/>
  4772. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/estimate-shipping-methods</stringProp>
  4773. <stringProp name="HTTPSampler.method">POST</stringProp>
  4774. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4775. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4776. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4777. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4778. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4779. <stringProp name="HTTPSampler.embedded_url_re"/>
  4780. </HTTPSamplerProxy>
  4781. <hashTree>
  4782. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4783. <collectionProp name="HeaderManager.headers">
  4784. <elementProp name="" elementType="Header">
  4785. <stringProp name="Header.name">Referer</stringProp>
  4786. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  4787. </elementProp>
  4788. <elementProp name="Content-Type" elementType="Header">
  4789. <stringProp name="Header.name">Content-Type</stringProp>
  4790. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  4791. </elementProp>
  4792. <elementProp name="X-Requested-With" elementType="Header">
  4793. <stringProp name="Header.name">X-Requested-With</stringProp>
  4794. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4795. </elementProp>
  4796. <elementProp name="Accept" elementType="Header">
  4797. <stringProp name="Header.name">Accept</stringProp>
  4798. <stringProp name="Header.value">application/json</stringProp>
  4799. </elementProp>
  4800. </collectionProp>
  4801. </HeaderManager>
  4802. <hashTree/>
  4803. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  4804. <collectionProp name="Asserion.test_strings">
  4805. <stringProp name="-1224567411">"available":true</stringProp>
  4806. </collectionProp>
  4807. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4808. <boolProp name="Assertion.assume_success">false</boolProp>
  4809. <intProp name="Assertion.test_type">2</intProp>
  4810. </ResponseAssertion>
  4811. <hashTree/>
  4812. </hashTree>
  4813. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4814. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4815. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4816. </GaussianRandomTimer>
  4817. <hashTree/>
  4818. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Billing/Shipping Information${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4819. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  4820. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  4821. <collectionProp name="Arguments.arguments">
  4822. <elementProp name="" elementType="HTTPArgument">
  4823. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4824. <stringProp name="Argument.value">{"addressInformation":{"shipping_address":{"countryId":"US","regionId":"12","regionCode":"CA","region":"California","street":["10441 Jefferson Blvd ste 200"],"company":"","telephone":"3109450345","fax":"","postcode":"90232","city":"Culver City","firstname":"Name","lastname":"Lastname"},"shipping_method_code":"flatrate","shipping_carrier_code":"flatrate"}}</stringProp>
  4825. <stringProp name="Argument.metadata">=</stringProp>
  4826. </elementProp>
  4827. </collectionProp>
  4828. </elementProp>
  4829. <stringProp name="HTTPSampler.domain"/>
  4830. <stringProp name="HTTPSampler.port"/>
  4831. <stringProp name="HTTPSampler.connect_timeout"/>
  4832. <stringProp name="HTTPSampler.response_timeout"/>
  4833. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4834. <stringProp name="HTTPSampler.contentEncoding"/>
  4835. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/shipping-information</stringProp>
  4836. <stringProp name="HTTPSampler.method">POST</stringProp>
  4837. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4838. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4839. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4840. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4841. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4842. <stringProp name="HTTPSampler.embedded_url_re"/>
  4843. </HTTPSamplerProxy>
  4844. <hashTree>
  4845. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4846. <collectionProp name="HeaderManager.headers">
  4847. <elementProp name="" elementType="Header">
  4848. <stringProp name="Header.name">Referer</stringProp>
  4849. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  4850. </elementProp>
  4851. <elementProp name="Content-Type" elementType="Header">
  4852. <stringProp name="Header.name">Content-Type</stringProp>
  4853. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  4854. </elementProp>
  4855. <elementProp name="X-Requested-With" elementType="Header">
  4856. <stringProp name="Header.name">X-Requested-With</stringProp>
  4857. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4858. </elementProp>
  4859. <elementProp name="Accept" elementType="Header">
  4860. <stringProp name="Header.name">Accept</stringProp>
  4861. <stringProp name="Header.value">application/json</stringProp>
  4862. </elementProp>
  4863. </collectionProp>
  4864. </HeaderManager>
  4865. <hashTree/>
  4866. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  4867. <collectionProp name="Asserion.test_strings">
  4868. <stringProp name="-1494218646">{"payment_methods":</stringProp>
  4869. </collectionProp>
  4870. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4871. <boolProp name="Assertion.assume_success">false</boolProp>
  4872. <intProp name="Assertion.test_type">2</intProp>
  4873. </ResponseAssertion>
  4874. <hashTree/>
  4875. </hashTree>
  4876. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  4877. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  4878. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  4879. </GaussianRandomTimer>
  4880. <hashTree/>
  4881. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Payment Info/Place Order${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4882. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  4883. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  4884. <collectionProp name="Arguments.arguments">
  4885. <elementProp name="" elementType="HTTPArgument">
  4886. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4887. <stringProp name="Argument.value">{"cartId":"${cart_id}","email":"test@example.com","paymentMethod":{"method":"checkmo","po_number":null,"additional_data":null},"billingAddress":{"countryId":"US","regionId":"12","regionCode":"CA","region":"California","street":["10441 Jefferson Blvd ste 200"],"company":"","telephone":"3109450345","fax":"","postcode":"90232","city":"Culver City","firstname":"Name","lastname":"Lastname"}}</stringProp>
  4888. <stringProp name="Argument.metadata">=</stringProp>
  4889. </elementProp>
  4890. </collectionProp>
  4891. </elementProp>
  4892. <stringProp name="HTTPSampler.domain"/>
  4893. <stringProp name="HTTPSampler.port"/>
  4894. <stringProp name="HTTPSampler.connect_timeout"/>
  4895. <stringProp name="HTTPSampler.response_timeout"/>
  4896. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4897. <stringProp name="HTTPSampler.contentEncoding"/>
  4898. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/payment-information</stringProp>
  4899. <stringProp name="HTTPSampler.method">POST</stringProp>
  4900. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4901. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4902. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4903. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4904. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4905. <stringProp name="HTTPSampler.embedded_url_re"/>
  4906. </HTTPSamplerProxy>
  4907. <hashTree>
  4908. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4909. <collectionProp name="HeaderManager.headers">
  4910. <elementProp name="" elementType="Header">
  4911. <stringProp name="Header.name">Referer</stringProp>
  4912. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  4913. </elementProp>
  4914. <elementProp name="Content-Type" elementType="Header">
  4915. <stringProp name="Header.name">Content-Type</stringProp>
  4916. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  4917. </elementProp>
  4918. <elementProp name="X-Requested-With" elementType="Header">
  4919. <stringProp name="Header.name">X-Requested-With</stringProp>
  4920. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4921. </elementProp>
  4922. <elementProp name="Accept" elementType="Header">
  4923. <stringProp name="Header.name">Accept</stringProp>
  4924. <stringProp name="Header.value">application/json</stringProp>
  4925. </elementProp>
  4926. </collectionProp>
  4927. </HeaderManager>
  4928. <hashTree/>
  4929. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  4930. <collectionProp name="Asserion.test_strings">
  4931. <stringProp name="-297987887">"[0-9]+"</stringProp>
  4932. </collectionProp>
  4933. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4934. <boolProp name="Assertion.assume_success">false</boolProp>
  4935. <intProp name="Assertion.test_type">2</intProp>
  4936. </ResponseAssertion>
  4937. <hashTree/>
  4938. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="Extract cart id" enabled="true">
  4939. <stringProp name="VAR">order_id</stringProp>
  4940. <stringProp name="JSONPATH">$</stringProp>
  4941. <stringProp name="DEFAULT"/>
  4942. <stringProp name="VARIABLE"/>
  4943. <stringProp name="SUBJECT">BODY</stringProp>
  4944. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4945. <hashTree/>
  4946. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4947. <collectionProp name="Asserion.test_strings">
  4948. <stringProp name="89649215">^\d+$</stringProp>
  4949. </collectionProp>
  4950. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4951. <boolProp name="Assertion.assume_success">false</boolProp>
  4952. <intProp name="Assertion.test_type">1</intProp>
  4953. <stringProp name="Assertion.scope">variable</stringProp>
  4954. <stringProp name="Scope.variable">order_id</stringProp>
  4955. </ResponseAssertion>
  4956. <hashTree/>
  4957. </hashTree>
  4958. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout success${__property(activeAdminThread)}(${testLabel})" enabled="true">
  4959. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4960. <collectionProp name="Arguments.arguments"/>
  4961. </elementProp>
  4962. <stringProp name="HTTPSampler.domain"/>
  4963. <stringProp name="HTTPSampler.port"/>
  4964. <stringProp name="HTTPSampler.connect_timeout"/>
  4965. <stringProp name="HTTPSampler.response_timeout"/>
  4966. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4967. <stringProp name="HTTPSampler.contentEncoding"/>
  4968. <stringProp name="HTTPSampler.path">${base_path}checkout/onepage/success/</stringProp>
  4969. <stringProp name="HTTPSampler.method">GET</stringProp>
  4970. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4971. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4972. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4973. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4974. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4975. <stringProp name="HTTPSampler.embedded_url_re"/>
  4976. </HTTPSamplerProxy>
  4977. <hashTree>
  4978. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  4979. <collectionProp name="Asserion.test_strings">
  4980. <stringProp name="494863233">Thank you for your purchase!</stringProp>
  4981. <stringProp name="1635682758">Your order # is</stringProp>
  4982. </collectionProp>
  4983. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4984. <boolProp name="Assertion.assume_success">false</boolProp>
  4985. <intProp name="Assertion.test_type">2</intProp>
  4986. </ResponseAssertion>
  4987. <hashTree/>
  4988. </hashTree>
  4989. </hashTree>
  4990. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Checkout By Customer" enabled="true">
  4991. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  4992. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  4993. <boolProp name="LoopController.continue_forever">false</boolProp>
  4994. <stringProp name="LoopController.loops">${loops}</stringProp>
  4995. </elementProp>
  4996. <stringProp name="ThreadGroup.num_threads">${__javaScript(Math.round(props.get("users")*${customer_checkout_percent}/100&gt;&gt;0))}</stringProp>
  4997. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  4998. <longProp name="ThreadGroup.start_time">1437177203000</longProp>
  4999. <longProp name="ThreadGroup.end_time">1437177203000</longProp>
  5000. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  5001. <stringProp name="ThreadGroup.duration"/>
  5002. <stringProp name="ThreadGroup.delay"/>
  5003. </ThreadGroup>
  5004. <hashTree>
  5005. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Get arguments${__property(activeAdminThread)}(CustomerChkt)" enabled="true">
  5006. <stringProp name="TestPlan.comments">Passing arguments between threads</stringProp>
  5007. <stringProp name="BeanShellSampler.query">import org.apache.jmeter.samplers.SampleResult;
  5008. import java.util.Random;
  5009. Random random = new Random();
  5010. if (${seedForRandom} &gt; 0) {
  5011. random.setSeed(${seedForRandom});
  5012. }
  5013. number = random.nextInt(props.get("simple_products_list").size());
  5014. simpleList = props.get("simple_products_list").get(number);
  5015. vars.put("simple_product_1_url_key", simpleList.get("url_key"));
  5016. vars.put("simple_product_1_name", simpleList.get("title"));
  5017. vars.put("simple_product_1_id", simpleList.get("id"));
  5018. vars.put("simple_product_1_uenc", simpleList.get("uenc"));
  5019. number1 = random.nextInt(props.get("simple_products_list").size());
  5020. simpleList = props.get("simple_products_list").get(number1);
  5021. vars.put("simple_product_2_url_key", simpleList.get("url_key"));
  5022. vars.put("simple_product_2_name", simpleList.get("title"));
  5023. vars.put("simple_product_2_id", simpleList.get("id"));
  5024. vars.put("simple_product_2_uenc", simpleList.get("uenc"));
  5025. number = random.nextInt(props.get("configurable_products_list").size());
  5026. configurableList = props.get("configurable_products_list").get(number);
  5027. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  5028. vars.put("configurable_product_1_name", configurableList.get("title"));
  5029. vars.put("configurable_product_1_id", configurableList.get("id"));
  5030. vars.put("configurable_attribute_id", configurableList.get("attribute_id"));
  5031. vars.put("configurable_option_id", configurableList.get("attribute_option_id"));
  5032. vars.put("configurable_product_1_uenc", simpleList.get("uenc"));
  5033. number = random.nextInt(props.get("category_url_keys_list").size());
  5034. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  5035. vars.put("category_name", props.get("category_names_list").get(number));
  5036. emails_index = 0;
  5037. if (!props.containsKey("customer_emails_index")) {
  5038. props.put("customer_emails_index", emails_index);
  5039. }
  5040. try {
  5041. emails_index = props.get("customer_emails_index");
  5042. emails_list = props.get("customer_emails_list");
  5043. if (emails_index == emails_list.size()) {
  5044. emails_index=0;
  5045. }
  5046. vars.put("customer_email", emails_list.get(emails_index));
  5047. props.put("customer_emails_index", ++emails_index);
  5048. }
  5049. catch (java.lang.Exception e) {
  5050. log.error("Caught Exception in 'Customer Checkout' thread.");
  5051. log.info("Using default email address - user_1@example.com");
  5052. vars.put("customer_email", "user_1@example.com");
  5053. }
  5054. vars.put("testLabel", "CustomerChkt");
  5055. vars.put("loadType", "Customer");</stringProp>
  5056. <stringProp name="BeanShellSampler.filename"/>
  5057. <stringProp name="BeanShellSampler.parameters"/>
  5058. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5059. </BeanShellSampler>
  5060. <hashTree/>
  5061. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5062. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5063. <collectionProp name="Arguments.arguments"/>
  5064. </elementProp>
  5065. <stringProp name="HTTPSampler.domain"/>
  5066. <stringProp name="HTTPSampler.port"/>
  5067. <stringProp name="HTTPSampler.connect_timeout"/>
  5068. <stringProp name="HTTPSampler.response_timeout"/>
  5069. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5070. <stringProp name="HTTPSampler.contentEncoding"/>
  5071. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  5072. <stringProp name="HTTPSampler.method">GET</stringProp>
  5073. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5074. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5075. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5076. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5077. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5078. <stringProp name="HTTPSampler.embedded_url_re"/>
  5079. </HTTPSamplerProxy>
  5080. <hashTree>
  5081. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5082. <collectionProp name="Asserion.test_strings">
  5083. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  5084. </collectionProp>
  5085. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5086. <boolProp name="Assertion.assume_success">false</boolProp>
  5087. <intProp name="Assertion.test_type">2</intProp>
  5088. </ResponseAssertion>
  5089. <hashTree/>
  5090. </hashTree>
  5091. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5092. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5093. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5094. </GaussianRandomTimer>
  5095. <hashTree/>
  5096. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5097. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5098. <collectionProp name="Arguments.arguments"/>
  5099. </elementProp>
  5100. <stringProp name="HTTPSampler.domain"/>
  5101. <stringProp name="HTTPSampler.port"/>
  5102. <stringProp name="HTTPSampler.connect_timeout"/>
  5103. <stringProp name="HTTPSampler.response_timeout"/>
  5104. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5105. <stringProp name="HTTPSampler.contentEncoding"/>
  5106. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  5107. <stringProp name="HTTPSampler.method">GET</stringProp>
  5108. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5109. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5110. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5111. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5112. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5113. <stringProp name="HTTPSampler.embedded_url_re"/>
  5114. </HTTPSamplerProxy>
  5115. <hashTree>
  5116. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5117. <collectionProp name="Asserion.test_strings">
  5118. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  5119. </collectionProp>
  5120. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5121. <boolProp name="Assertion.assume_success">false</boolProp>
  5122. <intProp name="Assertion.test_type">2</intProp>
  5123. </ResponseAssertion>
  5124. <hashTree/>
  5125. </hashTree>
  5126. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Load Login Form${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5127. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5128. <collectionProp name="Arguments.arguments">
  5129. <elementProp name="blocks" elementType="HTTPArgument">
  5130. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5131. <stringProp name="Argument.value">["customer_form_login"]</stringProp>
  5132. <stringProp name="Argument.metadata">=</stringProp>
  5133. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5134. <stringProp name="Argument.name">blocks</stringProp>
  5135. </elementProp>
  5136. <elementProp name="handles" elementType="HTTPArgument">
  5137. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5138. <stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
  5139. <stringProp name="Argument.metadata">=</stringProp>
  5140. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5141. <stringProp name="Argument.name">handles</stringProp>
  5142. </elementProp>
  5143. <elementProp name="originalRequest" elementType="HTTPArgument">
  5144. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5145. <stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
  5146. <stringProp name="Argument.metadata">=</stringProp>
  5147. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5148. <stringProp name="Argument.name">originalRequest</stringProp>
  5149. </elementProp>
  5150. <elementProp name="ajax" elementType="HTTPArgument">
  5151. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5152. <stringProp name="Argument.value">true</stringProp>
  5153. <stringProp name="Argument.metadata">=</stringProp>
  5154. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5155. <stringProp name="Argument.name">ajax</stringProp>
  5156. </elementProp>
  5157. <elementProp name="isAjax" elementType="HTTPArgument">
  5158. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5159. <stringProp name="Argument.value">true</stringProp>
  5160. <stringProp name="Argument.metadata">=</stringProp>
  5161. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5162. <stringProp name="Argument.name">isAjax</stringProp>
  5163. </elementProp>
  5164. </collectionProp>
  5165. </elementProp>
  5166. <stringProp name="HTTPSampler.domain"/>
  5167. <stringProp name="HTTPSampler.port"/>
  5168. <stringProp name="HTTPSampler.connect_timeout"/>
  5169. <stringProp name="HTTPSampler.response_timeout"/>
  5170. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5171. <stringProp name="HTTPSampler.contentEncoding"/>
  5172. <stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
  5173. <stringProp name="HTTPSampler.method">GET</stringProp>
  5174. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5175. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5176. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5177. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5178. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5179. <stringProp name="HTTPSampler.embedded_url_re"/>
  5180. </HTTPSamplerProxy>
  5181. <hashTree>
  5182. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5183. <collectionProp name="Asserion.test_strings">
  5184. <stringProp name="940598773">"customer_form_login"</stringProp>
  5185. <stringProp name="1951684663">Registered Customers</stringProp>
  5186. <stringProp name="474011748">form_key</stringProp>
  5187. </collectionProp>
  5188. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5189. <boolProp name="Assertion.assume_success">false</boolProp>
  5190. <intProp name="Assertion.test_type">2</intProp>
  5191. </ResponseAssertion>
  5192. <hashTree/>
  5193. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  5194. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5195. <stringProp name="RegexExtractor.refname">form_key</stringProp>
  5196. <stringProp name="RegexExtractor.regex">&lt;input name=\\"form_key\\" type=\\"hidden\\" value=\\"([^'"]+)\\" \\/&gt;</stringProp>
  5197. <stringProp name="RegexExtractor.template">$1$</stringProp>
  5198. <stringProp name="RegexExtractor.default"/>
  5199. <stringProp name="RegexExtractor.match_number">1</stringProp>
  5200. </RegexExtractor>
  5201. <hashTree/>
  5202. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  5203. <collectionProp name="Asserion.test_strings">
  5204. <stringProp name="2845929">^.+$</stringProp>
  5205. </collectionProp>
  5206. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5207. <boolProp name="Assertion.assume_success">false</boolProp>
  5208. <intProp name="Assertion.test_type">1</intProp>
  5209. <stringProp name="Assertion.scope">variable</stringProp>
  5210. <stringProp name="Scope.variable">form_key</stringProp>
  5211. </ResponseAssertion>
  5212. <hashTree/>
  5213. </hashTree>
  5214. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5215. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5216. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5217. </GaussianRandomTimer>
  5218. <hashTree/>
  5219. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5220. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5221. <collectionProp name="Arguments.arguments">
  5222. <elementProp name="form_key" elementType="HTTPArgument">
  5223. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5224. <stringProp name="Argument.value">${form_key}</stringProp>
  5225. <stringProp name="Argument.metadata">=</stringProp>
  5226. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5227. <stringProp name="Argument.name">form_key</stringProp>
  5228. </elementProp>
  5229. <elementProp name="login[username]" elementType="HTTPArgument">
  5230. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5231. <stringProp name="Argument.value">${customer_email}</stringProp>
  5232. <stringProp name="Argument.metadata">=</stringProp>
  5233. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5234. <stringProp name="Argument.name">login[username]</stringProp>
  5235. </elementProp>
  5236. <elementProp name="login[password]" elementType="HTTPArgument">
  5237. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5238. <stringProp name="Argument.value">${customer_password}</stringProp>
  5239. <stringProp name="Argument.metadata">=</stringProp>
  5240. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5241. <stringProp name="Argument.name">login[password]</stringProp>
  5242. </elementProp>
  5243. <elementProp name="send" elementType="HTTPArgument">
  5244. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5245. <stringProp name="Argument.value"/>
  5246. <stringProp name="Argument.metadata">=</stringProp>
  5247. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5248. <stringProp name="Argument.name">send</stringProp>
  5249. </elementProp>
  5250. </collectionProp>
  5251. </elementProp>
  5252. <stringProp name="HTTPSampler.domain"/>
  5253. <stringProp name="HTTPSampler.port"/>
  5254. <stringProp name="HTTPSampler.connect_timeout"/>
  5255. <stringProp name="HTTPSampler.response_timeout"/>
  5256. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5257. <stringProp name="HTTPSampler.contentEncoding"/>
  5258. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  5259. <stringProp name="HTTPSampler.method">POST</stringProp>
  5260. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5261. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5262. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5263. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5264. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5265. <stringProp name="HTTPSampler.embedded_url_re"/>
  5266. </HTTPSamplerProxy>
  5267. <hashTree>
  5268. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5269. <collectionProp name="Asserion.test_strings">
  5270. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  5271. </collectionProp>
  5272. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5273. <boolProp name="Assertion.assume_success">false</boolProp>
  5274. <intProp name="Assertion.test_type">2</intProp>
  5275. </ResponseAssertion>
  5276. <hashTree/>
  5277. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  5278. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5279. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  5280. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  5281. <stringProp name="RegexExtractor.template">$1$</stringProp>
  5282. <stringProp name="RegexExtractor.default"/>
  5283. <stringProp name="RegexExtractor.match_number">1</stringProp>
  5284. </RegexExtractor>
  5285. <hashTree/>
  5286. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  5287. <collectionProp name="Asserion.test_strings">
  5288. <stringProp name="2845929">^.+$</stringProp>
  5289. </collectionProp>
  5290. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5291. <boolProp name="Assertion.assume_success">false</boolProp>
  5292. <intProp name="Assertion.test_type">1</intProp>
  5293. <stringProp name="Assertion.scope">variable</stringProp>
  5294. <stringProp name="Scope.variable">addressId</stringProp>
  5295. </ResponseAssertion>
  5296. <hashTree/>
  5297. </hashTree>
  5298. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5299. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5300. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5301. </GaussianRandomTimer>
  5302. <hashTree/>
  5303. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5304. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5305. <collectionProp name="Arguments.arguments"/>
  5306. </elementProp>
  5307. <stringProp name="HTTPSampler.domain"/>
  5308. <stringProp name="HTTPSampler.port"/>
  5309. <stringProp name="HTTPSampler.connect_timeout"/>
  5310. <stringProp name="HTTPSampler.response_timeout"/>
  5311. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5312. <stringProp name="HTTPSampler.contentEncoding"/>
  5313. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  5314. <stringProp name="HTTPSampler.method">GET</stringProp>
  5315. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5316. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5317. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5318. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5319. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5320. <stringProp name="HTTPSampler.embedded_url_re"/>
  5321. </HTTPSamplerProxy>
  5322. <hashTree>
  5323. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5324. <collectionProp name="Asserion.test_strings">
  5325. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  5326. </collectionProp>
  5327. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5328. <boolProp name="Assertion.assume_success">false</boolProp>
  5329. <intProp name="Assertion.test_type">6</intProp>
  5330. </ResponseAssertion>
  5331. <hashTree/>
  5332. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  5333. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5334. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  5335. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  5336. <stringProp name="RegexExtractor.template">$1$</stringProp>
  5337. <stringProp name="RegexExtractor.default"/>
  5338. <stringProp name="RegexExtractor.match_number">1</stringProp>
  5339. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  5340. </RegexExtractor>
  5341. <hashTree/>
  5342. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  5343. <collectionProp name="Asserion.test_strings">
  5344. <stringProp name="1191417111">^[0-9]+$</stringProp>
  5345. </collectionProp>
  5346. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5347. <boolProp name="Assertion.assume_success">false</boolProp>
  5348. <intProp name="Assertion.test_type">1</intProp>
  5349. <stringProp name="Assertion.scope">variable</stringProp>
  5350. <stringProp name="Scope.variable">category_id</stringProp>
  5351. </ResponseAssertion>
  5352. <hashTree/>
  5353. </hashTree>
  5354. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5355. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5356. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5357. </GaussianRandomTimer>
  5358. <hashTree/>
  5359. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5360. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5361. <collectionProp name="Arguments.arguments"/>
  5362. </elementProp>
  5363. <stringProp name="HTTPSampler.domain"/>
  5364. <stringProp name="HTTPSampler.port"/>
  5365. <stringProp name="HTTPSampler.connect_timeout"/>
  5366. <stringProp name="HTTPSampler.response_timeout"/>
  5367. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5368. <stringProp name="HTTPSampler.contentEncoding"/>
  5369. <stringProp name="HTTPSampler.path">${base_path}${simple_product_1_url_key}${url_suffix}</stringProp>
  5370. <stringProp name="HTTPSampler.method">GET</stringProp>
  5371. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5372. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5373. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5374. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5375. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5376. <stringProp name="HTTPSampler.embedded_url_re"/>
  5377. </HTTPSamplerProxy>
  5378. <hashTree>
  5379. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5380. <collectionProp name="Asserion.test_strings">
  5381. <stringProp name="1254853024">&lt;title&gt;${simple_product_1_name}</stringProp>
  5382. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  5383. </collectionProp>
  5384. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5385. <boolProp name="Assertion.assume_success">false</boolProp>
  5386. <intProp name="Assertion.test_type">2</intProp>
  5387. </ResponseAssertion>
  5388. <hashTree/>
  5389. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  5390. <stringProp name="XPathExtractor.default"/>
  5391. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  5392. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  5393. <boolProp name="XPathExtractor.validate">false</boolProp>
  5394. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  5395. <boolProp name="XPathExtractor.namespace">false</boolProp>
  5396. </XPathExtractor>
  5397. <hashTree/>
  5398. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  5399. <collectionProp name="Asserion.test_strings">
  5400. <stringProp name="89649215">^\d+$</stringProp>
  5401. </collectionProp>
  5402. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5403. <boolProp name="Assertion.assume_success">false</boolProp>
  5404. <intProp name="Assertion.test_type">1</intProp>
  5405. <stringProp name="Assertion.scope">variable</stringProp>
  5406. <stringProp name="Scope.variable">product_id</stringProp>
  5407. </ResponseAssertion>
  5408. <hashTree/>
  5409. </hashTree>
  5410. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5411. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5412. <collectionProp name="Arguments.arguments"/>
  5413. </elementProp>
  5414. <stringProp name="HTTPSampler.domain"/>
  5415. <stringProp name="HTTPSampler.port"/>
  5416. <stringProp name="HTTPSampler.connect_timeout"/>
  5417. <stringProp name="HTTPSampler.response_timeout"/>
  5418. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5419. <stringProp name="HTTPSampler.contentEncoding"/>
  5420. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  5421. <stringProp name="HTTPSampler.method">GET</stringProp>
  5422. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5423. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5424. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5425. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5426. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5427. <stringProp name="HTTPSampler.embedded_url_re"/>
  5428. </HTTPSamplerProxy>
  5429. <hashTree>
  5430. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5431. <collectionProp name="Asserion.test_strings">
  5432. <stringProp name="49586">200</stringProp>
  5433. </collectionProp>
  5434. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  5435. <boolProp name="Assertion.assume_success">false</boolProp>
  5436. <intProp name="Assertion.test_type">2</intProp>
  5437. </ResponseAssertion>
  5438. <hashTree/>
  5439. </hashTree>
  5440. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5441. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5442. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5443. </GaussianRandomTimer>
  5444. <hashTree/>
  5445. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5446. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5447. <collectionProp name="Arguments.arguments">
  5448. <elementProp name="product" elementType="HTTPArgument">
  5449. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5450. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  5451. <stringProp name="Argument.metadata">=</stringProp>
  5452. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5453. <stringProp name="Argument.name">product</stringProp>
  5454. </elementProp>
  5455. <elementProp name="related_product" elementType="HTTPArgument">
  5456. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5457. <stringProp name="Argument.value"/>
  5458. <stringProp name="Argument.metadata">=</stringProp>
  5459. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5460. <stringProp name="Argument.name">related_product</stringProp>
  5461. </elementProp>
  5462. <elementProp name="qty" elementType="HTTPArgument">
  5463. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5464. <stringProp name="Argument.value">1</stringProp>
  5465. <stringProp name="Argument.metadata">=</stringProp>
  5466. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5467. <stringProp name="Argument.name">qty</stringProp>
  5468. </elementProp>
  5469. <elementProp name="form_key" elementType="HTTPArgument">
  5470. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5471. <stringProp name="Argument.value">${form_key}</stringProp>
  5472. <stringProp name="Argument.metadata">=</stringProp>
  5473. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5474. <stringProp name="Argument.name">form_key</stringProp>
  5475. </elementProp>
  5476. </collectionProp>
  5477. </elementProp>
  5478. <stringProp name="HTTPSampler.domain"/>
  5479. <stringProp name="HTTPSampler.port"/>
  5480. <stringProp name="HTTPSampler.connect_timeout"/>
  5481. <stringProp name="HTTPSampler.response_timeout"/>
  5482. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5483. <stringProp name="HTTPSampler.contentEncoding"/>
  5484. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  5485. <stringProp name="HTTPSampler.method">POST</stringProp>
  5486. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5487. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5488. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5489. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5490. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5491. <stringProp name="HTTPSampler.embedded_url_re"/>
  5492. </HTTPSamplerProxy>
  5493. <hashTree>
  5494. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5495. <collectionProp name="HeaderManager.headers">
  5496. <elementProp name="" elementType="Header">
  5497. <stringProp name="Header.name">X-Requested-With</stringProp>
  5498. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  5499. </elementProp>
  5500. </collectionProp>
  5501. </HeaderManager>
  5502. <hashTree/>
  5503. </hashTree>
  5504. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5505. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5506. <collectionProp name="Arguments.arguments">
  5507. <elementProp name="sections" elementType="HTTPArgument">
  5508. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5509. <stringProp name="Argument.value">cart,messages</stringProp>
  5510. <stringProp name="Argument.metadata">=</stringProp>
  5511. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5512. <stringProp name="Argument.name">sections</stringProp>
  5513. </elementProp>
  5514. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  5515. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5516. <stringProp name="Argument.value">true</stringProp>
  5517. <stringProp name="Argument.metadata">=</stringProp>
  5518. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5519. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  5520. </elementProp>
  5521. <elementProp name="_" elementType="HTTPArgument">
  5522. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5523. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  5524. <stringProp name="Argument.metadata">=</stringProp>
  5525. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5526. <stringProp name="Argument.name">_</stringProp>
  5527. </elementProp>
  5528. </collectionProp>
  5529. </elementProp>
  5530. <stringProp name="HTTPSampler.domain"/>
  5531. <stringProp name="HTTPSampler.port"/>
  5532. <stringProp name="HTTPSampler.connect_timeout"/>
  5533. <stringProp name="HTTPSampler.response_timeout"/>
  5534. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5535. <stringProp name="HTTPSampler.contentEncoding"/>
  5536. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  5537. <stringProp name="HTTPSampler.method">GET</stringProp>
  5538. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5539. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5540. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5541. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5542. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5543. <stringProp name="HTTPSampler.embedded_url_re"/>
  5544. </HTTPSamplerProxy>
  5545. <hashTree>
  5546. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5547. <collectionProp name="HeaderManager.headers">
  5548. <elementProp name="" elementType="Header">
  5549. <stringProp name="Header.name">X-Requested-With</stringProp>
  5550. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  5551. </elementProp>
  5552. </collectionProp>
  5553. </HeaderManager>
  5554. <hashTree/>
  5555. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5556. <collectionProp name="Asserion.test_strings">
  5557. <stringProp name="210217247">You added ${simple_product_1_name} to your shopping cart.</stringProp>
  5558. </collectionProp>
  5559. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5560. <boolProp name="Assertion.assume_success">false</boolProp>
  5561. <intProp name="Assertion.test_type">2</intProp>
  5562. </ResponseAssertion>
  5563. <hashTree/>
  5564. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5565. <collectionProp name="Asserion.test_strings">
  5566. <stringProp name="2057973164">This product is out of stock.</stringProp>
  5567. </collectionProp>
  5568. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5569. <boolProp name="Assertion.assume_success">false</boolProp>
  5570. <intProp name="Assertion.test_type">6</intProp>
  5571. </ResponseAssertion>
  5572. <hashTree/>
  5573. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5574. <collectionProp name="Asserion.test_strings">
  5575. <stringProp name="-350323027">\"summary_count\":1</stringProp>
  5576. </collectionProp>
  5577. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5578. <boolProp name="Assertion.assume_success">false</boolProp>
  5579. <intProp name="Assertion.test_type">2</intProp>
  5580. </ResponseAssertion>
  5581. <hashTree/>
  5582. </hashTree>
  5583. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5584. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5585. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5586. </GaussianRandomTimer>
  5587. <hashTree/>
  5588. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5589. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5590. <collectionProp name="Arguments.arguments"/>
  5591. </elementProp>
  5592. <stringProp name="HTTPSampler.domain"/>
  5593. <stringProp name="HTTPSampler.port"/>
  5594. <stringProp name="HTTPSampler.connect_timeout"/>
  5595. <stringProp name="HTTPSampler.response_timeout"/>
  5596. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5597. <stringProp name="HTTPSampler.contentEncoding"/>
  5598. <stringProp name="HTTPSampler.path">${base_path}${simple_product_2_url_key}${url_suffix}</stringProp>
  5599. <stringProp name="HTTPSampler.method">GET</stringProp>
  5600. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5601. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5602. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5603. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5604. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5605. <stringProp name="HTTPSampler.embedded_url_re"/>
  5606. </HTTPSamplerProxy>
  5607. <hashTree>
  5608. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5609. <collectionProp name="Asserion.test_strings">
  5610. <stringProp name="2142356705">&lt;title&gt;${simple_product_2_name}</stringProp>
  5611. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  5612. </collectionProp>
  5613. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5614. <boolProp name="Assertion.assume_success">false</boolProp>
  5615. <intProp name="Assertion.test_type">2</intProp>
  5616. </ResponseAssertion>
  5617. <hashTree/>
  5618. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="XPath Extractor: Extract product id" enabled="true">
  5619. <stringProp name="XPathExtractor.default"/>
  5620. <stringProp name="XPathExtractor.refname">product_id</stringProp>
  5621. <stringProp name="XPathExtractor.xpathQuery">.//input[@type="hidden" and @name="product"]/@value</stringProp>
  5622. <boolProp name="XPathExtractor.validate">false</boolProp>
  5623. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  5624. <boolProp name="XPathExtractor.namespace">false</boolProp>
  5625. </XPathExtractor>
  5626. <hashTree/>
  5627. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert id" enabled="true">
  5628. <collectionProp name="Asserion.test_strings">
  5629. <stringProp name="89649215">^\d+$</stringProp>
  5630. </collectionProp>
  5631. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5632. <boolProp name="Assertion.assume_success">false</boolProp>
  5633. <intProp name="Assertion.test_type">1</intProp>
  5634. <stringProp name="Assertion.scope">variable</stringProp>
  5635. <stringProp name="Scope.variable">product_id</stringProp>
  5636. </ResponseAssertion>
  5637. <hashTree/>
  5638. </hashTree>
  5639. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Ajax Review Simple Product 2 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5640. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5641. <collectionProp name="Arguments.arguments"/>
  5642. </elementProp>
  5643. <stringProp name="HTTPSampler.domain"/>
  5644. <stringProp name="HTTPSampler.port"/>
  5645. <stringProp name="HTTPSampler.connect_timeout"/>
  5646. <stringProp name="HTTPSampler.response_timeout"/>
  5647. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5648. <stringProp name="HTTPSampler.contentEncoding"/>
  5649. <stringProp name="HTTPSampler.path">${base_path}review/product/listAjax/id/${product_id}/</stringProp>
  5650. <stringProp name="HTTPSampler.method">GET</stringProp>
  5651. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5652. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5653. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5654. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5655. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5656. <stringProp name="HTTPSampler.embedded_url_re"/>
  5657. </HTTPSamplerProxy>
  5658. <hashTree>
  5659. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5660. <collectionProp name="Asserion.test_strings">
  5661. <stringProp name="49586">200</stringProp>
  5662. </collectionProp>
  5663. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  5664. <boolProp name="Assertion.assume_success">false</boolProp>
  5665. <intProp name="Assertion.test_type">2</intProp>
  5666. </ResponseAssertion>
  5667. <hashTree/>
  5668. </hashTree>
  5669. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5670. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5671. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5672. </GaussianRandomTimer>
  5673. <hashTree/>
  5674. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 2 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5675. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5676. <collectionProp name="Arguments.arguments">
  5677. <elementProp name="product" elementType="HTTPArgument">
  5678. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5679. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  5680. <stringProp name="Argument.metadata">=</stringProp>
  5681. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5682. <stringProp name="Argument.name">product</stringProp>
  5683. </elementProp>
  5684. <elementProp name="related_product" elementType="HTTPArgument">
  5685. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5686. <stringProp name="Argument.value"/>
  5687. <stringProp name="Argument.metadata">=</stringProp>
  5688. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5689. <stringProp name="Argument.name">related_product</stringProp>
  5690. </elementProp>
  5691. <elementProp name="qty" elementType="HTTPArgument">
  5692. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5693. <stringProp name="Argument.value">1</stringProp>
  5694. <stringProp name="Argument.metadata">=</stringProp>
  5695. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5696. <stringProp name="Argument.name">qty</stringProp>
  5697. </elementProp>
  5698. <elementProp name="form_key" elementType="HTTPArgument">
  5699. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5700. <stringProp name="Argument.value">${form_key}</stringProp>
  5701. <stringProp name="Argument.metadata">=</stringProp>
  5702. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5703. <stringProp name="Argument.name">form_key</stringProp>
  5704. </elementProp>
  5705. </collectionProp>
  5706. </elementProp>
  5707. <stringProp name="HTTPSampler.domain"/>
  5708. <stringProp name="HTTPSampler.port"/>
  5709. <stringProp name="HTTPSampler.connect_timeout"/>
  5710. <stringProp name="HTTPSampler.response_timeout"/>
  5711. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5712. <stringProp name="HTTPSampler.contentEncoding"/>
  5713. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  5714. <stringProp name="HTTPSampler.method">POST</stringProp>
  5715. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5716. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5717. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5718. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5719. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5720. <stringProp name="HTTPSampler.embedded_url_re"/>
  5721. </HTTPSamplerProxy>
  5722. <hashTree>
  5723. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5724. <collectionProp name="HeaderManager.headers">
  5725. <elementProp name="" elementType="Header">
  5726. <stringProp name="Header.name">X-Requested-With</stringProp>
  5727. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  5728. </elementProp>
  5729. </collectionProp>
  5730. </HeaderManager>
  5731. <hashTree/>
  5732. </hashTree>
  5733. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}2${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5734. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5735. <collectionProp name="Arguments.arguments">
  5736. <elementProp name="sections" elementType="HTTPArgument">
  5737. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5738. <stringProp name="Argument.value">cart,messages</stringProp>
  5739. <stringProp name="Argument.metadata">=</stringProp>
  5740. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5741. <stringProp name="Argument.name">sections</stringProp>
  5742. <stringProp name="Argument.desc">true</stringProp>
  5743. </elementProp>
  5744. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  5745. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5746. <stringProp name="Argument.value">true</stringProp>
  5747. <stringProp name="Argument.metadata">=</stringProp>
  5748. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5749. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  5750. <stringProp name="Argument.desc">true</stringProp>
  5751. </elementProp>
  5752. <elementProp name="_" elementType="HTTPArgument">
  5753. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5754. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  5755. <stringProp name="Argument.metadata">=</stringProp>
  5756. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5757. <stringProp name="Argument.name">_</stringProp>
  5758. <stringProp name="Argument.desc">true</stringProp>
  5759. </elementProp>
  5760. </collectionProp>
  5761. </elementProp>
  5762. <stringProp name="HTTPSampler.domain"/>
  5763. <stringProp name="HTTPSampler.port"/>
  5764. <stringProp name="HTTPSampler.connect_timeout"/>
  5765. <stringProp name="HTTPSampler.response_timeout"/>
  5766. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5767. <stringProp name="HTTPSampler.contentEncoding"/>
  5768. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  5769. <stringProp name="HTTPSampler.method">GET</stringProp>
  5770. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5771. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5772. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5773. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5774. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5775. <stringProp name="HTTPSampler.embedded_url_re"/>
  5776. </HTTPSamplerProxy>
  5777. <hashTree>
  5778. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5779. <collectionProp name="HeaderManager.headers">
  5780. <elementProp name="" elementType="Header">
  5781. <stringProp name="Header.name">X-Requested-With</stringProp>
  5782. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  5783. </elementProp>
  5784. </collectionProp>
  5785. </HeaderManager>
  5786. <hashTree/>
  5787. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5788. <collectionProp name="Asserion.test_strings">
  5789. <stringProp name="221533374">You added ${simple_product_2_name} to your shopping cart.</stringProp>
  5790. </collectionProp>
  5791. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5792. <boolProp name="Assertion.assume_success">false</boolProp>
  5793. <intProp name="Assertion.test_type">2</intProp>
  5794. </ResponseAssertion>
  5795. <hashTree/>
  5796. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5797. <collectionProp name="Asserion.test_strings">
  5798. <stringProp name="2057973164">This product is out of stock.</stringProp>
  5799. </collectionProp>
  5800. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5801. <boolProp name="Assertion.assume_success">false</boolProp>
  5802. <intProp name="Assertion.test_type">6</intProp>
  5803. </ResponseAssertion>
  5804. <hashTree/>
  5805. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5806. <collectionProp name="Asserion.test_strings">
  5807. <stringProp name="-350323026">\"summary_count\":2</stringProp>
  5808. </collectionProp>
  5809. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5810. <boolProp name="Assertion.assume_success">false</boolProp>
  5811. <intProp name="Assertion.test_type">2</intProp>
  5812. </ResponseAssertion>
  5813. <hashTree/>
  5814. </hashTree>
  5815. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5816. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5817. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5818. </GaussianRandomTimer>
  5819. <hashTree/>
  5820. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 View${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5821. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5822. <collectionProp name="Arguments.arguments"/>
  5823. </elementProp>
  5824. <stringProp name="HTTPSampler.domain"/>
  5825. <stringProp name="HTTPSampler.port"/>
  5826. <stringProp name="HTTPSampler.connect_timeout"/>
  5827. <stringProp name="HTTPSampler.response_timeout"/>
  5828. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5829. <stringProp name="HTTPSampler.contentEncoding"/>
  5830. <stringProp name="HTTPSampler.path">${base_path}${configurable_product_1_url_key}${url_suffix}</stringProp>
  5831. <stringProp name="HTTPSampler.method">GET</stringProp>
  5832. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5833. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5834. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5835. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5836. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5837. <stringProp name="HTTPSampler.embedded_url_re"/>
  5838. </HTTPSamplerProxy>
  5839. <hashTree>
  5840. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5841. <collectionProp name="Asserion.test_strings">
  5842. <stringProp name="199922279">&lt;title&gt;${configurable_product_1_name}</stringProp>
  5843. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  5844. </collectionProp>
  5845. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5846. <boolProp name="Assertion.assume_success">false</boolProp>
  5847. <intProp name="Assertion.test_type">2</intProp>
  5848. </ResponseAssertion>
  5849. <hashTree/>
  5850. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract product sku" enabled="true">
  5851. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5852. <stringProp name="RegexExtractor.refname">configurable_product_sku</stringProp>
  5853. <stringProp name="RegexExtractor.regex">itemprop="sku"&gt;([^&lt;]*)&lt;\/</stringProp>
  5854. <stringProp name="RegexExtractor.template">$1$</stringProp>
  5855. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  5856. <stringProp name="RegexExtractor.match_number">1</stringProp>
  5857. </RegexExtractor>
  5858. <hashTree/>
  5859. </hashTree>
  5860. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  5861. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  5862. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  5863. </GaussianRandomTimer>
  5864. <hashTree/>
  5865. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Get Configurable Product Options" enabled="true">
  5866. <boolProp name="LoopController.continue_forever">true</boolProp>
  5867. <stringProp name="LoopController.loops">1</stringProp>
  5868. </LoopController>
  5869. <hashTree>
  5870. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5871. <collectionProp name="HeaderManager.headers">
  5872. <elementProp name="" elementType="Header">
  5873. <stringProp name="Header.name">Content-Type</stringProp>
  5874. <stringProp name="Header.value">application/json</stringProp>
  5875. </elementProp>
  5876. <elementProp name="" elementType="Header">
  5877. <stringProp name="Header.name">Accept</stringProp>
  5878. <stringProp name="Header.value">*/*</stringProp>
  5879. </elementProp>
  5880. </collectionProp>
  5881. </HeaderManager>
  5882. <hashTree/>
  5883. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  5884. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  5885. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  5886. <collectionProp name="Arguments.arguments">
  5887. <elementProp name="" elementType="HTTPArgument">
  5888. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5889. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  5890. <stringProp name="Argument.metadata">=</stringProp>
  5891. </elementProp>
  5892. </collectionProp>
  5893. </elementProp>
  5894. <stringProp name="HTTPSampler.domain"/>
  5895. <stringProp name="HTTPSampler.port"/>
  5896. <stringProp name="HTTPSampler.connect_timeout"/>
  5897. <stringProp name="HTTPSampler.response_timeout"/>
  5898. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5899. <stringProp name="HTTPSampler.contentEncoding"/>
  5900. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  5901. <stringProp name="HTTPSampler.method">POST</stringProp>
  5902. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5903. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5904. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5905. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5906. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5907. <stringProp name="HTTPSampler.embedded_url_re"/>
  5908. </HTTPSamplerProxy>
  5909. <hashTree>
  5910. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true">
  5911. <stringProp name="VAR">admin_token</stringProp>
  5912. <stringProp name="JSONPATH">$</stringProp>
  5913. <stringProp name="DEFAULT"/>
  5914. <stringProp name="VARIABLE"/>
  5915. <stringProp name="SUBJECT">BODY</stringProp>
  5916. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  5917. <hashTree/>
  5918. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  5919. <collectionProp name="Asserion.test_strings">
  5920. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  5921. </collectionProp>
  5922. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5923. <boolProp name="Assertion.assume_success">false</boolProp>
  5924. <intProp name="Assertion.test_type">1</intProp>
  5925. <stringProp name="Assertion.scope">variable</stringProp>
  5926. <stringProp name="Scope.variable">admin_token</stringProp>
  5927. </ResponseAssertion>
  5928. <hashTree/>
  5929. </hashTree>
  5930. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5931. <collectionProp name="HeaderManager.headers">
  5932. <elementProp name="" elementType="Header">
  5933. <stringProp name="Header.name">Authorization</stringProp>
  5934. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  5935. </elementProp>
  5936. </collectionProp>
  5937. </HeaderManager>
  5938. <hashTree/>
  5939. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5940. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5941. <collectionProp name="Arguments.arguments"/>
  5942. </elementProp>
  5943. <stringProp name="HTTPSampler.domain"/>
  5944. <stringProp name="HTTPSampler.port"/>
  5945. <stringProp name="HTTPSampler.connect_timeout"/>
  5946. <stringProp name="HTTPSampler.response_timeout"/>
  5947. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5948. <stringProp name="HTTPSampler.contentEncoding"/>
  5949. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${configurable_product_sku}/options/all</stringProp>
  5950. <stringProp name="HTTPSampler.method">GET</stringProp>
  5951. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5952. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5953. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5954. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5955. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5956. <stringProp name="HTTPSampler.embedded_url_re"/>
  5957. </HTTPSamplerProxy>
  5958. <hashTree>
  5959. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="JSON Path Extractor: Extract attribute_ids" enabled="true">
  5960. <stringProp name="VAR">attribute_ids</stringProp>
  5961. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  5962. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  5963. <stringProp name="VARIABLE"/>
  5964. <stringProp name="SUBJECT">BODY</stringProp>
  5965. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  5966. <hashTree/>
  5967. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="JSON Path Extractor: Extract option_values" enabled="true">
  5968. <stringProp name="VAR">option_values</stringProp>
  5969. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  5970. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  5971. <stringProp name="VARIABLE"/>
  5972. <stringProp name="SUBJECT">BODY</stringProp>
  5973. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  5974. <hashTree/>
  5975. </hashTree>
  5976. </hashTree>
  5977. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product 1 Add To Cart${__property(activeAdminThread)}(${testLabel})" enabled="true">
  5978. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5979. <collectionProp name="Arguments.arguments">
  5980. <elementProp name="product" elementType="HTTPArgument">
  5981. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5982. <stringProp name="Argument.value">${configurable_product_1_id}</stringProp>
  5983. <stringProp name="Argument.metadata">=</stringProp>
  5984. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5985. <stringProp name="Argument.name">product</stringProp>
  5986. </elementProp>
  5987. <elementProp name="related_product" elementType="HTTPArgument">
  5988. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5989. <stringProp name="Argument.value"/>
  5990. <stringProp name="Argument.metadata">=</stringProp>
  5991. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5992. <stringProp name="Argument.name">related_product</stringProp>
  5993. </elementProp>
  5994. <elementProp name="qty" elementType="HTTPArgument">
  5995. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  5996. <stringProp name="Argument.value">1</stringProp>
  5997. <stringProp name="Argument.metadata">=</stringProp>
  5998. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5999. <stringProp name="Argument.name">qty</stringProp>
  6000. </elementProp>
  6001. <elementProp name="super_attribute[${configurable_attribute_id}]" elementType="HTTPArgument">
  6002. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6003. <stringProp name="Argument.value">${configurable_option_id}</stringProp>
  6004. <stringProp name="Argument.metadata">=</stringProp>
  6005. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6006. <stringProp name="Argument.name">super_attribute[${configurable_attribute_id}]</stringProp>
  6007. </elementProp>
  6008. <elementProp name="form_key" elementType="HTTPArgument">
  6009. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6010. <stringProp name="Argument.value">${form_key}</stringProp>
  6011. <stringProp name="Argument.metadata">=</stringProp>
  6012. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6013. <stringProp name="Argument.name">form_key</stringProp>
  6014. </elementProp>
  6015. </collectionProp>
  6016. </elementProp>
  6017. <stringProp name="HTTPSampler.domain"/>
  6018. <stringProp name="HTTPSampler.port"/>
  6019. <stringProp name="HTTPSampler.connect_timeout"/>
  6020. <stringProp name="HTTPSampler.response_timeout"/>
  6021. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6022. <stringProp name="HTTPSampler.contentEncoding"/>
  6023. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  6024. <stringProp name="HTTPSampler.method">POST</stringProp>
  6025. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6026. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6027. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6028. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6029. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6030. <stringProp name="HTTPSampler.embedded_url_re"/>
  6031. </HTTPSamplerProxy>
  6032. <hashTree>
  6033. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6034. <collectionProp name="HeaderManager.headers">
  6035. <elementProp name="" elementType="Header">
  6036. <stringProp name="Header.name">X-Requested-With</stringProp>
  6037. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6038. </elementProp>
  6039. </collectionProp>
  6040. </HeaderManager>
  6041. <hashTree/>
  6042. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  6043. <boolProp name="resetInterpreter">false</boolProp>
  6044. <stringProp name="parameters"/>
  6045. <stringProp name="filename"/>
  6046. <stringProp name="script">
  6047. try {
  6048. attribute_ids = vars.get("attribute_ids");
  6049. option_values = vars.get("option_values");
  6050. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  6051. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  6052. attribute_ids_array = attribute_ids.split(",");
  6053. option_values_array = option_values.split(",");
  6054. args = ctx.getCurrentSampler().getArguments();
  6055. it = args.iterator();
  6056. while (it.hasNext()) {
  6057. argument = it.next();
  6058. if (argument.getStringValue().contains("${")) {
  6059. args.removeArgument(argument.getName());
  6060. }
  6061. }
  6062. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  6063. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  6064. }
  6065. } catch (Exception e) {
  6066. log.error("eror&#x2026;", e);
  6067. }
  6068. </stringProp>
  6069. </BeanShellPreProcessor>
  6070. <hashTree/>
  6071. </hashTree>
  6072. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load ${loadType}3${__property(activeAdminThread)}(${testLabel})" enabled="true">
  6073. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6074. <collectionProp name="Arguments.arguments">
  6075. <elementProp name="sections" elementType="HTTPArgument">
  6076. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6077. <stringProp name="Argument.value">cart,messages</stringProp>
  6078. <stringProp name="Argument.metadata">=</stringProp>
  6079. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6080. <stringProp name="Argument.name">sections</stringProp>
  6081. <stringProp name="Argument.desc">true</stringProp>
  6082. </elementProp>
  6083. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  6084. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6085. <stringProp name="Argument.value">true</stringProp>
  6086. <stringProp name="Argument.metadata">=</stringProp>
  6087. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6088. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  6089. <stringProp name="Argument.desc">true</stringProp>
  6090. </elementProp>
  6091. <elementProp name="_" elementType="HTTPArgument">
  6092. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6093. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  6094. <stringProp name="Argument.metadata">=</stringProp>
  6095. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6096. <stringProp name="Argument.name">_</stringProp>
  6097. <stringProp name="Argument.desc">true</stringProp>
  6098. </elementProp>
  6099. </collectionProp>
  6100. </elementProp>
  6101. <stringProp name="HTTPSampler.domain"/>
  6102. <stringProp name="HTTPSampler.port"/>
  6103. <stringProp name="HTTPSampler.connect_timeout"/>
  6104. <stringProp name="HTTPSampler.response_timeout"/>
  6105. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6106. <stringProp name="HTTPSampler.contentEncoding"/>
  6107. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  6108. <stringProp name="HTTPSampler.method">GET</stringProp>
  6109. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6110. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6111. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6112. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6113. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6114. <stringProp name="HTTPSampler.embedded_url_re"/>
  6115. </HTTPSamplerProxy>
  6116. <hashTree>
  6117. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6118. <collectionProp name="HeaderManager.headers">
  6119. <elementProp name="" elementType="Header">
  6120. <stringProp name="Header.name">X-Requested-With</stringProp>
  6121. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6122. </elementProp>
  6123. </collectionProp>
  6124. </HeaderManager>
  6125. <hashTree/>
  6126. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6127. <collectionProp name="Asserion.test_strings">
  6128. <stringProp name="-1346272328">You added ${configurable_product_1_name} to your shopping cart.</stringProp>
  6129. </collectionProp>
  6130. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6131. <boolProp name="Assertion.assume_success">false</boolProp>
  6132. <intProp name="Assertion.test_type">2</intProp>
  6133. </ResponseAssertion>
  6134. <hashTree/>
  6135. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6136. <collectionProp name="Asserion.test_strings">
  6137. <stringProp name="-108122347">We don't have as many &amp;quot;${configurable_product_1_name}&amp;quot; as you requested.</stringProp>
  6138. </collectionProp>
  6139. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6140. <boolProp name="Assertion.assume_success">false</boolProp>
  6141. <intProp name="Assertion.test_type">6</intProp>
  6142. </ResponseAssertion>
  6143. <hashTree/>
  6144. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6145. <collectionProp name="Asserion.test_strings">
  6146. <stringProp name="-350323025">\"summary_count\":3</stringProp>
  6147. </collectionProp>
  6148. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6149. <boolProp name="Assertion.assume_success">false</boolProp>
  6150. <intProp name="Assertion.test_type">2</intProp>
  6151. </ResponseAssertion>
  6152. <hashTree/>
  6153. </hashTree>
  6154. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  6155. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  6156. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  6157. </GaussianRandomTimer>
  6158. <hashTree/>
  6159. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout start${__property(activeAdminThread)}(${testLabel})" enabled="true">
  6160. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6161. <collectionProp name="Arguments.arguments"/>
  6162. </elementProp>
  6163. <stringProp name="HTTPSampler.domain"/>
  6164. <stringProp name="HTTPSampler.port"/>
  6165. <stringProp name="HTTPSampler.connect_timeout"/>
  6166. <stringProp name="HTTPSampler.response_timeout"/>
  6167. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6168. <stringProp name="HTTPSampler.contentEncoding"/>
  6169. <stringProp name="HTTPSampler.path">${base_path}checkout/</stringProp>
  6170. <stringProp name="HTTPSampler.method">GET</stringProp>
  6171. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6172. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6173. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6174. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6175. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6176. <stringProp name="HTTPSampler.embedded_url_re"/>
  6177. </HTTPSamplerProxy>
  6178. <hashTree>
  6179. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6180. <collectionProp name="Asserion.test_strings">
  6181. <stringProp name="-1403911775">&lt;title&gt;Checkout&lt;/title&gt;</stringProp>
  6182. </collectionProp>
  6183. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6184. <boolProp name="Assertion.assume_success">false</boolProp>
  6185. <intProp name="Assertion.test_type">2</intProp>
  6186. </ResponseAssertion>
  6187. <hashTree/>
  6188. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6189. <collectionProp name="Asserion.test_strings">
  6190. <stringProp name="-179817969">&lt;title&gt;Shopping Cart&lt;/title&gt;</stringProp>
  6191. </collectionProp>
  6192. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6193. <boolProp name="Assertion.assume_success">false</boolProp>
  6194. <intProp name="Assertion.test_type">6</intProp>
  6195. </ResponseAssertion>
  6196. <hashTree/>
  6197. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Cart Id" enabled="true">
  6198. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  6199. <stringProp name="RegexExtractor.refname">cart_id</stringProp>
  6200. <stringProp name="RegexExtractor.regex">"quoteData":{"entity_id":"([^'"]+)",</stringProp>
  6201. <stringProp name="RegexExtractor.template">$1$</stringProp>
  6202. <stringProp name="RegexExtractor.default"/>
  6203. <stringProp name="RegexExtractor.match_number">1</stringProp>
  6204. </RegexExtractor>
  6205. <hashTree/>
  6206. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  6207. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  6208. <stringProp name="RegexExtractor.refname">form_key</stringProp>
  6209. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  6210. <stringProp name="RegexExtractor.template">$1$</stringProp>
  6211. <stringProp name="RegexExtractor.default"/>
  6212. <stringProp name="RegexExtractor.match_number">1</stringProp>
  6213. </RegexExtractor>
  6214. <hashTree/>
  6215. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address Id" enabled="true">
  6216. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  6217. <stringProp name="RegexExtractor.refname">address_id</stringProp>
  6218. <stringProp name="RegexExtractor.regex">"default_billing":"([^'"]+)",</stringProp>
  6219. <stringProp name="RegexExtractor.template">$1$</stringProp>
  6220. <stringProp name="RegexExtractor.default"/>
  6221. <stringProp name="RegexExtractor.match_number">1</stringProp>
  6222. </RegexExtractor>
  6223. <hashTree/>
  6224. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Customer Id" enabled="true">
  6225. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  6226. <stringProp name="RegexExtractor.refname">customer_id</stringProp>
  6227. <stringProp name="RegexExtractor.regex">"customer_id":([^'",]+),</stringProp>
  6228. <stringProp name="RegexExtractor.template">$1$</stringProp>
  6229. <stringProp name="RegexExtractor.default"/>
  6230. <stringProp name="RegexExtractor.match_number">1</stringProp>
  6231. </RegexExtractor>
  6232. <hashTree/>
  6233. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Cart Id extracted" enabled="true">
  6234. <collectionProp name="Asserion.test_strings">
  6235. <stringProp name="2845929">^.+$</stringProp>
  6236. </collectionProp>
  6237. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6238. <boolProp name="Assertion.assume_success">false</boolProp>
  6239. <intProp name="Assertion.test_type">1</intProp>
  6240. <stringProp name="Assertion.scope">variable</stringProp>
  6241. <stringProp name="Scope.variable">cart_id</stringProp>
  6242. </ResponseAssertion>
  6243. <hashTree/>
  6244. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  6245. <collectionProp name="Asserion.test_strings">
  6246. <stringProp name="2845929">^.+$</stringProp>
  6247. </collectionProp>
  6248. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6249. <boolProp name="Assertion.assume_success">false</boolProp>
  6250. <intProp name="Assertion.test_type">1</intProp>
  6251. <stringProp name="Assertion.scope">variable</stringProp>
  6252. <stringProp name="Scope.variable">form_key</stringProp>
  6253. </ResponseAssertion>
  6254. <hashTree/>
  6255. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Address Id extracted" enabled="true">
  6256. <collectionProp name="Asserion.test_strings">
  6257. <stringProp name="576002869">[0-9]+$</stringProp>
  6258. </collectionProp>
  6259. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6260. <boolProp name="Assertion.assume_success">false</boolProp>
  6261. <intProp name="Assertion.test_type">1</intProp>
  6262. <stringProp name="Assertion.scope">variable</stringProp>
  6263. <stringProp name="Scope.variable">address_id</stringProp>
  6264. </ResponseAssertion>
  6265. <hashTree/>
  6266. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Customer Id extracted" enabled="true">
  6267. <collectionProp name="Asserion.test_strings">
  6268. <stringProp name="576002869">[0-9]+$</stringProp>
  6269. </collectionProp>
  6270. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6271. <boolProp name="Assertion.assume_success">false</boolProp>
  6272. <intProp name="Assertion.test_type">1</intProp>
  6273. <stringProp name="Assertion.scope">variable</stringProp>
  6274. <stringProp name="Scope.variable">customer_id</stringProp>
  6275. </ResponseAssertion>
  6276. <hashTree/>
  6277. </hashTree>
  6278. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  6279. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  6280. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  6281. </GaussianRandomTimer>
  6282. <hashTree/>
  6283. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Estimate Shipping Methods${__property(activeAdminThread)}(${testLabel})" enabled="true">
  6284. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  6285. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  6286. <collectionProp name="Arguments.arguments">
  6287. <elementProp name="" elementType="HTTPArgument">
  6288. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6289. <stringProp name="Argument.value">{"addressId":"${addressId}"}</stringProp>
  6290. <stringProp name="Argument.metadata">=</stringProp>
  6291. </elementProp>
  6292. </collectionProp>
  6293. </elementProp>
  6294. <stringProp name="HTTPSampler.domain"/>
  6295. <stringProp name="HTTPSampler.port"/>
  6296. <stringProp name="HTTPSampler.connect_timeout"/>
  6297. <stringProp name="HTTPSampler.response_timeout"/>
  6298. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6299. <stringProp name="HTTPSampler.contentEncoding"/>
  6300. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id</stringProp>
  6301. <stringProp name="HTTPSampler.method">POST</stringProp>
  6302. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6303. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6304. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6305. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6306. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6307. <stringProp name="HTTPSampler.embedded_url_re"/>
  6308. </HTTPSamplerProxy>
  6309. <hashTree>
  6310. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6311. <collectionProp name="HeaderManager.headers">
  6312. <elementProp name="" elementType="Header">
  6313. <stringProp name="Header.name">Referer</stringProp>
  6314. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  6315. </elementProp>
  6316. <elementProp name="Content-Type" elementType="Header">
  6317. <stringProp name="Header.name">Content-Type</stringProp>
  6318. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  6319. </elementProp>
  6320. <elementProp name="X-Requested-With" elementType="Header">
  6321. <stringProp name="Header.name">X-Requested-With</stringProp>
  6322. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6323. </elementProp>
  6324. <elementProp name="Accept" elementType="Header">
  6325. <stringProp name="Header.name">Accept</stringProp>
  6326. <stringProp name="Header.value">application/json</stringProp>
  6327. </elementProp>
  6328. </collectionProp>
  6329. </HeaderManager>
  6330. <hashTree/>
  6331. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  6332. <collectionProp name="Asserion.test_strings">
  6333. <stringProp name="-1224567411">"available":true</stringProp>
  6334. </collectionProp>
  6335. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6336. <boolProp name="Assertion.assume_success">false</boolProp>
  6337. <intProp name="Assertion.test_type">2</intProp>
  6338. </ResponseAssertion>
  6339. <hashTree/>
  6340. </hashTree>
  6341. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  6342. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  6343. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  6344. </GaussianRandomTimer>
  6345. <hashTree/>
  6346. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Billing/Shipping Information${__property(activeAdminThread)}(${testLabel})" enabled="true">
  6347. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  6348. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  6349. <collectionProp name="Arguments.arguments">
  6350. <elementProp name="" elementType="HTTPArgument">
  6351. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6352. <stringProp name="Argument.value">{"addressInformation":{"shipping_address":{"customerAddressId":"${address_id}","countryId":"US","regionId":5,"regionCode":"AR","region":"Arkansas","customerId":"${customer_id}","street":["123 Freedom Blvd. #123"],"telephone":"022-333-4455","postcode":"123123","city":"Fayetteville","firstname":"Anthony","lastname":"Nealy"},"shipping_method_code":"flatrate","shipping_carrier_code":"flatrate"}}</stringProp>
  6353. <stringProp name="Argument.metadata">=</stringProp>
  6354. </elementProp>
  6355. </collectionProp>
  6356. </elementProp>
  6357. <stringProp name="HTTPSampler.domain"/>
  6358. <stringProp name="HTTPSampler.port"/>
  6359. <stringProp name="HTTPSampler.connect_timeout"/>
  6360. <stringProp name="HTTPSampler.response_timeout"/>
  6361. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6362. <stringProp name="HTTPSampler.contentEncoding"/>
  6363. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/shipping-information</stringProp>
  6364. <stringProp name="HTTPSampler.method">POST</stringProp>
  6365. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6366. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6367. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6368. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6369. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6370. <stringProp name="HTTPSampler.embedded_url_re"/>
  6371. </HTTPSamplerProxy>
  6372. <hashTree>
  6373. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6374. <collectionProp name="HeaderManager.headers">
  6375. <elementProp name="" elementType="Header">
  6376. <stringProp name="Header.name">Referer</stringProp>
  6377. <stringProp name="Header.value">${host}${base_path}checkout/onepage</stringProp>
  6378. </elementProp>
  6379. <elementProp name="Content-Type" elementType="Header">
  6380. <stringProp name="Header.name">Content-Type</stringProp>
  6381. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  6382. </elementProp>
  6383. <elementProp name="X-Requested-With" elementType="Header">
  6384. <stringProp name="Header.name">X-Requested-With</stringProp>
  6385. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6386. </elementProp>
  6387. <elementProp name="Accept" elementType="Header">
  6388. <stringProp name="Header.name">Accept</stringProp>
  6389. <stringProp name="Header.value">application/json</stringProp>
  6390. </elementProp>
  6391. </collectionProp>
  6392. </HeaderManager>
  6393. <hashTree/>
  6394. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  6395. <collectionProp name="Asserion.test_strings">
  6396. <stringProp name="-740937264">{"payment_methods"</stringProp>
  6397. </collectionProp>
  6398. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6399. <boolProp name="Assertion.assume_success">false</boolProp>
  6400. <intProp name="Assertion.test_type">2</intProp>
  6401. </ResponseAssertion>
  6402. <hashTree/>
  6403. </hashTree>
  6404. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  6405. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  6406. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  6407. </GaussianRandomTimer>
  6408. <hashTree/>
  6409. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Payment Info/Place Order${__property(activeAdminThread)}(${testLabel})" enabled="true">
  6410. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  6411. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  6412. <collectionProp name="Arguments.arguments">
  6413. <elementProp name="" elementType="HTTPArgument">
  6414. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6415. <stringProp name="Argument.value">{"cartId":"${cart_id}","paymentMethod":{"method":"checkmo","po_number":null,"additional_data":null},"billingAddress":{"customerAddressId":"${address_id}","countryId":"US","regionId":5,"regionCode":"AR","region":"Arkansas","customerId":"${customer_id}","street":["123 Freedom Blvd. #123"],"telephone":"022-333-4455","postcode":"123123","city":"Fayetteville","firstname":"Anthony","lastname":"Nealy"}}</stringProp>
  6416. <stringProp name="Argument.metadata">=</stringProp>
  6417. </elementProp>
  6418. </collectionProp>
  6419. </elementProp>
  6420. <stringProp name="HTTPSampler.domain"/>
  6421. <stringProp name="HTTPSampler.port"/>
  6422. <stringProp name="HTTPSampler.connect_timeout"/>
  6423. <stringProp name="HTTPSampler.response_timeout"/>
  6424. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6425. <stringProp name="HTTPSampler.contentEncoding"/>
  6426. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/payment-information</stringProp>
  6427. <stringProp name="HTTPSampler.method">POST</stringProp>
  6428. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6429. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6430. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6431. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6432. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6433. <stringProp name="HTTPSampler.embedded_url_re"/>
  6434. </HTTPSamplerProxy>
  6435. <hashTree>
  6436. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6437. <collectionProp name="HeaderManager.headers">
  6438. <elementProp name="" elementType="Header">
  6439. <stringProp name="Header.name">Referer</stringProp>
  6440. <stringProp name="Header.value">${host}${base_path}checkout/onepage</stringProp>
  6441. </elementProp>
  6442. <elementProp name="" elementType="Header">
  6443. <stringProp name="Header.name">Content-Type</stringProp>
  6444. <stringProp name="Header.value">application/json; charset=UTF-8 </stringProp>
  6445. </elementProp>
  6446. <elementProp name="" elementType="Header">
  6447. <stringProp name="Header.name">Accept</stringProp>
  6448. <stringProp name="Header.value">application/json</stringProp>
  6449. </elementProp>
  6450. <elementProp name="" elementType="Header">
  6451. <stringProp name="Header.name">X-Requested-With</stringProp>
  6452. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6453. </elementProp>
  6454. </collectionProp>
  6455. </HeaderManager>
  6456. <hashTree/>
  6457. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert order number" enabled="true">
  6458. <collectionProp name="Asserion.test_strings">
  6459. <stringProp name="-297987887">"[0-9]+"</stringProp>
  6460. </collectionProp>
  6461. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6462. <boolProp name="Assertion.assume_success">false</boolProp>
  6463. <intProp name="Assertion.test_type">2</intProp>
  6464. </ResponseAssertion>
  6465. <hashTree/>
  6466. </hashTree>
  6467. <GaussianRandomTimer guiclass="GaussianRandomTimerGui" testclass="GaussianRandomTimer" testname="Random Timer" enabled="true">
  6468. <stringProp name="ConstantTimer.delay">${think_time_delay_offset}</stringProp>
  6469. <stringProp name="RandomTimer.range">${think_time_deviation}</stringProp>
  6470. </GaussianRandomTimer>
  6471. <hashTree/>
  6472. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout success${__property(activeAdminThread)}(${testLabel})" enabled="true">
  6473. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6474. <collectionProp name="Arguments.arguments"/>
  6475. </elementProp>
  6476. <stringProp name="HTTPSampler.domain"/>
  6477. <stringProp name="HTTPSampler.port"/>
  6478. <stringProp name="HTTPSampler.connect_timeout"/>
  6479. <stringProp name="HTTPSampler.response_timeout"/>
  6480. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6481. <stringProp name="HTTPSampler.contentEncoding"/>
  6482. <stringProp name="HTTPSampler.path">${base_path}checkout/onepage/success/</stringProp>
  6483. <stringProp name="HTTPSampler.method">GET</stringProp>
  6484. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6485. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6486. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6487. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6488. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6489. <stringProp name="HTTPSampler.embedded_url_re"/>
  6490. </HTTPSamplerProxy>
  6491. <hashTree>
  6492. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  6493. <collectionProp name="Asserion.test_strings">
  6494. <stringProp name="494863233">Thank you for your purchase!</stringProp>
  6495. <stringProp name="-1590086334">Your order number is</stringProp>
  6496. </collectionProp>
  6497. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6498. <boolProp name="Assertion.assume_success">false</boolProp>
  6499. <intProp name="Assertion.test_type">2</intProp>
  6500. </ResponseAssertion>
  6501. <hashTree/>
  6502. </hashTree>
  6503. </hashTree>
  6504. <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
  6505. <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
  6506. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  6507. <boolProp name="LoopController.continue_forever">false</boolProp>
  6508. <stringProp name="LoopController.loops">1</stringProp>
  6509. </elementProp>
  6510. <stringProp name="ThreadGroup.num_threads">1</stringProp>
  6511. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  6512. <longProp name="ThreadGroup.start_time">1395324075000</longProp>
  6513. <longProp name="ThreadGroup.end_time">1395324075000</longProp>
  6514. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  6515. <stringProp name="ThreadGroup.duration"/>
  6516. <stringProp name="ThreadGroup.delay"/>
  6517. </PostThreadGroup>
  6518. <hashTree>
  6519. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller: Dashboard enabled?" enabled="true">
  6520. <stringProp name="IfController.condition">"${dashboard_enabled}" == "1"</stringProp>
  6521. <boolProp name="IfController.evaluateAll">false</boolProp>
  6522. </IfController>
  6523. <hashTree>
  6524. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Trigger End Event" enabled="true">
  6525. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6526. <collectionProp name="Arguments.arguments">
  6527. <elementProp name="environment" elementType="HTTPArgument">
  6528. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6529. <stringProp name="Argument.value">${__property(environment)}</stringProp>
  6530. <stringProp name="Argument.metadata">=</stringProp>
  6531. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6532. <stringProp name="Argument.name">environment</stringProp>
  6533. </elementProp>
  6534. <elementProp name="startTime" elementType="HTTPArgument">
  6535. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6536. <stringProp name="Argument.value">${start_time}</stringProp>
  6537. <stringProp name="Argument.metadata">=</stringProp>
  6538. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6539. <stringProp name="Argument.name">startTime</stringProp>
  6540. </elementProp>
  6541. <elementProp name="endTime" elementType="HTTPArgument">
  6542. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6543. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  6544. <stringProp name="Argument.metadata">=</stringProp>
  6545. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6546. <stringProp name="Argument.name">endTime</stringProp>
  6547. </elementProp>
  6548. <elementProp name="stats_server" elementType="HTTPArgument">
  6549. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6550. <stringProp name="Argument.value">${redis_host}</stringProp>
  6551. <stringProp name="Argument.metadata">=</stringProp>
  6552. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6553. <stringProp name="Argument.name">stats_server</stringProp>
  6554. </elementProp>
  6555. </collectionProp>
  6556. </elementProp>
  6557. <stringProp name="HTTPSampler.domain"/>
  6558. <stringProp name="HTTPSampler.port"/>
  6559. <stringProp name="HTTPSampler.connect_timeout"/>
  6560. <stringProp name="HTTPSampler.response_timeout"/>
  6561. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6562. <stringProp name="HTTPSampler.contentEncoding"/>
  6563. <stringProp name="HTTPSampler.path">${base_path}DeploymentEvent.php</stringProp>
  6564. <stringProp name="HTTPSampler.method">POST</stringProp>
  6565. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6566. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6567. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6568. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6569. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6570. <stringProp name="HTTPSampler.embedded_url_re"/>
  6571. </HTTPSamplerProxy>
  6572. <hashTree/>
  6573. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert curl call was successful" enabled="true">
  6574. <collectionProp name="Asserion.test_strings">
  6575. <stringProp name="185669135">Errors:</stringProp>
  6576. </collectionProp>
  6577. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6578. <boolProp name="Assertion.assume_success">false</boolProp>
  6579. <intProp name="Assertion.test_type">6</intProp>
  6580. </ResponseAssertion>
  6581. <hashTree/>
  6582. </hashTree>
  6583. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  6584. <collectionProp name="CookieManager.cookies">
  6585. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  6586. <stringProp name="Cookie.value">30</stringProp>
  6587. <stringProp name="Cookie.domain">${host}</stringProp>
  6588. <stringProp name="Cookie.path">/</stringProp>
  6589. <boolProp name="Cookie.secure">false</boolProp>
  6590. <longProp name="Cookie.expires">0</longProp>
  6591. <boolProp name="Cookie.path_specified">true</boolProp>
  6592. <boolProp name="Cookie.domain_specified">true</boolProp>
  6593. </elementProp>
  6594. </collectionProp>
  6595. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  6596. </CookieManager>
  6597. <hashTree/>
  6598. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Clear properties" enabled="true">
  6599. <stringProp name="BeanShellSampler.query">props.remove("category_url_key");
  6600. props.remove("category_name");
  6601. props.remove("simple_products_list");
  6602. props.remove("configurable_products_list");
  6603. props.remove("users");
  6604. props.remove("customer_emails_list");</stringProp>
  6605. <stringProp name="BeanShellSampler.filename"/>
  6606. <stringProp name="BeanShellSampler.parameters"/>
  6607. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  6608. </BeanShellSampler>
  6609. <hashTree/>
  6610. </hashTree>
  6611. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  6612. <boolProp name="ResultCollector.error_logging">false</boolProp>
  6613. <objProp>
  6614. <name>saveConfig</name>
  6615. <value class="SampleSaveConfiguration">
  6616. <time>true</time>
  6617. <latency>true</latency>
  6618. <timestamp>true</timestamp>
  6619. <success>true</success>
  6620. <label>true</label>
  6621. <code>true</code>
  6622. <message>true</message>
  6623. <threadName>true</threadName>
  6624. <dataType>true</dataType>
  6625. <encoding>false</encoding>
  6626. <assertions>true</assertions>
  6627. <subresults>true</subresults>
  6628. <responseData>false</responseData>
  6629. <samplerData>false</samplerData>
  6630. <xml>false</xml>
  6631. <fieldNames>false</fieldNames>
  6632. <responseHeaders>false</responseHeaders>
  6633. <requestHeaders>false</requestHeaders>
  6634. <responseDataOnError>false</responseDataOnError>
  6635. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  6636. <assertionsResultsToSave>0</assertionsResultsToSave>
  6637. <bytes>true</bytes>
  6638. <threadCounts>true</threadCounts>
  6639. </value>
  6640. </objProp>
  6641. <objProp>
  6642. <name/>
  6643. <value class="SampleSaveConfiguration">
  6644. <time>true</time>
  6645. <latency>true</latency>
  6646. <timestamp>true</timestamp>
  6647. <success>true</success>
  6648. <label>true</label>
  6649. <code>true</code>
  6650. <message>true</message>
  6651. <threadName>true</threadName>
  6652. <dataType>true</dataType>
  6653. <encoding>false</encoding>
  6654. <assertions>true</assertions>
  6655. <subresults>true</subresults>
  6656. <responseData>false</responseData>
  6657. <samplerData>false</samplerData>
  6658. <xml>true</xml>
  6659. <fieldNames>false</fieldNames>
  6660. <responseHeaders>false</responseHeaders>
  6661. <requestHeaders>true</requestHeaders>
  6662. <responseDataOnError>false</responseDataOnError>
  6663. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  6664. <assertionsResultsToSave>0</assertionsResultsToSave>
  6665. <bytes>true</bytes>
  6666. <hostname>true</hostname>
  6667. <threadCounts>true</threadCounts>
  6668. <sampleCount>true</sampleCount>
  6669. </value>
  6670. </objProp>
  6671. <stringProp name="filename"/>
  6672. </ResultCollector>
  6673. <hashTree/>
  6674. <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="Detailed URLs report" enabled="true">
  6675. <boolProp name="ResultCollector.error_logging">false</boolProp>
  6676. <objProp>
  6677. <name>saveConfig</name>
  6678. <value class="SampleSaveConfiguration">
  6679. <time>true</time>
  6680. <latency>false</latency>
  6681. <timestamp>false</timestamp>
  6682. <success>false</success>
  6683. <label>true</label>
  6684. <code>false</code>
  6685. <message>false</message>
  6686. <threadName>false</threadName>
  6687. <dataType>false</dataType>
  6688. <encoding>false</encoding>
  6689. <assertions>false</assertions>
  6690. <subresults>false</subresults>
  6691. <responseData>false</responseData>
  6692. <samplerData>false</samplerData>
  6693. <xml>false</xml>
  6694. <fieldNames>true</fieldNames>
  6695. <responseHeaders>false</responseHeaders>
  6696. <requestHeaders>false</requestHeaders>
  6697. <responseDataOnError>false</responseDataOnError>
  6698. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  6699. <assertionsResultsToSave>0</assertionsResultsToSave>
  6700. <url>true</url>
  6701. <hostname>true</hostname>
  6702. <threadCounts>true</threadCounts>
  6703. <sampleCount>true</sampleCount>
  6704. </value>
  6705. </objProp>
  6706. <stringProp name="filename">${report_save_path}/detailed-urls-report.log</stringProp>
  6707. </ResultCollector>
  6708. <hashTree/>
  6709. <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
  6710. <boolProp name="ResultCollector.error_logging">false</boolProp>
  6711. <objProp>
  6712. <name>saveConfig</name>
  6713. <value class="SampleSaveConfiguration">
  6714. <time>true</time>
  6715. <latency>true</latency>
  6716. <timestamp>true</timestamp>
  6717. <success>true</success>
  6718. <label>true</label>
  6719. <code>true</code>
  6720. <message>true</message>
  6721. <threadName>true</threadName>
  6722. <dataType>true</dataType>
  6723. <encoding>false</encoding>
  6724. <assertions>true</assertions>
  6725. <subresults>true</subresults>
  6726. <responseData>false</responseData>
  6727. <samplerData>false</samplerData>
  6728. <xml>false</xml>
  6729. <fieldNames>false</fieldNames>
  6730. <responseHeaders>false</responseHeaders>
  6731. <requestHeaders>false</requestHeaders>
  6732. <responseDataOnError>false</responseDataOnError>
  6733. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  6734. <assertionsResultsToSave>0</assertionsResultsToSave>
  6735. <bytes>true</bytes>
  6736. <hostname>true</hostname>
  6737. <threadCounts>true</threadCounts>
  6738. <sampleCount>true</sampleCount>
  6739. </value>
  6740. </objProp>
  6741. <stringProp name="filename">${report_save_path}/summary-report.log</stringProp>
  6742. </ResultCollector>
  6743. <hashTree/>
  6744. </hashTree>
  6745. <WorkBench guiclass="WorkBenchGui" testclass="WorkBench" testname="WorkBench" enabled="true">
  6746. <boolProp name="WorkBench.save">true</boolProp>
  6747. </WorkBench>
  6748. </hashTree>
  6749. </jmeterTestPlan>