benchmark.jmx 2.7 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854
  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="3.1" jmeter="3.1 r1770033">
  9. <hashTree>
  10. <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Benchmark" 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="host" elementType="Argument">
  18. <stringProp name="Argument.name">host</stringProp>
  19. <stringProp name="Argument.value">${__P(host,localhost)}</stringProp>
  20. <stringProp name="Argument.metadata">=</stringProp>
  21. </elementProp>
  22. <elementProp name="base_path" elementType="Argument">
  23. <stringProp name="Argument.name">base_path</stringProp>
  24. <stringProp name="Argument.value">${__P(base_path,/)}</stringProp>
  25. <stringProp name="Argument.metadata">=</stringProp>
  26. </elementProp>
  27. <elementProp name="files_folder" elementType="Argument">
  28. <stringProp name="Argument.name">files_folder</stringProp>
  29. <stringProp name="Argument.value">${__P(files_folder,./files/)}</stringProp>
  30. <stringProp name="Argument.metadata">=</stringProp>
  31. </elementProp>
  32. <elementProp name="request_protocol" elementType="Argument">
  33. <stringProp name="Argument.name">request_protocol</stringProp>
  34. <stringProp name="Argument.value">${__P(request_protocol,http)}</stringProp>
  35. <stringProp name="Argument.metadata">=</stringProp>
  36. </elementProp>
  37. <elementProp name="admin_password" elementType="Argument">
  38. <stringProp name="Argument.name">admin_password</stringProp>
  39. <stringProp name="Argument.value">${__P(admin_password,123123q)}</stringProp>
  40. <stringProp name="Argument.metadata">=</stringProp>
  41. </elementProp>
  42. <elementProp name="admin_path" elementType="Argument">
  43. <stringProp name="Argument.name">admin_path</stringProp>
  44. <stringProp name="Argument.value">${__P(admin_path,admin)}</stringProp>
  45. <stringProp name="Argument.metadata">=</stringProp>
  46. </elementProp>
  47. <elementProp name="admin_user" elementType="Argument">
  48. <stringProp name="Argument.name">admin_user</stringProp>
  49. <stringProp name="Argument.value">${__P(admin_user,admin)}</stringProp>
  50. <stringProp name="Argument.metadata">=</stringProp>
  51. </elementProp>
  52. <elementProp name="seedForRandom" elementType="Argument">
  53. <stringProp name="Argument.name">seedForRandom</stringProp>
  54. <stringProp name="Argument.value">${__P(seedForRandom,1)}</stringProp>
  55. <stringProp name="Argument.metadata">=</stringProp>
  56. </elementProp>
  57. <elementProp name="loops" elementType="Argument">
  58. <stringProp name="Argument.name">loops</stringProp>
  59. <stringProp name="Argument.value">${__P(loops,1)}</stringProp>
  60. <stringProp name="Argument.metadata">=</stringProp>
  61. </elementProp>
  62. <elementProp name="accountManagementPercentage" elementType="Argument">
  63. <stringProp name="Argument.name">accountManagementPercentage</stringProp>
  64. <stringProp name="Argument.value">${__P(accountManagementPercentage,0)}</stringProp>
  65. <stringProp name="Argument.metadata">=</stringProp>
  66. </elementProp>
  67. <elementProp name="addToCartByCustomerPercentage" elementType="Argument">
  68. <stringProp name="Argument.name">addToCartByCustomerPercentage</stringProp>
  69. <stringProp name="Argument.value">${__P(addToCartByCustomerPercentage,0)}</stringProp>
  70. <stringProp name="Argument.metadata">=</stringProp>
  71. </elementProp>
  72. <elementProp name="addToCartByGuestPercentage" elementType="Argument">
  73. <stringProp name="Argument.name">addToCartByGuestPercentage</stringProp>
  74. <stringProp name="Argument.value">${__P(addToCartByGuestPercentage,28)}</stringProp>
  75. <stringProp name="Argument.metadata">=</stringProp>
  76. </elementProp>
  77. <elementProp name="addToWishlistPercentage" elementType="Argument">
  78. <stringProp name="Argument.name">addToWishlistPercentage</stringProp>
  79. <stringProp name="Argument.value">${__P(addToWishlistPercentage,2)}</stringProp>
  80. <stringProp name="Argument.metadata">=</stringProp>
  81. </elementProp>
  82. <elementProp name="adminCMSManagementDelay" elementType="Argument">
  83. <stringProp name="Argument.name">adminCMSManagementDelay</stringProp>
  84. <stringProp name="Argument.value">${__P(adminCMSManagementDelay,0)}</stringProp>
  85. <stringProp name="Argument.metadata">=</stringProp>
  86. </elementProp>
  87. <elementProp name="adminCMSManagementPercentage" elementType="Argument">
  88. <stringProp name="Argument.name">adminCMSManagementPercentage</stringProp>
  89. <stringProp name="Argument.value">${__P(adminCMSManagementPercentage,0)}</stringProp>
  90. <stringProp name="Argument.metadata">=</stringProp>
  91. </elementProp>
  92. <elementProp name="adminCategoryCount" elementType="Argument">
  93. <stringProp name="Argument.name">adminCategoryCount</stringProp>
  94. <stringProp name="Argument.value">${__P(adminCategoryCount,0)}</stringProp>
  95. <stringProp name="Argument.metadata">=</stringProp>
  96. </elementProp>
  97. <elementProp name="adminCategoryManagementDelay" elementType="Argument">
  98. <stringProp name="Argument.name">adminCategoryManagementDelay</stringProp>
  99. <stringProp name="Argument.value">${__P(adminCategoryManagementDelay,0)}</stringProp>
  100. <stringProp name="Argument.metadata">=</stringProp>
  101. </elementProp>
  102. <elementProp name="adminCategoryManagementPercentage" elementType="Argument">
  103. <stringProp name="Argument.name">adminCategoryManagementPercentage</stringProp>
  104. <stringProp name="Argument.value">${__P(adminCategoryManagementPercentage,10)}</stringProp>
  105. <stringProp name="Argument.metadata">=</stringProp>
  106. </elementProp>
  107. <elementProp name="adminCreateOrderPercentage" elementType="Argument">
  108. <stringProp name="Argument.name">adminCreateOrderPercentage</stringProp>
  109. <stringProp name="Argument.value">${__P(adminCreateOrderPercentage,70)}</stringProp>
  110. <stringProp name="Argument.metadata">=</stringProp>
  111. </elementProp>
  112. <elementProp name="adminCreateProcessReturns" elementType="Argument">
  113. <stringProp name="Argument.name">adminCreateProcessReturns</stringProp>
  114. <stringProp name="Argument.value">${__P(adminCreateProcessReturns,0)}</stringProp>
  115. <stringProp name="Argument.metadata">=</stringProp>
  116. </elementProp>
  117. <elementProp name="adminCreateProcessReturnsDelay" elementType="Argument">
  118. <stringProp name="Argument.name">adminCreateProcessReturnsDelay</stringProp>
  119. <stringProp name="Argument.value">${__P(adminCreateProcessReturnsDelay,0)}</stringProp>
  120. <stringProp name="Argument.metadata">=</stringProp>
  121. </elementProp>
  122. <elementProp name="adminCustomerManagementDelay" elementType="Argument">
  123. <stringProp name="Argument.name">adminCustomerManagementDelay</stringProp>
  124. <stringProp name="Argument.value">${__P(adminCustomerManagementDelay,0)}</stringProp>
  125. <stringProp name="Argument.metadata">=</stringProp>
  126. </elementProp>
  127. <elementProp name="adminCustomerManagementPercentage" elementType="Argument">
  128. <stringProp name="Argument.name">adminCustomerManagementPercentage</stringProp>
  129. <stringProp name="Argument.value">${__P(adminCustomerManagementPercentage,0)}</stringProp>
  130. <stringProp name="Argument.metadata">=</stringProp>
  131. </elementProp>
  132. <elementProp name="adminEditOrder" elementType="Argument">
  133. <stringProp name="Argument.name">adminEditOrder</stringProp>
  134. <stringProp name="Argument.value">${__P(adminEditOrder,0)}</stringProp>
  135. <stringProp name="Argument.metadata">=</stringProp>
  136. </elementProp>
  137. <elementProp name="adminEditOrderPercentage" elementType="Argument">
  138. <stringProp name="Argument.name">adminEditOrderPercentage</stringProp>
  139. <stringProp name="Argument.value">${__P(adminEditOrderPercentage,15)}</stringProp>
  140. <stringProp name="Argument.metadata">=</stringProp>
  141. </elementProp>
  142. <elementProp name="adminEditProduct" elementType="Argument">
  143. <stringProp name="Argument.name">adminEditProduct</stringProp>
  144. <stringProp name="Argument.value">${__P(adminEditProduct,0)}</stringProp>
  145. <stringProp name="Argument.metadata">=</stringProp>
  146. </elementProp>
  147. <elementProp name="adminImportCustomerBehavior" elementType="Argument">
  148. <stringProp name="Argument.name">adminImportCustomerBehavior</stringProp>
  149. <stringProp name="Argument.value">${__P(adminImportCustomerBehavior,append)}</stringProp>
  150. <stringProp name="Argument.metadata">=</stringProp>
  151. </elementProp>
  152. <elementProp name="adminImportCustomerFilePath" elementType="Argument">
  153. <stringProp name="Argument.name">adminImportCustomerFilePath</stringProp>
  154. <stringProp name="Argument.value">${__P(adminImportCustomerFilePath,import_customers/customer_import_addupdate.csv)}</stringProp>
  155. <stringProp name="Argument.metadata">=</stringProp>
  156. </elementProp>
  157. <elementProp name="adminImportProductBehavior" elementType="Argument">
  158. <stringProp name="Argument.name">adminImportProductBehavior</stringProp>
  159. <stringProp name="Argument.value">${__P(adminImportProductBehavior,append)}</stringProp>
  160. <stringProp name="Argument.metadata">=</stringProp>
  161. </elementProp>
  162. <elementProp name="adminImportProductFilePath" elementType="Argument">
  163. <stringProp name="Argument.name">adminImportProductFilePath</stringProp>
  164. <stringProp name="Argument.value">${__P(adminImportProductFilePath,import_products/product_import_append_1.csv)}</stringProp>
  165. <stringProp name="Argument.metadata">=</stringProp>
  166. </elementProp>
  167. <elementProp name="adminPoolUsers" elementType="Argument">
  168. <stringProp name="Argument.name">adminPoolUsers</stringProp>
  169. <stringProp name="Argument.value">${__P(adminPoolUsers,1)}</stringProp>
  170. <stringProp name="Argument.metadata">=</stringProp>
  171. </elementProp>
  172. <elementProp name="adminProductCreationPercentage" elementType="Argument">
  173. <stringProp name="Argument.name">adminProductCreationPercentage</stringProp>
  174. <stringProp name="Argument.value">${__P(adminProductCreationPercentage,25)}</stringProp>
  175. <stringProp name="Argument.metadata">=</stringProp>
  176. </elementProp>
  177. <elementProp name="adminProductEditingPercentage" elementType="Argument">
  178. <stringProp name="Argument.name">adminProductEditingPercentage</stringProp>
  179. <stringProp name="Argument.value">${__P(adminProductEditingPercentage,35)}</stringProp>
  180. <stringProp name="Argument.metadata">=</stringProp>
  181. </elementProp>
  182. <elementProp name="adminPromotionRulesPercentage" elementType="Argument">
  183. <stringProp name="Argument.name">adminPromotionRulesPercentage</stringProp>
  184. <stringProp name="Argument.value">${__P(adminPromotionRulesPercentage,15)}</stringProp>
  185. <stringProp name="Argument.metadata">=</stringProp>
  186. </elementProp>
  187. <elementProp name="adminPromotionsManagement" elementType="Argument">
  188. <stringProp name="Argument.name">adminPromotionsManagement</stringProp>
  189. <stringProp name="Argument.value">${__P(adminPromotionsManagement,0)}</stringProp>
  190. <stringProp name="Argument.metadata">=</stringProp>
  191. </elementProp>
  192. <elementProp name="adminPromotionsManagementDelay" elementType="Argument">
  193. <stringProp name="Argument.name">adminPromotionsManagementDelay</stringProp>
  194. <stringProp name="Argument.value">${__P(adminPromotionsManagementDelay,0)}</stringProp>
  195. <stringProp name="Argument.metadata">=</stringProp>
  196. </elementProp>
  197. <elementProp name="adminReturnsManagementPercentage" elementType="Argument">
  198. <stringProp name="Argument.name">adminReturnsManagementPercentage</stringProp>
  199. <stringProp name="Argument.value">${__P(adminReturnsManagementPercentage,20)}</stringProp>
  200. <stringProp name="Argument.metadata">=</stringProp>
  201. </elementProp>
  202. <elementProp name="admin_browse_customer_filter_text" elementType="Argument">
  203. <stringProp name="Argument.name">admin_browse_customer_filter_text</stringProp>
  204. <stringProp name="Argument.value">${__P(admin_browse_customer_filter_text,Firstname)}</stringProp>
  205. <stringProp name="Argument.metadata">=</stringProp>
  206. </elementProp>
  207. <elementProp name="admin_browse_orders_filter_text" elementType="Argument">
  208. <stringProp name="Argument.name">admin_browse_orders_filter_text</stringProp>
  209. <stringProp name="Argument.value">${__P(admin_browse_orders_filter_text,pending)}</stringProp>
  210. <stringProp name="Argument.metadata">=</stringProp>
  211. </elementProp>
  212. <elementProp name="admin_browse_product_filter_text" elementType="Argument">
  213. <stringProp name="Argument.name">admin_browse_product_filter_text</stringProp>
  214. <stringProp name="Argument.value">${__P(admin_browse_product_filter_text,Product)}</stringProp>
  215. <stringProp name="Argument.metadata">=</stringProp>
  216. </elementProp>
  217. <elementProp name="admin_users_distribution_per_admin_pool" elementType="Argument">
  218. <stringProp name="Argument.name">admin_users_distribution_per_admin_pool</stringProp>
  219. <stringProp name="Argument.value">${__P(admin_users_distribution_per_admin_pool,1)}</stringProp>
  220. <stringProp name="Argument.metadata">=</stringProp>
  221. </elementProp>
  222. <elementProp name="apiBasePercentage" elementType="Argument">
  223. <stringProp name="Argument.name">apiBasePercentage</stringProp>
  224. <stringProp name="Argument.value">${__P(apiBasePercentage,0)}</stringProp>
  225. <stringProp name="Argument.metadata">=</stringProp>
  226. </elementProp>
  227. <elementProp name="apiOrderInvoiceShipmentSync" elementType="Argument">
  228. <stringProp name="Argument.name">apiOrderInvoiceShipmentSync</stringProp>
  229. <stringProp name="Argument.value">${__P(apiOrderInvoiceShipmentSync,0)}</stringProp>
  230. <stringProp name="Argument.metadata">=</stringProp>
  231. </elementProp>
  232. <elementProp name="apiPoolUsers" elementType="Argument">
  233. <stringProp name="Argument.name">apiPoolUsers</stringProp>
  234. <stringProp name="Argument.value">${__P(apiPoolUsers,0)}</stringProp>
  235. <stringProp name="Argument.metadata">=</stringProp>
  236. </elementProp>
  237. <elementProp name="apiProcessOrders" elementType="Argument">
  238. <stringProp name="Argument.name">apiProcessOrders</stringProp>
  239. <stringProp name="Argument.value">${__P(apiProcessOrders,1)}</stringProp>
  240. <stringProp name="Argument.metadata">=</stringProp>
  241. </elementProp>
  242. <elementProp name="bamboo_build_number" elementType="Argument">
  243. <stringProp name="Argument.name">bamboo_build_number</stringProp>
  244. <stringProp name="Argument.value">${__P(bamboo_build_number,)}</stringProp>
  245. <stringProp name="Argument.metadata">=</stringProp>
  246. </elementProp>
  247. <elementProp name="browseCatalogByCustomerPercentage" elementType="Argument">
  248. <stringProp name="Argument.name">browseCatalogByCustomerPercentage</stringProp>
  249. <stringProp name="Argument.value">${__P(browseCatalogByCustomerPercentage,0)}</stringProp>
  250. <stringProp name="Argument.metadata">=</stringProp>
  251. </elementProp>
  252. <elementProp name="browseCatalogByGuestPercentage" elementType="Argument">
  253. <stringProp name="Argument.name">browseCatalogByGuestPercentage</stringProp>
  254. <stringProp name="Argument.value">${__P(browseCatalogByGuestPercentage,30)}</stringProp>
  255. <stringProp name="Argument.metadata">=</stringProp>
  256. </elementProp>
  257. <elementProp name="browseCustomerGridPercentage" elementType="Argument">
  258. <stringProp name="Argument.name">browseCustomerGridPercentage</stringProp>
  259. <stringProp name="Argument.value">${__P(browseCustomerGridPercentage,10)}</stringProp>
  260. <stringProp name="Argument.metadata">=</stringProp>
  261. </elementProp>
  262. <elementProp name="browseOrderGridPercentage" elementType="Argument">
  263. <stringProp name="Argument.name">browseOrderGridPercentage</stringProp>
  264. <stringProp name="Argument.value">${__P(browseOrderGridPercentage,0)}</stringProp>
  265. <stringProp name="Argument.metadata">=</stringProp>
  266. </elementProp>
  267. <elementProp name="browseProductGridPercentage" elementType="Argument">
  268. <stringProp name="Argument.name">browseProductGridPercentage</stringProp>
  269. <stringProp name="Argument.value">${__P(browseProductGridPercentage,0)}</stringProp>
  270. <stringProp name="Argument.metadata">=</stringProp>
  271. </elementProp>
  272. <elementProp name="cache_hits_percentage" elementType="Argument">
  273. <stringProp name="Argument.name">cache_hits_percentage</stringProp>
  274. <stringProp name="Argument.value">${__P(cache_hits_percentage,100)}</stringProp>
  275. <stringProp name="Argument.metadata">=</stringProp>
  276. </elementProp>
  277. <elementProp name="catalogGraphQLPercentage" elementType="Argument">
  278. <stringProp name="Argument.name">catalogGraphQLPercentage</stringProp>
  279. <stringProp name="Argument.value">${__P(catalogGraphQLPercentage,0)}</stringProp>
  280. <stringProp name="Argument.metadata">=</stringProp>
  281. </elementProp>
  282. <elementProp name="categories_count" elementType="Argument">
  283. <stringProp name="Argument.name">categories_count</stringProp>
  284. <stringProp name="Argument.value">${__P(categories_count,100)}</stringProp>
  285. <stringProp name="Argument.metadata">=</stringProp>
  286. </elementProp>
  287. <elementProp name="checkoutByCustomerPercentage" elementType="Argument">
  288. <stringProp name="Argument.name">checkoutByCustomerPercentage</stringProp>
  289. <stringProp name="Argument.value">${__P(checkoutByCustomerPercentage,4)}</stringProp>
  290. <stringProp name="Argument.metadata">=</stringProp>
  291. </elementProp>
  292. <elementProp name="checkoutByGuestPercentage" elementType="Argument">
  293. <stringProp name="Argument.name">checkoutByGuestPercentage</stringProp>
  294. <stringProp name="Argument.value">${__P(checkoutByGuestPercentage,4)}</stringProp>
  295. <stringProp name="Argument.metadata">=</stringProp>
  296. </elementProp>
  297. <elementProp name="compareProductsPercentage" elementType="Argument">
  298. <stringProp name="Argument.name">compareProductsPercentage</stringProp>
  299. <stringProp name="Argument.value">${__P(compareProductsPercentage,2)}</stringProp>
  300. <stringProp name="Argument.metadata">=</stringProp>
  301. </elementProp>
  302. <elementProp name="configurable_products_count" elementType="Argument">
  303. <stringProp name="Argument.name">configurable_products_count</stringProp>
  304. <stringProp name="Argument.value">${__P(configurable_products_count,15)}</stringProp>
  305. <stringProp name="Argument.metadata">=</stringProp>
  306. </elementProp>
  307. <elementProp name="csrPoolUsers" elementType="Argument">
  308. <stringProp name="Argument.name">csrPoolUsers</stringProp>
  309. <stringProp name="Argument.value">${__P(csrPoolUsers,0)}</stringProp>
  310. <stringProp name="Argument.metadata">=</stringProp>
  311. </elementProp>
  312. <elementProp name="customer_checkout_percent" elementType="Argument">
  313. <stringProp name="Argument.name">customer_checkout_percent</stringProp>
  314. <stringProp name="Argument.value">${__P(customer_checkout_percent,100)}</stringProp>
  315. <stringProp name="Argument.metadata">=</stringProp>
  316. </elementProp>
  317. <elementProp name="customer_password" elementType="Argument">
  318. <stringProp name="Argument.name">customer_password</stringProp>
  319. <stringProp name="Argument.value">${__P(customer_password,123123q)}</stringProp>
  320. <stringProp name="Argument.metadata">=</stringProp>
  321. </elementProp>
  322. <elementProp name="customers_page_size" elementType="Argument">
  323. <stringProp name="Argument.name">customers_page_size</stringProp>
  324. <stringProp name="Argument.value">${__P(customers_page_size,100)}</stringProp>
  325. <stringProp name="Argument.metadata">=</stringProp>
  326. </elementProp>
  327. <elementProp name="dashboard_enabled" elementType="Argument">
  328. <stringProp name="Argument.name">dashboard_enabled</stringProp>
  329. <stringProp name="Argument.value">${__P(dashboard_enabled,0)}</stringProp>
  330. <stringProp name="Argument.metadata">=</stringProp>
  331. </elementProp>
  332. <elementProp name="deadLocksPoolUsers" elementType="Argument">
  333. <stringProp name="Argument.name">deadLocksPoolUsers</stringProp>
  334. <stringProp name="Argument.value">${__P(deadLocksPoolUsers,1)}</stringProp>
  335. <stringProp name="Argument.metadata">=</stringProp>
  336. </elementProp>
  337. <elementProp name="exportCustomersPercentage" elementType="Argument">
  338. <stringProp name="Argument.name">exportCustomersPercentage</stringProp>
  339. <stringProp name="Argument.value">${__P(exportCustomersPercentage,0)}</stringProp>
  340. <stringProp name="Argument.metadata">=</stringProp>
  341. </elementProp>
  342. <elementProp name="exportProductsPercentage" elementType="Argument">
  343. <stringProp name="Argument.name">exportProductsPercentage</stringProp>
  344. <stringProp name="Argument.value">${__P(exportProductsPercentage,0)}</stringProp>
  345. <stringProp name="Argument.metadata">=</stringProp>
  346. </elementProp>
  347. <elementProp name="form_key" elementType="Argument">
  348. <stringProp name="Argument.name">form_key</stringProp>
  349. <stringProp name="Argument.value">${__P(form_key,uVEW54r8kKday8Wk)}</stringProp>
  350. <stringProp name="Argument.metadata">=</stringProp>
  351. </elementProp>
  352. <elementProp name="frontendPoolUsers" elementType="Argument">
  353. <stringProp name="Argument.name">frontendPoolUsers</stringProp>
  354. <stringProp name="Argument.value">${__P(frontendPoolUsers,1)}</stringProp>
  355. <stringProp name="Argument.metadata">=</stringProp>
  356. </elementProp>
  357. <elementProp name="guest_checkout_percent" elementType="Argument">
  358. <stringProp name="Argument.name">guest_checkout_percent</stringProp>
  359. <stringProp name="Argument.value">${__P(guest_checkout_percent,100)}</stringProp>
  360. <stringProp name="Argument.metadata">=</stringProp>
  361. </elementProp>
  362. <elementProp name="importCustomersPercentage" elementType="Argument">
  363. <stringProp name="Argument.name">importCustomersPercentage</stringProp>
  364. <stringProp name="Argument.value">${__P(importCustomersPercentage,0)}</stringProp>
  365. <stringProp name="Argument.metadata">=</stringProp>
  366. </elementProp>
  367. <elementProp name="importProductsPercentage" elementType="Argument">
  368. <stringProp name="Argument.name">importProductsPercentage</stringProp>
  369. <stringProp name="Argument.value">${__P(importProductsPercentage,0)}</stringProp>
  370. <stringProp name="Argument.metadata">=</stringProp>
  371. </elementProp>
  372. <elementProp name="lineItemsAmount" elementType="Argument">
  373. <stringProp name="Argument.name">lineItemsAmount</stringProp>
  374. <stringProp name="Argument.value">${__P(lineItemsAmount,10)}</stringProp>
  375. <stringProp name="Argument.metadata">=</stringProp>
  376. </elementProp>
  377. <elementProp name="orders_page_size" elementType="Argument">
  378. <stringProp name="Argument.name">orders_page_size</stringProp>
  379. <stringProp name="Argument.value">${__P(orders_page_size,20)}</stringProp>
  380. <stringProp name="Argument.metadata">=</stringProp>
  381. </elementProp>
  382. <elementProp name="productCompareDelay" elementType="Argument">
  383. <stringProp name="Argument.name">productCompareDelay</stringProp>
  384. <stringProp name="Argument.value">${__P(productCompareDelay,0)}</stringProp>
  385. <stringProp name="Argument.metadata">=</stringProp>
  386. </elementProp>
  387. <elementProp name="productGridMassActionPercentage" elementType="Argument">
  388. <stringProp name="Argument.name">productGridMassActionPercentage</stringProp>
  389. <stringProp name="Argument.value">${__P(productGridMassActionPercentage,0)}</stringProp>
  390. <stringProp name="Argument.metadata">=</stringProp>
  391. </elementProp>
  392. <elementProp name="products_page_size" elementType="Argument">
  393. <stringProp name="Argument.name">products_page_size</stringProp>
  394. <stringProp name="Argument.value">${__P(products_page_size,20)}</stringProp>
  395. <stringProp name="Argument.metadata">=</stringProp>
  396. </elementProp>
  397. <elementProp name="ramp_period" elementType="Argument">
  398. <stringProp name="Argument.name">ramp_period</stringProp>
  399. <stringProp name="Argument.value">${__P(ramp_period,0)}</stringProp>
  400. <stringProp name="Argument.metadata">=</stringProp>
  401. </elementProp>
  402. <elementProp name="redis_host" elementType="Argument">
  403. <stringProp name="Argument.name">redis_host</stringProp>
  404. <stringProp name="Argument.value">${__P(redis_host,)}</stringProp>
  405. <stringProp name="Argument.metadata">=</stringProp>
  406. </elementProp>
  407. <elementProp name="report_save_path" elementType="Argument">
  408. <stringProp name="Argument.name">report_save_path</stringProp>
  409. <stringProp name="Argument.value">${__P(report_save_path,./)}</stringProp>
  410. <stringProp name="Argument.metadata">=</stringProp>
  411. </elementProp>
  412. <elementProp name="response_time_file_name" elementType="Argument">
  413. <stringProp name="Argument.name">response_time_file_name</stringProp>
  414. <stringProp name="Argument.value">${__P(response_time_file_name,production.csv)}</stringProp>
  415. <stringProp name="Argument.metadata">=</stringProp>
  416. </elementProp>
  417. <elementProp name="reviewByCustomerPercentage" elementType="Argument">
  418. <stringProp name="Argument.name">reviewByCustomerPercentage</stringProp>
  419. <stringProp name="Argument.value">${__P(reviewByCustomerPercentage,0)}</stringProp>
  420. <stringProp name="Argument.metadata">=</stringProp>
  421. </elementProp>
  422. <elementProp name="reviewDelay" elementType="Argument">
  423. <stringProp name="Argument.name">reviewDelay</stringProp>
  424. <stringProp name="Argument.value">${__P(reviewDelay,0)}</stringProp>
  425. <stringProp name="Argument.metadata">=</stringProp>
  426. </elementProp>
  427. <elementProp name="scenario" elementType="Argument">
  428. <stringProp name="Argument.name">scenario</stringProp>
  429. <stringProp name="Argument.value">${__P(scenario,)}</stringProp>
  430. <stringProp name="Argument.metadata">=</stringProp>
  431. </elementProp>
  432. <elementProp name="searchAdvancedPercentage" elementType="Argument">
  433. <stringProp name="Argument.name">searchAdvancedPercentage</stringProp>
  434. <stringProp name="Argument.value">${__P(searchAdvancedPercentage,10)}</stringProp>
  435. <stringProp name="Argument.metadata">=</stringProp>
  436. </elementProp>
  437. <elementProp name="searchQuickFilterPercentage" elementType="Argument">
  438. <stringProp name="Argument.name">searchQuickFilterPercentage</stringProp>
  439. <stringProp name="Argument.value">${__P(searchQuickFilterPercentage,30)}</stringProp>
  440. <stringProp name="Argument.metadata">=</stringProp>
  441. </elementProp>
  442. <elementProp name="searchQuickPercentage" elementType="Argument">
  443. <stringProp name="Argument.name">searchQuickPercentage</stringProp>
  444. <stringProp name="Argument.value">${__P(searchQuickPercentage,60)}</stringProp>
  445. <stringProp name="Argument.metadata">=</stringProp>
  446. </elementProp>
  447. <elementProp name="simple_products_count" elementType="Argument">
  448. <stringProp name="Argument.name">simple_products_count</stringProp>
  449. <stringProp name="Argument.value">${__P(simple_products_count,30)}</stringProp>
  450. <stringProp name="Argument.metadata">=</stringProp>
  451. </elementProp>
  452. <elementProp name="siteSearchPercentage" elementType="Argument">
  453. <stringProp name="Argument.name">siteSearchPercentage</stringProp>
  454. <stringProp name="Argument.value">${__P(siteSearchPercentage,30)}</stringProp>
  455. <stringProp name="Argument.metadata">=</stringProp>
  456. </elementProp>
  457. <elementProp name="sprint_identifier" elementType="Argument">
  458. <stringProp name="Argument.name">sprint_identifier</stringProp>
  459. <stringProp name="Argument.value">${__P(sprint_identifier,)}</stringProp>
  460. <stringProp name="Argument.metadata">=</stringProp>
  461. </elementProp>
  462. <elementProp name="start_time" elementType="Argument">
  463. <stringProp name="Argument.name">start_time</stringProp>
  464. <stringProp name="Argument.value">${__P(start_time,${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)})}</stringProp>
  465. <stringProp name="Argument.metadata">=</stringProp>
  466. </elementProp>
  467. <elementProp name="starting_index" elementType="Argument">
  468. <stringProp name="Argument.name">starting_index</stringProp>
  469. <stringProp name="Argument.value">${__P(starting_index,0)}</stringProp>
  470. <stringProp name="Argument.metadata">=</stringProp>
  471. </elementProp>
  472. <elementProp name="think_time_delay_offset" elementType="Argument">
  473. <stringProp name="Argument.name">think_time_delay_offset</stringProp>
  474. <stringProp name="Argument.value">${__P(think_time_delay_offset,2000)}</stringProp>
  475. <stringProp name="Argument.metadata">=</stringProp>
  476. </elementProp>
  477. <elementProp name="think_time_deviation" elementType="Argument">
  478. <stringProp name="Argument.name">think_time_deviation</stringProp>
  479. <stringProp name="Argument.value">${__P(think_time_deviation,1000)}</stringProp>
  480. <stringProp name="Argument.metadata">=</stringProp>
  481. </elementProp>
  482. <elementProp name="url_suffix" elementType="Argument">
  483. <stringProp name="Argument.name">url_suffix</stringProp>
  484. <stringProp name="Argument.value">${__P(url_suffix,.html)}</stringProp>
  485. <stringProp name="Argument.metadata">=</stringProp>
  486. </elementProp>
  487. <elementProp name="website_id" elementType="Argument">
  488. <stringProp name="Argument.name">website_id</stringProp>
  489. <stringProp name="Argument.value">${__P(website_id,1)}</stringProp>
  490. <stringProp name="Argument.metadata">=</stringProp>
  491. </elementProp>
  492. <elementProp name="wishlistDelay" elementType="Argument">
  493. <stringProp name="Argument.name">wishlistDelay</stringProp>
  494. <stringProp name="Argument.value">${__P(wishlistDelay,0)}</stringProp>
  495. <stringProp name="Argument.metadata">=</stringProp>
  496. </elementProp>
  497. </collectionProp>
  498. </elementProp>
  499. </TestPlan>
  500. <hashTree>
  501. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="false">
  502. <boolProp name="ResultCollector.error_logging">false</boolProp>
  503. <objProp>
  504. <value class="SampleSaveConfiguration">
  505. <time>true</time>
  506. <latency>true</latency>
  507. <timestamp>true</timestamp>
  508. <success>true</success>
  509. <label>true</label>
  510. <code>true</code>
  511. <message>true</message>
  512. <threadName>true</threadName>
  513. <dataType>true</dataType>
  514. <encoding>false</encoding>
  515. <assertions>true</assertions>
  516. <subresults>true</subresults>
  517. <responseData>false</responseData>
  518. <samplerData>false</samplerData>
  519. <xml>true</xml>
  520. <fieldNames>false</fieldNames>
  521. <responseHeaders>false</responseHeaders>
  522. <requestHeaders>true</requestHeaders>
  523. <responseDataOnError>false</responseDataOnError>
  524. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  525. <assertionsResultsToSave>0</assertionsResultsToSave>
  526. <bytes>true</bytes>
  527. <hostname>true</hostname>
  528. <threadCounts>true</threadCounts>
  529. <sampleCount>true</sampleCount>
  530. </value>
  531. </objProp>
  532. <stringProp name="filename"/>
  533. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/view_results_tree.jmx</stringProp></ResultCollector>
  534. <hashTree/>
  535. <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="false">
  536. <boolProp name="ResultCollector.error_logging">false</boolProp>
  537. <objProp>
  538. <name>saveConfig</name>
  539. <value class="SampleSaveConfiguration">
  540. <time>true</time>
  541. <latency>true</latency>
  542. <timestamp>true</timestamp>
  543. <success>true</success>
  544. <label>true</label>
  545. <code>true</code>
  546. <message>true</message>
  547. <threadName>true</threadName>
  548. <dataType>true</dataType>
  549. <encoding>false</encoding>
  550. <assertions>true</assertions>
  551. <subresults>true</subresults>
  552. <responseData>false</responseData>
  553. <samplerData>false</samplerData>
  554. <xml>false</xml>
  555. <fieldNames>true</fieldNames>
  556. <responseHeaders>false</responseHeaders>
  557. <requestHeaders>false</requestHeaders>
  558. <responseDataOnError>false</responseDataOnError>
  559. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  560. <assertionsResultsToSave>0</assertionsResultsToSave>
  561. <bytes>true</bytes>
  562. <threadCounts>true</threadCounts>
  563. <idleTime>true</idleTime>
  564. </value>
  565. </objProp>
  566. <stringProp name="filename">/tmp/aggregate-jmeter-results.jtl</stringProp>
  567. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/aggregate_report.jmx</stringProp></ResultCollector>
  568. <hashTree/>
  569. <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
  570. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  571. <collectionProp name="Arguments.arguments"/>
  572. </elementProp>
  573. <stringProp name="HTTPSampler.domain">${host}</stringProp>
  574. <stringProp name="HTTPSampler.port"/>
  575. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  576. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  577. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  578. <stringProp name="HTTPSampler.contentEncoding">utf-8</stringProp>
  579. <stringProp name="HTTPSampler.path"/>
  580. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  581. <stringProp name="HTTPSampler.concurrentPool">4</stringProp>
  582. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_request_default.jmx</stringProp></ConfigTestElement>
  583. <hashTree/>
  584. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  585. <collectionProp name="HeaderManager.headers">
  586. <elementProp name="Accept-Language" elementType="Header">
  587. <stringProp name="Header.name">Accept-Language</stringProp>
  588. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  589. </elementProp>
  590. <elementProp name="Accept" elementType="Header">
  591. <stringProp name="Header.name">Accept</stringProp>
  592. <stringProp name="Header.value">application/json,text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  593. </elementProp>
  594. <elementProp name="User-Agent" elementType="Header">
  595. <stringProp name="Header.name">User-Agent</stringProp>
  596. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  597. </elementProp>
  598. <elementProp name="Accept-Encoding" elementType="Header">
  599. <stringProp name="Header.name">Accept-Encoding</stringProp>
  600. <stringProp name="Header.value">gzip, deflate</stringProp>
  601. </elementProp>
  602. </collectionProp>
  603. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_header_manager.jmx</stringProp></HeaderManager>
  604. <hashTree/>
  605. <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
  606. <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
  607. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  608. <boolProp name="LoopController.continue_forever">false</boolProp>
  609. <stringProp name="LoopController.loops">1</stringProp>
  610. </elementProp>
  611. <stringProp name="ThreadGroup.num_threads">1</stringProp>
  612. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  613. <longProp name="ThreadGroup.start_time">1384333221000</longProp>
  614. <longProp name="ThreadGroup.end_time">1384333221000</longProp>
  615. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  616. <stringProp name="ThreadGroup.duration"/>
  617. <stringProp name="ThreadGroup.delay"/>
  618. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/setup.jmx</stringProp></SetupThreadGroup>
  619. <hashTree>
  620. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  621. <collectionProp name="CookieManager.cookies">
  622. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  623. <stringProp name="Cookie.value">30</stringProp>
  624. <stringProp name="Cookie.domain">${host}</stringProp>
  625. <stringProp name="Cookie.path">/</stringProp>
  626. <boolProp name="Cookie.secure">false</boolProp>
  627. <longProp name="Cookie.expires">0</longProp>
  628. <boolProp name="Cookie.path_specified">true</boolProp>
  629. <boolProp name="Cookie.domain_specified">true</boolProp>
  630. </elementProp>
  631. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  632. <stringProp name="Cookie.value">${form_key}</stringProp>
  633. <stringProp name="Cookie.domain">${host}</stringProp>
  634. <stringProp name="Cookie.path">${base_path}</stringProp>
  635. <boolProp name="Cookie.secure">false</boolProp>
  636. <longProp name="Cookie.expires">0</longProp>
  637. <boolProp name="Cookie.path_specified">true</boolProp>
  638. <boolProp name="Cookie.domain_specified">true</boolProp>
  639. </elementProp>
  640. </collectionProp>
  641. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  642. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  643. <hashTree/>
  644. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Initialize" enabled="true">
  645. <stringProp name="BeanShellSampler.query">
  646. props.remove("category_url_key");
  647. props.remove("category_url_keys_list");
  648. props.remove("category_name");
  649. props.remove("category_names_list");
  650. props.remove("simple_products_list");
  651. props.remove("simple_products_list_for_edit");
  652. props.remove("configurable_products_list");
  653. props.remove("configurable_products_list_for_edit");
  654. props.remove("users");
  655. props.remove("customer_emails_list");
  656. /* This is only used when admin is enabled. */
  657. props.put("activeAdminThread", "");
  658. /* Set the environment - at this time '01' or '02' */
  659. String path = "${host}";
  660. String environment = path.substring(4, 6);
  661. props.put("environment", environment);</stringProp>
  662. <stringProp name="BeanShellSampler.filename"/>
  663. <stringProp name="BeanShellSampler.parameters"/>
  664. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  665. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/initialize.jmx</stringProp></BeanShellSampler>
  666. <hashTree/>
  667. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: validate user defined variables" enabled="true">
  668. <stringProp name="BeanShellSampler.query">Boolean stopTestOnError (String error) {
  669. log.error(error);
  670. System.out.println(error);
  671. SampleResult.setStopTest(true);
  672. return false;
  673. }
  674. if ("${host}" == "1") {
  675. return stopTestOnError("\"host\" parameter is not defined. Please define host parameter as: \"-Jhost=example.com\"");
  676. }
  677. String path = "${base_path}";
  678. String slash = "/";
  679. if (!slash.equals(path.substring(path.length() -1)) || !slash.equals(path.substring(0, 1))) {
  680. return stopTestOnError("\"base_path\" parameter is invalid. It must start and end with \"/\"");
  681. }
  682. </stringProp>
  683. <stringProp name="BeanShellSampler.filename"/>
  684. <stringProp name="BeanShellSampler.parameters"/>
  685. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  686. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/validate_user_defined_variables.jmx</stringProp></BeanShellSampler>
  687. <hashTree/>
  688. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Login admin" enabled="true"/>
  689. <hashTree>
  690. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  691. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  692. <collectionProp name="Arguments.arguments"/>
  693. </elementProp>
  694. <stringProp name="HTTPSampler.domain"/>
  695. <stringProp name="HTTPSampler.port"/>
  696. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  697. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  698. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  699. <stringProp name="HTTPSampler.contentEncoding"/>
  700. <stringProp name="HTTPSampler.path">${base_path}${admin_path}</stringProp>
  701. <stringProp name="HTTPSampler.method">GET</stringProp>
  702. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  703. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  704. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  705. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  706. <boolProp name="HTTPSampler.monitor">false</boolProp>
  707. <stringProp name="HTTPSampler.embedded_url_re"/>
  708. </HTTPSamplerProxy>
  709. <hashTree>
  710. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  711. <collectionProp name="Asserion.test_strings">
  712. <stringProp name="-1397214398">Welcome</stringProp>
  713. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  714. </collectionProp>
  715. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  716. <boolProp name="Assertion.assume_success">false</boolProp>
  717. <intProp name="Assertion.test_type">2</intProp>
  718. </ResponseAssertion>
  719. <hashTree/>
  720. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  721. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  722. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  723. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  724. <stringProp name="RegexExtractor.template">$1$</stringProp>
  725. <stringProp name="RegexExtractor.default"/>
  726. <stringProp name="RegexExtractor.match_number">1</stringProp>
  727. </RegexExtractor>
  728. <hashTree/>
  729. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  730. <collectionProp name="Asserion.test_strings">
  731. <stringProp name="2845929">^.+$</stringProp>
  732. </collectionProp>
  733. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  734. <boolProp name="Assertion.assume_success">false</boolProp>
  735. <intProp name="Assertion.test_type">1</intProp>
  736. <stringProp name="Assertion.scope">variable</stringProp>
  737. <stringProp name="Scope.variable">admin_form_key</stringProp>
  738. </ResponseAssertion>
  739. <hashTree/>
  740. </hashTree>
  741. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  742. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  743. <collectionProp name="Arguments.arguments">
  744. <elementProp name="dummy" elementType="HTTPArgument">
  745. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  746. <stringProp name="Argument.value"/>
  747. <stringProp name="Argument.metadata">=</stringProp>
  748. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  749. <stringProp name="Argument.name">dummy</stringProp>
  750. </elementProp>
  751. <elementProp name="form_key" elementType="HTTPArgument">
  752. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  753. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  754. <stringProp name="Argument.metadata">=</stringProp>
  755. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  756. <stringProp name="Argument.name">form_key</stringProp>
  757. </elementProp>
  758. <elementProp name="login[password]" elementType="HTTPArgument">
  759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  760. <stringProp name="Argument.value">${admin_password}</stringProp>
  761. <stringProp name="Argument.metadata">=</stringProp>
  762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  763. <stringProp name="Argument.name">login[password]</stringProp>
  764. </elementProp>
  765. <elementProp name="login[username]" elementType="HTTPArgument">
  766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  767. <stringProp name="Argument.value">${admin_user}</stringProp>
  768. <stringProp name="Argument.metadata">=</stringProp>
  769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  770. <stringProp name="Argument.name">login[username]</stringProp>
  771. </elementProp>
  772. </collectionProp>
  773. </elementProp>
  774. <stringProp name="HTTPSampler.domain"/>
  775. <stringProp name="HTTPSampler.port"/>
  776. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  777. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  778. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  779. <stringProp name="HTTPSampler.contentEncoding"/>
  780. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  781. <stringProp name="HTTPSampler.method">POST</stringProp>
  782. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  783. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  784. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  785. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  786. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  787. <boolProp name="HTTPSampler.monitor">false</boolProp>
  788. <stringProp name="HTTPSampler.embedded_url_re"/>
  789. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/login.jmx</stringProp>
  790. </HTTPSamplerProxy>
  791. <hashTree>
  792. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert logged-in" enabled="true">
  793. <collectionProp name="Asserion.test_strings">
  794. <stringProp name="1847038912">&lt;title&gt;Dashboard / Magento Admin&lt;/title&gt;</stringProp>
  795. </collectionProp>
  796. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  797. <boolProp name="Assertion.assume_success">false</boolProp>
  798. <intProp name="Assertion.test_type">2</intProp>
  799. </ResponseAssertion>
  800. <hashTree/>
  801. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  802. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  803. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  804. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  805. <stringProp name="RegexExtractor.template">$1$</stringProp>
  806. <stringProp name="RegexExtractor.default"/>
  807. <stringProp name="RegexExtractor.match_number">1</stringProp>
  808. </RegexExtractor>
  809. <hashTree/>
  810. </hashTree>
  811. </hashTree>
  812. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract categories" enabled="true">
  813. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_categories.jmx</stringProp>
  814. </TestFragmentController>
  815. <hashTree>
  816. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Extract categories" enabled="true"/>
  817. <hashTree>
  818. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  819. <collectionProp name="HeaderManager.headers">
  820. <elementProp name="" elementType="Header">
  821. <stringProp name="Header.name">Content-Type</stringProp>
  822. <stringProp name="Header.value">application/json</stringProp>
  823. </elementProp>
  824. <elementProp name="" elementType="Header">
  825. <stringProp name="Header.name">Accept</stringProp>
  826. <stringProp name="Header.value">*/*</stringProp>
  827. </elementProp>
  828. </collectionProp>
  829. </HeaderManager>
  830. <hashTree/>
  831. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  832. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  833. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  834. <collectionProp name="Arguments.arguments">
  835. <elementProp name="" elementType="HTTPArgument">
  836. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  837. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  838. <stringProp name="Argument.metadata">=</stringProp>
  839. </elementProp>
  840. </collectionProp>
  841. </elementProp>
  842. <stringProp name="HTTPSampler.domain"/>
  843. <stringProp name="HTTPSampler.port"/>
  844. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  845. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  846. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  847. <stringProp name="HTTPSampler.contentEncoding"/>
  848. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  849. <stringProp name="HTTPSampler.method">POST</stringProp>
  850. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  851. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  852. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  853. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  854. <boolProp name="HTTPSampler.monitor">false</boolProp>
  855. <stringProp name="HTTPSampler.embedded_url_re"/>
  856. </HTTPSamplerProxy>
  857. <hashTree>
  858. <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">
  859. <stringProp name="VAR">admin_token</stringProp>
  860. <stringProp name="JSONPATH">$</stringProp>
  861. <stringProp name="DEFAULT"/>
  862. <stringProp name="VARIABLE"/>
  863. <stringProp name="SUBJECT">BODY</stringProp>
  864. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  865. <hashTree/>
  866. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  867. <collectionProp name="Asserion.test_strings">
  868. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  869. </collectionProp>
  870. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  871. <boolProp name="Assertion.assume_success">false</boolProp>
  872. <intProp name="Assertion.test_type">1</intProp>
  873. <stringProp name="Assertion.scope">variable</stringProp>
  874. <stringProp name="Scope.variable">admin_token</stringProp>
  875. </ResponseAssertion>
  876. <hashTree/>
  877. </hashTree>
  878. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  879. <collectionProp name="HeaderManager.headers">
  880. <elementProp name="" elementType="Header">
  881. <stringProp name="Header.name">Authorization</stringProp>
  882. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  883. </elementProp>
  884. </collectionProp>
  885. </HeaderManager>
  886. <hashTree/>
  887. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get Categories Names and skus" enabled="true">
  888. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  889. <collectionProp name="Arguments.arguments">
  890. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  891. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  892. <stringProp name="Argument.value">path</stringProp>
  893. <stringProp name="Argument.metadata">=</stringProp>
  894. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  895. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  896. </elementProp>
  897. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  898. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  899. <stringProp name="Argument.value">1/2/%</stringProp>
  900. <stringProp name="Argument.metadata">=</stringProp>
  901. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  902. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  903. </elementProp>
  904. <elementProp name="searchCriteria[filterGroups][0][filters][0][conditionType]" elementType="HTTPArgument">
  905. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  906. <stringProp name="Argument.value">like</stringProp>
  907. <stringProp name="Argument.metadata">=</stringProp>
  908. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  909. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][conditionType]</stringProp>
  910. </elementProp>
  911. <elementProp name="searchCriteria[filterGroups][1][filters][0][field]" elementType="HTTPArgument">
  912. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  913. <stringProp name="Argument.value">level</stringProp>
  914. <stringProp name="Argument.metadata">=</stringProp>
  915. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  916. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][field]</stringProp>
  917. </elementProp>
  918. <elementProp name="searchCriteria[filterGroups][1][filters][0][value]" elementType="HTTPArgument">
  919. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  920. <stringProp name="Argument.value">2</stringProp>
  921. <stringProp name="Argument.metadata">=</stringProp>
  922. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  923. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][value]</stringProp>
  924. </elementProp>
  925. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  926. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  927. <stringProp name="Argument.value">${categories_count}</stringProp>
  928. <stringProp name="Argument.metadata">=</stringProp>
  929. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  930. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  931. </elementProp>
  932. </collectionProp>
  933. </elementProp>
  934. <stringProp name="HTTPSampler.domain"/>
  935. <stringProp name="HTTPSampler.port"/>
  936. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  937. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  938. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  939. <stringProp name="HTTPSampler.contentEncoding"/>
  940. <stringProp name="HTTPSampler.path">${base_path}rest/V1/categories/list</stringProp>
  941. <stringProp name="HTTPSampler.method">GET</stringProp>
  942. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  943. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  944. <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
  945. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  946. <boolProp name="HTTPSampler.monitor">false</boolProp>
  947. <stringProp name="HTTPSampler.embedded_url_re"/>
  948. </HTTPSamplerProxy>
  949. <hashTree>
  950. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category url key" enabled="true">
  951. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  952. <stringProp name="RegexExtractor.refname">category_url_keys</stringProp>
  953. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  954. <stringProp name="RegexExtractor.template">$1$</stringProp>
  955. <stringProp name="RegexExtractor.default"/>
  956. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  957. </RegexExtractor>
  958. <hashTree/>
  959. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category name" enabled="true">
  960. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  961. <stringProp name="RegexExtractor.refname">category_names</stringProp>
  962. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  963. <stringProp name="RegexExtractor.template">$1$</stringProp>
  964. <stringProp name="RegexExtractor.default"/>
  965. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  966. </RegexExtractor>
  967. <hashTree/>
  968. </hashTree>
  969. </hashTree>
  970. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: category url keys loop" enabled="true">
  971. <stringProp name="ForeachController.inputVal">category_url_keys</stringProp>
  972. <stringProp name="ForeachController.returnVal">category_url_key</stringProp>
  973. <boolProp name="ForeachController.useSeparator">true</boolProp>
  974. </ForeachController>
  975. <hashTree>
  976. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  977. <stringProp name="CounterConfig.start">1</stringProp>
  978. <stringProp name="CounterConfig.end"/>
  979. <stringProp name="CounterConfig.incr">1</stringProp>
  980. <stringProp name="CounterConfig.name">category_url_key_counter</stringProp>
  981. <stringProp name="CounterConfig.format"/>
  982. <boolProp name="CounterConfig.per_user">false</boolProp>
  983. </CounterConfig>
  984. <hashTree/>
  985. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect category url keys" enabled="true">
  986. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  987. // If it is first iteration of cycle then recreate category url key list
  988. if (1 == Integer.parseInt(vars.get("category_url_key_counter"))) {
  989. categoryUrlKeysList = new ArrayList();
  990. props.put("category_url_keys_list", categoryUrlKeysList);
  991. props.put("category_url_key", vars.get("category_url_key"));
  992. } else {
  993. categoryUrlKeysList = props.get("category_url_keys_list");
  994. }
  995. categoryUrlKeysList.add(vars.get("category_url_key"));</stringProp>
  996. <stringProp name="BeanShellSampler.filename"/>
  997. <stringProp name="BeanShellSampler.parameters"/>
  998. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  999. </BeanShellSampler>
  1000. <hashTree/>
  1001. </hashTree>
  1002. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: category names loop" enabled="true">
  1003. <stringProp name="ForeachController.inputVal">category_names</stringProp>
  1004. <stringProp name="ForeachController.returnVal">category_name</stringProp>
  1005. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1006. </ForeachController>
  1007. <hashTree>
  1008. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1009. <stringProp name="CounterConfig.start">1</stringProp>
  1010. <stringProp name="CounterConfig.end"/>
  1011. <stringProp name="CounterConfig.incr">1</stringProp>
  1012. <stringProp name="CounterConfig.name">category_name_counter</stringProp>
  1013. <stringProp name="CounterConfig.format"/>
  1014. <boolProp name="CounterConfig.per_user">false</boolProp>
  1015. </CounterConfig>
  1016. <hashTree/>
  1017. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect category names" enabled="true">
  1018. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1019. // If it is first iteration of cycle then recreate category name list
  1020. if (1 == Integer.parseInt(vars.get("category_name_counter"))) {
  1021. categoryNamesList = new ArrayList();
  1022. props.put("category_names_list",categoryNamesList);
  1023. props.put("category_name", vars.get("category_name"));
  1024. } else {
  1025. categoryNamesList = props.get("category_names_list");
  1026. }
  1027. categoryNamesList.add(vars.get("category_name"));</stringProp>
  1028. <stringProp name="BeanShellSampler.filename"/>
  1029. <stringProp name="BeanShellSampler.parameters"/>
  1030. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1031. </BeanShellSampler>
  1032. <hashTree/>
  1033. </hashTree>
  1034. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect category" enabled="true">
  1035. <stringProp name="BeanShellSampler.query">props.put("category_url_key", vars.get("category_url_key"));
  1036. props.put("category_name", vars.get("category_name"));</stringProp>
  1037. <stringProp name="BeanShellSampler.filename"/>
  1038. <stringProp name="BeanShellSampler.parameters"/>
  1039. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1040. </BeanShellSampler>
  1041. <hashTree/>
  1042. </hashTree>
  1043. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract categories id of last level" enabled="true">
  1044. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_categories_id_of_last_level.jmx</stringProp>
  1045. </TestFragmentController>
  1046. <hashTree>
  1047. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Clear Admin Category Management properties" enabled="true">
  1048. <stringProp name="BeanShellSampler.query">props.remove("admin_category_ids_list");</stringProp>
  1049. <stringProp name="BeanShellSampler.filename"/>
  1050. <stringProp name="BeanShellSampler.parameters"/>
  1051. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1052. </BeanShellSampler>
  1053. <hashTree/>
  1054. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Get categories of last level" enabled="true"/>
  1055. <hashTree>
  1056. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1057. <collectionProp name="HeaderManager.headers">
  1058. <elementProp name="" elementType="Header">
  1059. <stringProp name="Header.name">Content-Type</stringProp>
  1060. <stringProp name="Header.value">application/json</stringProp>
  1061. </elementProp>
  1062. <elementProp name="" elementType="Header">
  1063. <stringProp name="Header.name">Accept</stringProp>
  1064. <stringProp name="Header.value">*/*</stringProp>
  1065. </elementProp>
  1066. </collectionProp>
  1067. </HeaderManager>
  1068. <hashTree/>
  1069. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1070. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1071. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1072. <collectionProp name="Arguments.arguments">
  1073. <elementProp name="" elementType="HTTPArgument">
  1074. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1075. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1076. <stringProp name="Argument.metadata">=</stringProp>
  1077. </elementProp>
  1078. </collectionProp>
  1079. </elementProp>
  1080. <stringProp name="HTTPSampler.domain"/>
  1081. <stringProp name="HTTPSampler.port"/>
  1082. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1083. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1084. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1085. <stringProp name="HTTPSampler.contentEncoding"/>
  1086. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1087. <stringProp name="HTTPSampler.method">POST</stringProp>
  1088. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1089. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1090. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1091. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1092. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1093. <stringProp name="HTTPSampler.embedded_url_re"/>
  1094. </HTTPSamplerProxy>
  1095. <hashTree>
  1096. <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">
  1097. <stringProp name="VAR">admin_token</stringProp>
  1098. <stringProp name="JSONPATH">$</stringProp>
  1099. <stringProp name="DEFAULT"/>
  1100. <stringProp name="VARIABLE"/>
  1101. <stringProp name="SUBJECT">BODY</stringProp>
  1102. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1103. <hashTree/>
  1104. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1105. <collectionProp name="Asserion.test_strings">
  1106. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1107. </collectionProp>
  1108. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1109. <boolProp name="Assertion.assume_success">false</boolProp>
  1110. <intProp name="Assertion.test_type">1</intProp>
  1111. <stringProp name="Assertion.scope">variable</stringProp>
  1112. <stringProp name="Scope.variable">admin_token</stringProp>
  1113. </ResponseAssertion>
  1114. <hashTree/>
  1115. </hashTree>
  1116. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1117. <collectionProp name="HeaderManager.headers">
  1118. <elementProp name="" elementType="Header">
  1119. <stringProp name="Header.name">Authorization</stringProp>
  1120. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1121. </elementProp>
  1122. </collectionProp>
  1123. </HeaderManager>
  1124. <hashTree/>
  1125. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - API Get categories" enabled="true">
  1126. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  1127. <collectionProp name="Arguments.arguments">
  1128. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1129. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1130. <stringProp name="Argument.value">children_count</stringProp>
  1131. <stringProp name="Argument.metadata">=</stringProp>
  1132. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1133. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1134. </elementProp>
  1135. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1136. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1137. <stringProp name="Argument.value">0</stringProp>
  1138. <stringProp name="Argument.metadata">=</stringProp>
  1139. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1140. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1141. </elementProp>
  1142. <elementProp name="searchCriteria[filterGroups][1][filters][0][field]" elementType="HTTPArgument">
  1143. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1144. <stringProp name="Argument.value">level</stringProp>
  1145. <stringProp name="Argument.metadata">=</stringProp>
  1146. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1147. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][field]</stringProp>
  1148. </elementProp>
  1149. <elementProp name="searchCriteria[filterGroups][1][filters][0][value]" elementType="HTTPArgument">
  1150. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1151. <stringProp name="Argument.value">2</stringProp>
  1152. <stringProp name="Argument.metadata">=</stringProp>
  1153. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1154. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][value]</stringProp>
  1155. </elementProp>
  1156. <elementProp name="searchCriteria[filterGroups][1][filters][0][conditionType]" elementType="HTTPArgument">
  1157. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1158. <stringProp name="Argument.value">gt</stringProp>
  1159. <stringProp name="Argument.metadata">=</stringProp>
  1160. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1161. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][0][conditionType]</stringProp>
  1162. </elementProp>
  1163. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1164. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1165. <stringProp name="Argument.value">${adminCategoryCount}</stringProp>
  1166. <stringProp name="Argument.metadata">=</stringProp>
  1167. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1168. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1169. </elementProp>
  1170. </collectionProp>
  1171. </elementProp>
  1172. <stringProp name="HTTPSampler.domain"/>
  1173. <stringProp name="HTTPSampler.port"/>
  1174. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1175. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1176. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1177. <stringProp name="HTTPSampler.contentEncoding"/>
  1178. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/categories/list</stringProp>
  1179. <stringProp name="HTTPSampler.method">GET</stringProp>
  1180. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1181. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1182. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1183. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1184. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1185. <stringProp name="HTTPSampler.embedded_url_re"/>
  1186. </HTTPSamplerProxy>
  1187. <hashTree>
  1188. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
  1189. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1190. <stringProp name="RegexExtractor.refname">category_list_id</stringProp>
  1191. <stringProp name="RegexExtractor.regex">\{\"id\":(\d+),</stringProp>
  1192. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1193. <stringProp name="RegexExtractor.default"/>
  1194. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1195. </RegexExtractor>
  1196. <hashTree/>
  1197. </hashTree>
  1198. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Category Id" enabled="true">
  1199. <stringProp name="ForeachController.inputVal">category_list_id</stringProp>
  1200. <stringProp name="ForeachController.returnVal">category_id</stringProp>
  1201. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1202. </ForeachController>
  1203. <hashTree>
  1204. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Process categories ids" enabled="true">
  1205. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1206. adminCategoryIdsList = props.get("admin_category_ids_list");
  1207. // If it is first iteration of cycle then recreate categories ids list
  1208. if (adminCategoryIdsList == null) {
  1209. adminCategoryIdsList = new ArrayList();
  1210. props.put("admin_category_ids_list", adminCategoryIdsList);
  1211. }
  1212. adminCategoryIdsList.add(vars.get("category_id"));</stringProp>
  1213. <stringProp name="BeanShellSampler.filename"/>
  1214. <stringProp name="BeanShellSampler.parameters"/>
  1215. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1216. </BeanShellSampler>
  1217. <hashTree/>
  1218. </hashTree>
  1219. </hashTree>
  1220. </hashTree>
  1221. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract configurable products" enabled="true">
  1222. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_configurable_products.jmx</stringProp>
  1223. </TestFragmentController>
  1224. <hashTree>
  1225. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Retrieve configurable products" enabled="true"/>
  1226. <hashTree>
  1227. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1228. <collectionProp name="HeaderManager.headers">
  1229. <elementProp name="" elementType="Header">
  1230. <stringProp name="Header.name">Content-Type</stringProp>
  1231. <stringProp name="Header.value">application/json</stringProp>
  1232. </elementProp>
  1233. <elementProp name="" elementType="Header">
  1234. <stringProp name="Header.name">Accept</stringProp>
  1235. <stringProp name="Header.value">*/*</stringProp>
  1236. </elementProp>
  1237. </collectionProp>
  1238. </HeaderManager>
  1239. <hashTree/>
  1240. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1241. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1242. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1243. <collectionProp name="Arguments.arguments">
  1244. <elementProp name="" elementType="HTTPArgument">
  1245. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1246. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1247. <stringProp name="Argument.metadata">=</stringProp>
  1248. </elementProp>
  1249. </collectionProp>
  1250. </elementProp>
  1251. <stringProp name="HTTPSampler.domain"/>
  1252. <stringProp name="HTTPSampler.port"/>
  1253. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1254. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1255. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1256. <stringProp name="HTTPSampler.contentEncoding"/>
  1257. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1258. <stringProp name="HTTPSampler.method">POST</stringProp>
  1259. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1260. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1261. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1262. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1263. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1264. <stringProp name="HTTPSampler.embedded_url_re"/>
  1265. </HTTPSamplerProxy>
  1266. <hashTree>
  1267. <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">
  1268. <stringProp name="VAR">admin_token</stringProp>
  1269. <stringProp name="JSONPATH">$</stringProp>
  1270. <stringProp name="DEFAULT"/>
  1271. <stringProp name="VARIABLE"/>
  1272. <stringProp name="SUBJECT">BODY</stringProp>
  1273. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1274. <hashTree/>
  1275. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1276. <collectionProp name="Asserion.test_strings">
  1277. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1278. </collectionProp>
  1279. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1280. <boolProp name="Assertion.assume_success">false</boolProp>
  1281. <intProp name="Assertion.test_type">1</intProp>
  1282. <stringProp name="Assertion.scope">variable</stringProp>
  1283. <stringProp name="Scope.variable">admin_token</stringProp>
  1284. </ResponseAssertion>
  1285. <hashTree/>
  1286. </hashTree>
  1287. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1288. <collectionProp name="HeaderManager.headers">
  1289. <elementProp name="" elementType="Header">
  1290. <stringProp name="Header.name">Authorization</stringProp>
  1291. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1292. </elementProp>
  1293. </collectionProp>
  1294. </HeaderManager>
  1295. <hashTree/>
  1296. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get configurable products" enabled="true">
  1297. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1298. <collectionProp name="Arguments.arguments">
  1299. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1300. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1301. <stringProp name="Argument.value">type_id</stringProp>
  1302. <stringProp name="Argument.metadata">=</stringProp>
  1303. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1304. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1305. </elementProp>
  1306. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1307. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1308. <stringProp name="Argument.value">configurable</stringProp>
  1309. <stringProp name="Argument.metadata">=</stringProp>
  1310. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1311. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1312. </elementProp>
  1313. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1314. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1315. <stringProp name="Argument.value">${configurable_products_count}</stringProp>
  1316. <stringProp name="Argument.metadata">=</stringProp>
  1317. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1318. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1319. </elementProp>
  1320. </collectionProp>
  1321. </elementProp>
  1322. <stringProp name="HTTPSampler.domain"/>
  1323. <stringProp name="HTTPSampler.port"/>
  1324. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1325. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1326. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1327. <stringProp name="HTTPSampler.contentEncoding"/>
  1328. <stringProp name="HTTPSampler.path">${base_path}rest/V1/products</stringProp>
  1329. <stringProp name="HTTPSampler.method">GET</stringProp>
  1330. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1331. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1332. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1333. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1334. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1335. <stringProp name="HTTPSampler.embedded_url_re"/>
  1336. </HTTPSamplerProxy>
  1337. <hashTree>
  1338. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  1339. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1340. <stringProp name="RegexExtractor.refname">configurable_products_url_keys</stringProp>
  1341. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1342. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1343. <stringProp name="RegexExtractor.default"/>
  1344. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1345. </RegexExtractor>
  1346. <hashTree/>
  1347. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product ids" enabled="true">
  1348. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1349. <stringProp name="RegexExtractor.refname">configurable_product_ids</stringProp>
  1350. <stringProp name="RegexExtractor.regex">\"id\":(\d+),\"sku\"</stringProp>
  1351. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1352. <stringProp name="RegexExtractor.default"/>
  1353. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1354. </RegexExtractor>
  1355. <hashTree/>
  1356. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product titles" enabled="true">
  1357. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1358. <stringProp name="RegexExtractor.refname">configurable_product_names</stringProp>
  1359. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1360. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1361. <stringProp name="RegexExtractor.default"/>
  1362. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1363. </RegexExtractor>
  1364. <hashTree/>
  1365. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product skus" enabled="true">
  1366. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1367. <stringProp name="RegexExtractor.refname">configurable_product_skus</stringProp>
  1368. <stringProp name="RegexExtractor.regex">sku\":\"(.*?)\"</stringProp>
  1369. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1370. <stringProp name="RegexExtractor.default"/>
  1371. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1372. </RegexExtractor>
  1373. <hashTree/>
  1374. </hashTree>
  1375. </hashTree>
  1376. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Prepare configurable products" enabled="true">
  1377. <stringProp name="ForeachController.inputVal">configurable_product_ids</stringProp>
  1378. <stringProp name="ForeachController.returnVal">configurable_product_id</stringProp>
  1379. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1380. </ForeachController>
  1381. <hashTree>
  1382. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  1383. <stringProp name="CounterConfig.start">1</stringProp>
  1384. <stringProp name="CounterConfig.end"/>
  1385. <stringProp name="CounterConfig.incr">1</stringProp>
  1386. <stringProp name="CounterConfig.name">configurable_products_counter</stringProp>
  1387. <stringProp name="CounterConfig.format"/>
  1388. <boolProp name="CounterConfig.per_user">false</boolProp>
  1389. </CounterConfig>
  1390. <hashTree/>
  1391. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect configurable product" enabled="true">
  1392. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1393. import java.util.HashMap;
  1394. import org.apache.commons.codec.binary.Base64;
  1395. // If it is first iteration of cycle then recreate productList
  1396. if (1 == Integer.parseInt(vars.get("configurable_products_counter"))) {
  1397. productList = new ArrayList();
  1398. props.put("configurable_products_list", productList);
  1399. } else {
  1400. productList = props.get("configurable_products_list");
  1401. }
  1402. 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");
  1403. encodedUrl = Base64.encodeBase64(productUrl.getBytes());
  1404. // Create product map
  1405. Map productMap = new HashMap();
  1406. productMap.put("id", vars.get("configurable_product_id"));
  1407. productMap.put("title", vars.get("configurable_product_names_" + vars.get("configurable_products_counter")));
  1408. productMap.put("sku", vars.get("configurable_product_skus_" + vars.get("configurable_products_counter")));
  1409. productMap.put("url_key", vars.get("configurable_products_url_keys_" + vars.get("configurable_products_counter")));
  1410. productMap.put("uenc", new String(encodedUrl));
  1411. // Collect products map in products list
  1412. productList.add(productMap);</stringProp>
  1413. <stringProp name="BeanShellSampler.filename"/>
  1414. <stringProp name="BeanShellSampler.parameters"/>
  1415. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1416. </BeanShellSampler>
  1417. <hashTree/>
  1418. </hashTree>
  1419. </hashTree>
  1420. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract configurable products for edit" enabled="true">
  1421. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_configurable_products_for_edit.jmx</stringProp>
  1422. </TestFragmentController>
  1423. <hashTree>
  1424. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Retrieve configurable products for edit" enabled="true"/>
  1425. <hashTree>
  1426. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1427. <collectionProp name="HeaderManager.headers">
  1428. <elementProp name="" elementType="Header">
  1429. <stringProp name="Header.name">Content-Type</stringProp>
  1430. <stringProp name="Header.value">application/json</stringProp>
  1431. </elementProp>
  1432. <elementProp name="" elementType="Header">
  1433. <stringProp name="Header.name">Accept</stringProp>
  1434. <stringProp name="Header.value">*/*</stringProp>
  1435. </elementProp>
  1436. </collectionProp>
  1437. </HeaderManager>
  1438. <hashTree/>
  1439. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1440. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1441. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1442. <collectionProp name="Arguments.arguments">
  1443. <elementProp name="" elementType="HTTPArgument">
  1444. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1445. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1446. <stringProp name="Argument.metadata">=</stringProp>
  1447. </elementProp>
  1448. </collectionProp>
  1449. </elementProp>
  1450. <stringProp name="HTTPSampler.domain"/>
  1451. <stringProp name="HTTPSampler.port"/>
  1452. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1453. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1454. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1455. <stringProp name="HTTPSampler.contentEncoding"/>
  1456. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1457. <stringProp name="HTTPSampler.method">POST</stringProp>
  1458. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1459. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1460. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1461. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1462. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1463. <stringProp name="HTTPSampler.embedded_url_re"/>
  1464. </HTTPSamplerProxy>
  1465. <hashTree>
  1466. <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">
  1467. <stringProp name="VAR">admin_token</stringProp>
  1468. <stringProp name="JSONPATH">$</stringProp>
  1469. <stringProp name="DEFAULT"/>
  1470. <stringProp name="VARIABLE"/>
  1471. <stringProp name="SUBJECT">BODY</stringProp>
  1472. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1473. <hashTree/>
  1474. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1475. <collectionProp name="Asserion.test_strings">
  1476. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1477. </collectionProp>
  1478. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1479. <boolProp name="Assertion.assume_success">false</boolProp>
  1480. <intProp name="Assertion.test_type">1</intProp>
  1481. <stringProp name="Assertion.scope">variable</stringProp>
  1482. <stringProp name="Scope.variable">admin_token</stringProp>
  1483. </ResponseAssertion>
  1484. <hashTree/>
  1485. </hashTree>
  1486. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1487. <collectionProp name="HeaderManager.headers">
  1488. <elementProp name="" elementType="Header">
  1489. <stringProp name="Header.name">Authorization</stringProp>
  1490. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1491. </elementProp>
  1492. </collectionProp>
  1493. </HeaderManager>
  1494. <hashTree/>
  1495. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get configurable products for edit" enabled="true">
  1496. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1497. <collectionProp name="Arguments.arguments">
  1498. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1499. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1500. <stringProp name="Argument.value">type_id</stringProp>
  1501. <stringProp name="Argument.metadata">=</stringProp>
  1502. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1503. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1504. </elementProp>
  1505. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1506. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1507. <stringProp name="Argument.value">configurable</stringProp>
  1508. <stringProp name="Argument.metadata">=</stringProp>
  1509. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1510. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1511. </elementProp>
  1512. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1513. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1514. <stringProp name="Argument.value">${configurable_products_count}</stringProp>
  1515. <stringProp name="Argument.metadata">=</stringProp>
  1516. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1517. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1518. </elementProp>
  1519. <elementProp name="searchCriteria[currentPage]" elementType="HTTPArgument">
  1520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1521. <stringProp name="Argument.value">2</stringProp>
  1522. <stringProp name="Argument.metadata">=</stringProp>
  1523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1524. <stringProp name="Argument.name">searchCriteria[currentPage]</stringProp>
  1525. </elementProp>
  1526. </collectionProp>
  1527. </elementProp>
  1528. <stringProp name="HTTPSampler.domain"/>
  1529. <stringProp name="HTTPSampler.port"/>
  1530. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1531. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1532. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1533. <stringProp name="HTTPSampler.contentEncoding"/>
  1534. <stringProp name="HTTPSampler.path">${base_path}rest/V1/products</stringProp>
  1535. <stringProp name="HTTPSampler.method">GET</stringProp>
  1536. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1537. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1538. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1539. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1540. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1541. <stringProp name="HTTPSampler.embedded_url_re"/>
  1542. </HTTPSamplerProxy>
  1543. <hashTree>
  1544. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  1545. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1546. <stringProp name="RegexExtractor.refname">configurable_products_for_edit_url_keys</stringProp>
  1547. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1548. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1549. <stringProp name="RegexExtractor.default"/>
  1550. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1551. </RegexExtractor>
  1552. <hashTree/>
  1553. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product ids" enabled="true">
  1554. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1555. <stringProp name="RegexExtractor.refname">configurable_product_for_edit_ids</stringProp>
  1556. <stringProp name="RegexExtractor.regex">\"id\":(\d+),\"sku\"</stringProp>
  1557. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1558. <stringProp name="RegexExtractor.default"/>
  1559. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1560. </RegexExtractor>
  1561. <hashTree/>
  1562. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product titles" enabled="true">
  1563. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1564. <stringProp name="RegexExtractor.refname">configurable_product_for_edit_names</stringProp>
  1565. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1566. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1567. <stringProp name="RegexExtractor.default"/>
  1568. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1569. </RegexExtractor>
  1570. <hashTree/>
  1571. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product skus" enabled="true">
  1572. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1573. <stringProp name="RegexExtractor.refname">configurable_product_for_edit_skus</stringProp>
  1574. <stringProp name="RegexExtractor.regex">sku\":\"(.*?)\"</stringProp>
  1575. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1576. <stringProp name="RegexExtractor.default"/>
  1577. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1578. </RegexExtractor>
  1579. <hashTree/>
  1580. </hashTree>
  1581. </hashTree>
  1582. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Prepare configurable products for edit" enabled="true">
  1583. <stringProp name="ForeachController.inputVal">configurable_product_for_edit_ids</stringProp>
  1584. <stringProp name="ForeachController.returnVal">configurable_product_for_edit_id</stringProp>
  1585. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1586. </ForeachController>
  1587. <hashTree>
  1588. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter for edit" enabled="true">
  1589. <stringProp name="CounterConfig.start">1</stringProp>
  1590. <stringProp name="CounterConfig.end"/>
  1591. <stringProp name="CounterConfig.incr">1</stringProp>
  1592. <stringProp name="CounterConfig.name">configurable_products_counter_for_edit</stringProp>
  1593. <stringProp name="CounterConfig.format"/>
  1594. <boolProp name="CounterConfig.per_user">false</boolProp>
  1595. </CounterConfig>
  1596. <hashTree/>
  1597. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect configurable product for edit" enabled="true">
  1598. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1599. import java.util.HashMap;
  1600. import org.apache.commons.codec.binary.Base64;
  1601. if (1 == Integer.parseInt(vars.get("configurable_products_counter_for_edit"))) {
  1602. editProductList = new ArrayList();
  1603. props.put("configurable_products_list_for_edit", editProductList);
  1604. } else {
  1605. productList = props.get("configurable_products_list_for_edit");
  1606. }
  1607. String productUrl = vars.get("request_protocol") + "://" + vars.get("host") + vars.get("base_path") + vars.get("configurable_products_for_edit_url_keys_" + vars.get("configurable_products_counter_for_edit"))+ vars.get("url_suffix");
  1608. encodedUrl = Base64.encodeBase64(productUrl.getBytes());
  1609. // Create product map
  1610. Map editProductMap = new HashMap();
  1611. editProductMap.put("id", vars.get("configurable_product_for_edit_id"));
  1612. editProductMap.put("title", vars.get("configurable_product_for_edit_names_" + vars.get("configurable_products_counter_for_edit")));
  1613. editProductMap.put("sku", vars.get("configurable_product_for_edit_skus_" + vars.get("configurable_products_counter_for_edit")));
  1614. editProductMap.put("url_key", vars.get("configurable_products_for_edit_url_keys_" + vars.get("configurable_products_counter_for_edit")));
  1615. editProductMap.put("uenc", new String(encodedUrl));
  1616. // Collect products map in products list
  1617. editProductList.add(editProductMap);</stringProp>
  1618. <stringProp name="BeanShellSampler.filename"/>
  1619. <stringProp name="BeanShellSampler.parameters"/>
  1620. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1621. </BeanShellSampler>
  1622. <hashTree/>
  1623. </hashTree>
  1624. </hashTree>
  1625. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract simple products for edit" enabled="true">
  1626. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_simple_products_for_edit.jmx</stringProp>
  1627. </TestFragmentController>
  1628. <hashTree>
  1629. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Retrieve simple products for edit" enabled="true"/>
  1630. <hashTree>
  1631. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1632. <collectionProp name="HeaderManager.headers">
  1633. <elementProp name="" elementType="Header">
  1634. <stringProp name="Header.name">Content-Type</stringProp>
  1635. <stringProp name="Header.value">application/json</stringProp>
  1636. </elementProp>
  1637. <elementProp name="" elementType="Header">
  1638. <stringProp name="Header.name">Accept</stringProp>
  1639. <stringProp name="Header.value">*/*</stringProp>
  1640. </elementProp>
  1641. </collectionProp>
  1642. </HeaderManager>
  1643. <hashTree/>
  1644. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1645. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1646. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1647. <collectionProp name="Arguments.arguments">
  1648. <elementProp name="" elementType="HTTPArgument">
  1649. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1650. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1651. <stringProp name="Argument.metadata">=</stringProp>
  1652. </elementProp>
  1653. </collectionProp>
  1654. </elementProp>
  1655. <stringProp name="HTTPSampler.domain"/>
  1656. <stringProp name="HTTPSampler.port"/>
  1657. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1658. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1659. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1660. <stringProp name="HTTPSampler.contentEncoding"/>
  1661. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1662. <stringProp name="HTTPSampler.method">POST</stringProp>
  1663. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1664. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1665. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1666. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1667. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1668. <stringProp name="HTTPSampler.embedded_url_re"/>
  1669. </HTTPSamplerProxy>
  1670. <hashTree>
  1671. <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">
  1672. <stringProp name="VAR">admin_token</stringProp>
  1673. <stringProp name="JSONPATH">$</stringProp>
  1674. <stringProp name="DEFAULT"/>
  1675. <stringProp name="VARIABLE"/>
  1676. <stringProp name="SUBJECT">BODY</stringProp>
  1677. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1678. <hashTree/>
  1679. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1680. <collectionProp name="Asserion.test_strings">
  1681. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1682. </collectionProp>
  1683. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1684. <boolProp name="Assertion.assume_success">false</boolProp>
  1685. <intProp name="Assertion.test_type">1</intProp>
  1686. <stringProp name="Assertion.scope">variable</stringProp>
  1687. <stringProp name="Scope.variable">admin_token</stringProp>
  1688. </ResponseAssertion>
  1689. <hashTree/>
  1690. </hashTree>
  1691. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1692. <collectionProp name="HeaderManager.headers">
  1693. <elementProp name="" elementType="Header">
  1694. <stringProp name="Header.name">Authorization</stringProp>
  1695. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1696. </elementProp>
  1697. </collectionProp>
  1698. </HeaderManager>
  1699. <hashTree/>
  1700. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get simple products for edit" enabled="true">
  1701. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1702. <collectionProp name="Arguments.arguments">
  1703. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1704. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1705. <stringProp name="Argument.value">type_id</stringProp>
  1706. <stringProp name="Argument.metadata">=</stringProp>
  1707. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1708. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1709. </elementProp>
  1710. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1711. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1712. <stringProp name="Argument.value">simple</stringProp>
  1713. <stringProp name="Argument.metadata">=</stringProp>
  1714. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1715. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1716. </elementProp>
  1717. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1718. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1719. <stringProp name="Argument.value">${simple_products_count}</stringProp>
  1720. <stringProp name="Argument.metadata">=</stringProp>
  1721. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1722. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1723. </elementProp>
  1724. <elementProp name="searchCriteria[currentPage]" elementType="HTTPArgument">
  1725. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1726. <stringProp name="Argument.value">1</stringProp>
  1727. <stringProp name="Argument.metadata">=</stringProp>
  1728. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1729. <stringProp name="Argument.name">searchCriteria[currentPage]</stringProp>
  1730. </elementProp>
  1731. <elementProp name="searchCriteria[filterGroups][1][filters][1][field]" elementType="HTTPArgument">
  1732. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1733. <stringProp name="Argument.value">attribute_set_id</stringProp>
  1734. <stringProp name="Argument.metadata">=</stringProp>
  1735. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1736. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][1][field]</stringProp>
  1737. </elementProp>
  1738. <elementProp name="searchCriteria[filterGroups][1][filters][1][value]" elementType="HTTPArgument">
  1739. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1740. <stringProp name="Argument.value">4</stringProp>
  1741. <stringProp name="Argument.metadata">=</stringProp>
  1742. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1743. <stringProp name="Argument.name">searchCriteria[filterGroups][1][filters][1][value]</stringProp>
  1744. </elementProp>
  1745. </collectionProp>
  1746. </elementProp>
  1747. <stringProp name="HTTPSampler.domain"/>
  1748. <stringProp name="HTTPSampler.port"/>
  1749. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1750. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1751. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1752. <stringProp name="HTTPSampler.contentEncoding"/>
  1753. <stringProp name="HTTPSampler.path">${base_path}rest/V1/products</stringProp>
  1754. <stringProp name="HTTPSampler.method">GET</stringProp>
  1755. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1756. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1757. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1758. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1759. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1760. <stringProp name="HTTPSampler.embedded_url_re"/>
  1761. </HTTPSamplerProxy>
  1762. <hashTree>
  1763. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  1764. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1765. <stringProp name="RegexExtractor.refname">simple_products_for_edit_url_keys</stringProp>
  1766. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1767. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1768. <stringProp name="RegexExtractor.default"/>
  1769. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1770. </RegexExtractor>
  1771. <hashTree/>
  1772. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product ids" enabled="true">
  1773. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1774. <stringProp name="RegexExtractor.refname">simple_product_for_edit_ids</stringProp>
  1775. <stringProp name="RegexExtractor.regex">\"id\":(\d+),\"sku\"</stringProp>
  1776. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1777. <stringProp name="RegexExtractor.default"/>
  1778. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1779. </RegexExtractor>
  1780. <hashTree/>
  1781. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product titles" enabled="true">
  1782. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1783. <stringProp name="RegexExtractor.refname">simple_product_for_edit_names</stringProp>
  1784. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1785. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1786. <stringProp name="RegexExtractor.default"/>
  1787. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1788. </RegexExtractor>
  1789. <hashTree/>
  1790. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product skus" enabled="true">
  1791. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1792. <stringProp name="RegexExtractor.refname">simple_product_for_edit_skus</stringProp>
  1793. <stringProp name="RegexExtractor.regex">sku\":\"(.*?)\"</stringProp>
  1794. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1795. <stringProp name="RegexExtractor.default"/>
  1796. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1797. </RegexExtractor>
  1798. <hashTree/>
  1799. </hashTree>
  1800. </hashTree>
  1801. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Prepare simple products for edit" enabled="true">
  1802. <stringProp name="ForeachController.inputVal">simple_product_for_edit_ids</stringProp>
  1803. <stringProp name="ForeachController.returnVal">simple_product_for_edit_id</stringProp>
  1804. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1805. </ForeachController>
  1806. <hashTree>
  1807. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter for edit" enabled="true">
  1808. <stringProp name="CounterConfig.start">1</stringProp>
  1809. <stringProp name="CounterConfig.end"/>
  1810. <stringProp name="CounterConfig.incr">1</stringProp>
  1811. <stringProp name="CounterConfig.name">simple_products_counter_for_edit</stringProp>
  1812. <stringProp name="CounterConfig.format"/>
  1813. <boolProp name="CounterConfig.per_user">false</boolProp>
  1814. </CounterConfig>
  1815. <hashTree/>
  1816. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect simple product for edit" enabled="true">
  1817. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  1818. import java.util.HashMap;
  1819. import org.apache.commons.codec.binary.Base64;
  1820. if (1 == Integer.parseInt(vars.get("simple_products_counter_for_edit"))) {
  1821. editProductList = new ArrayList();
  1822. props.put("simple_products_list_for_edit", editProductList);
  1823. } else {
  1824. productList = props.get("simple_products_counter_for_edit");
  1825. }
  1826. String productUrl = vars.get("request_protocol") + "://" + vars.get("host") + vars.get("base_path") + vars.get("simple_products_for_edit_url_keys_" + vars.get("simple_products_counter_for_edit"))+ vars.get("url_suffix");
  1827. encodedUrl = Base64.encodeBase64(productUrl.getBytes());
  1828. // Create product map
  1829. Map editProductMap = new HashMap();
  1830. editProductMap.put("id", vars.get("simple_product_for_edit_id"));
  1831. editProductMap.put("title", vars.get("simple_product_for_edit_names_" + vars.get("simple_products_counter_for_edit")));
  1832. editProductMap.put("sku", vars.get("simple_product_for_edit_skus_" + vars.get("simple_products_counter_for_edit")));
  1833. editProductMap.put("url_key", vars.get("simple_products_for_edit_url_keys_" + vars.get("simple_products_counter_for_edit")));
  1834. editProductMap.put("uenc", new String(encodedUrl));
  1835. // Collect products map in products list
  1836. editProductList.add(editProductMap);</stringProp>
  1837. <stringProp name="BeanShellSampler.filename"/>
  1838. <stringProp name="BeanShellSampler.parameters"/>
  1839. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1840. </BeanShellSampler>
  1841. <hashTree/>
  1842. </hashTree>
  1843. </hashTree>
  1844. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract simple products" enabled="true">
  1845. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_simple_products.jmx</stringProp>
  1846. </TestFragmentController>
  1847. <hashTree>
  1848. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Retrieve simple products" enabled="true"/>
  1849. <hashTree>
  1850. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1851. <collectionProp name="HeaderManager.headers">
  1852. <elementProp name="" elementType="Header">
  1853. <stringProp name="Header.name">Content-Type</stringProp>
  1854. <stringProp name="Header.value">application/json</stringProp>
  1855. </elementProp>
  1856. <elementProp name="" elementType="Header">
  1857. <stringProp name="Header.name">Accept</stringProp>
  1858. <stringProp name="Header.value">*/*</stringProp>
  1859. </elementProp>
  1860. </collectionProp>
  1861. </HeaderManager>
  1862. <hashTree/>
  1863. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  1864. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1865. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1866. <collectionProp name="Arguments.arguments">
  1867. <elementProp name="" elementType="HTTPArgument">
  1868. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1869. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  1870. <stringProp name="Argument.metadata">=</stringProp>
  1871. </elementProp>
  1872. </collectionProp>
  1873. </elementProp>
  1874. <stringProp name="HTTPSampler.domain"/>
  1875. <stringProp name="HTTPSampler.port"/>
  1876. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1877. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1878. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1879. <stringProp name="HTTPSampler.contentEncoding"/>
  1880. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  1881. <stringProp name="HTTPSampler.method">POST</stringProp>
  1882. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1883. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1884. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1885. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1886. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1887. <stringProp name="HTTPSampler.embedded_url_re"/>
  1888. </HTTPSamplerProxy>
  1889. <hashTree>
  1890. <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">
  1891. <stringProp name="VAR">admin_token</stringProp>
  1892. <stringProp name="JSONPATH">$</stringProp>
  1893. <stringProp name="DEFAULT"/>
  1894. <stringProp name="VARIABLE"/>
  1895. <stringProp name="SUBJECT">BODY</stringProp>
  1896. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  1897. <hashTree/>
  1898. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  1899. <collectionProp name="Asserion.test_strings">
  1900. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  1901. </collectionProp>
  1902. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  1903. <boolProp name="Assertion.assume_success">false</boolProp>
  1904. <intProp name="Assertion.test_type">1</intProp>
  1905. <stringProp name="Assertion.scope">variable</stringProp>
  1906. <stringProp name="Scope.variable">admin_token</stringProp>
  1907. </ResponseAssertion>
  1908. <hashTree/>
  1909. </hashTree>
  1910. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  1911. <collectionProp name="HeaderManager.headers">
  1912. <elementProp name="" elementType="Header">
  1913. <stringProp name="Header.name">Authorization</stringProp>
  1914. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  1915. </elementProp>
  1916. </collectionProp>
  1917. </HeaderManager>
  1918. <hashTree/>
  1919. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get simple products" enabled="true">
  1920. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1921. <collectionProp name="Arguments.arguments">
  1922. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  1923. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1924. <stringProp name="Argument.value">type_id</stringProp>
  1925. <stringProp name="Argument.metadata">=</stringProp>
  1926. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1927. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  1928. </elementProp>
  1929. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  1930. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1931. <stringProp name="Argument.value">simple</stringProp>
  1932. <stringProp name="Argument.metadata">=</stringProp>
  1933. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1934. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  1935. </elementProp>
  1936. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  1937. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1938. <stringProp name="Argument.value">${simple_products_count}</stringProp>
  1939. <stringProp name="Argument.metadata">=</stringProp>
  1940. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1941. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  1942. </elementProp>
  1943. <elementProp name="searchCriteria[filterGroups][0][filters][1][field]" elementType="HTTPArgument">
  1944. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1945. <stringProp name="Argument.value">attribute_set_id</stringProp>
  1946. <stringProp name="Argument.metadata">!=</stringProp>
  1947. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1948. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][1][field]</stringProp>
  1949. </elementProp>
  1950. <elementProp name="searchCriteria[filterGroups][0][filters][1][value]" elementType="HTTPArgument">
  1951. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1952. <stringProp name="Argument.value">4</stringProp>
  1953. <stringProp name="Argument.metadata">=</stringProp>
  1954. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1955. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][1][value]</stringProp>
  1956. </elementProp>
  1957. </collectionProp>
  1958. </elementProp>
  1959. <stringProp name="HTTPSampler.domain"/>
  1960. <stringProp name="HTTPSampler.port"/>
  1961. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  1962. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  1963. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  1964. <stringProp name="HTTPSampler.contentEncoding"/>
  1965. <stringProp name="HTTPSampler.path">${base_path}rest/V1/products</stringProp>
  1966. <stringProp name="HTTPSampler.method">GET</stringProp>
  1967. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1968. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1969. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1970. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1971. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1972. <stringProp name="HTTPSampler.embedded_url_re"/>
  1973. </HTTPSamplerProxy>
  1974. <hashTree>
  1975. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  1976. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1977. <stringProp name="RegexExtractor.refname">simple_products_url_keys</stringProp>
  1978. <stringProp name="RegexExtractor.regex">url_key\",\"value\":\"(.*?)\"</stringProp>
  1979. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1980. <stringProp name="RegexExtractor.default"/>
  1981. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1982. </RegexExtractor>
  1983. <hashTree/>
  1984. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product ids" enabled="true">
  1985. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1986. <stringProp name="RegexExtractor.refname">simple_product_ids</stringProp>
  1987. <stringProp name="RegexExtractor.regex">\"id\":(\d+),\"sku\"</stringProp>
  1988. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1989. <stringProp name="RegexExtractor.default"/>
  1990. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  1991. </RegexExtractor>
  1992. <hashTree/>
  1993. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product titles" enabled="true">
  1994. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  1995. <stringProp name="RegexExtractor.refname">simple_product_names</stringProp>
  1996. <stringProp name="RegexExtractor.regex">name\":\"(.*?)\"</stringProp>
  1997. <stringProp name="RegexExtractor.template">$1$</stringProp>
  1998. <stringProp name="RegexExtractor.default"/>
  1999. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  2000. </RegexExtractor>
  2001. <hashTree/>
  2002. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product skus" enabled="true">
  2003. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2004. <stringProp name="RegexExtractor.refname">simple_product_skus</stringProp>
  2005. <stringProp name="RegexExtractor.regex">sku\":\"(.*?)\"</stringProp>
  2006. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2007. <stringProp name="RegexExtractor.default"/>
  2008. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  2009. </RegexExtractor>
  2010. <hashTree/>
  2011. </hashTree>
  2012. </hashTree>
  2013. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Prepare simple products" enabled="true">
  2014. <stringProp name="ForeachController.inputVal">simple_product_ids</stringProp>
  2015. <stringProp name="ForeachController.returnVal">simple_product_id</stringProp>
  2016. <boolProp name="ForeachController.useSeparator">true</boolProp>
  2017. </ForeachController>
  2018. <hashTree>
  2019. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  2020. <stringProp name="CounterConfig.start">1</stringProp>
  2021. <stringProp name="CounterConfig.end"/>
  2022. <stringProp name="CounterConfig.incr">1</stringProp>
  2023. <stringProp name="CounterConfig.name">simple_products_counter</stringProp>
  2024. <stringProp name="CounterConfig.format"/>
  2025. <boolProp name="CounterConfig.per_user">false</boolProp>
  2026. </CounterConfig>
  2027. <hashTree/>
  2028. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect simple product" enabled="true">
  2029. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  2030. import java.util.HashMap;
  2031. import org.apache.commons.codec.binary.Base64;
  2032. // If it is first iteration of cycle then recreate productList
  2033. if (1 == Integer.parseInt(vars.get("simple_products_counter"))) {
  2034. productList = new ArrayList();
  2035. props.put("simple_products_list", productList);
  2036. } else {
  2037. productList = props.get("simple_products_list");
  2038. }
  2039. 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");
  2040. encodedUrl = Base64.encodeBase64(productUrl.getBytes());
  2041. // Create product map
  2042. Map productMap = new HashMap();
  2043. productMap.put("id", vars.get("simple_product_id"));
  2044. productMap.put("title", vars.get("simple_product_names_" + vars.get("simple_products_counter")));
  2045. productMap.put("sku", vars.get("simple_product_skus_" + vars.get("simple_products_counter")));
  2046. productMap.put("url_key", vars.get("simple_products_url_keys_" + vars.get("simple_products_counter")));
  2047. productMap.put("uenc", new String(encodedUrl));
  2048. // Collect products map in products list
  2049. productList.add(productMap);</stringProp>
  2050. <stringProp name="BeanShellSampler.filename"/>
  2051. <stringProp name="BeanShellSampler.parameters"/>
  2052. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  2053. </BeanShellSampler>
  2054. <hashTree/>
  2055. </hashTree>
  2056. </hashTree>
  2057. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract admin users" enabled="true">
  2058. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_admin_users.jmx</stringProp>
  2059. </TestFragmentController>
  2060. <hashTree>
  2061. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Extract Admin Users" enabled="true">
  2062. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2063. <collectionProp name="Arguments.arguments">
  2064. <elementProp name="form_key" elementType="HTTPArgument">
  2065. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2066. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  2067. <stringProp name="Argument.metadata">=</stringProp>
  2068. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2069. <stringProp name="Argument.name">form_key</stringProp>
  2070. </elementProp>
  2071. </collectionProp>
  2072. </elementProp>
  2073. <stringProp name="HTTPSampler.domain"/>
  2074. <stringProp name="HTTPSampler.port"/>
  2075. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2076. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2077. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2078. <stringProp name="HTTPSampler.contentEncoding"/>
  2079. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/user/roleGrid/limit/200/?ajax=true&amp;isAjax=true</stringProp>
  2080. <stringProp name="HTTPSampler.method">POST</stringProp>
  2081. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2082. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2083. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2084. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2085. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2086. <stringProp name="HTTPSampler.embedded_url_re"/>
  2087. </HTTPSamplerProxy>
  2088. <hashTree>
  2089. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="BeanShell PostProcessor" enabled="true">
  2090. <stringProp name="filename"/>
  2091. <stringProp name="parameters"/>
  2092. <boolProp name="resetInterpreter">false</boolProp>
  2093. <stringProp name="script">import java.util.regex.Pattern;
  2094. import java.util.regex.Matcher;
  2095. import java.util.LinkedList;
  2096. LinkedList adminUserList = new LinkedList();
  2097. String response = new String(data);
  2098. Pattern pattern = Pattern.compile("&lt;td\\W*?data-column=.username[^&gt;]*?&gt;\\W*?(\\w+)\\W*?&lt;");
  2099. Matcher matcher = pattern.matcher(response);
  2100. while (matcher.find()) {
  2101. adminUserList.add(matcher.group(1));
  2102. }
  2103. adminUserList.poll();
  2104. props.put("adminUserList", adminUserList);
  2105. props.put("adminUserListIterator", adminUserList.descendingIterator());
  2106. </stringProp>
  2107. </BeanShellPostProcessor>
  2108. <hashTree/>
  2109. </hashTree>
  2110. </hashTree>
  2111. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract customers" enabled="true">
  2112. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_customers.jmx</stringProp>
  2113. </TestFragmentController>
  2114. <hashTree>
  2115. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Open Customer Grid" enabled="true">
  2116. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2117. <collectionProp name="Arguments.arguments"/>
  2118. </elementProp>
  2119. <stringProp name="HTTPSampler.domain"/>
  2120. <stringProp name="HTTPSampler.port"/>
  2121. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2122. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2123. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2124. <stringProp name="HTTPSampler.contentEncoding"/>
  2125. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/customer/index/</stringProp>
  2126. <stringProp name="HTTPSampler.method">GET</stringProp>
  2127. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2128. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2129. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2130. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2131. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2132. <stringProp name="HTTPSampler.embedded_url_re"/>
  2133. </HTTPSamplerProxy>
  2134. <hashTree>
  2135. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  2136. <stringProp name="filename"/>
  2137. <stringProp name="parameters"/>
  2138. <boolProp name="resetInterpreter">true</boolProp>
  2139. <stringProp name="script">import org.apache.jmeter.protocol.http.control.CookieManager;
  2140. import org.apache.jmeter.protocol.http.control.Cookie;
  2141. CookieManager manager = sampler.getCookieManager();
  2142. Cookie cookie = new Cookie("adminhtml",vars.get("COOKIE_adminhtml"),vars.get("host"),"/",false,0);
  2143. manager.add(cookie); </stringProp>
  2144. </BeanShellPreProcessor>
  2145. <hashTree/>
  2146. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Customer Grid" enabled="true">
  2147. <collectionProp name="Asserion.test_strings">
  2148. <stringProp name="-679437259">Customers</stringProp>
  2149. <stringProp name="495525733">&lt;title&gt;Customers / Customers / Magento Admin&lt;/title&gt;</stringProp>
  2150. </collectionProp>
  2151. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2152. <boolProp name="Assertion.assume_success">false</boolProp>
  2153. <intProp name="Assertion.test_type">2</intProp>
  2154. </ResponseAssertion>
  2155. <hashTree/>
  2156. </hashTree>
  2157. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Search Customers" enabled="true">
  2158. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2159. <collectionProp name="Arguments.arguments">
  2160. <elementProp name="namespace" elementType="HTTPArgument">
  2161. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2162. <stringProp name="Argument.value">customer_listing</stringProp>
  2163. <stringProp name="Argument.metadata">=</stringProp>
  2164. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2165. <stringProp name="Argument.name">namespace</stringProp>
  2166. </elementProp>
  2167. <elementProp name="sorting[field]" elementType="HTTPArgument">
  2168. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2169. <stringProp name="Argument.value">entity_id</stringProp>
  2170. <stringProp name="Argument.metadata">=</stringProp>
  2171. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2172. <stringProp name="Argument.name">sorting[field]</stringProp>
  2173. </elementProp>
  2174. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  2175. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2176. <stringProp name="Argument.value">asc</stringProp>
  2177. <stringProp name="Argument.metadata">=</stringProp>
  2178. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2179. <stringProp name="Argument.name">sorting[direction]</stringProp>
  2180. </elementProp>
  2181. <elementProp name="isAjax" elementType="HTTPArgument">
  2182. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2183. <stringProp name="Argument.value">true</stringProp>
  2184. <stringProp name="Argument.metadata">=</stringProp>
  2185. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2186. <stringProp name="Argument.name">isAjax</stringProp>
  2187. </elementProp>
  2188. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  2189. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2190. <stringProp name="Argument.value">customer_since[locale]=en_US</stringProp>
  2191. <stringProp name="Argument.metadata">=</stringProp>
  2192. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2193. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  2194. </elementProp>
  2195. <elementProp name="filters[group_id]" elementType="HTTPArgument">
  2196. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2197. <stringProp name="Argument.value">1</stringProp>
  2198. <stringProp name="Argument.metadata">=</stringProp>
  2199. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2200. <stringProp name="Argument.name">filters[group_id]</stringProp>
  2201. </elementProp>
  2202. <elementProp name="filters[website_id]" elementType="HTTPArgument">
  2203. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2204. <stringProp name="Argument.value">1</stringProp>
  2205. <stringProp name="Argument.metadata">=</stringProp>
  2206. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2207. <stringProp name="Argument.name">filters[website_id]</stringProp>
  2208. </elementProp>
  2209. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  2210. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2211. <stringProp name="Argument.value">${customers_page_size}</stringProp>
  2212. <stringProp name="Argument.metadata">=</stringProp>
  2213. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2214. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  2215. </elementProp>
  2216. <elementProp name="paging[current]" elementType="HTTPArgument">
  2217. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2218. <stringProp name="Argument.value">1</stringProp>
  2219. <stringProp name="Argument.metadata">=</stringProp>
  2220. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2221. <stringProp name="Argument.name">paging[current]</stringProp>
  2222. </elementProp>
  2223. <elementProp name="sorting[field]" elementType="HTTPArgument">
  2224. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2225. <stringProp name="Argument.value">entity_id</stringProp>
  2226. <stringProp name="Argument.metadata">=</stringProp>
  2227. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2228. <stringProp name="Argument.name">sorting[field]</stringProp>
  2229. </elementProp>
  2230. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  2231. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2232. <stringProp name="Argument.value">asc</stringProp>
  2233. <stringProp name="Argument.metadata">=</stringProp>
  2234. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2235. <stringProp name="Argument.name">sorting[direction]</stringProp>
  2236. </elementProp>
  2237. <elementProp name="isAjax" elementType="HTTPArgument">
  2238. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2239. <stringProp name="Argument.value">true</stringProp>
  2240. <stringProp name="Argument.metadata">=</stringProp>
  2241. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2242. <stringProp name="Argument.name">isAjax</stringProp>
  2243. </elementProp>
  2244. </collectionProp>
  2245. </elementProp>
  2246. <stringProp name="HTTPSampler.domain"/>
  2247. <stringProp name="HTTPSampler.port"/>
  2248. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2249. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2250. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2251. <stringProp name="HTTPSampler.contentEncoding"/>
  2252. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  2253. <stringProp name="HTTPSampler.method">GET</stringProp>
  2254. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2255. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2256. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2257. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2258. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2259. <stringProp name="HTTPSampler.embedded_url_re"/>
  2260. </HTTPSamplerProxy>
  2261. <hashTree>
  2262. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  2263. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  2264. <stringProp name="EXPECTED_VALUE">0</stringProp>
  2265. <boolProp name="JSONVALIDATION">true</boolProp>
  2266. <boolProp name="EXPECT_NULL">false</boolProp>
  2267. <boolProp name="INVERT">true</boolProp>
  2268. <boolProp name="ISREGEX">true</boolProp>
  2269. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  2270. <hashTree/>
  2271. <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 customer emails" enabled="true">
  2272. <stringProp name="VAR">customer_emails</stringProp>
  2273. <stringProp name="JSONPATH">$.items[*].email</stringProp>
  2274. <stringProp name="DEFAULT"/>
  2275. <stringProp name="VARIABLE"/>
  2276. <stringProp name="SUBJECT">BODY</stringProp>
  2277. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  2278. <hashTree/>
  2279. <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 customer ids" enabled="true">
  2280. <stringProp name="VAR">customer_ids</stringProp>
  2281. <stringProp name="JSONPATH">$.items[*].entity_id</stringProp>
  2282. <stringProp name="DEFAULT"/>
  2283. <stringProp name="VARIABLE"/>
  2284. <stringProp name="SUBJECT">BODY</stringProp>
  2285. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  2286. <hashTree/>
  2287. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Make email list" enabled="true">
  2288. <boolProp name="resetInterpreter">false</boolProp>
  2289. <stringProp name="parameters"/>
  2290. <stringProp name="filename"/>
  2291. <stringProp name="script">import java.util.LinkedList;
  2292. LinkedList emailsList = new LinkedList();
  2293. props.put("customer_emails_list", emailsList);</stringProp>
  2294. </BeanShellPostProcessor>
  2295. <hashTree/>
  2296. </hashTree>
  2297. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: customer emails loop (search result)" enabled="true">
  2298. <stringProp name="ForeachController.inputVal">customer_emails</stringProp>
  2299. <stringProp name="ForeachController.returnVal">customer_email</stringProp>
  2300. <boolProp name="ForeachController.useSeparator">true</boolProp>
  2301. </ForeachController>
  2302. <hashTree>
  2303. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  2304. <stringProp name="CounterConfig.start">1</stringProp>
  2305. <stringProp name="CounterConfig.end"/>
  2306. <stringProp name="CounterConfig.incr">1</stringProp>
  2307. <stringProp name="CounterConfig.name">email_counter</stringProp>
  2308. <stringProp name="CounterConfig.format"/>
  2309. <boolProp name="CounterConfig.per_user">false</boolProp>
  2310. </CounterConfig>
  2311. <hashTree/>
  2312. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect customer emails" enabled="true">
  2313. <stringProp name="BeanShellSampler.query">
  2314. try {
  2315. props.get("customer_emails_list").add(vars.get("customer_email"));
  2316. } catch (java.lang.Exception e) {
  2317. log.error("error&#x2026;", e);
  2318. SampleResult.setStopThread(true);
  2319. }
  2320. </stringProp>
  2321. <stringProp name="BeanShellSampler.filename"/>
  2322. <stringProp name="BeanShellSampler.parameters"/>
  2323. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  2324. </BeanShellSampler>
  2325. <hashTree/>
  2326. </hashTree>
  2327. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: customer ids loop (search result)" enabled="true">
  2328. <stringProp name="ForeachController.inputVal">customer_ids</stringProp>
  2329. <stringProp name="ForeachController.returnVal">customer_id</stringProp>
  2330. <boolProp name="ForeachController.useSeparator">true</boolProp>
  2331. </ForeachController>
  2332. <hashTree>
  2333. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  2334. <stringProp name="CounterConfig.start">1</stringProp>
  2335. <stringProp name="CounterConfig.end"/>
  2336. <stringProp name="CounterConfig.incr">1</stringProp>
  2337. <stringProp name="CounterConfig.name">id_counter</stringProp>
  2338. <stringProp name="CounterConfig.format"/>
  2339. <boolProp name="CounterConfig.per_user">false</boolProp>
  2340. </CounterConfig>
  2341. <hashTree/>
  2342. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Collect customer ids" enabled="true">
  2343. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  2344. // If it is first iteration of cycle then recreate idsList
  2345. if (1 == Integer.parseInt(vars.get("id_counter"))) {
  2346. idsList = new ArrayList();
  2347. props.put("customer_ids_list", idsList);
  2348. } else {
  2349. idsList = props.get("customer_ids_list");
  2350. }
  2351. idsList.add(vars.get("customer_id"));</stringProp>
  2352. <stringProp name="BeanShellSampler.filename"/>
  2353. <stringProp name="BeanShellSampler.parameters"/>
  2354. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  2355. </BeanShellSampler>
  2356. <hashTree/>
  2357. </hashTree>
  2358. </hashTree>
  2359. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Extract region ids" enabled="true">
  2360. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/extract_region_ids.jmx</stringProp>
  2361. </TestFragmentController>
  2362. <hashTree>
  2363. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Extract Region ids" enabled="true">
  2364. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2365. <collectionProp name="Arguments.arguments">
  2366. <elementProp name="parent" elementType="HTTPArgument">
  2367. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2368. <stringProp name="Argument.value">US</stringProp>
  2369. <stringProp name="Argument.metadata">=</stringProp>
  2370. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2371. <stringProp name="Argument.name">parent</stringProp>
  2372. </elementProp>
  2373. </collectionProp>
  2374. </elementProp>
  2375. <stringProp name="HTTPSampler.domain"/>
  2376. <stringProp name="HTTPSampler.port"/>
  2377. <stringProp name="HTTPSampler.connect_timeout"/>
  2378. <stringProp name="HTTPSampler.response_timeout"/>
  2379. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2380. <stringProp name="HTTPSampler.contentEncoding"/>
  2381. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/directory/json/countryRegion/</stringProp>
  2382. <stringProp name="HTTPSampler.method">GET</stringProp>
  2383. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2384. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2385. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2386. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2387. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2388. <stringProp name="HTTPSampler.embedded_url_re"/>
  2389. </HTTPSamplerProxy>
  2390. <hashTree>
  2391. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Parse and put region id into variables" enabled="true">
  2392. <stringProp name="scriptLanguage">groovy</stringProp>
  2393. <stringProp name="parameters"/>
  2394. <stringProp name="filename"/>
  2395. <stringProp name="cacheKey"/>
  2396. <stringProp name="script">import groovy.json.JsonSlurper
  2397. def jsonSlurper = new JsonSlurper();
  2398. def regionResponse = jsonSlurper.parseText(prev.getResponseDataAsString());
  2399. regionResponse.each { region -&gt;
  2400. if (region.label.toString() == "Alabama") {
  2401. props.put("alabama_region_id", region.value.toString());
  2402. } else if (region.label.toString() == 'California') {
  2403. props.put("california_region_id", region.value.toString());
  2404. }
  2405. }</stringProp>
  2406. </JSR223PostProcessor>
  2407. <hashTree/>
  2408. </hashTree>
  2409. </hashTree>
  2410. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - BeanShell Sampler: Validate properties and count users" enabled="true">
  2411. <stringProp name="BeanShellSampler.query">Boolean stopTestOnError (String error) {
  2412. log.error(error);
  2413. System.out.println(error);
  2414. SampleResult.setStopTest(true);
  2415. return false;
  2416. }
  2417. if (props.get("simple_products_list") == null) {
  2418. return stopTestOnError("Cannot find simple products. Test stopped.");
  2419. }
  2420. if (props.get("simple_products_list_for_edit") == null) {
  2421. return stopTestOnError("Cannot find simple products for edit. Test stopped.");
  2422. }
  2423. if (props.get("configurable_products_list") == null) {
  2424. return stopTestOnError("Cannot find configurable products. Test stopped.");
  2425. }
  2426. if (props.get("configurable_products_list_for_edit") == null) {
  2427. return stopTestOnError("Cannot find configurable products for edit. Test stopped.");
  2428. }
  2429. if (props.get("customer_emails_list") == null) {
  2430. return stopTestOnError("Cannot find customer emails. Test stopped.");
  2431. }
  2432. if (props.get("category_url_keys_list") == null) {
  2433. return stopTestOnError("Cannot find category url keys. Test stopped.");
  2434. }
  2435. if (props.get("category_names_list") == null) {
  2436. return stopTestOnError("Cannot find category names. Test stopped.");
  2437. }
  2438. </stringProp>
  2439. <stringProp name="BeanShellSampler.filename"/>
  2440. <stringProp name="BeanShellSampler.parameters"/>
  2441. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  2442. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/validate_properties.jmx</stringProp></BeanShellSampler>
  2443. <hashTree/>
  2444. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - WarmUp Add To Cart" enabled="true">
  2445. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2446. <collectionProp name="Arguments.arguments">
  2447. <elementProp name="product" elementType="HTTPArgument">
  2448. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2449. <stringProp name="Argument.value">1</stringProp>
  2450. <stringProp name="Argument.metadata">=</stringProp>
  2451. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2452. <stringProp name="Argument.name">product</stringProp>
  2453. </elementProp>
  2454. <elementProp name="related_product" elementType="HTTPArgument">
  2455. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2456. <stringProp name="Argument.value"/>
  2457. <stringProp name="Argument.metadata">=</stringProp>
  2458. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2459. <stringProp name="Argument.name">related_product</stringProp>
  2460. </elementProp>
  2461. <elementProp name="qty" elementType="HTTPArgument">
  2462. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2463. <stringProp name="Argument.value">1</stringProp>
  2464. <stringProp name="Argument.metadata">=</stringProp>
  2465. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2466. <stringProp name="Argument.name">qty</stringProp>
  2467. </elementProp>
  2468. <elementProp name="form_key" elementType="HTTPArgument">
  2469. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2470. <stringProp name="Argument.value">${form_key}</stringProp>
  2471. <stringProp name="Argument.metadata">=</stringProp>
  2472. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2473. <stringProp name="Argument.name">form_key</stringProp>
  2474. </elementProp>
  2475. </collectionProp>
  2476. </elementProp>
  2477. <stringProp name="HTTPSampler.domain"/>
  2478. <stringProp name="HTTPSampler.port"/>
  2479. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2480. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2481. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2482. <stringProp name="HTTPSampler.contentEncoding"/>
  2483. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add</stringProp>
  2484. <stringProp name="HTTPSampler.method">POST</stringProp>
  2485. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2486. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2487. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2488. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2489. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2490. <stringProp name="HTTPSampler.embedded_url_re"/>
  2491. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/warmup_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  2492. <hashTree/>
  2493. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Ajax Load Login Form" enabled="true">
  2494. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2495. <collectionProp name="Arguments.arguments">
  2496. <elementProp name="blocks" elementType="HTTPArgument">
  2497. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2498. <stringProp name="Argument.value">["customer_form_login"]</stringProp>
  2499. <stringProp name="Argument.metadata">=</stringProp>
  2500. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2501. <stringProp name="Argument.name">blocks</stringProp>
  2502. </elementProp>
  2503. <elementProp name="handles" elementType="HTTPArgument">
  2504. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2505. <stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
  2506. <stringProp name="Argument.metadata">=</stringProp>
  2507. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2508. <stringProp name="Argument.name">handles</stringProp>
  2509. </elementProp>
  2510. <elementProp name="originalRequest" elementType="HTTPArgument">
  2511. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2512. <stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
  2513. <stringProp name="Argument.metadata">=</stringProp>
  2514. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2515. <stringProp name="Argument.name">originalRequest</stringProp>
  2516. </elementProp>
  2517. <elementProp name="ajax" elementType="HTTPArgument">
  2518. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2519. <stringProp name="Argument.value">true</stringProp>
  2520. <stringProp name="Argument.metadata">=</stringProp>
  2521. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2522. <stringProp name="Argument.name">ajax</stringProp>
  2523. </elementProp>
  2524. <elementProp name="isAjax" elementType="HTTPArgument">
  2525. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2526. <stringProp name="Argument.value">true</stringProp>
  2527. <stringProp name="Argument.metadata">=</stringProp>
  2528. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2529. <stringProp name="Argument.name">isAjax</stringProp>
  2530. </elementProp>
  2531. </collectionProp>
  2532. </elementProp>
  2533. <stringProp name="HTTPSampler.domain"/>
  2534. <stringProp name="HTTPSampler.port"/>
  2535. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2536. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2537. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2538. <stringProp name="HTTPSampler.contentEncoding"/>
  2539. <stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
  2540. <stringProp name="HTTPSampler.method">GET</stringProp>
  2541. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2542. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2543. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2544. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2545. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2546. <stringProp name="HTTPSampler.embedded_url_re"/>
  2547. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/ajax_load_login_form.jmx</stringProp></HTTPSamplerProxy>
  2548. <hashTree>
  2549. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2550. <collectionProp name="Asserion.test_strings">
  2551. <stringProp name="940598773">"customer_form_login"</stringProp>
  2552. <stringProp name="1951684663">Registered Customers</stringProp>
  2553. <stringProp name="474011748">form_key</stringProp>
  2554. </collectionProp>
  2555. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2556. <boolProp name="Assertion.assume_success">false</boolProp>
  2557. <intProp name="Assertion.test_type">2</intProp>
  2558. </ResponseAssertion>
  2559. <hashTree/>
  2560. </hashTree>
  2561. </hashTree>
  2562. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Frontend Pool" enabled="true">
  2563. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  2564. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  2565. <boolProp name="LoopController.continue_forever">false</boolProp>
  2566. <stringProp name="LoopController.loops">${loops}</stringProp>
  2567. </elementProp>
  2568. <stringProp name="ThreadGroup.num_threads">${frontendPoolUsers}</stringProp>
  2569. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  2570. <longProp name="ThreadGroup.start_time">1505803944000</longProp>
  2571. <longProp name="ThreadGroup.end_time">1505803944000</longProp>
  2572. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  2573. <stringProp name="ThreadGroup.duration"/>
  2574. <stringProp name="ThreadGroup.delay"/>
  2575. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/thread_group.jmx</stringProp></ThreadGroup>
  2576. <hashTree>
  2577. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Cache hit miss" enabled="true">
  2578. <stringProp name="scriptLanguage">javascript</stringProp>
  2579. <stringProp name="parameters"/>
  2580. <stringProp name="filename"/>
  2581. <stringProp name="cacheKey"/>
  2582. <stringProp name="script">var cacheHitPercent = vars.get("cache_hits_percentage");
  2583. if (
  2584. cacheHitPercent &lt; 100 &amp;&amp;
  2585. sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  2586. ) {
  2587. doCache();
  2588. }
  2589. function doCache(){
  2590. var random = Math.random() * 100;
  2591. if (cacheHitPercent &lt; random) {
  2592. sampler.setPath(sampler.getPath() + "?cacheModifier=" + Math.random().toString(36).substring(2, 13));
  2593. }
  2594. }
  2595. </stringProp>
  2596. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/cache_hit_miss.jmx</stringProp></JSR223PreProcessor>
  2597. <hashTree/>
  2598. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Catalog Browsing By Customer" enabled="true">
  2599. <intProp name="ThroughputController.style">1</intProp>
  2600. <boolProp name="ThroughputController.perThread">false</boolProp>
  2601. <intProp name="ThroughputController.maxThroughput">1</intProp>
  2602. <stringProp name="ThroughputController.percentThroughput">${browseCatalogByCustomerPercentage}</stringProp>
  2603. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  2604. <hashTree>
  2605. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  2606. <stringProp name="script">
  2607. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  2608. if (testLabel
  2609. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  2610. ) {
  2611. if (sampler.getName().indexOf(testLabel) == -1) {
  2612. sampler.setName(sampler.getName() + testLabel);
  2613. }
  2614. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  2615. sampler.setName("SetUp - " + sampler.getName());
  2616. }
  2617. </stringProp>
  2618. <stringProp name="scriptLanguage">javascript</stringProp>
  2619. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  2620. <hashTree/>
  2621. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  2622. <stringProp name="BeanShellSampler.query">
  2623. vars.put("testLabel", "Catalog Browsing By Customer");
  2624. </stringProp>
  2625. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  2626. </BeanShellSampler>
  2627. <hashTree/>
  2628. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  2629. <collectionProp name="CookieManager.cookies">
  2630. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  2631. <stringProp name="Cookie.value">30</stringProp>
  2632. <stringProp name="Cookie.domain">${host}</stringProp>
  2633. <stringProp name="Cookie.path">/</stringProp>
  2634. <boolProp name="Cookie.secure">false</boolProp>
  2635. <longProp name="Cookie.expires">0</longProp>
  2636. <boolProp name="Cookie.path_specified">true</boolProp>
  2637. <boolProp name="Cookie.domain_specified">true</boolProp>
  2638. </elementProp>
  2639. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  2640. <stringProp name="Cookie.value">${form_key}</stringProp>
  2641. <stringProp name="Cookie.domain">${host}</stringProp>
  2642. <stringProp name="Cookie.path">${base_path}</stringProp>
  2643. <boolProp name="Cookie.secure">false</boolProp>
  2644. <longProp name="Cookie.expires">0</longProp>
  2645. <boolProp name="Cookie.path_specified">true</boolProp>
  2646. <boolProp name="Cookie.domain_specified">true</boolProp>
  2647. </elementProp>
  2648. </collectionProp>
  2649. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  2650. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  2651. <hashTree/>
  2652. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  2653. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  2654. <stringProp name="BeanShellSampler.query">
  2655. import java.util.Random;
  2656. Random random = new Random();
  2657. if (${seedForRandom} &gt; 0) {
  2658. random.setSeed(${seedForRandom} + ${__threadNum});
  2659. }
  2660. vars.putObject("randomIntGenerator", random);
  2661. </stringProp>
  2662. <stringProp name="BeanShellSampler.filename"/>
  2663. <stringProp name="BeanShellSampler.parameters"/>
  2664. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  2665. </BeanShellSampler>
  2666. <hashTree/>
  2667. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  2668. <stringProp name="BeanShellSampler.query">
  2669. import java.util.Random;
  2670. Random random = vars.getObject("randomIntGenerator");
  2671. number = random.nextInt(props.get("category_url_keys_list").size());
  2672. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  2673. vars.put("category_name", props.get("category_names_list").get(number));
  2674. </stringProp>
  2675. <stringProp name="BeanShellSampler.filename"/>
  2676. <stringProp name="BeanShellSampler.parameters"/>
  2677. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  2678. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  2679. <hashTree/>
  2680. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Get Customer Email" enabled="true">
  2681. <stringProp name="CriticalSectionController.lockName">get-email</stringProp>
  2682. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  2683. <hashTree>
  2684. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Customer Email" enabled="true">
  2685. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_customer_email.jmx</stringProp>
  2686. <stringProp name="BeanShellSampler.query">
  2687. customerUserList = props.get("customer_emails_list");
  2688. customerUser = customerUserList.poll();
  2689. if (customerUser == null) {
  2690. SampleResult.setResponseMessage("customernUser list is empty");
  2691. SampleResult.setResponseData("customerUser list is empty","UTF-8");
  2692. IsSuccess=false;
  2693. SampleResult.setSuccessful(false);
  2694. SampleResult.setStopThread(true);
  2695. }
  2696. vars.put("customer_email", customerUser);
  2697. </stringProp>
  2698. <stringProp name="BeanShellSampler.filename"/>
  2699. <stringProp name="BeanShellSampler.parameters"/>
  2700. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  2701. </BeanShellSampler>
  2702. <hashTree/>
  2703. </hashTree>
  2704. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page" enabled="true">
  2705. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2706. <collectionProp name="Arguments.arguments"/>
  2707. </elementProp>
  2708. <stringProp name="HTTPSampler.domain"/>
  2709. <stringProp name="HTTPSampler.port"/>
  2710. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2711. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2712. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2713. <stringProp name="HTTPSampler.contentEncoding"/>
  2714. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  2715. <stringProp name="HTTPSampler.method">GET</stringProp>
  2716. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2717. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2718. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2719. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2720. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2721. <stringProp name="HTTPSampler.embedded_url_re"/>
  2722. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_login_page.jmx</stringProp></HTTPSamplerProxy>
  2723. <hashTree>
  2724. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2725. <collectionProp name="Asserion.test_strings">
  2726. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  2727. </collectionProp>
  2728. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2729. <boolProp name="Assertion.assume_success">false</boolProp>
  2730. <intProp name="Assertion.test_type">2</intProp>
  2731. </ResponseAssertion>
  2732. <hashTree/>
  2733. </hashTree>
  2734. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login" enabled="true">
  2735. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2736. <collectionProp name="Arguments.arguments">
  2737. <elementProp name="form_key" elementType="HTTPArgument">
  2738. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2739. <stringProp name="Argument.value">${form_key}</stringProp>
  2740. <stringProp name="Argument.metadata">=</stringProp>
  2741. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2742. <stringProp name="Argument.name">form_key</stringProp>
  2743. </elementProp>
  2744. <elementProp name="login[username]" elementType="HTTPArgument">
  2745. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2746. <stringProp name="Argument.value">${customer_email}</stringProp>
  2747. <stringProp name="Argument.metadata">=</stringProp>
  2748. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2749. <stringProp name="Argument.name">login[username]</stringProp>
  2750. </elementProp>
  2751. <elementProp name="login[password]" elementType="HTTPArgument">
  2752. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2753. <stringProp name="Argument.value">${customer_password}</stringProp>
  2754. <stringProp name="Argument.metadata">=</stringProp>
  2755. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2756. <stringProp name="Argument.name">login[password]</stringProp>
  2757. </elementProp>
  2758. <elementProp name="send" elementType="HTTPArgument">
  2759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2760. <stringProp name="Argument.value"/>
  2761. <stringProp name="Argument.metadata">=</stringProp>
  2762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2763. <stringProp name="Argument.name">send</stringProp>
  2764. </elementProp>
  2765. </collectionProp>
  2766. </elementProp>
  2767. <stringProp name="HTTPSampler.domain"/>
  2768. <stringProp name="HTTPSampler.port"/>
  2769. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2770. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2771. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2772. <stringProp name="HTTPSampler.contentEncoding"/>
  2773. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  2774. <stringProp name="HTTPSampler.method">POST</stringProp>
  2775. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2776. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2777. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2778. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2779. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2780. <stringProp name="HTTPSampler.embedded_url_re"/>
  2781. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/login.jmx</stringProp></HTTPSamplerProxy>
  2782. <hashTree>
  2783. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2784. <collectionProp name="Asserion.test_strings">
  2785. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  2786. </collectionProp>
  2787. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2788. <boolProp name="Assertion.assume_success">false</boolProp>
  2789. <intProp name="Assertion.test_type">2</intProp>
  2790. </ResponseAssertion>
  2791. <hashTree/>
  2792. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  2793. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2794. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  2795. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  2796. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2797. <stringProp name="RegexExtractor.default"/>
  2798. <stringProp name="RegexExtractor.match_number">1</stringProp>
  2799. </RegexExtractor>
  2800. <hashTree/>
  2801. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  2802. <collectionProp name="Asserion.test_strings">
  2803. <stringProp name="2845929">^.+$</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">1</intProp>
  2808. <stringProp name="Assertion.scope">variable</stringProp>
  2809. <stringProp name="Scope.variable">addressId</stringProp>
  2810. </ResponseAssertion>
  2811. <hashTree/>
  2812. </hashTree>
  2813. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Customer Private Data" enabled="true">
  2814. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2815. <collectionProp name="Arguments.arguments">
  2816. <elementProp name="sections" elementType="HTTPArgument">
  2817. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2818. <stringProp name="Argument.value"/>
  2819. <stringProp name="Argument.metadata">=</stringProp>
  2820. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2821. <stringProp name="Argument.name">sections</stringProp>
  2822. </elementProp>
  2823. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  2824. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2825. <stringProp name="Argument.value">false</stringProp>
  2826. <stringProp name="Argument.metadata">=</stringProp>
  2827. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2828. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  2829. </elementProp>
  2830. <elementProp name="_" elementType="HTTPArgument">
  2831. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  2832. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  2833. <stringProp name="Argument.metadata">=</stringProp>
  2834. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  2835. <stringProp name="Argument.name">_</stringProp>
  2836. </elementProp>
  2837. </collectionProp>
  2838. </elementProp>
  2839. <stringProp name="HTTPSampler.domain"/>
  2840. <stringProp name="HTTPSampler.port"/>
  2841. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2842. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2843. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2844. <stringProp name="HTTPSampler.contentEncoding"/>
  2845. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  2846. <stringProp name="HTTPSampler.method">GET</stringProp>
  2847. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2848. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2849. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2850. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2851. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2852. <stringProp name="HTTPSampler.embedded_url_re"/>
  2853. </HTTPSamplerProxy>
  2854. <hashTree/>
  2855. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  2856. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2857. <collectionProp name="Arguments.arguments"/>
  2858. </elementProp>
  2859. <stringProp name="HTTPSampler.domain"/>
  2860. <stringProp name="HTTPSampler.port"/>
  2861. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2862. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2863. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2864. <stringProp name="HTTPSampler.contentEncoding"/>
  2865. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  2866. <stringProp name="HTTPSampler.method">GET</stringProp>
  2867. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2868. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2869. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2870. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2871. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2872. <stringProp name="HTTPSampler.embedded_url_re"/>
  2873. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  2874. <hashTree>
  2875. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2876. <collectionProp name="Asserion.test_strings">
  2877. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  2878. </collectionProp>
  2879. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2880. <boolProp name="Assertion.assume_success">false</boolProp>
  2881. <intProp name="Assertion.test_type">2</intProp>
  2882. </ResponseAssertion>
  2883. <hashTree/>
  2884. </hashTree>
  2885. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  2886. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2887. <collectionProp name="Arguments.arguments"/>
  2888. </elementProp>
  2889. <stringProp name="HTTPSampler.domain"/>
  2890. <stringProp name="HTTPSampler.port"/>
  2891. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2892. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2893. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2894. <stringProp name="HTTPSampler.contentEncoding"/>
  2895. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  2896. <stringProp name="HTTPSampler.method">GET</stringProp>
  2897. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2898. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2899. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2900. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2901. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2902. <stringProp name="HTTPSampler.embedded_url_re"/>
  2903. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_category.jmx</stringProp></HTTPSamplerProxy>
  2904. <hashTree>
  2905. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2906. <collectionProp name="Asserion.test_strings">
  2907. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  2908. </collectionProp>
  2909. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2910. <boolProp name="Assertion.assume_success">false</boolProp>
  2911. <intProp name="Assertion.test_type">6</intProp>
  2912. </ResponseAssertion>
  2913. <hashTree/>
  2914. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  2915. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  2916. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  2917. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  2918. <stringProp name="RegexExtractor.template">$1$</stringProp>
  2919. <stringProp name="RegexExtractor.default"/>
  2920. <stringProp name="RegexExtractor.match_number">1</stringProp>
  2921. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  2922. </RegexExtractor>
  2923. <hashTree/>
  2924. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  2925. <collectionProp name="Asserion.test_strings">
  2926. <stringProp name="1191417111">^[0-9]+$</stringProp>
  2927. </collectionProp>
  2928. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2929. <boolProp name="Assertion.assume_success">false</boolProp>
  2930. <intProp name="Assertion.test_type">1</intProp>
  2931. <stringProp name="Assertion.scope">variable</stringProp>
  2932. <stringProp name="Scope.variable">category_id</stringProp>
  2933. </ResponseAssertion>
  2934. <hashTree/>
  2935. </hashTree>
  2936. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Simple Products" enabled="true">
  2937. <boolProp name="LoopController.continue_forever">true</boolProp>
  2938. <stringProp name="LoopController.loops">2</stringProp>
  2939. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  2940. <hashTree>
  2941. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  2942. <stringProp name="CounterConfig.start">1</stringProp>
  2943. <stringProp name="CounterConfig.end"/>
  2944. <stringProp name="CounterConfig.incr">1</stringProp>
  2945. <stringProp name="CounterConfig.name">_counter</stringProp>
  2946. <stringProp name="CounterConfig.format"/>
  2947. <boolProp name="CounterConfig.per_user">true</boolProp>
  2948. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  2949. </CounterConfig>
  2950. <hashTree/>
  2951. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  2952. <stringProp name="BeanShellSampler.query">
  2953. import java.util.Random;
  2954. Random random = vars.getObject("randomIntGenerator");
  2955. number = random.nextInt(props.get("simple_products_list").size());
  2956. product = props.get("simple_products_list").get(number);
  2957. vars.put("product_url_key", product.get("url_key"));
  2958. vars.put("product_id", product.get("id"));
  2959. vars.put("product_name", product.get("title"));
  2960. vars.put("product_uenc", product.get("uenc"));
  2961. vars.put("product_sku", product.get("sku"));
  2962. </stringProp>
  2963. <stringProp name="BeanShellSampler.filename"/>
  2964. <stringProp name="BeanShellSampler.parameters"/>
  2965. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  2966. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  2967. <hashTree/>
  2968. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  2969. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  2970. <collectionProp name="Arguments.arguments"/>
  2971. </elementProp>
  2972. <stringProp name="HTTPSampler.domain"/>
  2973. <stringProp name="HTTPSampler.port"/>
  2974. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  2975. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  2976. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  2977. <stringProp name="HTTPSampler.contentEncoding"/>
  2978. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  2979. <stringProp name="HTTPSampler.method">GET</stringProp>
  2980. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2981. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2982. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2983. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2984. <boolProp name="HTTPSampler.monitor">false</boolProp>
  2985. <stringProp name="HTTPSampler.embedded_url_re"/>
  2986. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  2987. <hashTree>
  2988. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  2989. <collectionProp name="Asserion.test_strings">
  2990. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  2991. </collectionProp>
  2992. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  2993. <boolProp name="Assertion.assume_success">false</boolProp>
  2994. <intProp name="Assertion.test_type">2</intProp>
  2995. </ResponseAssertion>
  2996. <hashTree/>
  2997. </hashTree>
  2998. </hashTree>
  2999. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Configurable Products" enabled="true">
  3000. <boolProp name="LoopController.continue_forever">true</boolProp>
  3001. <stringProp name="LoopController.loops">1</stringProp>
  3002. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  3003. <hashTree>
  3004. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  3005. <stringProp name="CounterConfig.start">1</stringProp>
  3006. <stringProp name="CounterConfig.end"/>
  3007. <stringProp name="CounterConfig.incr">1</stringProp>
  3008. <stringProp name="CounterConfig.name">_counter</stringProp>
  3009. <stringProp name="CounterConfig.format"/>
  3010. <boolProp name="CounterConfig.per_user">true</boolProp>
  3011. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  3012. </CounterConfig>
  3013. <hashTree/>
  3014. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  3015. <stringProp name="BeanShellSampler.query">
  3016. import java.util.Random;
  3017. Random random = vars.getObject("randomIntGenerator");
  3018. number = random.nextInt(props.get("configurable_products_list").size());
  3019. product = props.get("configurable_products_list").get(number);
  3020. vars.put("product_url_key", product.get("url_key"));
  3021. vars.put("product_id", product.get("id"));
  3022. vars.put("product_name", product.get("title"));
  3023. vars.put("product_uenc", product.get("uenc"));
  3024. vars.put("product_sku", product.get("sku"));
  3025. </stringProp>
  3026. <stringProp name="BeanShellSampler.filename"/>
  3027. <stringProp name="BeanShellSampler.parameters"/>
  3028. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3029. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  3030. <hashTree/>
  3031. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  3032. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3033. <collectionProp name="Arguments.arguments"/>
  3034. </elementProp>
  3035. <stringProp name="HTTPSampler.domain"/>
  3036. <stringProp name="HTTPSampler.port"/>
  3037. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3038. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3039. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3040. <stringProp name="HTTPSampler.contentEncoding"/>
  3041. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  3042. <stringProp name="HTTPSampler.method">GET</stringProp>
  3043. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3044. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3045. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3046. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3047. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3048. <stringProp name="HTTPSampler.embedded_url_re"/>
  3049. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  3050. <hashTree>
  3051. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3052. <collectionProp name="Asserion.test_strings">
  3053. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3054. </collectionProp>
  3055. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3056. <boolProp name="Assertion.assume_success">false</boolProp>
  3057. <intProp name="Assertion.test_type">2</intProp>
  3058. </ResponseAssertion>
  3059. <hashTree/>
  3060. </hashTree>
  3061. </hashTree>
  3062. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  3063. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3064. <collectionProp name="Arguments.arguments"/>
  3065. </elementProp>
  3066. <stringProp name="HTTPSampler.domain"/>
  3067. <stringProp name="HTTPSampler.port"/>
  3068. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3069. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3070. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3071. <stringProp name="HTTPSampler.contentEncoding"/>
  3072. <stringProp name="HTTPSampler.path">${base_path}customer/account/logout/</stringProp>
  3073. <stringProp name="HTTPSampler.method">GET</stringProp>
  3074. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3075. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3076. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3077. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3078. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3079. <stringProp name="HTTPSampler.embedded_url_re"/>
  3080. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/logout.jmx</stringProp></HTTPSamplerProxy>
  3081. <hashTree>
  3082. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  3083. <collectionProp name="Asserion.test_strings">
  3084. <stringProp name="1723813687">You are signed out.</stringProp>
  3085. </collectionProp>
  3086. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3087. <boolProp name="Assertion.assume_success">false</boolProp>
  3088. <intProp name="Assertion.test_type">2</intProp>
  3089. </ResponseAssertion>
  3090. <hashTree/>
  3091. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Customer to Pool" enabled="true">
  3092. <boolProp name="resetInterpreter">false</boolProp>
  3093. <stringProp name="parameters"/>
  3094. <stringProp name="filename"/>
  3095. <stringProp name="script">
  3096. customerUserList = props.get("customer_emails_list");
  3097. customerUserList.add(vars.get("customer_email"));
  3098. </stringProp>
  3099. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  3100. <hashTree/>
  3101. </hashTree>
  3102. </hashTree>
  3103. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Catalog Browsing By Guest" enabled="true">
  3104. <intProp name="ThroughputController.style">1</intProp>
  3105. <boolProp name="ThroughputController.perThread">false</boolProp>
  3106. <intProp name="ThroughputController.maxThroughput">1</intProp>
  3107. <stringProp name="ThroughputController.percentThroughput">${browseCatalogByGuestPercentage}</stringProp>
  3108. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  3109. <hashTree>
  3110. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  3111. <stringProp name="script">
  3112. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  3113. if (testLabel
  3114. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  3115. ) {
  3116. if (sampler.getName().indexOf(testLabel) == -1) {
  3117. sampler.setName(sampler.getName() + testLabel);
  3118. }
  3119. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  3120. sampler.setName("SetUp - " + sampler.getName());
  3121. }
  3122. </stringProp>
  3123. <stringProp name="scriptLanguage">javascript</stringProp>
  3124. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  3125. <hashTree/>
  3126. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  3127. <stringProp name="BeanShellSampler.query">
  3128. vars.put("testLabel", "Catalog Browsing By Guest");
  3129. </stringProp>
  3130. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3131. </BeanShellSampler>
  3132. <hashTree/>
  3133. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  3134. <collectionProp name="CookieManager.cookies">
  3135. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  3136. <stringProp name="Cookie.value">30</stringProp>
  3137. <stringProp name="Cookie.domain">${host}</stringProp>
  3138. <stringProp name="Cookie.path">/</stringProp>
  3139. <boolProp name="Cookie.secure">false</boolProp>
  3140. <longProp name="Cookie.expires">0</longProp>
  3141. <boolProp name="Cookie.path_specified">true</boolProp>
  3142. <boolProp name="Cookie.domain_specified">true</boolProp>
  3143. </elementProp>
  3144. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  3145. <stringProp name="Cookie.value">${form_key}</stringProp>
  3146. <stringProp name="Cookie.domain">${host}</stringProp>
  3147. <stringProp name="Cookie.path">${base_path}</stringProp>
  3148. <boolProp name="Cookie.secure">false</boolProp>
  3149. <longProp name="Cookie.expires">0</longProp>
  3150. <boolProp name="Cookie.path_specified">true</boolProp>
  3151. <boolProp name="Cookie.domain_specified">true</boolProp>
  3152. </elementProp>
  3153. </collectionProp>
  3154. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  3155. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  3156. <hashTree/>
  3157. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  3158. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  3159. <stringProp name="BeanShellSampler.query">
  3160. import java.util.Random;
  3161. Random random = new Random();
  3162. if (${seedForRandom} &gt; 0) {
  3163. random.setSeed(${seedForRandom} + ${__threadNum});
  3164. }
  3165. vars.putObject("randomIntGenerator", random);
  3166. </stringProp>
  3167. <stringProp name="BeanShellSampler.filename"/>
  3168. <stringProp name="BeanShellSampler.parameters"/>
  3169. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3170. </BeanShellSampler>
  3171. <hashTree/>
  3172. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  3173. <stringProp name="BeanShellSampler.query">
  3174. import java.util.Random;
  3175. Random random = vars.getObject("randomIntGenerator");
  3176. number = random.nextInt(props.get("category_url_keys_list").size());
  3177. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  3178. vars.put("category_name", props.get("category_names_list").get(number));
  3179. </stringProp>
  3180. <stringProp name="BeanShellSampler.filename"/>
  3181. <stringProp name="BeanShellSampler.parameters"/>
  3182. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  3183. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  3184. <hashTree/>
  3185. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  3186. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3187. <collectionProp name="Arguments.arguments"/>
  3188. </elementProp>
  3189. <stringProp name="HTTPSampler.domain"/>
  3190. <stringProp name="HTTPSampler.port"/>
  3191. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3192. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3193. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3194. <stringProp name="HTTPSampler.contentEncoding"/>
  3195. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  3196. <stringProp name="HTTPSampler.method">GET</stringProp>
  3197. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3198. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3199. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3200. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3201. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3202. <stringProp name="HTTPSampler.embedded_url_re"/>
  3203. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  3204. <hashTree>
  3205. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3206. <collectionProp name="Asserion.test_strings">
  3207. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  3208. </collectionProp>
  3209. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3210. <boolProp name="Assertion.assume_success">false</boolProp>
  3211. <intProp name="Assertion.test_type">2</intProp>
  3212. </ResponseAssertion>
  3213. <hashTree/>
  3214. </hashTree>
  3215. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  3216. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3217. <collectionProp name="Arguments.arguments"/>
  3218. </elementProp>
  3219. <stringProp name="HTTPSampler.domain"/>
  3220. <stringProp name="HTTPSampler.port"/>
  3221. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3222. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3223. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3224. <stringProp name="HTTPSampler.contentEncoding"/>
  3225. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  3226. <stringProp name="HTTPSampler.method">GET</stringProp>
  3227. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3228. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3229. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3230. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3231. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3232. <stringProp name="HTTPSampler.embedded_url_re"/>
  3233. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_category.jmx</stringProp></HTTPSamplerProxy>
  3234. <hashTree>
  3235. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3236. <collectionProp name="Asserion.test_strings">
  3237. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  3238. </collectionProp>
  3239. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3240. <boolProp name="Assertion.assume_success">false</boolProp>
  3241. <intProp name="Assertion.test_type">6</intProp>
  3242. </ResponseAssertion>
  3243. <hashTree/>
  3244. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  3245. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3246. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  3247. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  3248. <stringProp name="RegexExtractor.template">$1$</stringProp>
  3249. <stringProp name="RegexExtractor.default"/>
  3250. <stringProp name="RegexExtractor.match_number">1</stringProp>
  3251. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  3252. </RegexExtractor>
  3253. <hashTree/>
  3254. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  3255. <collectionProp name="Asserion.test_strings">
  3256. <stringProp name="1191417111">^[0-9]+$</stringProp>
  3257. </collectionProp>
  3258. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3259. <boolProp name="Assertion.assume_success">false</boolProp>
  3260. <intProp name="Assertion.test_type">1</intProp>
  3261. <stringProp name="Assertion.scope">variable</stringProp>
  3262. <stringProp name="Scope.variable">category_id</stringProp>
  3263. </ResponseAssertion>
  3264. <hashTree/>
  3265. </hashTree>
  3266. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Simple Products" enabled="true">
  3267. <boolProp name="LoopController.continue_forever">true</boolProp>
  3268. <stringProp name="LoopController.loops">2</stringProp>
  3269. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  3270. <hashTree>
  3271. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  3272. <stringProp name="CounterConfig.start">1</stringProp>
  3273. <stringProp name="CounterConfig.end"/>
  3274. <stringProp name="CounterConfig.incr">1</stringProp>
  3275. <stringProp name="CounterConfig.name">_counter</stringProp>
  3276. <stringProp name="CounterConfig.format"/>
  3277. <boolProp name="CounterConfig.per_user">true</boolProp>
  3278. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  3279. </CounterConfig>
  3280. <hashTree/>
  3281. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  3282. <stringProp name="BeanShellSampler.query">
  3283. import java.util.Random;
  3284. Random random = vars.getObject("randomIntGenerator");
  3285. number = random.nextInt(props.get("simple_products_list").size());
  3286. product = props.get("simple_products_list").get(number);
  3287. vars.put("product_url_key", product.get("url_key"));
  3288. vars.put("product_id", product.get("id"));
  3289. vars.put("product_name", product.get("title"));
  3290. vars.put("product_uenc", product.get("uenc"));
  3291. vars.put("product_sku", product.get("sku"));
  3292. </stringProp>
  3293. <stringProp name="BeanShellSampler.filename"/>
  3294. <stringProp name="BeanShellSampler.parameters"/>
  3295. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3296. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  3297. <hashTree/>
  3298. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  3299. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3300. <collectionProp name="Arguments.arguments"/>
  3301. </elementProp>
  3302. <stringProp name="HTTPSampler.domain"/>
  3303. <stringProp name="HTTPSampler.port"/>
  3304. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3305. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3306. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3307. <stringProp name="HTTPSampler.contentEncoding"/>
  3308. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  3309. <stringProp name="HTTPSampler.method">GET</stringProp>
  3310. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3311. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3312. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3313. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3314. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3315. <stringProp name="HTTPSampler.embedded_url_re"/>
  3316. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  3317. <hashTree>
  3318. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3319. <collectionProp name="Asserion.test_strings">
  3320. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3321. </collectionProp>
  3322. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3323. <boolProp name="Assertion.assume_success">false</boolProp>
  3324. <intProp name="Assertion.test_type">2</intProp>
  3325. </ResponseAssertion>
  3326. <hashTree/>
  3327. </hashTree>
  3328. </hashTree>
  3329. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Configurable Products" enabled="true">
  3330. <boolProp name="LoopController.continue_forever">true</boolProp>
  3331. <stringProp name="LoopController.loops">1</stringProp>
  3332. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  3333. <hashTree>
  3334. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  3335. <stringProp name="CounterConfig.start">1</stringProp>
  3336. <stringProp name="CounterConfig.end"/>
  3337. <stringProp name="CounterConfig.incr">1</stringProp>
  3338. <stringProp name="CounterConfig.name">_counter</stringProp>
  3339. <stringProp name="CounterConfig.format"/>
  3340. <boolProp name="CounterConfig.per_user">true</boolProp>
  3341. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  3342. </CounterConfig>
  3343. <hashTree/>
  3344. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  3345. <stringProp name="BeanShellSampler.query">
  3346. import java.util.Random;
  3347. Random random = vars.getObject("randomIntGenerator");
  3348. number = random.nextInt(props.get("configurable_products_list").size());
  3349. product = props.get("configurable_products_list").get(number);
  3350. vars.put("product_url_key", product.get("url_key"));
  3351. vars.put("product_id", product.get("id"));
  3352. vars.put("product_name", product.get("title"));
  3353. vars.put("product_uenc", product.get("uenc"));
  3354. vars.put("product_sku", product.get("sku"));
  3355. </stringProp>
  3356. <stringProp name="BeanShellSampler.filename"/>
  3357. <stringProp name="BeanShellSampler.parameters"/>
  3358. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3359. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  3360. <hashTree/>
  3361. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  3362. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3363. <collectionProp name="Arguments.arguments"/>
  3364. </elementProp>
  3365. <stringProp name="HTTPSampler.domain"/>
  3366. <stringProp name="HTTPSampler.port"/>
  3367. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3368. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3369. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3370. <stringProp name="HTTPSampler.contentEncoding"/>
  3371. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  3372. <stringProp name="HTTPSampler.method">GET</stringProp>
  3373. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3374. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3375. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3376. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3377. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3378. <stringProp name="HTTPSampler.embedded_url_re"/>
  3379. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  3380. <hashTree>
  3381. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3382. <collectionProp name="Asserion.test_strings">
  3383. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3384. </collectionProp>
  3385. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3386. <boolProp name="Assertion.assume_success">false</boolProp>
  3387. <intProp name="Assertion.test_type">2</intProp>
  3388. </ResponseAssertion>
  3389. <hashTree/>
  3390. </hashTree>
  3391. </hashTree>
  3392. </hashTree>
  3393. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Site Search" enabled="true">
  3394. <intProp name="ThroughputController.style">1</intProp>
  3395. <boolProp name="ThroughputController.perThread">false</boolProp>
  3396. <intProp name="ThroughputController.maxThroughput">1</intProp>
  3397. <stringProp name="ThroughputController.percentThroughput">${siteSearchPercentage}</stringProp>
  3398. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  3399. <hashTree>
  3400. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  3401. <stringProp name="script">
  3402. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  3403. if (testLabel
  3404. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  3405. ) {
  3406. if (sampler.getName().indexOf(testLabel) == -1) {
  3407. sampler.setName(sampler.getName() + testLabel);
  3408. }
  3409. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  3410. sampler.setName("SetUp - " + sampler.getName());
  3411. }
  3412. </stringProp>
  3413. <stringProp name="scriptLanguage">javascript</stringProp>
  3414. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  3415. <hashTree/>
  3416. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  3417. <stringProp name="BeanShellSampler.query">
  3418. vars.put("testLabel", "Site Search");
  3419. </stringProp>
  3420. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3421. </BeanShellSampler>
  3422. <hashTree/>
  3423. <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="Search Terms" enabled="true">
  3424. <stringProp name="filename">${files_folder}search_terms.csv</stringProp>
  3425. <stringProp name="fileEncoding">UTF-8</stringProp>
  3426. <stringProp name="variableNames"/>
  3427. <stringProp name="delimiter">,</stringProp>
  3428. <boolProp name="quotedData">false</boolProp>
  3429. <boolProp name="recycle">true</boolProp>
  3430. <boolProp name="stopThread">false</boolProp>
  3431. <stringProp name="shareMode">shareMode.thread</stringProp>
  3432. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_terms.jmx</stringProp></CSVDataSet>
  3433. <hashTree/>
  3434. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Cache hit miss" enabled="true">
  3435. <stringProp name="scriptLanguage">javascript</stringProp>
  3436. <stringProp name="parameters"/>
  3437. <stringProp name="filename"/>
  3438. <stringProp name="cacheKey"/>
  3439. <stringProp name="script">var cacheHitPercent = vars.get("cache_hits_percentage");
  3440. if (
  3441. cacheHitPercent &lt; 100 &amp;&amp;
  3442. sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  3443. ) {
  3444. doCache();
  3445. }
  3446. function doCache(){
  3447. var random = Math.random() * 100;
  3448. if (cacheHitPercent &lt; random) {
  3449. sampler.setPath(sampler.getPath() + "?cacheModifier=" + Math.random().toString(36).substring(2, 13));
  3450. }
  3451. }
  3452. </stringProp>
  3453. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/cache_hit_miss.jmx</stringProp></JSR223PreProcessor>
  3454. <hashTree/>
  3455. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Quick Search" enabled="true">
  3456. <intProp name="ThroughputController.style">1</intProp>
  3457. <boolProp name="ThroughputController.perThread">false</boolProp>
  3458. <intProp name="ThroughputController.maxThroughput">1</intProp>
  3459. <stringProp name="ThroughputController.percentThroughput">${searchQuickPercentage}</stringProp>
  3460. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  3461. <hashTree>
  3462. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  3463. <stringProp name="script">
  3464. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  3465. if (testLabel
  3466. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  3467. ) {
  3468. if (sampler.getName().indexOf(testLabel) == -1) {
  3469. sampler.setName(sampler.getName() + testLabel);
  3470. }
  3471. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  3472. sampler.setName("SetUp - " + sampler.getName());
  3473. }
  3474. </stringProp>
  3475. <stringProp name="scriptLanguage">javascript</stringProp>
  3476. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  3477. <hashTree/>
  3478. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  3479. <stringProp name="BeanShellSampler.query">
  3480. vars.put("testLabel", "Quick Search");
  3481. </stringProp>
  3482. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3483. </BeanShellSampler>
  3484. <hashTree/>
  3485. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  3486. <collectionProp name="CookieManager.cookies">
  3487. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  3488. <stringProp name="Cookie.value">30</stringProp>
  3489. <stringProp name="Cookie.domain">${host}</stringProp>
  3490. <stringProp name="Cookie.path">/</stringProp>
  3491. <boolProp name="Cookie.secure">false</boolProp>
  3492. <longProp name="Cookie.expires">0</longProp>
  3493. <boolProp name="Cookie.path_specified">true</boolProp>
  3494. <boolProp name="Cookie.domain_specified">true</boolProp>
  3495. </elementProp>
  3496. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  3497. <stringProp name="Cookie.value">${form_key}</stringProp>
  3498. <stringProp name="Cookie.domain">${host}</stringProp>
  3499. <stringProp name="Cookie.path">${base_path}</stringProp>
  3500. <boolProp name="Cookie.secure">false</boolProp>
  3501. <longProp name="Cookie.expires">0</longProp>
  3502. <boolProp name="Cookie.path_specified">true</boolProp>
  3503. <boolProp name="Cookie.domain_specified">true</boolProp>
  3504. </elementProp>
  3505. </collectionProp>
  3506. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  3507. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  3508. <hashTree/>
  3509. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  3510. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3511. <collectionProp name="Arguments.arguments"/>
  3512. </elementProp>
  3513. <stringProp name="HTTPSampler.domain"/>
  3514. <stringProp name="HTTPSampler.port"/>
  3515. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3516. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3517. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3518. <stringProp name="HTTPSampler.contentEncoding"/>
  3519. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  3520. <stringProp name="HTTPSampler.method">GET</stringProp>
  3521. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3522. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3523. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3524. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3525. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3526. <stringProp name="HTTPSampler.embedded_url_re"/>
  3527. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  3528. <hashTree>
  3529. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3530. <collectionProp name="Asserion.test_strings">
  3531. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  3532. </collectionProp>
  3533. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3534. <boolProp name="Assertion.assume_success">false</boolProp>
  3535. <intProp name="Assertion.test_type">2</intProp>
  3536. </ResponseAssertion>
  3537. <hashTree/>
  3538. </hashTree>
  3539. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search" enabled="true">
  3540. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3541. <collectionProp name="Arguments.arguments">
  3542. <elementProp name="q" elementType="HTTPArgument">
  3543. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3544. <stringProp name="Argument.name">q</stringProp>
  3545. <stringProp name="Argument.value">${searchTerm}</stringProp>
  3546. <stringProp name="Argument.metadata">=</stringProp>
  3547. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3548. </elementProp>
  3549. </collectionProp>
  3550. </elementProp>
  3551. <stringProp name="HTTPSampler.domain"/>
  3552. <stringProp name="HTTPSampler.port"/>
  3553. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3554. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3555. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3556. <stringProp name="HTTPSampler.contentEncoding"/>
  3557. <stringProp name="HTTPSampler.path">${base_path}catalogsearch/result/</stringProp>
  3558. <stringProp name="HTTPSampler.method">GET</stringProp>
  3559. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3560. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3561. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3562. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3563. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3564. <stringProp name="HTTPSampler.embedded_url_re"/>
  3565. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_quick.jmx</stringProp></HTTPSamplerProxy>
  3566. <hashTree>
  3567. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  3568. <collectionProp name="Asserion.test_strings">
  3569. <stringProp name="56511661">Search results for: </stringProp>
  3570. <stringProp name="1533671447">&lt;span class="toolbar-number"&gt;\d&lt;\/span&gt; Items|Items &lt;span class="toolbar-number"&gt;1</stringProp>
  3571. </collectionProp>
  3572. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3573. <boolProp name="Assertion.assume_success">false</boolProp>
  3574. <intProp name="Assertion.test_type">2</intProp>
  3575. </ResponseAssertion>
  3576. <hashTree/>
  3577. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  3578. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3579. <stringProp name="RegexExtractor.refname">product_url_keys</stringProp>
  3580. <stringProp name="RegexExtractor.regex">&lt;a class="product-item-link"(?s).+?href="(?:http|https)://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}"&gt;(?s).</stringProp>
  3581. <stringProp name="RegexExtractor.template">$2$</stringProp>
  3582. <stringProp name="RegexExtractor.default"/>
  3583. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  3584. </RegexExtractor>
  3585. <hashTree/>
  3586. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: isPageCacheable" enabled="true">
  3587. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3588. <stringProp name="RegexExtractor.refname">isPageCacheable</stringProp>
  3589. <stringProp name="RegexExtractor.regex">catalogsearch/searchTermsLog/save</stringProp>
  3590. <stringProp name="RegexExtractor.template">$0$</stringProp>
  3591. <stringProp name="RegexExtractor.default">0</stringProp>
  3592. <stringProp name="RegexExtractor.match_number">1</stringProp>
  3593. </RegexExtractor>
  3594. <hashTree/>
  3595. </hashTree>
  3596. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
  3597. <stringProp name="IfController.condition">"${isPageCacheable}" != "0"</stringProp>
  3598. <boolProp name="IfController.evaluateAll">false</boolProp>
  3599. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/if_page_cacheable_controller.jmx</stringProp></IfController>
  3600. <hashTree>
  3601. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Terms Log" enabled="true">
  3602. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3603. <collectionProp name="Arguments.arguments">
  3604. <elementProp name="q" elementType="HTTPArgument">
  3605. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3606. <stringProp name="Argument.name">q</stringProp>
  3607. <stringProp name="Argument.value">${searchTerm}</stringProp>
  3608. <stringProp name="Argument.metadata">=</stringProp>
  3609. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3610. </elementProp>
  3611. </collectionProp>
  3612. </elementProp>
  3613. <stringProp name="HTTPSampler.domain"/>
  3614. <stringProp name="HTTPSampler.port"/>
  3615. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3616. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3617. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3618. <stringProp name="HTTPSampler.contentEncoding"/>
  3619. <stringProp name="HTTPSampler.path">${base_path}catalogsearch/searchTermsLog/save/</stringProp>
  3620. <stringProp name="HTTPSampler.method">GET</stringProp>
  3621. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3622. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3623. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3624. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3625. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3626. <stringProp name="HTTPSampler.embedded_url_re"/>
  3627. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_terms_log_save.jmx</stringProp>
  3628. </HTTPSamplerProxy>
  3629. <hashTree>
  3630. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  3631. <collectionProp name="Asserion.test_strings">
  3632. <stringProp name="-547797305">"success":true</stringProp>
  3633. </collectionProp>
  3634. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3635. <boolProp name="Assertion.assume_success">false</boolProp>
  3636. <intProp name="Assertion.test_type">2</intProp>
  3637. </ResponseAssertion>
  3638. <hashTree/>
  3639. </hashTree>
  3640. </hashTree>
  3641. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  3642. <stringProp name="BeanShellSampler.query">
  3643. foundProducts = Integer.parseInt(vars.get("product_url_keys_matchNr"));
  3644. if (foundProducts &gt; 3) {
  3645. foundProducts = 3;
  3646. }
  3647. vars.put("foundProducts", String.valueOf(foundProducts));
  3648. </stringProp>
  3649. <stringProp name="BeanShellSampler.filename"/>
  3650. <stringProp name="BeanShellSampler.parameters"/>
  3651. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3652. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/set_found_items.jmx</stringProp></BeanShellSampler>
  3653. <hashTree/>
  3654. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Searched Products" enabled="true">
  3655. <boolProp name="LoopController.continue_forever">true</boolProp>
  3656. <stringProp name="LoopController.loops">${foundProducts}</stringProp>
  3657. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  3658. <hashTree>
  3659. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  3660. <stringProp name="CounterConfig.start">1</stringProp>
  3661. <stringProp name="CounterConfig.end"/>
  3662. <stringProp name="CounterConfig.incr">1</stringProp>
  3663. <stringProp name="CounterConfig.name">_counter</stringProp>
  3664. <stringProp name="CounterConfig.format"/>
  3665. <boolProp name="CounterConfig.per_user">true</boolProp>
  3666. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  3667. </CounterConfig>
  3668. <hashTree/>
  3669. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Product Data" enabled="true">
  3670. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/searched_products_setup.jmx</stringProp>
  3671. <stringProp name="BeanShellSampler.query">
  3672. number = vars.get("_counter");
  3673. product = vars.get("product_url_keys_"+number);
  3674. vars.put("product_url_key", product);
  3675. </stringProp>
  3676. <stringProp name="BeanShellSampler.filename"/>
  3677. <stringProp name="BeanShellSampler.parameters"/>
  3678. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3679. </BeanShellSampler>
  3680. <hashTree/>
  3681. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Product ${_counter} View" enabled="true">
  3682. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3683. <collectionProp name="Arguments.arguments"/>
  3684. </elementProp>
  3685. <stringProp name="HTTPSampler.domain"/>
  3686. <stringProp name="HTTPSampler.port"/>
  3687. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3688. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3689. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3690. <stringProp name="HTTPSampler.contentEncoding"/>
  3691. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  3692. <stringProp name="HTTPSampler.method">GET</stringProp>
  3693. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3694. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3695. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3696. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3697. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3698. <stringProp name="HTTPSampler.embedded_url_re"/>
  3699. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  3700. <hashTree>
  3701. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3702. <collectionProp name="Asserion.test_strings">
  3703. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  3704. </collectionProp>
  3705. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3706. <boolProp name="Assertion.assume_success">false</boolProp>
  3707. <intProp name="Assertion.test_type">2</intProp>
  3708. </ResponseAssertion>
  3709. <hashTree/>
  3710. </hashTree>
  3711. </hashTree>
  3712. </hashTree>
  3713. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Quick Search With Filtration" enabled="true">
  3714. <intProp name="ThroughputController.style">1</intProp>
  3715. <boolProp name="ThroughputController.perThread">false</boolProp>
  3716. <intProp name="ThroughputController.maxThroughput">1</intProp>
  3717. <stringProp name="ThroughputController.percentThroughput">${searchQuickFilterPercentage}</stringProp>
  3718. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  3719. <hashTree>
  3720. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  3721. <stringProp name="script">
  3722. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  3723. if (testLabel
  3724. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  3725. ) {
  3726. if (sampler.getName().indexOf(testLabel) == -1) {
  3727. sampler.setName(sampler.getName() + testLabel);
  3728. }
  3729. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  3730. sampler.setName("SetUp - " + sampler.getName());
  3731. }
  3732. </stringProp>
  3733. <stringProp name="scriptLanguage">javascript</stringProp>
  3734. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  3735. <hashTree/>
  3736. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  3737. <stringProp name="BeanShellSampler.query">
  3738. vars.put("testLabel", "Quick Search With Filtration");
  3739. </stringProp>
  3740. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  3741. </BeanShellSampler>
  3742. <hashTree/>
  3743. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  3744. <collectionProp name="CookieManager.cookies">
  3745. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  3746. <stringProp name="Cookie.value">30</stringProp>
  3747. <stringProp name="Cookie.domain">${host}</stringProp>
  3748. <stringProp name="Cookie.path">/</stringProp>
  3749. <boolProp name="Cookie.secure">false</boolProp>
  3750. <longProp name="Cookie.expires">0</longProp>
  3751. <boolProp name="Cookie.path_specified">true</boolProp>
  3752. <boolProp name="Cookie.domain_specified">true</boolProp>
  3753. </elementProp>
  3754. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  3755. <stringProp name="Cookie.value">${form_key}</stringProp>
  3756. <stringProp name="Cookie.domain">${host}</stringProp>
  3757. <stringProp name="Cookie.path">${base_path}</stringProp>
  3758. <boolProp name="Cookie.secure">false</boolProp>
  3759. <longProp name="Cookie.expires">0</longProp>
  3760. <boolProp name="Cookie.path_specified">true</boolProp>
  3761. <boolProp name="Cookie.domain_specified">true</boolProp>
  3762. </elementProp>
  3763. </collectionProp>
  3764. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  3765. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  3766. <hashTree/>
  3767. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  3768. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3769. <collectionProp name="Arguments.arguments"/>
  3770. </elementProp>
  3771. <stringProp name="HTTPSampler.domain"/>
  3772. <stringProp name="HTTPSampler.port"/>
  3773. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3774. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3775. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3776. <stringProp name="HTTPSampler.contentEncoding"/>
  3777. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  3778. <stringProp name="HTTPSampler.method">GET</stringProp>
  3779. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3780. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3781. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3782. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3783. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3784. <stringProp name="HTTPSampler.embedded_url_re"/>
  3785. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  3786. <hashTree>
  3787. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  3788. <collectionProp name="Asserion.test_strings">
  3789. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  3790. </collectionProp>
  3791. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3792. <boolProp name="Assertion.assume_success">false</boolProp>
  3793. <intProp name="Assertion.test_type">2</intProp>
  3794. </ResponseAssertion>
  3795. <hashTree/>
  3796. </hashTree>
  3797. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search" enabled="true">
  3798. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3799. <collectionProp name="Arguments.arguments">
  3800. <elementProp name="q" elementType="HTTPArgument">
  3801. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3802. <stringProp name="Argument.name">q</stringProp>
  3803. <stringProp name="Argument.value">${searchTerm}</stringProp>
  3804. <stringProp name="Argument.metadata">=</stringProp>
  3805. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3806. </elementProp>
  3807. </collectionProp>
  3808. </elementProp>
  3809. <stringProp name="HTTPSampler.domain"/>
  3810. <stringProp name="HTTPSampler.port"/>
  3811. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3812. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3813. <stringProp name="HTTPSampler.protocol"/>
  3814. <stringProp name="HTTPSampler.contentEncoding"/>
  3815. <stringProp name="HTTPSampler.path">${base_path}catalogsearch/result/</stringProp>
  3816. <stringProp name="HTTPSampler.method">GET</stringProp>
  3817. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3818. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3819. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3820. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3821. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3822. <stringProp name="HTTPSampler.embedded_url_re"/>
  3823. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_quick_filter.jmx</stringProp></HTTPSamplerProxy>
  3824. <hashTree>
  3825. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  3826. <collectionProp name="Asserion.test_strings">
  3827. <stringProp name="56511661">Search results for: </stringProp>
  3828. <stringProp name="1533671447">Items &lt;span class="toolbar-number"&gt;1</stringProp>
  3829. </collectionProp>
  3830. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3831. <boolProp name="Assertion.assume_success">false</boolProp>
  3832. <intProp name="Assertion.test_type">2</intProp>
  3833. </ResponseAssertion>
  3834. <hashTree/>
  3835. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract number of attribute 1 options" enabled="true">
  3836. <stringProp name="XPathExtractor.default">0</stringProp>
  3837. <stringProp name="XPathExtractor.refname">attribute_1_options_count</stringProp>
  3838. <stringProp name="XPathExtractor.xpathQuery">count((//div[@class="filter-options-content"])[1]//li[@class="item"])</stringProp>
  3839. <boolProp name="XPathExtractor.validate">false</boolProp>
  3840. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3841. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3842. </XPathExtractor>
  3843. <hashTree/>
  3844. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract number of attribute 2 options" enabled="true">
  3845. <stringProp name="XPathExtractor.default">0</stringProp>
  3846. <stringProp name="XPathExtractor.refname">attribute_2_options_count</stringProp>
  3847. <stringProp name="XPathExtractor.xpathQuery">count((//div[@class="filter-options-content"])[2]//li[@class="item"])</stringProp>
  3848. <boolProp name="XPathExtractor.validate">false</boolProp>
  3849. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3850. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3851. </XPathExtractor>
  3852. <hashTree/>
  3853. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract filter link from layered navigation" enabled="true">
  3854. <stringProp name="XPathExtractor.default"/>
  3855. <stringProp name="XPathExtractor.refname">attribute_1_filter_url</stringProp>
  3856. <stringProp name="XPathExtractor.xpathQuery">((//div[@class="filter-options-content"])[1]//li[@class="item"]//a)[1]/@href</stringProp>
  3857. <boolProp name="XPathExtractor.validate">false</boolProp>
  3858. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3859. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3860. </XPathExtractor>
  3861. <hashTree/>
  3862. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract product url keys" enabled="true">
  3863. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3864. <stringProp name="RegexExtractor.refname">product_url_keys</stringProp>
  3865. <stringProp name="RegexExtractor.regex">&lt;a class="product-item-link"(?s).+?href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}"&gt;(?s).</stringProp>
  3866. <stringProp name="RegexExtractor.template">$2$</stringProp>
  3867. <stringProp name="RegexExtractor.default"/>
  3868. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  3869. </RegexExtractor>
  3870. <hashTree/>
  3871. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: isPageCacheable" enabled="true">
  3872. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3873. <stringProp name="RegexExtractor.refname">isPageCacheable</stringProp>
  3874. <stringProp name="RegexExtractor.regex">catalogsearch/searchTermsLog/save</stringProp>
  3875. <stringProp name="RegexExtractor.template">$0$</stringProp>
  3876. <stringProp name="RegexExtractor.default">0</stringProp>
  3877. <stringProp name="RegexExtractor.match_number">1</stringProp>
  3878. </RegexExtractor>
  3879. <hashTree/>
  3880. </hashTree>
  3881. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
  3882. <stringProp name="IfController.condition">"${isPageCacheable}" != "0"</stringProp>
  3883. <boolProp name="IfController.evaluateAll">false</boolProp>
  3884. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/if_page_cacheable_controller.jmx</stringProp></IfController>
  3885. <hashTree>
  3886. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Terms Log" enabled="true">
  3887. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3888. <collectionProp name="Arguments.arguments">
  3889. <elementProp name="q" elementType="HTTPArgument">
  3890. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  3891. <stringProp name="Argument.name">q</stringProp>
  3892. <stringProp name="Argument.value">${searchTerm}</stringProp>
  3893. <stringProp name="Argument.metadata">=</stringProp>
  3894. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  3895. </elementProp>
  3896. </collectionProp>
  3897. </elementProp>
  3898. <stringProp name="HTTPSampler.domain"/>
  3899. <stringProp name="HTTPSampler.port"/>
  3900. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3901. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3902. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  3903. <stringProp name="HTTPSampler.contentEncoding"/>
  3904. <stringProp name="HTTPSampler.path">${base_path}catalogsearch/searchTermsLog/save/</stringProp>
  3905. <stringProp name="HTTPSampler.method">GET</stringProp>
  3906. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3907. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3908. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3909. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3910. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3911. <stringProp name="HTTPSampler.embedded_url_re"/>
  3912. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_terms_log_save.jmx</stringProp>
  3913. </HTTPSamplerProxy>
  3914. <hashTree>
  3915. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  3916. <collectionProp name="Asserion.test_strings">
  3917. <stringProp name="-547797305">"success":true</stringProp>
  3918. </collectionProp>
  3919. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3920. <boolProp name="Assertion.assume_success">false</boolProp>
  3921. <intProp name="Assertion.test_type">2</intProp>
  3922. </ResponseAssertion>
  3923. <hashTree/>
  3924. </hashTree>
  3925. </hashTree>
  3926. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Attribute 1 present in layered navigation" enabled="true">
  3927. <stringProp name="IfController.condition">${attribute_1_options_count} &gt; 0</stringProp>
  3928. <boolProp name="IfController.evaluateAll">false</boolProp>
  3929. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_quick_filter-first-attribute.jmx</stringProp></IfController>
  3930. <hashTree>
  3931. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Search Url 2" enabled="true">
  3932. <stringProp name="BeanShellSampler.query">vars.put("search_url", vars.get("attribute_1_filter_url"));</stringProp>
  3933. <stringProp name="BeanShellSampler.filename"/>
  3934. <stringProp name="BeanShellSampler.parameters"/>
  3935. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  3936. </BeanShellSampler>
  3937. <hashTree/>
  3938. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Filter by Attribute 1" enabled="true">
  3939. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  3940. <collectionProp name="Arguments.arguments"/>
  3941. </elementProp>
  3942. <stringProp name="HTTPSampler.domain"/>
  3943. <stringProp name="HTTPSampler.port"/>
  3944. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  3945. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  3946. <stringProp name="HTTPSampler.protocol"/>
  3947. <stringProp name="HTTPSampler.contentEncoding"/>
  3948. <stringProp name="HTTPSampler.path">${attribute_1_filter_url}</stringProp>
  3949. <stringProp name="HTTPSampler.method">GET</stringProp>
  3950. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  3951. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  3952. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  3953. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  3954. <boolProp name="HTTPSampler.monitor">false</boolProp>
  3955. <stringProp name="HTTPSampler.embedded_url_re"/>
  3956. </HTTPSamplerProxy>
  3957. <hashTree>
  3958. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  3959. <collectionProp name="Asserion.test_strings">
  3960. <stringProp name="56511661">Search results for: </stringProp>
  3961. <stringProp name="1420634794">&lt;span class="toolbar-number"&gt;[1-9]+</stringProp>
  3962. </collectionProp>
  3963. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  3964. <boolProp name="Assertion.assume_success">false</boolProp>
  3965. <intProp name="Assertion.test_type">2</intProp>
  3966. </ResponseAssertion>
  3967. <hashTree/>
  3968. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract number of attribute 2 options" enabled="true">
  3969. <stringProp name="XPathExtractor.default">0</stringProp>
  3970. <stringProp name="XPathExtractor.refname">attribute_2_options_count</stringProp>
  3971. <stringProp name="XPathExtractor.xpathQuery">count((//div[@class="filter-options-content"])[2]//li[@class="item"])</stringProp>
  3972. <boolProp name="XPathExtractor.validate">false</boolProp>
  3973. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3974. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3975. </XPathExtractor>
  3976. <hashTree/>
  3977. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract filter link from layered navigation" enabled="true">
  3978. <stringProp name="XPathExtractor.default"/>
  3979. <stringProp name="XPathExtractor.refname">attribute_2_filter_url</stringProp>
  3980. <stringProp name="XPathExtractor.xpathQuery">((//div[@class="filter-options-content"])[2]//li[@class="item"]//a)[1]/@href</stringProp>
  3981. <boolProp name="XPathExtractor.validate">false</boolProp>
  3982. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  3983. <boolProp name="XPathExtractor.namespace">false</boolProp>
  3984. </XPathExtractor>
  3985. <hashTree/>
  3986. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract product url keys" enabled="true">
  3987. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  3988. <stringProp name="RegexExtractor.refname">product_url_keys</stringProp>
  3989. <stringProp name="RegexExtractor.regex">&lt;a class="product-item-link"(?s).+?href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}"&gt;(?s).</stringProp>
  3990. <stringProp name="RegexExtractor.template">$2$</stringProp>
  3991. <stringProp name="RegexExtractor.default"/>
  3992. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  3993. </RegexExtractor>
  3994. <hashTree/>
  3995. </hashTree>
  3996. </hashTree>
  3997. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Attribute 2 present in layered navigation" enabled="true">
  3998. <stringProp name="IfController.condition">${attribute_2_options_count} &gt; 0</stringProp>
  3999. <boolProp name="IfController.evaluateAll">false</boolProp>
  4000. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_quick_filter-second-attribute.jmx</stringProp></IfController>
  4001. <hashTree>
  4002. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Search Ul 3" enabled="true">
  4003. <stringProp name="BeanShellSampler.query">vars.put("search_url", vars.get("attribute_2_filter_url"));</stringProp>
  4004. <stringProp name="BeanShellSampler.filename"/>
  4005. <stringProp name="BeanShellSampler.parameters"/>
  4006. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  4007. </BeanShellSampler>
  4008. <hashTree/>
  4009. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Filter by Attribute 2" enabled="true">
  4010. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4011. <collectionProp name="Arguments.arguments"/>
  4012. </elementProp>
  4013. <stringProp name="HTTPSampler.domain"/>
  4014. <stringProp name="HTTPSampler.port"/>
  4015. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4016. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4017. <stringProp name="HTTPSampler.protocol"/>
  4018. <stringProp name="HTTPSampler.contentEncoding"/>
  4019. <stringProp name="HTTPSampler.path">${attribute_2_filter_url}</stringProp>
  4020. <stringProp name="HTTPSampler.method">GET</stringProp>
  4021. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4022. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4023. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4024. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4025. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4026. <stringProp name="HTTPSampler.embedded_url_re"/>
  4027. </HTTPSamplerProxy>
  4028. <hashTree>
  4029. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  4030. <collectionProp name="Asserion.test_strings">
  4031. <stringProp name="56511661">Search results for: </stringProp>
  4032. <stringProp name="1420634794">&lt;span class="toolbar-number"&gt;[1-9]+</stringProp>
  4033. </collectionProp>
  4034. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4035. <boolProp name="Assertion.assume_success">false</boolProp>
  4036. <intProp name="Assertion.test_type">2</intProp>
  4037. </ResponseAssertion>
  4038. <hashTree/>
  4039. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract product url keys" enabled="true">
  4040. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  4041. <stringProp name="RegexExtractor.refname">product_url_keys</stringProp>
  4042. <stringProp name="RegexExtractor.regex">&lt;a class="product-item-link"(?s).+?href="http://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}"&gt;(?s).</stringProp>
  4043. <stringProp name="RegexExtractor.template">$2$</stringProp>
  4044. <stringProp name="RegexExtractor.default"/>
  4045. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  4046. </RegexExtractor>
  4047. <hashTree/>
  4048. </hashTree>
  4049. </hashTree>
  4050. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  4051. <stringProp name="BeanShellSampler.query">
  4052. foundProducts = Integer.parseInt(vars.get("product_url_keys_matchNr"));
  4053. if (foundProducts &gt; 3) {
  4054. foundProducts = 3;
  4055. }
  4056. vars.put("foundProducts", String.valueOf(foundProducts));
  4057. </stringProp>
  4058. <stringProp name="BeanShellSampler.filename"/>
  4059. <stringProp name="BeanShellSampler.parameters"/>
  4060. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4061. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/set_found_items.jmx</stringProp></BeanShellSampler>
  4062. <hashTree/>
  4063. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Searched Products" enabled="true">
  4064. <boolProp name="LoopController.continue_forever">true</boolProp>
  4065. <stringProp name="LoopController.loops">${foundProducts}</stringProp>
  4066. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  4067. <hashTree>
  4068. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  4069. <stringProp name="CounterConfig.start">1</stringProp>
  4070. <stringProp name="CounterConfig.end"/>
  4071. <stringProp name="CounterConfig.incr">1</stringProp>
  4072. <stringProp name="CounterConfig.name">_counter</stringProp>
  4073. <stringProp name="CounterConfig.format"/>
  4074. <boolProp name="CounterConfig.per_user">true</boolProp>
  4075. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  4076. </CounterConfig>
  4077. <hashTree/>
  4078. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Product Data" enabled="true">
  4079. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/searched_products_setup.jmx</stringProp>
  4080. <stringProp name="BeanShellSampler.query">
  4081. number = vars.get("_counter");
  4082. product = vars.get("product_url_keys_"+number);
  4083. vars.put("product_url_key", product);
  4084. </stringProp>
  4085. <stringProp name="BeanShellSampler.filename"/>
  4086. <stringProp name="BeanShellSampler.parameters"/>
  4087. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4088. </BeanShellSampler>
  4089. <hashTree/>
  4090. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Product ${_counter} View" enabled="true">
  4091. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4092. <collectionProp name="Arguments.arguments"/>
  4093. </elementProp>
  4094. <stringProp name="HTTPSampler.domain"/>
  4095. <stringProp name="HTTPSampler.port"/>
  4096. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4097. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4098. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4099. <stringProp name="HTTPSampler.contentEncoding"/>
  4100. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  4101. <stringProp name="HTTPSampler.method">GET</stringProp>
  4102. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4103. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4104. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4105. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4106. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4107. <stringProp name="HTTPSampler.embedded_url_re"/>
  4108. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  4109. <hashTree>
  4110. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4111. <collectionProp name="Asserion.test_strings">
  4112. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  4113. </collectionProp>
  4114. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4115. <boolProp name="Assertion.assume_success">false</boolProp>
  4116. <intProp name="Assertion.test_type">2</intProp>
  4117. </ResponseAssertion>
  4118. <hashTree/>
  4119. </hashTree>
  4120. </hashTree>
  4121. </hashTree>
  4122. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Advanced Search" enabled="true">
  4123. <intProp name="ThroughputController.style">1</intProp>
  4124. <boolProp name="ThroughputController.perThread">false</boolProp>
  4125. <intProp name="ThroughputController.maxThroughput">1</intProp>
  4126. <stringProp name="ThroughputController.percentThroughput">${searchAdvancedPercentage}</stringProp>
  4127. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  4128. <hashTree>
  4129. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  4130. <stringProp name="script">
  4131. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  4132. if (testLabel
  4133. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  4134. ) {
  4135. if (sampler.getName().indexOf(testLabel) == -1) {
  4136. sampler.setName(sampler.getName() + testLabel);
  4137. }
  4138. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  4139. sampler.setName("SetUp - " + sampler.getName());
  4140. }
  4141. </stringProp>
  4142. <stringProp name="scriptLanguage">javascript</stringProp>
  4143. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  4144. <hashTree/>
  4145. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  4146. <stringProp name="BeanShellSampler.query">
  4147. vars.put("testLabel", "Advanced Search");
  4148. </stringProp>
  4149. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4150. </BeanShellSampler>
  4151. <hashTree/>
  4152. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  4153. <collectionProp name="CookieManager.cookies">
  4154. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  4155. <stringProp name="Cookie.value">30</stringProp>
  4156. <stringProp name="Cookie.domain">${host}</stringProp>
  4157. <stringProp name="Cookie.path">/</stringProp>
  4158. <boolProp name="Cookie.secure">false</boolProp>
  4159. <longProp name="Cookie.expires">0</longProp>
  4160. <boolProp name="Cookie.path_specified">true</boolProp>
  4161. <boolProp name="Cookie.domain_specified">true</boolProp>
  4162. </elementProp>
  4163. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  4164. <stringProp name="Cookie.value">${form_key}</stringProp>
  4165. <stringProp name="Cookie.domain">${host}</stringProp>
  4166. <stringProp name="Cookie.path">${base_path}</stringProp>
  4167. <boolProp name="Cookie.secure">false</boolProp>
  4168. <longProp name="Cookie.expires">0</longProp>
  4169. <boolProp name="Cookie.path_specified">true</boolProp>
  4170. <boolProp name="Cookie.domain_specified">true</boolProp>
  4171. </elementProp>
  4172. </collectionProp>
  4173. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  4174. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  4175. <hashTree/>
  4176. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  4177. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4178. <collectionProp name="Arguments.arguments"/>
  4179. </elementProp>
  4180. <stringProp name="HTTPSampler.domain"/>
  4181. <stringProp name="HTTPSampler.port"/>
  4182. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4183. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4184. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4185. <stringProp name="HTTPSampler.contentEncoding"/>
  4186. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  4187. <stringProp name="HTTPSampler.method">GET</stringProp>
  4188. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4189. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4190. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4191. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4192. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4193. <stringProp name="HTTPSampler.embedded_url_re"/>
  4194. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  4195. <hashTree>
  4196. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4197. <collectionProp name="Asserion.test_strings">
  4198. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  4199. </collectionProp>
  4200. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4201. <boolProp name="Assertion.assume_success">false</boolProp>
  4202. <intProp name="Assertion.test_type">2</intProp>
  4203. </ResponseAssertion>
  4204. <hashTree/>
  4205. </hashTree>
  4206. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Advanced Search" enabled="true">
  4207. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4208. <collectionProp name="Arguments.arguments"/>
  4209. </elementProp>
  4210. <stringProp name="HTTPSampler.domain"/>
  4211. <stringProp name="HTTPSampler.port"/>
  4212. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4213. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4214. <stringProp name="HTTPSampler.protocol"/>
  4215. <stringProp name="HTTPSampler.contentEncoding"/>
  4216. <stringProp name="HTTPSampler.path">${base_path}catalogsearch/advanced/</stringProp>
  4217. <stringProp name="HTTPSampler.method">GET</stringProp>
  4218. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4219. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4220. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4221. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4222. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4223. <stringProp name="HTTPSampler.embedded_url_re"/>
  4224. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/open_advanced_search_page.jmx</stringProp></HTTPSamplerProxy>
  4225. <hashTree>
  4226. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4227. <collectionProp name="Asserion.test_strings">
  4228. <stringProp name="921122077">&lt;title&gt;Advanced Search&lt;/title&gt;</stringProp>
  4229. </collectionProp>
  4230. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4231. <boolProp name="Assertion.assume_success">false</boolProp>
  4232. <intProp name="Assertion.test_type">2</intProp>
  4233. </ResponseAssertion>
  4234. <hashTree/>
  4235. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract attribute name" enabled="true">
  4236. <stringProp name="XPathExtractor.default"/>
  4237. <stringProp name="XPathExtractor.refname">attribute_name</stringProp>
  4238. <stringProp name="XPathExtractor.xpathQuery">(//select[@class="multiselect"])[last()]/@name</stringProp>
  4239. <boolProp name="XPathExtractor.validate">false</boolProp>
  4240. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  4241. <boolProp name="XPathExtractor.namespace">false</boolProp>
  4242. </XPathExtractor>
  4243. <hashTree/>
  4244. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract attribute options count" enabled="true">
  4245. <stringProp name="XPathExtractor.default">0</stringProp>
  4246. <stringProp name="XPathExtractor.refname">attribute_options_count</stringProp>
  4247. <stringProp name="XPathExtractor.xpathQuery">count((//select[@class="multiselect"])[last()]/option)</stringProp>
  4248. <boolProp name="XPathExtractor.validate">false</boolProp>
  4249. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  4250. <boolProp name="XPathExtractor.namespace">false</boolProp>
  4251. </XPathExtractor>
  4252. <hashTree/>
  4253. <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="Extract attribute value" enabled="true">
  4254. <stringProp name="XPathExtractor.default"/>
  4255. <stringProp name="XPathExtractor.refname">attribute_value</stringProp>
  4256. <stringProp name="XPathExtractor.xpathQuery">((//select[@class="multiselect"])[last()]/option)[1]/@value</stringProp>
  4257. <boolProp name="XPathExtractor.validate">false</boolProp>
  4258. <boolProp name="XPathExtractor.tolerant">true</boolProp>
  4259. <boolProp name="XPathExtractor.namespace">false</boolProp>
  4260. </XPathExtractor>
  4261. <hashTree/>
  4262. </hashTree>
  4263. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search" enabled="true">
  4264. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4265. <collectionProp name="Arguments.arguments">
  4266. <elementProp name="name" elementType="HTTPArgument">
  4267. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4268. <stringProp name="Argument.name">name</stringProp>
  4269. <stringProp name="Argument.value"/>
  4270. <stringProp name="Argument.metadata">=</stringProp>
  4271. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4272. </elementProp>
  4273. <elementProp name="sku" elementType="HTTPArgument">
  4274. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4275. <stringProp name="Argument.name">sku</stringProp>
  4276. <stringProp name="Argument.value"/>
  4277. <stringProp name="Argument.metadata">=</stringProp>
  4278. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4279. </elementProp>
  4280. <elementProp name="description" elementType="HTTPArgument">
  4281. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4282. <stringProp name="Argument.name">description</stringProp>
  4283. <stringProp name="Argument.value">${searchTerm}</stringProp>
  4284. <stringProp name="Argument.metadata">=</stringProp>
  4285. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4286. </elementProp>
  4287. <elementProp name="short_description" elementType="HTTPArgument">
  4288. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4289. <stringProp name="Argument.name">short_description</stringProp>
  4290. <stringProp name="Argument.value"/>
  4291. <stringProp name="Argument.metadata">=</stringProp>
  4292. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4293. </elementProp>
  4294. <elementProp name="price%5Bfrom%5D" elementType="HTTPArgument">
  4295. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4296. <stringProp name="Argument.name">price%5Bfrom%5D</stringProp>
  4297. <stringProp name="Argument.value"/>
  4298. <stringProp name="Argument.metadata">=</stringProp>
  4299. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4300. </elementProp>
  4301. <elementProp name="price%5Bto%5D" elementType="HTTPArgument">
  4302. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4303. <stringProp name="Argument.name">price%5Bto%5D</stringProp>
  4304. <stringProp name="Argument.value">${priceTo}</stringProp>
  4305. <stringProp name="Argument.metadata">=</stringProp>
  4306. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4307. </elementProp>
  4308. <!-- Should be fixed in MAGETWO-80420 -->
  4309. <!--<elementProp name="${attribute_name}" elementType="HTTPArgument">-->
  4310. <!--<boolProp name="HTTPArgument.always_encode">true</boolProp>-->
  4311. <!--<stringProp name="Argument.value">${attribute_value}</stringProp>-->
  4312. <!--<stringProp name="Argument.metadata">=</stringProp>-->
  4313. <!--<boolProp name="HTTPArgument.use_equals">true</boolProp>-->
  4314. <!--<stringProp name="Argument.name">${attribute_name}</stringProp>-->
  4315. <!--</elementProp>-->
  4316. </collectionProp>
  4317. </elementProp>
  4318. <stringProp name="HTTPSampler.domain"/>
  4319. <stringProp name="HTTPSampler.port"/>
  4320. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4321. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4322. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4323. <stringProp name="HTTPSampler.contentEncoding"/>
  4324. <stringProp name="HTTPSampler.path">${base_path}catalogsearch/advanced/result/</stringProp>
  4325. <stringProp name="HTTPSampler.method">GET</stringProp>
  4326. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4327. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4328. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4329. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4330. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4331. <stringProp name="HTTPSampler.embedded_url_re"/>
  4332. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_advanced.jmx</stringProp></HTTPSamplerProxy>
  4333. <hashTree>
  4334. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
  4335. <collectionProp name="Asserion.test_strings">
  4336. <stringProp name="-1851531284">items&lt;/strong&gt; were found using the following search criteria</stringProp>
  4337. </collectionProp>
  4338. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4339. <boolProp name="Assertion.assume_success">false</boolProp>
  4340. <intProp name="Assertion.test_type">2</intProp>
  4341. </ResponseAssertion>
  4342. <hashTree/>
  4343. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract product url keys" enabled="true">
  4344. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  4345. <stringProp name="RegexExtractor.refname">product_url_keys</stringProp>
  4346. <stringProp name="RegexExtractor.regex">&lt;a class="product-item-link"(?s).+?href="(?:http|https)://${host}${base_path}(index.php/)?([^'"]+)${url_suffix}"&gt;(?s).</stringProp>
  4347. <stringProp name="RegexExtractor.template">$2$</stringProp>
  4348. <stringProp name="RegexExtractor.default"/>
  4349. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  4350. </RegexExtractor>
  4351. <hashTree/>
  4352. </hashTree>
  4353. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  4354. <stringProp name="BeanShellSampler.query">
  4355. foundProducts = Integer.parseInt(vars.get("product_url_keys_matchNr"));
  4356. if (foundProducts &gt; 3) {
  4357. foundProducts = 3;
  4358. }
  4359. vars.put("foundProducts", String.valueOf(foundProducts));
  4360. </stringProp>
  4361. <stringProp name="BeanShellSampler.filename"/>
  4362. <stringProp name="BeanShellSampler.parameters"/>
  4363. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4364. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/set_found_items.jmx</stringProp></BeanShellSampler>
  4365. <hashTree/>
  4366. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="View Searched Products" enabled="true">
  4367. <boolProp name="LoopController.continue_forever">true</boolProp>
  4368. <stringProp name="LoopController.loops">${foundProducts}</stringProp>
  4369. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  4370. <hashTree>
  4371. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  4372. <stringProp name="CounterConfig.start">1</stringProp>
  4373. <stringProp name="CounterConfig.end"/>
  4374. <stringProp name="CounterConfig.incr">1</stringProp>
  4375. <stringProp name="CounterConfig.name">_counter</stringProp>
  4376. <stringProp name="CounterConfig.format"/>
  4377. <boolProp name="CounterConfig.per_user">true</boolProp>
  4378. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  4379. </CounterConfig>
  4380. <hashTree/>
  4381. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Product Data" enabled="true">
  4382. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/searched_products_setup.jmx</stringProp>
  4383. <stringProp name="BeanShellSampler.query">
  4384. number = vars.get("_counter");
  4385. product = vars.get("product_url_keys_"+number);
  4386. vars.put("product_url_key", product);
  4387. </stringProp>
  4388. <stringProp name="BeanShellSampler.filename"/>
  4389. <stringProp name="BeanShellSampler.parameters"/>
  4390. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4391. </BeanShellSampler>
  4392. <hashTree/>
  4393. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Product ${_counter} View" enabled="true">
  4394. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4395. <collectionProp name="Arguments.arguments"/>
  4396. </elementProp>
  4397. <stringProp name="HTTPSampler.domain"/>
  4398. <stringProp name="HTTPSampler.port"/>
  4399. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4400. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4401. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4402. <stringProp name="HTTPSampler.contentEncoding"/>
  4403. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  4404. <stringProp name="HTTPSampler.method">GET</stringProp>
  4405. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4406. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4407. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4408. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4409. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4410. <stringProp name="HTTPSampler.embedded_url_re"/>
  4411. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  4412. <hashTree>
  4413. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4414. <collectionProp name="Asserion.test_strings">
  4415. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  4416. </collectionProp>
  4417. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4418. <boolProp name="Assertion.assume_success">false</boolProp>
  4419. <intProp name="Assertion.test_type">2</intProp>
  4420. </ResponseAssertion>
  4421. <hashTree/>
  4422. </hashTree>
  4423. </hashTree>
  4424. </hashTree>
  4425. </hashTree>
  4426. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Add To Cart By Guest" enabled="true">
  4427. <intProp name="ThroughputController.style">1</intProp>
  4428. <boolProp name="ThroughputController.perThread">false</boolProp>
  4429. <intProp name="ThroughputController.maxThroughput">1</intProp>
  4430. <stringProp name="ThroughputController.percentThroughput">${addToCartByGuestPercentage}</stringProp>
  4431. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  4432. <hashTree>
  4433. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  4434. <stringProp name="script">
  4435. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  4436. if (testLabel
  4437. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  4438. ) {
  4439. if (sampler.getName().indexOf(testLabel) == -1) {
  4440. sampler.setName(sampler.getName() + testLabel);
  4441. }
  4442. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  4443. sampler.setName("SetUp - " + sampler.getName());
  4444. }
  4445. </stringProp>
  4446. <stringProp name="scriptLanguage">javascript</stringProp>
  4447. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  4448. <hashTree/>
  4449. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  4450. <stringProp name="BeanShellSampler.query">
  4451. vars.put("testLabel", "Add To Cart By Guest");
  4452. </stringProp>
  4453. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4454. </BeanShellSampler>
  4455. <hashTree/>
  4456. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  4457. <collectionProp name="CookieManager.cookies">
  4458. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  4459. <stringProp name="Cookie.value">30</stringProp>
  4460. <stringProp name="Cookie.domain">${host}</stringProp>
  4461. <stringProp name="Cookie.path">/</stringProp>
  4462. <boolProp name="Cookie.secure">false</boolProp>
  4463. <longProp name="Cookie.expires">0</longProp>
  4464. <boolProp name="Cookie.path_specified">true</boolProp>
  4465. <boolProp name="Cookie.domain_specified">true</boolProp>
  4466. </elementProp>
  4467. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  4468. <stringProp name="Cookie.value">${form_key}</stringProp>
  4469. <stringProp name="Cookie.domain">${host}</stringProp>
  4470. <stringProp name="Cookie.path">${base_path}</stringProp>
  4471. <boolProp name="Cookie.secure">false</boolProp>
  4472. <longProp name="Cookie.expires">0</longProp>
  4473. <boolProp name="Cookie.path_specified">true</boolProp>
  4474. <boolProp name="Cookie.domain_specified">true</boolProp>
  4475. </elementProp>
  4476. </collectionProp>
  4477. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  4478. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  4479. <hashTree/>
  4480. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  4481. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  4482. <stringProp name="BeanShellSampler.query">
  4483. import java.util.Random;
  4484. Random random = new Random();
  4485. if (${seedForRandom} &gt; 0) {
  4486. random.setSeed(${seedForRandom} + ${__threadNum});
  4487. }
  4488. vars.putObject("randomIntGenerator", random);
  4489. </stringProp>
  4490. <stringProp name="BeanShellSampler.filename"/>
  4491. <stringProp name="BeanShellSampler.parameters"/>
  4492. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4493. </BeanShellSampler>
  4494. <hashTree/>
  4495. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Total Products In Cart" enabled="true">
  4496. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_total_products_in_cart_setup.jmx</stringProp>
  4497. <stringProp name="BeanShellSampler.query">
  4498. vars.put("totalProductsAdded", "0");
  4499. </stringProp>
  4500. <stringProp name="BeanShellSampler.filename"/>
  4501. <stringProp name="BeanShellSampler.parameters"/>
  4502. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4503. </BeanShellSampler>
  4504. <hashTree/>
  4505. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  4506. <stringProp name="BeanShellSampler.query">
  4507. import java.util.Random;
  4508. Random random = vars.getObject("randomIntGenerator");
  4509. number = random.nextInt(props.get("category_url_keys_list").size());
  4510. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  4511. vars.put("category_name", props.get("category_names_list").get(number));
  4512. </stringProp>
  4513. <stringProp name="BeanShellSampler.filename"/>
  4514. <stringProp name="BeanShellSampler.parameters"/>
  4515. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  4516. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  4517. <hashTree/>
  4518. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  4519. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4520. <collectionProp name="Arguments.arguments"/>
  4521. </elementProp>
  4522. <stringProp name="HTTPSampler.domain"/>
  4523. <stringProp name="HTTPSampler.port"/>
  4524. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4525. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4526. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4527. <stringProp name="HTTPSampler.contentEncoding"/>
  4528. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  4529. <stringProp name="HTTPSampler.method">GET</stringProp>
  4530. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4531. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4532. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4533. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4534. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4535. <stringProp name="HTTPSampler.embedded_url_re"/>
  4536. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  4537. <hashTree>
  4538. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4539. <collectionProp name="Asserion.test_strings">
  4540. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  4541. </collectionProp>
  4542. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4543. <boolProp name="Assertion.assume_success">false</boolProp>
  4544. <intProp name="Assertion.test_type">2</intProp>
  4545. </ResponseAssertion>
  4546. <hashTree/>
  4547. </hashTree>
  4548. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  4549. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4550. <collectionProp name="Arguments.arguments"/>
  4551. </elementProp>
  4552. <stringProp name="HTTPSampler.domain"/>
  4553. <stringProp name="HTTPSampler.port"/>
  4554. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4555. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4556. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4557. <stringProp name="HTTPSampler.contentEncoding"/>
  4558. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  4559. <stringProp name="HTTPSampler.method">GET</stringProp>
  4560. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4561. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4562. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4563. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4564. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4565. <stringProp name="HTTPSampler.embedded_url_re"/>
  4566. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_category.jmx</stringProp></HTTPSamplerProxy>
  4567. <hashTree>
  4568. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4569. <collectionProp name="Asserion.test_strings">
  4570. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  4571. </collectionProp>
  4572. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4573. <boolProp name="Assertion.assume_success">false</boolProp>
  4574. <intProp name="Assertion.test_type">6</intProp>
  4575. </ResponseAssertion>
  4576. <hashTree/>
  4577. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  4578. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  4579. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  4580. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  4581. <stringProp name="RegexExtractor.template">$1$</stringProp>
  4582. <stringProp name="RegexExtractor.default"/>
  4583. <stringProp name="RegexExtractor.match_number">1</stringProp>
  4584. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  4585. </RegexExtractor>
  4586. <hashTree/>
  4587. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  4588. <collectionProp name="Asserion.test_strings">
  4589. <stringProp name="1191417111">^[0-9]+$</stringProp>
  4590. </collectionProp>
  4591. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4592. <boolProp name="Assertion.assume_success">false</boolProp>
  4593. <intProp name="Assertion.test_type">1</intProp>
  4594. <stringProp name="Assertion.scope">variable</stringProp>
  4595. <stringProp name="Scope.variable">category_id</stringProp>
  4596. </ResponseAssertion>
  4597. <hashTree/>
  4598. </hashTree>
  4599. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Simple Products to Cart" enabled="true">
  4600. <boolProp name="LoopController.continue_forever">true</boolProp>
  4601. <stringProp name="LoopController.loops">2</stringProp>
  4602. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  4603. <hashTree>
  4604. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  4605. <stringProp name="CounterConfig.start">1</stringProp>
  4606. <stringProp name="CounterConfig.end"/>
  4607. <stringProp name="CounterConfig.incr">1</stringProp>
  4608. <stringProp name="CounterConfig.name">_counter</stringProp>
  4609. <stringProp name="CounterConfig.format"/>
  4610. <boolProp name="CounterConfig.per_user">true</boolProp>
  4611. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  4612. </CounterConfig>
  4613. <hashTree/>
  4614. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  4615. <stringProp name="BeanShellSampler.query">
  4616. import java.util.Random;
  4617. Random random = vars.getObject("randomIntGenerator");
  4618. number = random.nextInt(props.get("simple_products_list").size());
  4619. product = props.get("simple_products_list").get(number);
  4620. vars.put("product_url_key", product.get("url_key"));
  4621. vars.put("product_id", product.get("id"));
  4622. vars.put("product_name", product.get("title"));
  4623. vars.put("product_uenc", product.get("uenc"));
  4624. vars.put("product_sku", product.get("sku"));
  4625. </stringProp>
  4626. <stringProp name="BeanShellSampler.filename"/>
  4627. <stringProp name="BeanShellSampler.parameters"/>
  4628. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4629. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  4630. <hashTree/>
  4631. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  4632. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  4633. <stringProp name="BeanShellSampler.query">
  4634. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  4635. productsAdded = productsAdded + 1;
  4636. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  4637. </stringProp>
  4638. <stringProp name="BeanShellSampler.filename"/>
  4639. <stringProp name="BeanShellSampler.parameters"/>
  4640. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4641. </BeanShellSampler>
  4642. <hashTree/>
  4643. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  4644. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4645. <collectionProp name="Arguments.arguments"/>
  4646. </elementProp>
  4647. <stringProp name="HTTPSampler.domain"/>
  4648. <stringProp name="HTTPSampler.port"/>
  4649. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4650. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4651. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4652. <stringProp name="HTTPSampler.contentEncoding"/>
  4653. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  4654. <stringProp name="HTTPSampler.method">GET</stringProp>
  4655. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4656. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4657. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4658. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4659. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4660. <stringProp name="HTTPSampler.embedded_url_re"/>
  4661. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  4662. <hashTree>
  4663. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4664. <collectionProp name="Asserion.test_strings">
  4665. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  4666. </collectionProp>
  4667. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4668. <boolProp name="Assertion.assume_success">false</boolProp>
  4669. <intProp name="Assertion.test_type">2</intProp>
  4670. </ResponseAssertion>
  4671. <hashTree/>
  4672. </hashTree>
  4673. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} Add To Cart" enabled="true">
  4674. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4675. <collectionProp name="Arguments.arguments">
  4676. <elementProp name="product" elementType="HTTPArgument">
  4677. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4678. <stringProp name="Argument.value">${product_id}</stringProp>
  4679. <stringProp name="Argument.metadata">=</stringProp>
  4680. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4681. <stringProp name="Argument.name">product</stringProp>
  4682. </elementProp>
  4683. <elementProp name="related_product" elementType="HTTPArgument">
  4684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4685. <stringProp name="Argument.value"/>
  4686. <stringProp name="Argument.metadata">=</stringProp>
  4687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4688. <stringProp name="Argument.name">related_product</stringProp>
  4689. </elementProp>
  4690. <elementProp name="qty" elementType="HTTPArgument">
  4691. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4692. <stringProp name="Argument.value">1</stringProp>
  4693. <stringProp name="Argument.metadata">=</stringProp>
  4694. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4695. <stringProp name="Argument.name">qty</stringProp>
  4696. </elementProp>
  4697. <elementProp name="form_key" elementType="HTTPArgument">
  4698. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4699. <stringProp name="Argument.value">${form_key}</stringProp>
  4700. <stringProp name="Argument.metadata">=</stringProp>
  4701. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4702. <stringProp name="Argument.name">form_key</stringProp>
  4703. </elementProp>
  4704. </collectionProp>
  4705. </elementProp>
  4706. <stringProp name="HTTPSampler.domain"/>
  4707. <stringProp name="HTTPSampler.port"/>
  4708. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4709. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4710. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4711. <stringProp name="HTTPSampler.contentEncoding"/>
  4712. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  4713. <stringProp name="HTTPSampler.method">POST</stringProp>
  4714. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4715. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4716. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4717. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4718. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4719. <stringProp name="HTTPSampler.embedded_url_re"/>
  4720. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  4721. <hashTree>
  4722. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4723. <collectionProp name="HeaderManager.headers">
  4724. <elementProp name="" elementType="Header">
  4725. <stringProp name="Header.name">X-Requested-With</stringProp>
  4726. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4727. </elementProp>
  4728. </collectionProp>
  4729. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  4730. <hashTree/>
  4731. </hashTree>
  4732. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  4733. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4734. <collectionProp name="Arguments.arguments">
  4735. <elementProp name="sections" elementType="HTTPArgument">
  4736. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4737. <stringProp name="Argument.value">cart,messages</stringProp>
  4738. <stringProp name="Argument.metadata">=</stringProp>
  4739. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4740. <stringProp name="Argument.name">sections</stringProp>
  4741. </elementProp>
  4742. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  4743. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4744. <stringProp name="Argument.value">true</stringProp>
  4745. <stringProp name="Argument.metadata">=</stringProp>
  4746. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4747. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  4748. </elementProp>
  4749. <elementProp name="_" elementType="HTTPArgument">
  4750. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  4751. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  4752. <stringProp name="Argument.metadata">=</stringProp>
  4753. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  4754. <stringProp name="Argument.name">_</stringProp>
  4755. </elementProp>
  4756. </collectionProp>
  4757. </elementProp>
  4758. <stringProp name="HTTPSampler.domain"/>
  4759. <stringProp name="HTTPSampler.port"/>
  4760. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4761. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4762. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4763. <stringProp name="HTTPSampler.contentEncoding"/>
  4764. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  4765. <stringProp name="HTTPSampler.method">GET</stringProp>
  4766. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4767. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4768. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4769. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4770. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4771. <stringProp name="HTTPSampler.embedded_url_re"/>
  4772. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  4773. <hashTree>
  4774. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4775. <collectionProp name="Asserion.test_strings">
  4776. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  4777. </collectionProp>
  4778. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4779. <boolProp name="Assertion.assume_success">false</boolProp>
  4780. <intProp name="Assertion.test_type">2</intProp>
  4781. </ResponseAssertion>
  4782. <hashTree/>
  4783. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4784. <collectionProp name="Asserion.test_strings">
  4785. <stringProp name="2057973164">This product is out of stock.</stringProp>
  4786. </collectionProp>
  4787. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4788. <boolProp name="Assertion.assume_success">false</boolProp>
  4789. <intProp name="Assertion.test_type">6</intProp>
  4790. </ResponseAssertion>
  4791. <hashTree/>
  4792. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4793. <collectionProp name="Asserion.test_strings">
  4794. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  4795. </collectionProp>
  4796. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4797. <boolProp name="Assertion.assume_success">false</boolProp>
  4798. <intProp name="Assertion.test_type">2</intProp>
  4799. </ResponseAssertion>
  4800. <hashTree/>
  4801. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4802. <collectionProp name="HeaderManager.headers">
  4803. <elementProp name="" elementType="Header">
  4804. <stringProp name="Header.name">X-Requested-With</stringProp>
  4805. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  4806. </elementProp>
  4807. </collectionProp>
  4808. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  4809. <hashTree/>
  4810. </hashTree>
  4811. </hashTree>
  4812. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Configurable Products to Cart" enabled="true">
  4813. <boolProp name="LoopController.continue_forever">true</boolProp>
  4814. <stringProp name="LoopController.loops">1</stringProp>
  4815. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  4816. <hashTree>
  4817. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  4818. <stringProp name="CounterConfig.start">1</stringProp>
  4819. <stringProp name="CounterConfig.end"/>
  4820. <stringProp name="CounterConfig.incr">1</stringProp>
  4821. <stringProp name="CounterConfig.name">_counter</stringProp>
  4822. <stringProp name="CounterConfig.format"/>
  4823. <boolProp name="CounterConfig.per_user">true</boolProp>
  4824. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  4825. </CounterConfig>
  4826. <hashTree/>
  4827. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  4828. <stringProp name="BeanShellSampler.query">
  4829. import java.util.Random;
  4830. Random random = vars.getObject("randomIntGenerator");
  4831. number = random.nextInt(props.get("configurable_products_list").size());
  4832. product = props.get("configurable_products_list").get(number);
  4833. vars.put("product_url_key", product.get("url_key"));
  4834. vars.put("product_id", product.get("id"));
  4835. vars.put("product_name", product.get("title"));
  4836. vars.put("product_uenc", product.get("uenc"));
  4837. vars.put("product_sku", product.get("sku"));
  4838. </stringProp>
  4839. <stringProp name="BeanShellSampler.filename"/>
  4840. <stringProp name="BeanShellSampler.parameters"/>
  4841. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4842. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  4843. <hashTree/>
  4844. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  4845. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  4846. <stringProp name="BeanShellSampler.query">
  4847. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  4848. productsAdded = productsAdded + 1;
  4849. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  4850. </stringProp>
  4851. <stringProp name="BeanShellSampler.filename"/>
  4852. <stringProp name="BeanShellSampler.parameters"/>
  4853. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  4854. </BeanShellSampler>
  4855. <hashTree/>
  4856. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  4857. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4858. <collectionProp name="Arguments.arguments"/>
  4859. </elementProp>
  4860. <stringProp name="HTTPSampler.domain"/>
  4861. <stringProp name="HTTPSampler.port"/>
  4862. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4863. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4864. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4865. <stringProp name="HTTPSampler.contentEncoding"/>
  4866. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  4867. <stringProp name="HTTPSampler.method">GET</stringProp>
  4868. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4869. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4870. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4871. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4872. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4873. <stringProp name="HTTPSampler.embedded_url_re"/>
  4874. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  4875. <hashTree>
  4876. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  4877. <collectionProp name="Asserion.test_strings">
  4878. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  4879. </collectionProp>
  4880. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4881. <boolProp name="Assertion.assume_success">false</boolProp>
  4882. <intProp name="Assertion.test_type">2</intProp>
  4883. </ResponseAssertion>
  4884. <hashTree/>
  4885. </hashTree>
  4886. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="SetUp - Get Configurable Product Options" enabled="true">
  4887. <boolProp name="LoopController.continue_forever">true</boolProp>
  4888. <stringProp name="LoopController.loops">1</stringProp>
  4889. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_configurable_product_options.jmx</stringProp></LoopController>
  4890. <hashTree>
  4891. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4892. <collectionProp name="HeaderManager.headers">
  4893. <elementProp name="" elementType="Header">
  4894. <stringProp name="Header.name">Content-Type</stringProp>
  4895. <stringProp name="Header.value">application/json</stringProp>
  4896. </elementProp>
  4897. <elementProp name="" elementType="Header">
  4898. <stringProp name="Header.name">Accept</stringProp>
  4899. <stringProp name="Header.value">*/*</stringProp>
  4900. </elementProp>
  4901. </collectionProp>
  4902. </HeaderManager>
  4903. <hashTree/>
  4904. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  4905. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  4906. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  4907. <collectionProp name="Arguments.arguments">
  4908. <elementProp name="" elementType="HTTPArgument">
  4909. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  4910. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  4911. <stringProp name="Argument.metadata">=</stringProp>
  4912. </elementProp>
  4913. </collectionProp>
  4914. </elementProp>
  4915. <stringProp name="HTTPSampler.domain"/>
  4916. <stringProp name="HTTPSampler.port"/>
  4917. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4918. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4919. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4920. <stringProp name="HTTPSampler.contentEncoding"/>
  4921. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  4922. <stringProp name="HTTPSampler.method">POST</stringProp>
  4923. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4924. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4925. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4926. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4927. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4928. <stringProp name="HTTPSampler.embedded_url_re"/>
  4929. </HTTPSamplerProxy>
  4930. <hashTree>
  4931. <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">
  4932. <stringProp name="VAR">admin_token</stringProp>
  4933. <stringProp name="JSONPATH">$</stringProp>
  4934. <stringProp name="DEFAULT"/>
  4935. <stringProp name="VARIABLE"/>
  4936. <stringProp name="SUBJECT">BODY</stringProp>
  4937. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4938. <hashTree/>
  4939. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  4940. <collectionProp name="Asserion.test_strings">
  4941. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  4942. </collectionProp>
  4943. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  4944. <boolProp name="Assertion.assume_success">false</boolProp>
  4945. <intProp name="Assertion.test_type">1</intProp>
  4946. <stringProp name="Assertion.scope">variable</stringProp>
  4947. <stringProp name="Scope.variable">admin_token</stringProp>
  4948. </ResponseAssertion>
  4949. <hashTree/>
  4950. </hashTree>
  4951. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  4952. <collectionProp name="HeaderManager.headers">
  4953. <elementProp name="" elementType="Header">
  4954. <stringProp name="Header.name">Authorization</stringProp>
  4955. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  4956. </elementProp>
  4957. </collectionProp>
  4958. </HeaderManager>
  4959. <hashTree/>
  4960. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options" enabled="true">
  4961. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  4962. <collectionProp name="Arguments.arguments"/>
  4963. </elementProp>
  4964. <stringProp name="HTTPSampler.domain"/>
  4965. <stringProp name="HTTPSampler.port"/>
  4966. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  4967. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  4968. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  4969. <stringProp name="HTTPSampler.contentEncoding"/>
  4970. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${product_sku}/options/all</stringProp>
  4971. <stringProp name="HTTPSampler.method">GET</stringProp>
  4972. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  4973. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  4974. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  4975. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  4976. <boolProp name="HTTPSampler.monitor">false</boolProp>
  4977. <stringProp name="HTTPSampler.embedded_url_re"/>
  4978. </HTTPSamplerProxy>
  4979. <hashTree>
  4980. <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">
  4981. <stringProp name="VAR">attribute_ids</stringProp>
  4982. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  4983. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  4984. <stringProp name="VARIABLE"/>
  4985. <stringProp name="SUBJECT">BODY</stringProp>
  4986. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4987. <hashTree/>
  4988. <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">
  4989. <stringProp name="VAR">option_values</stringProp>
  4990. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  4991. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  4992. <stringProp name="VARIABLE"/>
  4993. <stringProp name="SUBJECT">BODY</stringProp>
  4994. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  4995. <hashTree/>
  4996. </hashTree>
  4997. </hashTree>
  4998. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} Add To Cart" enabled="true">
  4999. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5000. <collectionProp name="Arguments.arguments">
  5001. <elementProp name="product" elementType="HTTPArgument">
  5002. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5003. <stringProp name="Argument.value">${product_id}</stringProp>
  5004. <stringProp name="Argument.metadata">=</stringProp>
  5005. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5006. <stringProp name="Argument.name">product</stringProp>
  5007. </elementProp>
  5008. <elementProp name="related_product" elementType="HTTPArgument">
  5009. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5010. <stringProp name="Argument.value"/>
  5011. <stringProp name="Argument.metadata">=</stringProp>
  5012. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5013. <stringProp name="Argument.name">related_product</stringProp>
  5014. </elementProp>
  5015. <elementProp name="qty" elementType="HTTPArgument">
  5016. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5017. <stringProp name="Argument.value">1</stringProp>
  5018. <stringProp name="Argument.metadata">=</stringProp>
  5019. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5020. <stringProp name="Argument.name">qty</stringProp>
  5021. </elementProp>
  5022. <elementProp name="form_key" elementType="HTTPArgument">
  5023. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5024. <stringProp name="Argument.value">${form_key}</stringProp>
  5025. <stringProp name="Argument.metadata">=</stringProp>
  5026. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5027. <stringProp name="Argument.name">form_key</stringProp>
  5028. </elementProp>
  5029. </collectionProp>
  5030. </elementProp>
  5031. <stringProp name="HTTPSampler.domain"/>
  5032. <stringProp name="HTTPSampler.port"/>
  5033. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5034. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5035. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5036. <stringProp name="HTTPSampler.contentEncoding"/>
  5037. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  5038. <stringProp name="HTTPSampler.method">POST</stringProp>
  5039. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5040. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5041. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5042. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5043. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5044. <stringProp name="HTTPSampler.embedded_url_re"/>
  5045. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  5046. <hashTree>
  5047. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  5048. <boolProp name="resetInterpreter">false</boolProp>
  5049. <stringProp name="parameters"/>
  5050. <stringProp name="filename"/>
  5051. <stringProp name="script">
  5052. try {
  5053. attribute_ids = vars.get("attribute_ids");
  5054. option_values = vars.get("option_values");
  5055. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  5056. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  5057. attribute_ids_array = attribute_ids.split(",");
  5058. option_values_array = option_values.split(",");
  5059. args = ctx.getCurrentSampler().getArguments();
  5060. it = args.iterator();
  5061. while (it.hasNext()) {
  5062. argument = it.next();
  5063. if (argument.getStringValue().contains("${")) {
  5064. args.removeArgument(argument.getName());
  5065. }
  5066. }
  5067. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  5068. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  5069. }
  5070. } catch (Exception e) {
  5071. log.error("eror&#x2026;", e);
  5072. }
  5073. </stringProp>
  5074. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/configurable_product_add_to_cart_preprocessor.jmx</stringProp></BeanShellPreProcessor>
  5075. <hashTree/>
  5076. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5077. <collectionProp name="HeaderManager.headers">
  5078. <elementProp name="" elementType="Header">
  5079. <stringProp name="Header.name">X-Requested-With</stringProp>
  5080. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  5081. </elementProp>
  5082. </collectionProp>
  5083. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  5084. <hashTree/>
  5085. </hashTree>
  5086. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  5087. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5088. <collectionProp name="Arguments.arguments">
  5089. <elementProp name="sections" elementType="HTTPArgument">
  5090. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5091. <stringProp name="Argument.value">cart,messages</stringProp>
  5092. <stringProp name="Argument.metadata">=</stringProp>
  5093. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5094. <stringProp name="Argument.name">sections</stringProp>
  5095. </elementProp>
  5096. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  5097. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5098. <stringProp name="Argument.value">true</stringProp>
  5099. <stringProp name="Argument.metadata">=</stringProp>
  5100. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5101. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  5102. </elementProp>
  5103. <elementProp name="_" elementType="HTTPArgument">
  5104. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5105. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  5106. <stringProp name="Argument.metadata">=</stringProp>
  5107. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5108. <stringProp name="Argument.name">_</stringProp>
  5109. </elementProp>
  5110. </collectionProp>
  5111. </elementProp>
  5112. <stringProp name="HTTPSampler.domain"/>
  5113. <stringProp name="HTTPSampler.port"/>
  5114. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5115. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5116. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5117. <stringProp name="HTTPSampler.contentEncoding"/>
  5118. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  5119. <stringProp name="HTTPSampler.method">GET</stringProp>
  5120. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5121. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5122. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5123. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5124. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5125. <stringProp name="HTTPSampler.embedded_url_re"/>
  5126. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  5127. <hashTree>
  5128. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5129. <collectionProp name="Asserion.test_strings">
  5130. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  5131. </collectionProp>
  5132. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5133. <boolProp name="Assertion.assume_success">false</boolProp>
  5134. <intProp name="Assertion.test_type">2</intProp>
  5135. </ResponseAssertion>
  5136. <hashTree/>
  5137. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5138. <collectionProp name="Asserion.test_strings">
  5139. <stringProp name="2057973164">This product is out of stock.</stringProp>
  5140. </collectionProp>
  5141. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5142. <boolProp name="Assertion.assume_success">false</boolProp>
  5143. <intProp name="Assertion.test_type">6</intProp>
  5144. </ResponseAssertion>
  5145. <hashTree/>
  5146. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5147. <collectionProp name="Asserion.test_strings">
  5148. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  5149. </collectionProp>
  5150. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5151. <boolProp name="Assertion.assume_success">false</boolProp>
  5152. <intProp name="Assertion.test_type">2</intProp>
  5153. </ResponseAssertion>
  5154. <hashTree/>
  5155. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  5156. <collectionProp name="HeaderManager.headers">
  5157. <elementProp name="" elementType="Header">
  5158. <stringProp name="Header.name">X-Requested-With</stringProp>
  5159. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  5160. </elementProp>
  5161. </collectionProp>
  5162. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  5163. <hashTree/>
  5164. </hashTree>
  5165. </hashTree>
  5166. </hashTree>
  5167. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Add to Wishlist" enabled="true">
  5168. <intProp name="ThroughputController.style">1</intProp>
  5169. <boolProp name="ThroughputController.perThread">false</boolProp>
  5170. <intProp name="ThroughputController.maxThroughput">1</intProp>
  5171. <stringProp name="ThroughputController.percentThroughput">${addToWishlistPercentage}</stringProp>
  5172. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  5173. <hashTree>
  5174. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  5175. <stringProp name="script">
  5176. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  5177. if (testLabel
  5178. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  5179. ) {
  5180. if (sampler.getName().indexOf(testLabel) == -1) {
  5181. sampler.setName(sampler.getName() + testLabel);
  5182. }
  5183. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  5184. sampler.setName("SetUp - " + sampler.getName());
  5185. }
  5186. </stringProp>
  5187. <stringProp name="scriptLanguage">javascript</stringProp>
  5188. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  5189. <hashTree/>
  5190. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  5191. <stringProp name="BeanShellSampler.query">
  5192. vars.put("testLabel", "Add to Wishlist");
  5193. </stringProp>
  5194. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5195. </BeanShellSampler>
  5196. <hashTree/>
  5197. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  5198. <collectionProp name="CookieManager.cookies">
  5199. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  5200. <stringProp name="Cookie.value">30</stringProp>
  5201. <stringProp name="Cookie.domain">${host}</stringProp>
  5202. <stringProp name="Cookie.path">/</stringProp>
  5203. <boolProp name="Cookie.secure">false</boolProp>
  5204. <longProp name="Cookie.expires">0</longProp>
  5205. <boolProp name="Cookie.path_specified">true</boolProp>
  5206. <boolProp name="Cookie.domain_specified">true</boolProp>
  5207. </elementProp>
  5208. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  5209. <stringProp name="Cookie.value">${form_key}</stringProp>
  5210. <stringProp name="Cookie.domain">${host}</stringProp>
  5211. <stringProp name="Cookie.path">${base_path}</stringProp>
  5212. <boolProp name="Cookie.secure">false</boolProp>
  5213. <longProp name="Cookie.expires">0</longProp>
  5214. <boolProp name="Cookie.path_specified">true</boolProp>
  5215. <boolProp name="Cookie.domain_specified">true</boolProp>
  5216. </elementProp>
  5217. </collectionProp>
  5218. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  5219. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  5220. <hashTree/>
  5221. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  5222. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  5223. <stringProp name="BeanShellSampler.query">
  5224. import java.util.Random;
  5225. Random random = new Random();
  5226. if (${seedForRandom} &gt; 0) {
  5227. random.setSeed(${seedForRandom} + ${__threadNum});
  5228. }
  5229. vars.putObject("randomIntGenerator", random);
  5230. </stringProp>
  5231. <stringProp name="BeanShellSampler.filename"/>
  5232. <stringProp name="BeanShellSampler.parameters"/>
  5233. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5234. </BeanShellSampler>
  5235. <hashTree/>
  5236. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Get Customer Email" enabled="true">
  5237. <stringProp name="CriticalSectionController.lockName">get-email</stringProp>
  5238. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  5239. <hashTree>
  5240. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Customer Email" enabled="true">
  5241. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_customer_email.jmx</stringProp>
  5242. <stringProp name="BeanShellSampler.query">
  5243. customerUserList = props.get("customer_emails_list");
  5244. customerUser = customerUserList.poll();
  5245. if (customerUser == null) {
  5246. SampleResult.setResponseMessage("customernUser list is empty");
  5247. SampleResult.setResponseData("customerUser list is empty","UTF-8");
  5248. IsSuccess=false;
  5249. SampleResult.setSuccessful(false);
  5250. SampleResult.setStopThread(true);
  5251. }
  5252. vars.put("customer_email", customerUser);
  5253. </stringProp>
  5254. <stringProp name="BeanShellSampler.filename"/>
  5255. <stringProp name="BeanShellSampler.parameters"/>
  5256. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5257. </BeanShellSampler>
  5258. <hashTree/>
  5259. </hashTree>
  5260. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page" enabled="true">
  5261. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5262. <collectionProp name="Arguments.arguments"/>
  5263. </elementProp>
  5264. <stringProp name="HTTPSampler.domain"/>
  5265. <stringProp name="HTTPSampler.port"/>
  5266. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5267. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5268. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5269. <stringProp name="HTTPSampler.contentEncoding"/>
  5270. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  5271. <stringProp name="HTTPSampler.method">GET</stringProp>
  5272. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5273. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5274. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5275. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5276. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5277. <stringProp name="HTTPSampler.embedded_url_re"/>
  5278. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_login_page.jmx</stringProp></HTTPSamplerProxy>
  5279. <hashTree>
  5280. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5281. <collectionProp name="Asserion.test_strings">
  5282. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  5283. </collectionProp>
  5284. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5285. <boolProp name="Assertion.assume_success">false</boolProp>
  5286. <intProp name="Assertion.test_type">2</intProp>
  5287. </ResponseAssertion>
  5288. <hashTree/>
  5289. </hashTree>
  5290. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login" enabled="true">
  5291. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5292. <collectionProp name="Arguments.arguments">
  5293. <elementProp name="form_key" elementType="HTTPArgument">
  5294. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5295. <stringProp name="Argument.value">${form_key}</stringProp>
  5296. <stringProp name="Argument.metadata">=</stringProp>
  5297. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5298. <stringProp name="Argument.name">form_key</stringProp>
  5299. </elementProp>
  5300. <elementProp name="login[username]" elementType="HTTPArgument">
  5301. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5302. <stringProp name="Argument.value">${customer_email}</stringProp>
  5303. <stringProp name="Argument.metadata">=</stringProp>
  5304. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5305. <stringProp name="Argument.name">login[username]</stringProp>
  5306. </elementProp>
  5307. <elementProp name="login[password]" elementType="HTTPArgument">
  5308. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5309. <stringProp name="Argument.value">${customer_password}</stringProp>
  5310. <stringProp name="Argument.metadata">=</stringProp>
  5311. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5312. <stringProp name="Argument.name">login[password]</stringProp>
  5313. </elementProp>
  5314. <elementProp name="send" elementType="HTTPArgument">
  5315. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5316. <stringProp name="Argument.value"/>
  5317. <stringProp name="Argument.metadata">=</stringProp>
  5318. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5319. <stringProp name="Argument.name">send</stringProp>
  5320. </elementProp>
  5321. </collectionProp>
  5322. </elementProp>
  5323. <stringProp name="HTTPSampler.domain"/>
  5324. <stringProp name="HTTPSampler.port"/>
  5325. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5326. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5327. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5328. <stringProp name="HTTPSampler.contentEncoding"/>
  5329. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  5330. <stringProp name="HTTPSampler.method">POST</stringProp>
  5331. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5332. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5333. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5334. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5335. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5336. <stringProp name="HTTPSampler.embedded_url_re"/>
  5337. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/login.jmx</stringProp></HTTPSamplerProxy>
  5338. <hashTree>
  5339. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5340. <collectionProp name="Asserion.test_strings">
  5341. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  5342. </collectionProp>
  5343. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5344. <boolProp name="Assertion.assume_success">false</boolProp>
  5345. <intProp name="Assertion.test_type">2</intProp>
  5346. </ResponseAssertion>
  5347. <hashTree/>
  5348. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  5349. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5350. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  5351. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  5352. <stringProp name="RegexExtractor.template">$1$</stringProp>
  5353. <stringProp name="RegexExtractor.default"/>
  5354. <stringProp name="RegexExtractor.match_number">1</stringProp>
  5355. </RegexExtractor>
  5356. <hashTree/>
  5357. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  5358. <collectionProp name="Asserion.test_strings">
  5359. <stringProp name="2845929">^.+$</stringProp>
  5360. </collectionProp>
  5361. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5362. <boolProp name="Assertion.assume_success">false</boolProp>
  5363. <intProp name="Assertion.test_type">1</intProp>
  5364. <stringProp name="Assertion.scope">variable</stringProp>
  5365. <stringProp name="Scope.variable">addressId</stringProp>
  5366. </ResponseAssertion>
  5367. <hashTree/>
  5368. </hashTree>
  5369. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Customer Private Data" enabled="true">
  5370. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5371. <collectionProp name="Arguments.arguments">
  5372. <elementProp name="sections" elementType="HTTPArgument">
  5373. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5374. <stringProp name="Argument.value"/>
  5375. <stringProp name="Argument.metadata">=</stringProp>
  5376. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5377. <stringProp name="Argument.name">sections</stringProp>
  5378. </elementProp>
  5379. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  5380. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5381. <stringProp name="Argument.value">false</stringProp>
  5382. <stringProp name="Argument.metadata">=</stringProp>
  5383. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5384. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  5385. </elementProp>
  5386. <elementProp name="_" elementType="HTTPArgument">
  5387. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5388. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  5389. <stringProp name="Argument.metadata">=</stringProp>
  5390. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5391. <stringProp name="Argument.name">_</stringProp>
  5392. </elementProp>
  5393. </collectionProp>
  5394. </elementProp>
  5395. <stringProp name="HTTPSampler.domain"/>
  5396. <stringProp name="HTTPSampler.port"/>
  5397. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5398. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5399. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5400. <stringProp name="HTTPSampler.contentEncoding"/>
  5401. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  5402. <stringProp name="HTTPSampler.method">GET</stringProp>
  5403. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5404. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5405. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5406. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5407. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5408. <stringProp name="HTTPSampler.embedded_url_re"/>
  5409. </HTTPSamplerProxy>
  5410. <hashTree/>
  5411. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Produts to Wishlist" enabled="true">
  5412. <boolProp name="LoopController.continue_forever">true</boolProp>
  5413. <stringProp name="LoopController.loops">5</stringProp>
  5414. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  5415. <hashTree>
  5416. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  5417. <stringProp name="CounterConfig.start">1</stringProp>
  5418. <stringProp name="CounterConfig.end"/>
  5419. <stringProp name="CounterConfig.incr">1</stringProp>
  5420. <stringProp name="CounterConfig.name">_counter</stringProp>
  5421. <stringProp name="CounterConfig.format"/>
  5422. <boolProp name="CounterConfig.per_user">true</boolProp>
  5423. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  5424. </CounterConfig>
  5425. <hashTree/>
  5426. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  5427. <stringProp name="BeanShellSampler.query">
  5428. import java.util.Random;
  5429. Random random = vars.getObject("randomIntGenerator");
  5430. number = random.nextInt(props.get("simple_products_list").size());
  5431. product = props.get("simple_products_list").get(number);
  5432. vars.put("product_url_key", product.get("url_key"));
  5433. vars.put("product_id", product.get("id"));
  5434. vars.put("product_name", product.get("title"));
  5435. vars.put("product_uenc", product.get("uenc"));
  5436. vars.put("product_sku", product.get("sku"));
  5437. </stringProp>
  5438. <stringProp name="BeanShellSampler.filename"/>
  5439. <stringProp name="BeanShellSampler.parameters"/>
  5440. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5441. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  5442. <hashTree/>
  5443. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  5444. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5445. <collectionProp name="Arguments.arguments"/>
  5446. </elementProp>
  5447. <stringProp name="HTTPSampler.domain"/>
  5448. <stringProp name="HTTPSampler.port"/>
  5449. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5450. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5451. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5452. <stringProp name="HTTPSampler.contentEncoding"/>
  5453. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  5454. <stringProp name="HTTPSampler.method">GET</stringProp>
  5455. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5456. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5457. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5458. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5459. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5460. <stringProp name="HTTPSampler.embedded_url_re"/>
  5461. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  5462. <hashTree>
  5463. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5464. <collectionProp name="Asserion.test_strings">
  5465. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  5466. </collectionProp>
  5467. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5468. <boolProp name="Assertion.assume_success">false</boolProp>
  5469. <intProp name="Assertion.test_type">2</intProp>
  5470. </ResponseAssertion>
  5471. <hashTree/>
  5472. </hashTree>
  5473. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} Add To Wishlist" enabled="true">
  5474. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5475. <collectionProp name="Arguments.arguments">
  5476. <elementProp name="form_key" elementType="HTTPArgument">
  5477. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5478. <stringProp name="Argument.value">${form_key}</stringProp>
  5479. <stringProp name="Argument.metadata">=</stringProp>
  5480. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5481. <stringProp name="Argument.name">form_key</stringProp>
  5482. <stringProp name="Argument.desc">false</stringProp>
  5483. </elementProp>
  5484. <elementProp name="uenc" elementType="HTTPArgument">
  5485. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5486. <stringProp name="Argument.value">${product_uenc}</stringProp>
  5487. <stringProp name="Argument.metadata">=</stringProp>
  5488. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5489. <stringProp name="Argument.name">uenc</stringProp>
  5490. </elementProp>
  5491. <elementProp name="product" elementType="HTTPArgument">
  5492. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5493. <stringProp name="Argument.value">${product_id}</stringProp>
  5494. <stringProp name="Argument.metadata">=</stringProp>
  5495. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5496. <stringProp name="Argument.name">product</stringProp>
  5497. </elementProp>
  5498. </collectionProp>
  5499. </elementProp>
  5500. <stringProp name="HTTPSampler.domain"/>
  5501. <stringProp name="HTTPSampler.port"/>
  5502. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5503. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5504. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5505. <stringProp name="HTTPSampler.contentEncoding"/>
  5506. <stringProp name="HTTPSampler.path">${base_path}wishlist/index/add/</stringProp>
  5507. <stringProp name="HTTPSampler.method">POST</stringProp>
  5508. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5509. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5510. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5511. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5512. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5513. <stringProp name="HTTPSampler.embedded_url_re"/>
  5514. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/wishlist/add_to_wishlist.jmx</stringProp></HTTPSamplerProxy>
  5515. <hashTree>
  5516. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5517. <collectionProp name="Asserion.test_strings">
  5518. <stringProp name="-1907714722">&lt;title&gt;My Wish List&lt;/title&gt;</stringProp>
  5519. </collectionProp>
  5520. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5521. <boolProp name="Assertion.assume_success">false</boolProp>
  5522. <intProp name="Assertion.test_type">16</intProp>
  5523. </ResponseAssertion>
  5524. <hashTree/>
  5525. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
  5526. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5527. <stringProp name="RegexExtractor.refname">wishListItems</stringProp>
  5528. <stringProp name="RegexExtractor.regex">data-post-remove='\{"action":"(.+)\/wishlist\\/index\\/remove\\/","data":\{"item":"([^"]+)"</stringProp>
  5529. <stringProp name="RegexExtractor.template">$2$</stringProp>
  5530. <stringProp name="RegexExtractor.default"/>
  5531. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  5532. </RegexExtractor>
  5533. <hashTree/>
  5534. </hashTree>
  5535. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Wishlist Section ${_counter}" enabled="true">
  5536. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5537. <collectionProp name="Arguments.arguments">
  5538. <elementProp name="sections" elementType="HTTPArgument">
  5539. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5540. <stringProp name="Argument.value">wishlist,messages</stringProp>
  5541. <stringProp name="Argument.metadata">=</stringProp>
  5542. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5543. <stringProp name="Argument.name">sections</stringProp>
  5544. </elementProp>
  5545. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  5546. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5547. <stringProp name="Argument.value">false</stringProp>
  5548. <stringProp name="Argument.metadata">=</stringProp>
  5549. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5550. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  5551. </elementProp>
  5552. <elementProp name="_" elementType="HTTPArgument">
  5553. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5554. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  5555. <stringProp name="Argument.metadata">=</stringProp>
  5556. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5557. <stringProp name="Argument.name">_</stringProp>
  5558. </elementProp>
  5559. </collectionProp>
  5560. </elementProp>
  5561. <stringProp name="HTTPSampler.domain"/>
  5562. <stringProp name="HTTPSampler.port"/>
  5563. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5564. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5565. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5566. <stringProp name="HTTPSampler.contentEncoding"/>
  5567. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  5568. <stringProp name="HTTPSampler.method">GET</stringProp>
  5569. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5570. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5571. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5572. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5573. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5574. <stringProp name="HTTPSampler.embedded_url_re"/>
  5575. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/wishlist/load_wishlist_section.jmx</stringProp></HTTPSamplerProxy>
  5576. <hashTree>
  5577. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5578. <collectionProp name="Asserion.test_strings">
  5579. <stringProp name="-1865430343">{"wishlist":{"counter":"</stringProp>
  5580. </collectionProp>
  5581. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5582. <boolProp name="Assertion.assume_success">false</boolProp>
  5583. <intProp name="Assertion.test_type">16</intProp>
  5584. </ResponseAssertion>
  5585. <hashTree/>
  5586. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  5587. <stringProp name="ConstantTimer.delay">${wishlistDelay}*1000</stringProp>
  5588. </ConstantTimer>
  5589. <hashTree/>
  5590. </hashTree>
  5591. </hashTree>
  5592. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Controller: Clear Wishlist" enabled="true">
  5593. <stringProp name="ForeachController.inputVal">wishListItems</stringProp>
  5594. <stringProp name="ForeachController.returnVal">wishListItem</stringProp>
  5595. <boolProp name="ForeachController.useSeparator">true</boolProp>
  5596. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/wishlist/clear_wishlist.jmx</stringProp></ForeachController>
  5597. <hashTree>
  5598. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  5599. <stringProp name="CounterConfig.start">1</stringProp>
  5600. <stringProp name="CounterConfig.end">5</stringProp>
  5601. <stringProp name="CounterConfig.incr">1</stringProp>
  5602. <stringProp name="CounterConfig.name">counter</stringProp>
  5603. <stringProp name="CounterConfig.format"/>
  5604. <boolProp name="CounterConfig.per_user">true</boolProp>
  5605. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  5606. </CounterConfig>
  5607. <hashTree/>
  5608. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clear Wishlist ${counter}" enabled="true">
  5609. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5610. <collectionProp name="Arguments.arguments">
  5611. <elementProp name="form_key" elementType="HTTPArgument">
  5612. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5613. <stringProp name="Argument.value">${form_key}</stringProp>
  5614. <stringProp name="Argument.metadata">=</stringProp>
  5615. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5616. <stringProp name="Argument.name">form_key</stringProp>
  5617. <stringProp name="Argument.desc">true</stringProp>
  5618. </elementProp>
  5619. <elementProp name="item" elementType="HTTPArgument">
  5620. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5621. <stringProp name="Argument.value">${wishListItem}</stringProp>
  5622. <stringProp name="Argument.metadata">=</stringProp>
  5623. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5624. <stringProp name="Argument.name">item</stringProp>
  5625. <stringProp name="Argument.desc">true</stringProp>
  5626. </elementProp>
  5627. </collectionProp>
  5628. </elementProp>
  5629. <stringProp name="HTTPSampler.domain"/>
  5630. <stringProp name="HTTPSampler.port"/>
  5631. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5632. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5633. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5634. <stringProp name="HTTPSampler.contentEncoding"/>
  5635. <stringProp name="HTTPSampler.path">${base_path}wishlist/index/remove/</stringProp>
  5636. <stringProp name="HTTPSampler.method">POST</stringProp>
  5637. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5638. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5639. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5640. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5641. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5642. <stringProp name="HTTPSampler.embedded_url_re"/>
  5643. </HTTPSamplerProxy>
  5644. </hashTree>
  5645. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  5646. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5647. <collectionProp name="Arguments.arguments"/>
  5648. </elementProp>
  5649. <stringProp name="HTTPSampler.domain"/>
  5650. <stringProp name="HTTPSampler.port"/>
  5651. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5652. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5653. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5654. <stringProp name="HTTPSampler.contentEncoding"/>
  5655. <stringProp name="HTTPSampler.path">${base_path}customer/account/logout/</stringProp>
  5656. <stringProp name="HTTPSampler.method">GET</stringProp>
  5657. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5658. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5659. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5660. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5661. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5662. <stringProp name="HTTPSampler.embedded_url_re"/>
  5663. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/logout.jmx</stringProp></HTTPSamplerProxy>
  5664. <hashTree>
  5665. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  5666. <collectionProp name="Asserion.test_strings">
  5667. <stringProp name="1723813687">You are signed out.</stringProp>
  5668. </collectionProp>
  5669. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5670. <boolProp name="Assertion.assume_success">false</boolProp>
  5671. <intProp name="Assertion.test_type">2</intProp>
  5672. </ResponseAssertion>
  5673. <hashTree/>
  5674. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Customer to Pool" enabled="true">
  5675. <boolProp name="resetInterpreter">false</boolProp>
  5676. <stringProp name="parameters"/>
  5677. <stringProp name="filename"/>
  5678. <stringProp name="script">
  5679. customerUserList = props.get("customer_emails_list");
  5680. customerUserList.add(vars.get("customer_email"));
  5681. </stringProp>
  5682. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  5683. <hashTree/>
  5684. </hashTree>
  5685. </hashTree>
  5686. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Compare Products" enabled="true">
  5687. <intProp name="ThroughputController.style">1</intProp>
  5688. <boolProp name="ThroughputController.perThread">false</boolProp>
  5689. <intProp name="ThroughputController.maxThroughput">1</intProp>
  5690. <stringProp name="ThroughputController.percentThroughput">${compareProductsPercentage}</stringProp>
  5691. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  5692. <hashTree>
  5693. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  5694. <stringProp name="script">
  5695. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  5696. if (testLabel
  5697. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  5698. ) {
  5699. if (sampler.getName().indexOf(testLabel) == -1) {
  5700. sampler.setName(sampler.getName() + testLabel);
  5701. }
  5702. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  5703. sampler.setName("SetUp - " + sampler.getName());
  5704. }
  5705. </stringProp>
  5706. <stringProp name="scriptLanguage">javascript</stringProp>
  5707. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  5708. <hashTree/>
  5709. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  5710. <stringProp name="BeanShellSampler.query">
  5711. vars.put("testLabel", "Compare Products");
  5712. </stringProp>
  5713. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5714. </BeanShellSampler>
  5715. <hashTree/>
  5716. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  5717. <collectionProp name="CookieManager.cookies">
  5718. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  5719. <stringProp name="Cookie.value">30</stringProp>
  5720. <stringProp name="Cookie.domain">${host}</stringProp>
  5721. <stringProp name="Cookie.path">/</stringProp>
  5722. <boolProp name="Cookie.secure">false</boolProp>
  5723. <longProp name="Cookie.expires">0</longProp>
  5724. <boolProp name="Cookie.path_specified">true</boolProp>
  5725. <boolProp name="Cookie.domain_specified">true</boolProp>
  5726. </elementProp>
  5727. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  5728. <stringProp name="Cookie.value">${form_key}</stringProp>
  5729. <stringProp name="Cookie.domain">${host}</stringProp>
  5730. <stringProp name="Cookie.path">${base_path}</stringProp>
  5731. <boolProp name="Cookie.secure">false</boolProp>
  5732. <longProp name="Cookie.expires">0</longProp>
  5733. <boolProp name="Cookie.path_specified">true</boolProp>
  5734. <boolProp name="Cookie.domain_specified">true</boolProp>
  5735. </elementProp>
  5736. </collectionProp>
  5737. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  5738. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  5739. <hashTree/>
  5740. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  5741. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  5742. <stringProp name="BeanShellSampler.query">
  5743. import java.util.Random;
  5744. Random random = new Random();
  5745. if (${seedForRandom} &gt; 0) {
  5746. random.setSeed(${seedForRandom} + ${__threadNum});
  5747. }
  5748. vars.putObject("randomIntGenerator", random);
  5749. </stringProp>
  5750. <stringProp name="BeanShellSampler.filename"/>
  5751. <stringProp name="BeanShellSampler.parameters"/>
  5752. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5753. </BeanShellSampler>
  5754. <hashTree/>
  5755. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Total Products In Cart" enabled="true">
  5756. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_total_products_in_cart_setup.jmx</stringProp>
  5757. <stringProp name="BeanShellSampler.query">
  5758. vars.put("totalProductsAdded", "0");
  5759. </stringProp>
  5760. <stringProp name="BeanShellSampler.filename"/>
  5761. <stringProp name="BeanShellSampler.parameters"/>
  5762. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5763. </BeanShellSampler>
  5764. <hashTree/>
  5765. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  5766. <stringProp name="BeanShellSampler.query">
  5767. import java.util.Random;
  5768. Random random = vars.getObject("randomIntGenerator");
  5769. number = random.nextInt(props.get("category_url_keys_list").size());
  5770. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  5771. vars.put("category_name", props.get("category_names_list").get(number));
  5772. </stringProp>
  5773. <stringProp name="BeanShellSampler.filename"/>
  5774. <stringProp name="BeanShellSampler.parameters"/>
  5775. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  5776. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  5777. <hashTree/>
  5778. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  5779. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5780. <collectionProp name="Arguments.arguments"/>
  5781. </elementProp>
  5782. <stringProp name="HTTPSampler.domain"/>
  5783. <stringProp name="HTTPSampler.port"/>
  5784. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5785. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5786. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5787. <stringProp name="HTTPSampler.contentEncoding"/>
  5788. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  5789. <stringProp name="HTTPSampler.method">GET</stringProp>
  5790. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5791. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5792. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5793. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5794. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5795. <stringProp name="HTTPSampler.embedded_url_re"/>
  5796. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/open_category.jmx</stringProp></HTTPSamplerProxy>
  5797. <hashTree>
  5798. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5799. <collectionProp name="Asserion.test_strings">
  5800. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  5801. </collectionProp>
  5802. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5803. <boolProp name="Assertion.assume_success">false</boolProp>
  5804. <intProp name="Assertion.test_type">6</intProp>
  5805. </ResponseAssertion>
  5806. <hashTree/>
  5807. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Random Product Id" enabled="true">
  5808. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  5809. <stringProp name="RegexExtractor.refname">random_product_compare_id</stringProp>
  5810. <stringProp name="RegexExtractor.regex">catalog\\/product_compare\\/add\\/\",\"data\":\{\"product\":\"([0-9]+)\"</stringProp>
  5811. <stringProp name="RegexExtractor.template">$1$</stringProp>
  5812. <stringProp name="RegexExtractor.default"/>
  5813. <stringProp name="RegexExtractor.match_number">1</stringProp>
  5814. </RegexExtractor>
  5815. <hashTree/>
  5816. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Random Product Id" enabled="true">
  5817. <collectionProp name="Asserion.test_strings">
  5818. <stringProp name="1191417111">^[0-9]+$</stringProp>
  5819. </collectionProp>
  5820. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5821. <boolProp name="Assertion.assume_success">false</boolProp>
  5822. <intProp name="Assertion.test_type">1</intProp>
  5823. <stringProp name="Assertion.scope">variable</stringProp>
  5824. <stringProp name="Scope.variable">random_product_compare_id</stringProp>
  5825. </ResponseAssertion>
  5826. <hashTree/>
  5827. </hashTree>
  5828. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Simple Products to Compare" enabled="true">
  5829. <boolProp name="LoopController.continue_forever">true</boolProp>
  5830. <stringProp name="LoopController.loops">2</stringProp>
  5831. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  5832. <hashTree>
  5833. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  5834. <stringProp name="CounterConfig.start">1</stringProp>
  5835. <stringProp name="CounterConfig.end"/>
  5836. <stringProp name="CounterConfig.incr">1</stringProp>
  5837. <stringProp name="CounterConfig.name">_counter</stringProp>
  5838. <stringProp name="CounterConfig.format"/>
  5839. <boolProp name="CounterConfig.per_user">true</boolProp>
  5840. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  5841. </CounterConfig>
  5842. <hashTree/>
  5843. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  5844. <stringProp name="BeanShellSampler.query">
  5845. import java.util.Random;
  5846. Random random = vars.getObject("randomIntGenerator");
  5847. number = random.nextInt(props.get("simple_products_list").size());
  5848. product = props.get("simple_products_list").get(number);
  5849. vars.put("product_url_key", product.get("url_key"));
  5850. vars.put("product_id", product.get("id"));
  5851. vars.put("product_name", product.get("title"));
  5852. vars.put("product_uenc", product.get("uenc"));
  5853. vars.put("product_sku", product.get("sku"));
  5854. </stringProp>
  5855. <stringProp name="BeanShellSampler.filename"/>
  5856. <stringProp name="BeanShellSampler.parameters"/>
  5857. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5858. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  5859. <hashTree/>
  5860. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  5861. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  5862. <stringProp name="BeanShellSampler.query">
  5863. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  5864. productsAdded = productsAdded + 1;
  5865. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  5866. </stringProp>
  5867. <stringProp name="BeanShellSampler.filename"/>
  5868. <stringProp name="BeanShellSampler.parameters"/>
  5869. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  5870. </BeanShellSampler>
  5871. <hashTree/>
  5872. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  5873. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5874. <collectionProp name="Arguments.arguments"/>
  5875. </elementProp>
  5876. <stringProp name="HTTPSampler.domain"/>
  5877. <stringProp name="HTTPSampler.port"/>
  5878. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5879. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5880. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5881. <stringProp name="HTTPSampler.contentEncoding"/>
  5882. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  5883. <stringProp name="HTTPSampler.method">GET</stringProp>
  5884. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5885. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5886. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5887. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5888. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5889. <stringProp name="HTTPSampler.embedded_url_re"/>
  5890. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  5891. <hashTree>
  5892. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5893. <collectionProp name="Asserion.test_strings">
  5894. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  5895. </collectionProp>
  5896. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5897. <boolProp name="Assertion.assume_success">false</boolProp>
  5898. <intProp name="Assertion.test_type">2</intProp>
  5899. </ResponseAssertion>
  5900. <hashTree/>
  5901. </hashTree>
  5902. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} Comparison Add" enabled="true">
  5903. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5904. <collectionProp name="Arguments.arguments">
  5905. <elementProp name="product" elementType="HTTPArgument">
  5906. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5907. <stringProp name="Argument.value">${product_id}</stringProp>
  5908. <stringProp name="Argument.metadata">=</stringProp>
  5909. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5910. <stringProp name="Argument.name">product</stringProp>
  5911. </elementProp>
  5912. <elementProp name="form_key" elementType="HTTPArgument">
  5913. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5914. <stringProp name="Argument.value">${form_key}</stringProp>
  5915. <stringProp name="Argument.metadata">=</stringProp>
  5916. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5917. <stringProp name="Argument.name">form_key</stringProp>
  5918. </elementProp>
  5919. <elementProp name="uenc" elementType="HTTPArgument">
  5920. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5921. <stringProp name="Argument.value">${product_uenc}</stringProp>
  5922. <stringProp name="Argument.metadata">=</stringProp>
  5923. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5924. <stringProp name="Argument.name">uenc</stringProp>
  5925. </elementProp>
  5926. </collectionProp>
  5927. </elementProp>
  5928. <stringProp name="HTTPSampler.domain"/>
  5929. <stringProp name="HTTPSampler.port"/>
  5930. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5931. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5932. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5933. <stringProp name="HTTPSampler.contentEncoding"/>
  5934. <stringProp name="HTTPSampler.path">${base_path}catalog/product_compare/add/</stringProp>
  5935. <stringProp name="HTTPSampler.method">POST</stringProp>
  5936. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5937. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5938. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5939. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5940. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5941. <stringProp name="HTTPSampler.embedded_url_re"/>
  5942. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/product_compare_add.jmx</stringProp></HTTPSamplerProxy>
  5943. <hashTree/>
  5944. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Compare Product Section" enabled="true">
  5945. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  5946. <collectionProp name="Arguments.arguments">
  5947. <elementProp name="sections" elementType="HTTPArgument">
  5948. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5949. <stringProp name="Argument.value">compare-products,messages</stringProp>
  5950. <stringProp name="Argument.metadata">=</stringProp>
  5951. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5952. <stringProp name="Argument.name">sections</stringProp>
  5953. </elementProp>
  5954. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  5955. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5956. <stringProp name="Argument.value">false</stringProp>
  5957. <stringProp name="Argument.metadata">=</stringProp>
  5958. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5959. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  5960. </elementProp>
  5961. <elementProp name="_" elementType="HTTPArgument">
  5962. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  5963. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  5964. <stringProp name="Argument.metadata">=</stringProp>
  5965. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  5966. <stringProp name="Argument.name">_</stringProp>
  5967. </elementProp>
  5968. </collectionProp>
  5969. </elementProp>
  5970. <stringProp name="HTTPSampler.domain"/>
  5971. <stringProp name="HTTPSampler.port"/>
  5972. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  5973. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  5974. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  5975. <stringProp name="HTTPSampler.contentEncoding"/>
  5976. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  5977. <stringProp name="HTTPSampler.method">GET</stringProp>
  5978. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  5979. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  5980. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  5981. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  5982. <boolProp name="HTTPSampler.monitor">false</boolProp>
  5983. <stringProp name="HTTPSampler.embedded_url_re"/>
  5984. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/customer_section_load_product_compare_add.jmx</stringProp></HTTPSamplerProxy>
  5985. <hashTree>
  5986. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  5987. <collectionProp name="Asserion.test_strings">
  5988. <stringProp name="-350323027">\"compare-products\":{\"count\":${totalProductsAdded}</stringProp>
  5989. </collectionProp>
  5990. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  5991. <boolProp name="Assertion.assume_success">false</boolProp>
  5992. <intProp name="Assertion.test_type">2</intProp>
  5993. </ResponseAssertion>
  5994. <hashTree/>
  5995. </hashTree>
  5996. </hashTree>
  5997. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Configurable Products to Compare" enabled="true">
  5998. <boolProp name="LoopController.continue_forever">true</boolProp>
  5999. <stringProp name="LoopController.loops">1</stringProp>
  6000. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  6001. <hashTree>
  6002. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  6003. <stringProp name="CounterConfig.start">1</stringProp>
  6004. <stringProp name="CounterConfig.end"/>
  6005. <stringProp name="CounterConfig.incr">1</stringProp>
  6006. <stringProp name="CounterConfig.name">_counter</stringProp>
  6007. <stringProp name="CounterConfig.format"/>
  6008. <boolProp name="CounterConfig.per_user">true</boolProp>
  6009. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  6010. </CounterConfig>
  6011. <hashTree/>
  6012. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  6013. <stringProp name="BeanShellSampler.query">
  6014. import java.util.Random;
  6015. Random random = vars.getObject("randomIntGenerator");
  6016. number = random.nextInt(props.get("configurable_products_list").size());
  6017. product = props.get("configurable_products_list").get(number);
  6018. vars.put("product_url_key", product.get("url_key"));
  6019. vars.put("product_id", product.get("id"));
  6020. vars.put("product_name", product.get("title"));
  6021. vars.put("product_uenc", product.get("uenc"));
  6022. vars.put("product_sku", product.get("sku"));
  6023. </stringProp>
  6024. <stringProp name="BeanShellSampler.filename"/>
  6025. <stringProp name="BeanShellSampler.parameters"/>
  6026. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6027. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  6028. <hashTree/>
  6029. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  6030. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  6031. <stringProp name="BeanShellSampler.query">
  6032. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  6033. productsAdded = productsAdded + 1;
  6034. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  6035. </stringProp>
  6036. <stringProp name="BeanShellSampler.filename"/>
  6037. <stringProp name="BeanShellSampler.parameters"/>
  6038. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6039. </BeanShellSampler>
  6040. <hashTree/>
  6041. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  6042. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6043. <collectionProp name="Arguments.arguments"/>
  6044. </elementProp>
  6045. <stringProp name="HTTPSampler.domain"/>
  6046. <stringProp name="HTTPSampler.port"/>
  6047. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6048. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6049. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6050. <stringProp name="HTTPSampler.contentEncoding"/>
  6051. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  6052. <stringProp name="HTTPSampler.method">GET</stringProp>
  6053. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6054. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6055. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6056. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6057. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6058. <stringProp name="HTTPSampler.embedded_url_re"/>
  6059. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  6060. <hashTree>
  6061. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6062. <collectionProp name="Asserion.test_strings">
  6063. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  6064. </collectionProp>
  6065. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6066. <boolProp name="Assertion.assume_success">false</boolProp>
  6067. <intProp name="Assertion.test_type">2</intProp>
  6068. </ResponseAssertion>
  6069. <hashTree/>
  6070. </hashTree>
  6071. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} Comparison Add" enabled="true">
  6072. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6073. <collectionProp name="Arguments.arguments">
  6074. <elementProp name="product" elementType="HTTPArgument">
  6075. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6076. <stringProp name="Argument.value">${product_id}</stringProp>
  6077. <stringProp name="Argument.metadata">=</stringProp>
  6078. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6079. <stringProp name="Argument.name">product</stringProp>
  6080. </elementProp>
  6081. <elementProp name="form_key" elementType="HTTPArgument">
  6082. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6083. <stringProp name="Argument.value">${form_key}</stringProp>
  6084. <stringProp name="Argument.metadata">=</stringProp>
  6085. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6086. <stringProp name="Argument.name">form_key</stringProp>
  6087. </elementProp>
  6088. <elementProp name="uenc" elementType="HTTPArgument">
  6089. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6090. <stringProp name="Argument.value">${product_uenc}</stringProp>
  6091. <stringProp name="Argument.metadata">=</stringProp>
  6092. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6093. <stringProp name="Argument.name">uenc</stringProp>
  6094. </elementProp>
  6095. </collectionProp>
  6096. </elementProp>
  6097. <stringProp name="HTTPSampler.domain"/>
  6098. <stringProp name="HTTPSampler.port"/>
  6099. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6100. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6101. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6102. <stringProp name="HTTPSampler.contentEncoding"/>
  6103. <stringProp name="HTTPSampler.path">${base_path}catalog/product_compare/add/</stringProp>
  6104. <stringProp name="HTTPSampler.method">POST</stringProp>
  6105. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6106. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6107. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6108. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6109. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6110. <stringProp name="HTTPSampler.embedded_url_re"/>
  6111. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/product_compare_add.jmx</stringProp></HTTPSamplerProxy>
  6112. <hashTree/>
  6113. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Compare Product Section" enabled="true">
  6114. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6115. <collectionProp name="Arguments.arguments">
  6116. <elementProp name="sections" elementType="HTTPArgument">
  6117. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6118. <stringProp name="Argument.value">compare-products,messages</stringProp>
  6119. <stringProp name="Argument.metadata">=</stringProp>
  6120. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6121. <stringProp name="Argument.name">sections</stringProp>
  6122. </elementProp>
  6123. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  6124. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6125. <stringProp name="Argument.value">false</stringProp>
  6126. <stringProp name="Argument.metadata">=</stringProp>
  6127. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6128. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  6129. </elementProp>
  6130. <elementProp name="_" elementType="HTTPArgument">
  6131. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6132. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  6133. <stringProp name="Argument.metadata">=</stringProp>
  6134. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6135. <stringProp name="Argument.name">_</stringProp>
  6136. </elementProp>
  6137. </collectionProp>
  6138. </elementProp>
  6139. <stringProp name="HTTPSampler.domain"/>
  6140. <stringProp name="HTTPSampler.port"/>
  6141. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6142. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6143. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6144. <stringProp name="HTTPSampler.contentEncoding"/>
  6145. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  6146. <stringProp name="HTTPSampler.method">GET</stringProp>
  6147. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6148. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6149. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6150. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6151. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6152. <stringProp name="HTTPSampler.embedded_url_re"/>
  6153. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/customer_section_load_product_compare_add.jmx</stringProp></HTTPSamplerProxy>
  6154. <hashTree>
  6155. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6156. <collectionProp name="Asserion.test_strings">
  6157. <stringProp name="-350323027">\"compare-products\":{\"count\":${totalProductsAdded}</stringProp>
  6158. </collectionProp>
  6159. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6160. <boolProp name="Assertion.assume_success">false</boolProp>
  6161. <intProp name="Assertion.test_type">2</intProp>
  6162. </ResponseAssertion>
  6163. <hashTree/>
  6164. </hashTree>
  6165. </hashTree>
  6166. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Compare Products" enabled="true">
  6167. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6168. <collectionProp name="Arguments.arguments"/>
  6169. </elementProp>
  6170. <stringProp name="HTTPSampler.domain"/>
  6171. <stringProp name="HTTPSampler.port"/>
  6172. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6173. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6174. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6175. <stringProp name="HTTPSampler.contentEncoding"/>
  6176. <stringProp name="HTTPSampler.path">${base_path}catalog/product_compare/index/</stringProp>
  6177. <stringProp name="HTTPSampler.method">GET</stringProp>
  6178. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6179. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6180. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6181. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6182. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6183. <stringProp name="HTTPSampler.embedded_url_re"/>
  6184. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/compare_products.jmx</stringProp></HTTPSamplerProxy>
  6185. <hashTree/>
  6186. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Product Compare - Pause" enabled="true">
  6187. <intProp name="ActionProcessor.action">1</intProp>
  6188. <intProp name="ActionProcessor.target">0</intProp>
  6189. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${productCompareDelay}*1000))}</stringProp>
  6190. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/compare_products_pause.jmx</stringProp></TestAction>
  6191. <hashTree/>
  6192. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Compare Products Clear" enabled="true">
  6193. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6194. <collectionProp name="Arguments.arguments">
  6195. <elementProp name="form_key" elementType="HTTPArgument">
  6196. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6197. <stringProp name="Argument.value">${form_key}</stringProp>
  6198. <stringProp name="Argument.metadata">=</stringProp>
  6199. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6200. <stringProp name="Argument.name">form_key</stringProp>
  6201. </elementProp>
  6202. </collectionProp>
  6203. </elementProp>
  6204. <stringProp name="HTTPSampler.domain"/>
  6205. <stringProp name="HTTPSampler.port"/>
  6206. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6207. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6208. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6209. <stringProp name="HTTPSampler.contentEncoding"/>
  6210. <stringProp name="HTTPSampler.path">${base_path}catalog/product_compare/clear</stringProp>
  6211. <stringProp name="HTTPSampler.method">POST</stringProp>
  6212. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6213. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6214. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6215. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6216. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6217. <stringProp name="HTTPSampler.embedded_url_re"/>
  6218. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_compare/compare_products_clear.jmx</stringProp></HTTPSamplerProxy>
  6219. <hashTree/>
  6220. </hashTree>
  6221. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Checkout By Guest" enabled="true">
  6222. <intProp name="ThroughputController.style">1</intProp>
  6223. <boolProp name="ThroughputController.perThread">false</boolProp>
  6224. <intProp name="ThroughputController.maxThroughput">1</intProp>
  6225. <stringProp name="ThroughputController.percentThroughput">${checkoutByGuestPercentage}</stringProp>
  6226. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  6227. <hashTree>
  6228. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  6229. <stringProp name="script">
  6230. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  6231. if (testLabel
  6232. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  6233. ) {
  6234. if (sampler.getName().indexOf(testLabel) == -1) {
  6235. sampler.setName(sampler.getName() + testLabel);
  6236. }
  6237. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  6238. sampler.setName("SetUp - " + sampler.getName());
  6239. }
  6240. </stringProp>
  6241. <stringProp name="scriptLanguage">javascript</stringProp>
  6242. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  6243. <hashTree/>
  6244. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  6245. <stringProp name="BeanShellSampler.query">
  6246. vars.put("testLabel", "Checkout By Guest");
  6247. </stringProp>
  6248. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6249. </BeanShellSampler>
  6250. <hashTree/>
  6251. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  6252. <collectionProp name="CookieManager.cookies">
  6253. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  6254. <stringProp name="Cookie.value">30</stringProp>
  6255. <stringProp name="Cookie.domain">${host}</stringProp>
  6256. <stringProp name="Cookie.path">/</stringProp>
  6257. <boolProp name="Cookie.secure">false</boolProp>
  6258. <longProp name="Cookie.expires">0</longProp>
  6259. <boolProp name="Cookie.path_specified">true</boolProp>
  6260. <boolProp name="Cookie.domain_specified">true</boolProp>
  6261. </elementProp>
  6262. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  6263. <stringProp name="Cookie.value">${form_key}</stringProp>
  6264. <stringProp name="Cookie.domain">${host}</stringProp>
  6265. <stringProp name="Cookie.path">${base_path}</stringProp>
  6266. <boolProp name="Cookie.secure">false</boolProp>
  6267. <longProp name="Cookie.expires">0</longProp>
  6268. <boolProp name="Cookie.path_specified">true</boolProp>
  6269. <boolProp name="Cookie.domain_specified">true</boolProp>
  6270. </elementProp>
  6271. </collectionProp>
  6272. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  6273. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  6274. <hashTree/>
  6275. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  6276. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  6277. <stringProp name="BeanShellSampler.query">
  6278. import java.util.Random;
  6279. Random random = new Random();
  6280. if (${seedForRandom} &gt; 0) {
  6281. random.setSeed(${seedForRandom} + ${__threadNum});
  6282. }
  6283. vars.putObject("randomIntGenerator", random);
  6284. </stringProp>
  6285. <stringProp name="BeanShellSampler.filename"/>
  6286. <stringProp name="BeanShellSampler.parameters"/>
  6287. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6288. </BeanShellSampler>
  6289. <hashTree/>
  6290. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Total Products In Cart" enabled="true">
  6291. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_total_products_in_cart_setup.jmx</stringProp>
  6292. <stringProp name="BeanShellSampler.query">
  6293. vars.put("totalProductsAdded", "0");
  6294. </stringProp>
  6295. <stringProp name="BeanShellSampler.filename"/>
  6296. <stringProp name="BeanShellSampler.parameters"/>
  6297. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6298. </BeanShellSampler>
  6299. <hashTree/>
  6300. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  6301. <stringProp name="BeanShellSampler.query">
  6302. import java.util.Random;
  6303. Random random = vars.getObject("randomIntGenerator");
  6304. number = random.nextInt(props.get("category_url_keys_list").size());
  6305. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  6306. vars.put("category_name", props.get("category_names_list").get(number));
  6307. </stringProp>
  6308. <stringProp name="BeanShellSampler.filename"/>
  6309. <stringProp name="BeanShellSampler.parameters"/>
  6310. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  6311. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  6312. <hashTree/>
  6313. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  6314. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6315. <collectionProp name="Arguments.arguments"/>
  6316. </elementProp>
  6317. <stringProp name="HTTPSampler.domain"/>
  6318. <stringProp name="HTTPSampler.port"/>
  6319. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6320. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6321. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6322. <stringProp name="HTTPSampler.contentEncoding"/>
  6323. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  6324. <stringProp name="HTTPSampler.method">GET</stringProp>
  6325. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6326. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6327. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6328. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6329. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6330. <stringProp name="HTTPSampler.embedded_url_re"/>
  6331. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  6332. <hashTree>
  6333. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6334. <collectionProp name="Asserion.test_strings">
  6335. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  6336. </collectionProp>
  6337. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6338. <boolProp name="Assertion.assume_success">false</boolProp>
  6339. <intProp name="Assertion.test_type">2</intProp>
  6340. </ResponseAssertion>
  6341. <hashTree/>
  6342. </hashTree>
  6343. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  6344. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6345. <collectionProp name="Arguments.arguments"/>
  6346. </elementProp>
  6347. <stringProp name="HTTPSampler.domain"/>
  6348. <stringProp name="HTTPSampler.port"/>
  6349. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6350. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6351. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6352. <stringProp name="HTTPSampler.contentEncoding"/>
  6353. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  6354. <stringProp name="HTTPSampler.method">GET</stringProp>
  6355. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6356. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6357. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6358. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6359. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6360. <stringProp name="HTTPSampler.embedded_url_re"/>
  6361. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_category.jmx</stringProp></HTTPSamplerProxy>
  6362. <hashTree>
  6363. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6364. <collectionProp name="Asserion.test_strings">
  6365. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  6366. </collectionProp>
  6367. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6368. <boolProp name="Assertion.assume_success">false</boolProp>
  6369. <intProp name="Assertion.test_type">6</intProp>
  6370. </ResponseAssertion>
  6371. <hashTree/>
  6372. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  6373. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  6374. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  6375. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  6376. <stringProp name="RegexExtractor.template">$1$</stringProp>
  6377. <stringProp name="RegexExtractor.default"/>
  6378. <stringProp name="RegexExtractor.match_number">1</stringProp>
  6379. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  6380. </RegexExtractor>
  6381. <hashTree/>
  6382. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  6383. <collectionProp name="Asserion.test_strings">
  6384. <stringProp name="1191417111">^[0-9]+$</stringProp>
  6385. </collectionProp>
  6386. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6387. <boolProp name="Assertion.assume_success">false</boolProp>
  6388. <intProp name="Assertion.test_type">1</intProp>
  6389. <stringProp name="Assertion.scope">variable</stringProp>
  6390. <stringProp name="Scope.variable">category_id</stringProp>
  6391. </ResponseAssertion>
  6392. <hashTree/>
  6393. </hashTree>
  6394. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Simple Products to Cart" enabled="true">
  6395. <boolProp name="LoopController.continue_forever">true</boolProp>
  6396. <stringProp name="LoopController.loops">2</stringProp>
  6397. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  6398. <hashTree>
  6399. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  6400. <stringProp name="CounterConfig.start">1</stringProp>
  6401. <stringProp name="CounterConfig.end"/>
  6402. <stringProp name="CounterConfig.incr">1</stringProp>
  6403. <stringProp name="CounterConfig.name">_counter</stringProp>
  6404. <stringProp name="CounterConfig.format"/>
  6405. <boolProp name="CounterConfig.per_user">true</boolProp>
  6406. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  6407. </CounterConfig>
  6408. <hashTree/>
  6409. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  6410. <stringProp name="BeanShellSampler.query">
  6411. import java.util.Random;
  6412. Random random = vars.getObject("randomIntGenerator");
  6413. number = random.nextInt(props.get("simple_products_list").size());
  6414. product = props.get("simple_products_list").get(number);
  6415. vars.put("product_url_key", product.get("url_key"));
  6416. vars.put("product_id", product.get("id"));
  6417. vars.put("product_name", product.get("title"));
  6418. vars.put("product_uenc", product.get("uenc"));
  6419. vars.put("product_sku", product.get("sku"));
  6420. </stringProp>
  6421. <stringProp name="BeanShellSampler.filename"/>
  6422. <stringProp name="BeanShellSampler.parameters"/>
  6423. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6424. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  6425. <hashTree/>
  6426. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  6427. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  6428. <stringProp name="BeanShellSampler.query">
  6429. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  6430. productsAdded = productsAdded + 1;
  6431. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  6432. </stringProp>
  6433. <stringProp name="BeanShellSampler.filename"/>
  6434. <stringProp name="BeanShellSampler.parameters"/>
  6435. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6436. </BeanShellSampler>
  6437. <hashTree/>
  6438. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  6439. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6440. <collectionProp name="Arguments.arguments"/>
  6441. </elementProp>
  6442. <stringProp name="HTTPSampler.domain"/>
  6443. <stringProp name="HTTPSampler.port"/>
  6444. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6445. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6446. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6447. <stringProp name="HTTPSampler.contentEncoding"/>
  6448. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  6449. <stringProp name="HTTPSampler.method">GET</stringProp>
  6450. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6451. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6452. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6453. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6454. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6455. <stringProp name="HTTPSampler.embedded_url_re"/>
  6456. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  6457. <hashTree>
  6458. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6459. <collectionProp name="Asserion.test_strings">
  6460. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  6461. </collectionProp>
  6462. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6463. <boolProp name="Assertion.assume_success">false</boolProp>
  6464. <intProp name="Assertion.test_type">2</intProp>
  6465. </ResponseAssertion>
  6466. <hashTree/>
  6467. </hashTree>
  6468. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} Add To Cart" enabled="true">
  6469. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6470. <collectionProp name="Arguments.arguments">
  6471. <elementProp name="product" elementType="HTTPArgument">
  6472. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6473. <stringProp name="Argument.value">${product_id}</stringProp>
  6474. <stringProp name="Argument.metadata">=</stringProp>
  6475. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6476. <stringProp name="Argument.name">product</stringProp>
  6477. </elementProp>
  6478. <elementProp name="related_product" elementType="HTTPArgument">
  6479. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6480. <stringProp name="Argument.value"/>
  6481. <stringProp name="Argument.metadata">=</stringProp>
  6482. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6483. <stringProp name="Argument.name">related_product</stringProp>
  6484. </elementProp>
  6485. <elementProp name="qty" elementType="HTTPArgument">
  6486. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6487. <stringProp name="Argument.value">1</stringProp>
  6488. <stringProp name="Argument.metadata">=</stringProp>
  6489. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6490. <stringProp name="Argument.name">qty</stringProp>
  6491. </elementProp>
  6492. <elementProp name="form_key" elementType="HTTPArgument">
  6493. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6494. <stringProp name="Argument.value">${form_key}</stringProp>
  6495. <stringProp name="Argument.metadata">=</stringProp>
  6496. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6497. <stringProp name="Argument.name">form_key</stringProp>
  6498. </elementProp>
  6499. </collectionProp>
  6500. </elementProp>
  6501. <stringProp name="HTTPSampler.domain"/>
  6502. <stringProp name="HTTPSampler.port"/>
  6503. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6504. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6505. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6506. <stringProp name="HTTPSampler.contentEncoding"/>
  6507. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  6508. <stringProp name="HTTPSampler.method">POST</stringProp>
  6509. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6510. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6511. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6512. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6513. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6514. <stringProp name="HTTPSampler.embedded_url_re"/>
  6515. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  6516. <hashTree>
  6517. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6518. <collectionProp name="HeaderManager.headers">
  6519. <elementProp name="" elementType="Header">
  6520. <stringProp name="Header.name">X-Requested-With</stringProp>
  6521. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6522. </elementProp>
  6523. </collectionProp>
  6524. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  6525. <hashTree/>
  6526. </hashTree>
  6527. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  6528. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6529. <collectionProp name="Arguments.arguments">
  6530. <elementProp name="sections" elementType="HTTPArgument">
  6531. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6532. <stringProp name="Argument.value">cart,messages</stringProp>
  6533. <stringProp name="Argument.metadata">=</stringProp>
  6534. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6535. <stringProp name="Argument.name">sections</stringProp>
  6536. </elementProp>
  6537. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  6538. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6539. <stringProp name="Argument.value">true</stringProp>
  6540. <stringProp name="Argument.metadata">=</stringProp>
  6541. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6542. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  6543. </elementProp>
  6544. <elementProp name="_" elementType="HTTPArgument">
  6545. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6546. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  6547. <stringProp name="Argument.metadata">=</stringProp>
  6548. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6549. <stringProp name="Argument.name">_</stringProp>
  6550. </elementProp>
  6551. </collectionProp>
  6552. </elementProp>
  6553. <stringProp name="HTTPSampler.domain"/>
  6554. <stringProp name="HTTPSampler.port"/>
  6555. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6556. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6557. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6558. <stringProp name="HTTPSampler.contentEncoding"/>
  6559. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  6560. <stringProp name="HTTPSampler.method">GET</stringProp>
  6561. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6562. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6563. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6564. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6565. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6566. <stringProp name="HTTPSampler.embedded_url_re"/>
  6567. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  6568. <hashTree>
  6569. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6570. <collectionProp name="Asserion.test_strings">
  6571. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  6572. </collectionProp>
  6573. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6574. <boolProp name="Assertion.assume_success">false</boolProp>
  6575. <intProp name="Assertion.test_type">2</intProp>
  6576. </ResponseAssertion>
  6577. <hashTree/>
  6578. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6579. <collectionProp name="Asserion.test_strings">
  6580. <stringProp name="2057973164">This product is out of stock.</stringProp>
  6581. </collectionProp>
  6582. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6583. <boolProp name="Assertion.assume_success">false</boolProp>
  6584. <intProp name="Assertion.test_type">6</intProp>
  6585. </ResponseAssertion>
  6586. <hashTree/>
  6587. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6588. <collectionProp name="Asserion.test_strings">
  6589. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  6590. </collectionProp>
  6591. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6592. <boolProp name="Assertion.assume_success">false</boolProp>
  6593. <intProp name="Assertion.test_type">2</intProp>
  6594. </ResponseAssertion>
  6595. <hashTree/>
  6596. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6597. <collectionProp name="HeaderManager.headers">
  6598. <elementProp name="" elementType="Header">
  6599. <stringProp name="Header.name">X-Requested-With</stringProp>
  6600. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6601. </elementProp>
  6602. </collectionProp>
  6603. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  6604. <hashTree/>
  6605. </hashTree>
  6606. </hashTree>
  6607. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Configurable Products to Cart" enabled="true">
  6608. <boolProp name="LoopController.continue_forever">true</boolProp>
  6609. <stringProp name="LoopController.loops">1</stringProp>
  6610. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  6611. <hashTree>
  6612. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  6613. <stringProp name="CounterConfig.start">1</stringProp>
  6614. <stringProp name="CounterConfig.end"/>
  6615. <stringProp name="CounterConfig.incr">1</stringProp>
  6616. <stringProp name="CounterConfig.name">_counter</stringProp>
  6617. <stringProp name="CounterConfig.format"/>
  6618. <boolProp name="CounterConfig.per_user">true</boolProp>
  6619. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  6620. </CounterConfig>
  6621. <hashTree/>
  6622. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  6623. <stringProp name="BeanShellSampler.query">
  6624. import java.util.Random;
  6625. Random random = vars.getObject("randomIntGenerator");
  6626. number = random.nextInt(props.get("configurable_products_list").size());
  6627. product = props.get("configurable_products_list").get(number);
  6628. vars.put("product_url_key", product.get("url_key"));
  6629. vars.put("product_id", product.get("id"));
  6630. vars.put("product_name", product.get("title"));
  6631. vars.put("product_uenc", product.get("uenc"));
  6632. vars.put("product_sku", product.get("sku"));
  6633. </stringProp>
  6634. <stringProp name="BeanShellSampler.filename"/>
  6635. <stringProp name="BeanShellSampler.parameters"/>
  6636. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6637. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  6638. <hashTree/>
  6639. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  6640. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  6641. <stringProp name="BeanShellSampler.query">
  6642. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  6643. productsAdded = productsAdded + 1;
  6644. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  6645. </stringProp>
  6646. <stringProp name="BeanShellSampler.filename"/>
  6647. <stringProp name="BeanShellSampler.parameters"/>
  6648. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  6649. </BeanShellSampler>
  6650. <hashTree/>
  6651. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  6652. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6653. <collectionProp name="Arguments.arguments"/>
  6654. </elementProp>
  6655. <stringProp name="HTTPSampler.domain"/>
  6656. <stringProp name="HTTPSampler.port"/>
  6657. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6658. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6659. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6660. <stringProp name="HTTPSampler.contentEncoding"/>
  6661. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  6662. <stringProp name="HTTPSampler.method">GET</stringProp>
  6663. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6664. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6665. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6666. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6667. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6668. <stringProp name="HTTPSampler.embedded_url_re"/>
  6669. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  6670. <hashTree>
  6671. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6672. <collectionProp name="Asserion.test_strings">
  6673. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  6674. </collectionProp>
  6675. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6676. <boolProp name="Assertion.assume_success">false</boolProp>
  6677. <intProp name="Assertion.test_type">2</intProp>
  6678. </ResponseAssertion>
  6679. <hashTree/>
  6680. </hashTree>
  6681. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="SetUp - Get Configurable Product Options" enabled="true">
  6682. <boolProp name="LoopController.continue_forever">true</boolProp>
  6683. <stringProp name="LoopController.loops">1</stringProp>
  6684. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_configurable_product_options.jmx</stringProp></LoopController>
  6685. <hashTree>
  6686. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6687. <collectionProp name="HeaderManager.headers">
  6688. <elementProp name="" elementType="Header">
  6689. <stringProp name="Header.name">Content-Type</stringProp>
  6690. <stringProp name="Header.value">application/json</stringProp>
  6691. </elementProp>
  6692. <elementProp name="" elementType="Header">
  6693. <stringProp name="Header.name">Accept</stringProp>
  6694. <stringProp name="Header.value">*/*</stringProp>
  6695. </elementProp>
  6696. </collectionProp>
  6697. </HeaderManager>
  6698. <hashTree/>
  6699. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  6700. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  6701. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  6702. <collectionProp name="Arguments.arguments">
  6703. <elementProp name="" elementType="HTTPArgument">
  6704. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  6705. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  6706. <stringProp name="Argument.metadata">=</stringProp>
  6707. </elementProp>
  6708. </collectionProp>
  6709. </elementProp>
  6710. <stringProp name="HTTPSampler.domain"/>
  6711. <stringProp name="HTTPSampler.port"/>
  6712. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6713. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6714. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6715. <stringProp name="HTTPSampler.contentEncoding"/>
  6716. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  6717. <stringProp name="HTTPSampler.method">POST</stringProp>
  6718. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6719. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6720. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6721. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6722. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6723. <stringProp name="HTTPSampler.embedded_url_re"/>
  6724. </HTTPSamplerProxy>
  6725. <hashTree>
  6726. <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">
  6727. <stringProp name="VAR">admin_token</stringProp>
  6728. <stringProp name="JSONPATH">$</stringProp>
  6729. <stringProp name="DEFAULT"/>
  6730. <stringProp name="VARIABLE"/>
  6731. <stringProp name="SUBJECT">BODY</stringProp>
  6732. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  6733. <hashTree/>
  6734. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  6735. <collectionProp name="Asserion.test_strings">
  6736. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  6737. </collectionProp>
  6738. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6739. <boolProp name="Assertion.assume_success">false</boolProp>
  6740. <intProp name="Assertion.test_type">1</intProp>
  6741. <stringProp name="Assertion.scope">variable</stringProp>
  6742. <stringProp name="Scope.variable">admin_token</stringProp>
  6743. </ResponseAssertion>
  6744. <hashTree/>
  6745. </hashTree>
  6746. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6747. <collectionProp name="HeaderManager.headers">
  6748. <elementProp name="" elementType="Header">
  6749. <stringProp name="Header.name">Authorization</stringProp>
  6750. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  6751. </elementProp>
  6752. </collectionProp>
  6753. </HeaderManager>
  6754. <hashTree/>
  6755. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options" enabled="true">
  6756. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6757. <collectionProp name="Arguments.arguments"/>
  6758. </elementProp>
  6759. <stringProp name="HTTPSampler.domain"/>
  6760. <stringProp name="HTTPSampler.port"/>
  6761. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6762. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6763. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6764. <stringProp name="HTTPSampler.contentEncoding"/>
  6765. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${product_sku}/options/all</stringProp>
  6766. <stringProp name="HTTPSampler.method">GET</stringProp>
  6767. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6768. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6769. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6770. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6771. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6772. <stringProp name="HTTPSampler.embedded_url_re"/>
  6773. </HTTPSamplerProxy>
  6774. <hashTree>
  6775. <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">
  6776. <stringProp name="VAR">attribute_ids</stringProp>
  6777. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  6778. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  6779. <stringProp name="VARIABLE"/>
  6780. <stringProp name="SUBJECT">BODY</stringProp>
  6781. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  6782. <hashTree/>
  6783. <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">
  6784. <stringProp name="VAR">option_values</stringProp>
  6785. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  6786. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  6787. <stringProp name="VARIABLE"/>
  6788. <stringProp name="SUBJECT">BODY</stringProp>
  6789. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  6790. <hashTree/>
  6791. </hashTree>
  6792. </hashTree>
  6793. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} Add To Cart" enabled="true">
  6794. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6795. <collectionProp name="Arguments.arguments">
  6796. <elementProp name="product" elementType="HTTPArgument">
  6797. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6798. <stringProp name="Argument.value">${product_id}</stringProp>
  6799. <stringProp name="Argument.metadata">=</stringProp>
  6800. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6801. <stringProp name="Argument.name">product</stringProp>
  6802. </elementProp>
  6803. <elementProp name="related_product" elementType="HTTPArgument">
  6804. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6805. <stringProp name="Argument.value"/>
  6806. <stringProp name="Argument.metadata">=</stringProp>
  6807. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6808. <stringProp name="Argument.name">related_product</stringProp>
  6809. </elementProp>
  6810. <elementProp name="qty" elementType="HTTPArgument">
  6811. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6812. <stringProp name="Argument.value">1</stringProp>
  6813. <stringProp name="Argument.metadata">=</stringProp>
  6814. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6815. <stringProp name="Argument.name">qty</stringProp>
  6816. </elementProp>
  6817. <elementProp name="form_key" elementType="HTTPArgument">
  6818. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6819. <stringProp name="Argument.value">${form_key}</stringProp>
  6820. <stringProp name="Argument.metadata">=</stringProp>
  6821. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6822. <stringProp name="Argument.name">form_key</stringProp>
  6823. </elementProp>
  6824. </collectionProp>
  6825. </elementProp>
  6826. <stringProp name="HTTPSampler.domain"/>
  6827. <stringProp name="HTTPSampler.port"/>
  6828. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6829. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6830. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6831. <stringProp name="HTTPSampler.contentEncoding"/>
  6832. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  6833. <stringProp name="HTTPSampler.method">POST</stringProp>
  6834. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6835. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6836. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6837. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6838. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6839. <stringProp name="HTTPSampler.embedded_url_re"/>
  6840. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  6841. <hashTree>
  6842. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  6843. <boolProp name="resetInterpreter">false</boolProp>
  6844. <stringProp name="parameters"/>
  6845. <stringProp name="filename"/>
  6846. <stringProp name="script">
  6847. try {
  6848. attribute_ids = vars.get("attribute_ids");
  6849. option_values = vars.get("option_values");
  6850. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  6851. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  6852. attribute_ids_array = attribute_ids.split(",");
  6853. option_values_array = option_values.split(",");
  6854. args = ctx.getCurrentSampler().getArguments();
  6855. it = args.iterator();
  6856. while (it.hasNext()) {
  6857. argument = it.next();
  6858. if (argument.getStringValue().contains("${")) {
  6859. args.removeArgument(argument.getName());
  6860. }
  6861. }
  6862. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  6863. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  6864. }
  6865. } catch (Exception e) {
  6866. log.error("eror&#x2026;", e);
  6867. }
  6868. </stringProp>
  6869. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/configurable_product_add_to_cart_preprocessor.jmx</stringProp></BeanShellPreProcessor>
  6870. <hashTree/>
  6871. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6872. <collectionProp name="HeaderManager.headers">
  6873. <elementProp name="" elementType="Header">
  6874. <stringProp name="Header.name">X-Requested-With</stringProp>
  6875. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6876. </elementProp>
  6877. </collectionProp>
  6878. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  6879. <hashTree/>
  6880. </hashTree>
  6881. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  6882. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6883. <collectionProp name="Arguments.arguments">
  6884. <elementProp name="sections" elementType="HTTPArgument">
  6885. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6886. <stringProp name="Argument.value">cart,messages</stringProp>
  6887. <stringProp name="Argument.metadata">=</stringProp>
  6888. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6889. <stringProp name="Argument.name">sections</stringProp>
  6890. </elementProp>
  6891. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  6892. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6893. <stringProp name="Argument.value">true</stringProp>
  6894. <stringProp name="Argument.metadata">=</stringProp>
  6895. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6896. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  6897. </elementProp>
  6898. <elementProp name="_" elementType="HTTPArgument">
  6899. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  6900. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  6901. <stringProp name="Argument.metadata">=</stringProp>
  6902. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  6903. <stringProp name="Argument.name">_</stringProp>
  6904. </elementProp>
  6905. </collectionProp>
  6906. </elementProp>
  6907. <stringProp name="HTTPSampler.domain"/>
  6908. <stringProp name="HTTPSampler.port"/>
  6909. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6910. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6911. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6912. <stringProp name="HTTPSampler.contentEncoding"/>
  6913. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  6914. <stringProp name="HTTPSampler.method">GET</stringProp>
  6915. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6916. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6917. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6918. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6919. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6920. <stringProp name="HTTPSampler.embedded_url_re"/>
  6921. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  6922. <hashTree>
  6923. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6924. <collectionProp name="Asserion.test_strings">
  6925. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  6926. </collectionProp>
  6927. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6928. <boolProp name="Assertion.assume_success">false</boolProp>
  6929. <intProp name="Assertion.test_type">2</intProp>
  6930. </ResponseAssertion>
  6931. <hashTree/>
  6932. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6933. <collectionProp name="Asserion.test_strings">
  6934. <stringProp name="2057973164">This product is out of stock.</stringProp>
  6935. </collectionProp>
  6936. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6937. <boolProp name="Assertion.assume_success">false</boolProp>
  6938. <intProp name="Assertion.test_type">6</intProp>
  6939. </ResponseAssertion>
  6940. <hashTree/>
  6941. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6942. <collectionProp name="Asserion.test_strings">
  6943. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  6944. </collectionProp>
  6945. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  6946. <boolProp name="Assertion.assume_success">false</boolProp>
  6947. <intProp name="Assertion.test_type">2</intProp>
  6948. </ResponseAssertion>
  6949. <hashTree/>
  6950. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  6951. <collectionProp name="HeaderManager.headers">
  6952. <elementProp name="" elementType="Header">
  6953. <stringProp name="Header.name">X-Requested-With</stringProp>
  6954. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  6955. </elementProp>
  6956. </collectionProp>
  6957. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  6958. <hashTree/>
  6959. </hashTree>
  6960. </hashTree>
  6961. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Checkout" enabled="true">
  6962. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  6963. </GenericController>
  6964. <hashTree>
  6965. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Get region data" enabled="true">
  6966. <stringProp name="scriptLanguage">javascript</stringProp>
  6967. <stringProp name="parameters"/>
  6968. <stringProp name="filename"/>
  6969. <stringProp name="cacheKey"/>
  6970. <stringProp name="script">
  6971. vars.put("alabama_region_id", props.get("alabama_region_id"));
  6972. vars.put("california_region_id", props.get("california_region_id"));
  6973. </stringProp>
  6974. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_region_data.jmx</stringProp></JSR223PreProcessor>
  6975. <hashTree/>
  6976. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout start" enabled="true">
  6977. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  6978. <collectionProp name="Arguments.arguments"/>
  6979. </elementProp>
  6980. <stringProp name="HTTPSampler.domain"/>
  6981. <stringProp name="HTTPSampler.port"/>
  6982. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  6983. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  6984. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  6985. <stringProp name="HTTPSampler.contentEncoding"/>
  6986. <stringProp name="HTTPSampler.path">${base_path}checkout/</stringProp>
  6987. <stringProp name="HTTPSampler.method">GET</stringProp>
  6988. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  6989. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  6990. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  6991. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  6992. <boolProp name="HTTPSampler.monitor">false</boolProp>
  6993. <stringProp name="HTTPSampler.embedded_url_re"/>
  6994. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_start.jmx</stringProp></HTTPSamplerProxy>
  6995. <hashTree>
  6996. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  6997. <collectionProp name="Asserion.test_strings">
  6998. <stringProp name="-1403911775">&lt;title&gt;Checkout&lt;/title&gt;</stringProp>
  6999. </collectionProp>
  7000. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7001. <boolProp name="Assertion.assume_success">false</boolProp>
  7002. <intProp name="Assertion.test_type">2</intProp>
  7003. </ResponseAssertion>
  7004. <hashTree/>
  7005. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7006. <collectionProp name="Asserion.test_strings">
  7007. <stringProp name="-179817969">&lt;title&gt;Shopping Cart&lt;/title&gt;</stringProp>
  7008. </collectionProp>
  7009. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7010. <boolProp name="Assertion.assume_success">false</boolProp>
  7011. <intProp name="Assertion.test_type">6</intProp>
  7012. </ResponseAssertion>
  7013. <hashTree/>
  7014. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Cart Id" enabled="true">
  7015. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  7016. <stringProp name="RegexExtractor.refname">cart_id</stringProp>
  7017. <stringProp name="RegexExtractor.regex">"quoteData":{"entity_id":"([^'"]+)",</stringProp>
  7018. <stringProp name="RegexExtractor.template">$1$</stringProp>
  7019. <stringProp name="RegexExtractor.default"/>
  7020. <stringProp name="RegexExtractor.match_number">1</stringProp>
  7021. </RegexExtractor>
  7022. <hashTree/>
  7023. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Cart Id extracted" enabled="true">
  7024. <collectionProp name="Asserion.test_strings">
  7025. <stringProp name="2845929">^.+$</stringProp>
  7026. </collectionProp>
  7027. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7028. <boolProp name="Assertion.assume_success">false</boolProp>
  7029. <intProp name="Assertion.test_type">1</intProp>
  7030. <stringProp name="Assertion.scope">variable</stringProp>
  7031. <stringProp name="Scope.variable">cart_id</stringProp>
  7032. </ResponseAssertion>
  7033. <hashTree/>
  7034. </hashTree>
  7035. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Email Available" enabled="true">
  7036. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  7037. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  7038. <collectionProp name="Arguments.arguments">
  7039. <elementProp name="" elementType="HTTPArgument">
  7040. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  7041. <stringProp name="Argument.value">{"customerEmail":"test@example.com"}</stringProp>
  7042. <stringProp name="Argument.metadata">=</stringProp>
  7043. </elementProp>
  7044. </collectionProp>
  7045. </elementProp>
  7046. <stringProp name="HTTPSampler.domain"/>
  7047. <stringProp name="HTTPSampler.port"/>
  7048. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7049. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7050. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7051. <stringProp name="HTTPSampler.contentEncoding"/>
  7052. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/customers/isEmailAvailable</stringProp>
  7053. <stringProp name="HTTPSampler.method">POST</stringProp>
  7054. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7055. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7056. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7057. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7058. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7059. <stringProp name="HTTPSampler.embedded_url_re"/>
  7060. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_email_available.jmx</stringProp></HTTPSamplerProxy>
  7061. <hashTree>
  7062. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7063. <collectionProp name="HeaderManager.headers">
  7064. <elementProp name="" elementType="Header">
  7065. <stringProp name="Header.name">Referer</stringProp>
  7066. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  7067. </elementProp>
  7068. <elementProp name="Content-Type" elementType="Header">
  7069. <stringProp name="Header.name">Content-Type</stringProp>
  7070. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  7071. </elementProp>
  7072. <elementProp name="X-Requested-With" elementType="Header">
  7073. <stringProp name="Header.name">X-Requested-With</stringProp>
  7074. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  7075. </elementProp>
  7076. <elementProp name="Accept" elementType="Header">
  7077. <stringProp name="Header.name">Accept</stringProp>
  7078. <stringProp name="Header.value">application/json</stringProp>
  7079. </elementProp>
  7080. </collectionProp>
  7081. </HeaderManager>
  7082. <hashTree/>
  7083. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7084. <collectionProp name="Asserion.test_strings">
  7085. <stringProp name="3569038">true</stringProp>
  7086. </collectionProp>
  7087. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7088. <boolProp name="Assertion.assume_success">false</boolProp>
  7089. <intProp name="Assertion.test_type">8</intProp>
  7090. </ResponseAssertion>
  7091. <hashTree/>
  7092. </hashTree>
  7093. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Estimate Shipping Methods" enabled="true">
  7094. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  7095. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  7096. <collectionProp name="Arguments.arguments">
  7097. <elementProp name="" elementType="HTTPArgument">
  7098. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  7099. <stringProp name="Argument.value">{"address":{"country_id":"US","postcode":"95630"}}</stringProp>
  7100. <stringProp name="Argument.metadata">=</stringProp>
  7101. </elementProp>
  7102. </collectionProp>
  7103. </elementProp>
  7104. <stringProp name="HTTPSampler.domain"/>
  7105. <stringProp name="HTTPSampler.port"/>
  7106. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7107. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7108. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7109. <stringProp name="HTTPSampler.contentEncoding"/>
  7110. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/estimate-shipping-methods</stringProp>
  7111. <stringProp name="HTTPSampler.method">POST</stringProp>
  7112. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7113. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7114. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7115. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7116. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7117. <stringProp name="HTTPSampler.embedded_url_re"/>
  7118. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_estimate_shipping_methods_with_postal_code.jmx</stringProp></HTTPSamplerProxy>
  7119. <hashTree>
  7120. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7121. <collectionProp name="HeaderManager.headers">
  7122. <elementProp name="" elementType="Header">
  7123. <stringProp name="Header.name">Referer</stringProp>
  7124. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  7125. </elementProp>
  7126. <elementProp name="Content-Type" elementType="Header">
  7127. <stringProp name="Header.name">Content-Type</stringProp>
  7128. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  7129. </elementProp>
  7130. <elementProp name="X-Requested-With" elementType="Header">
  7131. <stringProp name="Header.name">X-Requested-With</stringProp>
  7132. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  7133. </elementProp>
  7134. <elementProp name="Accept" elementType="Header">
  7135. <stringProp name="Header.name">Accept</stringProp>
  7136. <stringProp name="Header.value">application/json</stringProp>
  7137. </elementProp>
  7138. </collectionProp>
  7139. </HeaderManager>
  7140. <hashTree/>
  7141. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  7142. <collectionProp name="Asserion.test_strings">
  7143. <stringProp name="-1224567411">"available":true</stringProp>
  7144. </collectionProp>
  7145. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7146. <boolProp name="Assertion.assume_success">false</boolProp>
  7147. <intProp name="Assertion.test_type">2</intProp>
  7148. </ResponseAssertion>
  7149. <hashTree/>
  7150. </hashTree>
  7151. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Billing/Shipping Information" enabled="true">
  7152. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  7153. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  7154. <collectionProp name="Arguments.arguments">
  7155. <elementProp name="" elementType="HTTPArgument">
  7156. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  7157. <stringProp name="Argument.value">{"addressInformation":{"shipping_address":{"countryId":"US","regionId":"${california_region_id}","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>
  7158. <stringProp name="Argument.metadata">=</stringProp>
  7159. </elementProp>
  7160. </collectionProp>
  7161. </elementProp>
  7162. <stringProp name="HTTPSampler.domain"/>
  7163. <stringProp name="HTTPSampler.port"/>
  7164. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7165. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7166. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7167. <stringProp name="HTTPSampler.contentEncoding"/>
  7168. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/shipping-information</stringProp>
  7169. <stringProp name="HTTPSampler.method">POST</stringProp>
  7170. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7171. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7172. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7173. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7174. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7175. <stringProp name="HTTPSampler.embedded_url_re"/>
  7176. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_billing_shipping_information.jmx</stringProp></HTTPSamplerProxy>
  7177. <hashTree>
  7178. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7179. <collectionProp name="HeaderManager.headers">
  7180. <elementProp name="" elementType="Header">
  7181. <stringProp name="Header.name">Referer</stringProp>
  7182. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  7183. </elementProp>
  7184. <elementProp name="Content-Type" elementType="Header">
  7185. <stringProp name="Header.name">Content-Type</stringProp>
  7186. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  7187. </elementProp>
  7188. <elementProp name="X-Requested-With" elementType="Header">
  7189. <stringProp name="Header.name">X-Requested-With</stringProp>
  7190. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  7191. </elementProp>
  7192. <elementProp name="Accept" elementType="Header">
  7193. <stringProp name="Header.name">Accept</stringProp>
  7194. <stringProp name="Header.value">application/json</stringProp>
  7195. </elementProp>
  7196. </collectionProp>
  7197. </HeaderManager>
  7198. <hashTree/>
  7199. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  7200. <collectionProp name="Asserion.test_strings">
  7201. <stringProp name="-1494218646">{"payment_methods":</stringProp>
  7202. </collectionProp>
  7203. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7204. <boolProp name="Assertion.assume_success">false</boolProp>
  7205. <intProp name="Assertion.test_type">2</intProp>
  7206. </ResponseAssertion>
  7207. <hashTree/>
  7208. </hashTree>
  7209. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Payment Info/Place Order" enabled="true">
  7210. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  7211. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  7212. <collectionProp name="Arguments.arguments">
  7213. <elementProp name="" elementType="HTTPArgument">
  7214. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  7215. <stringProp name="Argument.value">{"cartId":"${cart_id}","email":"test@example.com","paymentMethod":{"method":"checkmo","po_number":null,"additional_data":null},"billingAddress":{"countryId":"US","regionId":"${california_region_id}","regionCode":"CA","region":"California","street":["10441 Jefferson Blvd ste 200"],"company":"","telephone":"3109450345","fax":"","postcode":"90232","city":"Culver City","firstname":"Name","lastname":"Lastname"}}</stringProp>
  7216. <stringProp name="Argument.metadata">=</stringProp>
  7217. </elementProp>
  7218. </collectionProp>
  7219. </elementProp>
  7220. <stringProp name="HTTPSampler.domain"/>
  7221. <stringProp name="HTTPSampler.port"/>
  7222. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7223. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7224. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7225. <stringProp name="HTTPSampler.contentEncoding"/>
  7226. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/payment-information</stringProp>
  7227. <stringProp name="HTTPSampler.method">POST</stringProp>
  7228. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7229. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7230. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7231. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7232. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7233. <stringProp name="HTTPSampler.embedded_url_re"/>
  7234. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_payment_info_place_order.jmx</stringProp></HTTPSamplerProxy>
  7235. <hashTree>
  7236. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7237. <collectionProp name="HeaderManager.headers">
  7238. <elementProp name="" elementType="Header">
  7239. <stringProp name="Header.name">Referer</stringProp>
  7240. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  7241. </elementProp>
  7242. <elementProp name="Content-Type" elementType="Header">
  7243. <stringProp name="Header.name">Content-Type</stringProp>
  7244. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  7245. </elementProp>
  7246. <elementProp name="X-Requested-With" elementType="Header">
  7247. <stringProp name="Header.name">X-Requested-With</stringProp>
  7248. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  7249. </elementProp>
  7250. <elementProp name="Accept" elementType="Header">
  7251. <stringProp name="Header.name">Accept</stringProp>
  7252. <stringProp name="Header.value">application/json</stringProp>
  7253. </elementProp>
  7254. </collectionProp>
  7255. </HeaderManager>
  7256. <hashTree/>
  7257. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  7258. <collectionProp name="Asserion.test_strings">
  7259. <stringProp name="-297987887">"[0-9]+"</stringProp>
  7260. </collectionProp>
  7261. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7262. <boolProp name="Assertion.assume_success">false</boolProp>
  7263. <intProp name="Assertion.test_type">2</intProp>
  7264. </ResponseAssertion>
  7265. <hashTree/>
  7266. <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">
  7267. <stringProp name="VAR">order_id</stringProp>
  7268. <stringProp name="JSONPATH">$</stringProp>
  7269. <stringProp name="DEFAULT"/>
  7270. <stringProp name="VARIABLE"/>
  7271. <stringProp name="SUBJECT">BODY</stringProp>
  7272. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  7273. <hashTree/>
  7274. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7275. <collectionProp name="Asserion.test_strings">
  7276. <stringProp name="89649215">^\d+$</stringProp>
  7277. </collectionProp>
  7278. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7279. <boolProp name="Assertion.assume_success">false</boolProp>
  7280. <intProp name="Assertion.test_type">1</intProp>
  7281. <stringProp name="Assertion.scope">variable</stringProp>
  7282. <stringProp name="Scope.variable">order_id</stringProp>
  7283. </ResponseAssertion>
  7284. <hashTree/>
  7285. </hashTree>
  7286. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout success" enabled="true">
  7287. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7288. <collectionProp name="Arguments.arguments"/>
  7289. </elementProp>
  7290. <stringProp name="HTTPSampler.domain"/>
  7291. <stringProp name="HTTPSampler.port"/>
  7292. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7293. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7294. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7295. <stringProp name="HTTPSampler.contentEncoding"/>
  7296. <stringProp name="HTTPSampler.path">${base_path}checkout/onepage/success/</stringProp>
  7297. <stringProp name="HTTPSampler.method">GET</stringProp>
  7298. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7299. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7300. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7301. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7302. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7303. <stringProp name="HTTPSampler.embedded_url_re"/>
  7304. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_success.jmx</stringProp></HTTPSamplerProxy>
  7305. <hashTree>
  7306. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  7307. <collectionProp name="Asserion.test_strings">
  7308. <stringProp name="494863233">Thank you for your purchase!</stringProp>
  7309. <stringProp name="1635682758">Your order # is</stringProp>
  7310. </collectionProp>
  7311. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7312. <boolProp name="Assertion.assume_success">false</boolProp>
  7313. <intProp name="Assertion.test_type">2</intProp>
  7314. </ResponseAssertion>
  7315. <hashTree/>
  7316. </hashTree>
  7317. </hashTree>
  7318. </hashTree>
  7319. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Checkout By Customer" enabled="true">
  7320. <intProp name="ThroughputController.style">1</intProp>
  7321. <boolProp name="ThroughputController.perThread">false</boolProp>
  7322. <intProp name="ThroughputController.maxThroughput">1</intProp>
  7323. <stringProp name="ThroughputController.percentThroughput">${checkoutByCustomerPercentage}</stringProp>
  7324. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  7325. <hashTree>
  7326. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  7327. <stringProp name="script">
  7328. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  7329. if (testLabel
  7330. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  7331. ) {
  7332. if (sampler.getName().indexOf(testLabel) == -1) {
  7333. sampler.setName(sampler.getName() + testLabel);
  7334. }
  7335. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  7336. sampler.setName("SetUp - " + sampler.getName());
  7337. }
  7338. </stringProp>
  7339. <stringProp name="scriptLanguage">javascript</stringProp>
  7340. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  7341. <hashTree/>
  7342. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  7343. <stringProp name="BeanShellSampler.query">
  7344. vars.put("testLabel", "Checkout By Customer");
  7345. </stringProp>
  7346. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7347. </BeanShellSampler>
  7348. <hashTree/>
  7349. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  7350. <collectionProp name="CookieManager.cookies">
  7351. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  7352. <stringProp name="Cookie.value">30</stringProp>
  7353. <stringProp name="Cookie.domain">${host}</stringProp>
  7354. <stringProp name="Cookie.path">/</stringProp>
  7355. <boolProp name="Cookie.secure">false</boolProp>
  7356. <longProp name="Cookie.expires">0</longProp>
  7357. <boolProp name="Cookie.path_specified">true</boolProp>
  7358. <boolProp name="Cookie.domain_specified">true</boolProp>
  7359. </elementProp>
  7360. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  7361. <stringProp name="Cookie.value">${form_key}</stringProp>
  7362. <stringProp name="Cookie.domain">${host}</stringProp>
  7363. <stringProp name="Cookie.path">${base_path}</stringProp>
  7364. <boolProp name="Cookie.secure">false</boolProp>
  7365. <longProp name="Cookie.expires">0</longProp>
  7366. <boolProp name="Cookie.path_specified">true</boolProp>
  7367. <boolProp name="Cookie.domain_specified">true</boolProp>
  7368. </elementProp>
  7369. </collectionProp>
  7370. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  7371. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  7372. <hashTree/>
  7373. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  7374. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  7375. <stringProp name="BeanShellSampler.query">
  7376. import java.util.Random;
  7377. Random random = new Random();
  7378. if (${seedForRandom} &gt; 0) {
  7379. random.setSeed(${seedForRandom} + ${__threadNum});
  7380. }
  7381. vars.putObject("randomIntGenerator", random);
  7382. </stringProp>
  7383. <stringProp name="BeanShellSampler.filename"/>
  7384. <stringProp name="BeanShellSampler.parameters"/>
  7385. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7386. </BeanShellSampler>
  7387. <hashTree/>
  7388. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Total Products In Cart" enabled="true">
  7389. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_total_products_in_cart_setup.jmx</stringProp>
  7390. <stringProp name="BeanShellSampler.query">
  7391. vars.put("totalProductsAdded", "0");
  7392. </stringProp>
  7393. <stringProp name="BeanShellSampler.filename"/>
  7394. <stringProp name="BeanShellSampler.parameters"/>
  7395. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7396. </BeanShellSampler>
  7397. <hashTree/>
  7398. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  7399. <stringProp name="BeanShellSampler.query">
  7400. import java.util.Random;
  7401. Random random = vars.getObject("randomIntGenerator");
  7402. number = random.nextInt(props.get("category_url_keys_list").size());
  7403. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  7404. vars.put("category_name", props.get("category_names_list").get(number));
  7405. </stringProp>
  7406. <stringProp name="BeanShellSampler.filename"/>
  7407. <stringProp name="BeanShellSampler.parameters"/>
  7408. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  7409. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  7410. <hashTree/>
  7411. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Get Customer Email" enabled="true">
  7412. <stringProp name="CriticalSectionController.lockName">get-email</stringProp>
  7413. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  7414. <hashTree>
  7415. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Customer Email" enabled="true">
  7416. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_customer_email.jmx</stringProp>
  7417. <stringProp name="BeanShellSampler.query">
  7418. customerUserList = props.get("customer_emails_list");
  7419. customerUser = customerUserList.poll();
  7420. if (customerUser == null) {
  7421. SampleResult.setResponseMessage("customernUser list is empty");
  7422. SampleResult.setResponseData("customerUser list is empty","UTF-8");
  7423. IsSuccess=false;
  7424. SampleResult.setSuccessful(false);
  7425. SampleResult.setStopThread(true);
  7426. }
  7427. vars.put("customer_email", customerUser);
  7428. </stringProp>
  7429. <stringProp name="BeanShellSampler.filename"/>
  7430. <stringProp name="BeanShellSampler.parameters"/>
  7431. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7432. </BeanShellSampler>
  7433. <hashTree/>
  7434. </hashTree>
  7435. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  7436. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7437. <collectionProp name="Arguments.arguments"/>
  7438. </elementProp>
  7439. <stringProp name="HTTPSampler.domain"/>
  7440. <stringProp name="HTTPSampler.port"/>
  7441. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7442. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7443. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7444. <stringProp name="HTTPSampler.contentEncoding"/>
  7445. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  7446. <stringProp name="HTTPSampler.method">GET</stringProp>
  7447. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7448. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7449. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7450. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7451. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7452. <stringProp name="HTTPSampler.embedded_url_re"/>
  7453. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  7454. <hashTree>
  7455. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7456. <collectionProp name="Asserion.test_strings">
  7457. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  7458. </collectionProp>
  7459. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7460. <boolProp name="Assertion.assume_success">false</boolProp>
  7461. <intProp name="Assertion.test_type">2</intProp>
  7462. </ResponseAssertion>
  7463. <hashTree/>
  7464. </hashTree>
  7465. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page" enabled="true">
  7466. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7467. <collectionProp name="Arguments.arguments"/>
  7468. </elementProp>
  7469. <stringProp name="HTTPSampler.domain"/>
  7470. <stringProp name="HTTPSampler.port"/>
  7471. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7472. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7473. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7474. <stringProp name="HTTPSampler.contentEncoding"/>
  7475. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  7476. <stringProp name="HTTPSampler.method">GET</stringProp>
  7477. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7478. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7479. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7480. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7481. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7482. <stringProp name="HTTPSampler.embedded_url_re"/>
  7483. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_login_page.jmx</stringProp></HTTPSamplerProxy>
  7484. <hashTree>
  7485. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7486. <collectionProp name="Asserion.test_strings">
  7487. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  7488. </collectionProp>
  7489. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7490. <boolProp name="Assertion.assume_success">false</boolProp>
  7491. <intProp name="Assertion.test_type">2</intProp>
  7492. </ResponseAssertion>
  7493. <hashTree/>
  7494. </hashTree>
  7495. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login" enabled="true">
  7496. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7497. <collectionProp name="Arguments.arguments">
  7498. <elementProp name="form_key" elementType="HTTPArgument">
  7499. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7500. <stringProp name="Argument.value">${form_key}</stringProp>
  7501. <stringProp name="Argument.metadata">=</stringProp>
  7502. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7503. <stringProp name="Argument.name">form_key</stringProp>
  7504. </elementProp>
  7505. <elementProp name="login[username]" elementType="HTTPArgument">
  7506. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7507. <stringProp name="Argument.value">${customer_email}</stringProp>
  7508. <stringProp name="Argument.metadata">=</stringProp>
  7509. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7510. <stringProp name="Argument.name">login[username]</stringProp>
  7511. </elementProp>
  7512. <elementProp name="login[password]" elementType="HTTPArgument">
  7513. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7514. <stringProp name="Argument.value">${customer_password}</stringProp>
  7515. <stringProp name="Argument.metadata">=</stringProp>
  7516. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7517. <stringProp name="Argument.name">login[password]</stringProp>
  7518. </elementProp>
  7519. <elementProp name="send" elementType="HTTPArgument">
  7520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7521. <stringProp name="Argument.value"/>
  7522. <stringProp name="Argument.metadata">=</stringProp>
  7523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7524. <stringProp name="Argument.name">send</stringProp>
  7525. </elementProp>
  7526. </collectionProp>
  7527. </elementProp>
  7528. <stringProp name="HTTPSampler.domain"/>
  7529. <stringProp name="HTTPSampler.port"/>
  7530. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7531. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7532. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7533. <stringProp name="HTTPSampler.contentEncoding"/>
  7534. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  7535. <stringProp name="HTTPSampler.method">POST</stringProp>
  7536. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7537. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7538. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7539. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7540. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7541. <stringProp name="HTTPSampler.embedded_url_re"/>
  7542. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/login.jmx</stringProp></HTTPSamplerProxy>
  7543. <hashTree>
  7544. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7545. <collectionProp name="Asserion.test_strings">
  7546. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  7547. </collectionProp>
  7548. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7549. <boolProp name="Assertion.assume_success">false</boolProp>
  7550. <intProp name="Assertion.test_type">2</intProp>
  7551. </ResponseAssertion>
  7552. <hashTree/>
  7553. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  7554. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  7555. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  7556. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  7557. <stringProp name="RegexExtractor.template">$1$</stringProp>
  7558. <stringProp name="RegexExtractor.default"/>
  7559. <stringProp name="RegexExtractor.match_number">1</stringProp>
  7560. </RegexExtractor>
  7561. <hashTree/>
  7562. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  7563. <collectionProp name="Asserion.test_strings">
  7564. <stringProp name="2845929">^.+$</stringProp>
  7565. </collectionProp>
  7566. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7567. <boolProp name="Assertion.assume_success">false</boolProp>
  7568. <intProp name="Assertion.test_type">1</intProp>
  7569. <stringProp name="Assertion.scope">variable</stringProp>
  7570. <stringProp name="Scope.variable">addressId</stringProp>
  7571. </ResponseAssertion>
  7572. <hashTree/>
  7573. </hashTree>
  7574. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Customer Private Data" enabled="true">
  7575. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7576. <collectionProp name="Arguments.arguments">
  7577. <elementProp name="sections" elementType="HTTPArgument">
  7578. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7579. <stringProp name="Argument.value"/>
  7580. <stringProp name="Argument.metadata">=</stringProp>
  7581. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7582. <stringProp name="Argument.name">sections</stringProp>
  7583. </elementProp>
  7584. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  7585. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7586. <stringProp name="Argument.value">false</stringProp>
  7587. <stringProp name="Argument.metadata">=</stringProp>
  7588. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7589. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  7590. </elementProp>
  7591. <elementProp name="_" elementType="HTTPArgument">
  7592. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7593. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  7594. <stringProp name="Argument.metadata">=</stringProp>
  7595. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7596. <stringProp name="Argument.name">_</stringProp>
  7597. </elementProp>
  7598. </collectionProp>
  7599. </elementProp>
  7600. <stringProp name="HTTPSampler.domain"/>
  7601. <stringProp name="HTTPSampler.port"/>
  7602. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7603. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7604. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7605. <stringProp name="HTTPSampler.contentEncoding"/>
  7606. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  7607. <stringProp name="HTTPSampler.method">GET</stringProp>
  7608. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7609. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7610. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7611. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7612. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7613. <stringProp name="HTTPSampler.embedded_url_re"/>
  7614. </HTTPSamplerProxy>
  7615. <hashTree/>
  7616. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  7617. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7618. <collectionProp name="Arguments.arguments"/>
  7619. </elementProp>
  7620. <stringProp name="HTTPSampler.domain"/>
  7621. <stringProp name="HTTPSampler.port"/>
  7622. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7623. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7624. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7625. <stringProp name="HTTPSampler.contentEncoding"/>
  7626. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  7627. <stringProp name="HTTPSampler.method">GET</stringProp>
  7628. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7629. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7630. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7631. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7632. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7633. <stringProp name="HTTPSampler.embedded_url_re"/>
  7634. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_category.jmx</stringProp></HTTPSamplerProxy>
  7635. <hashTree>
  7636. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7637. <collectionProp name="Asserion.test_strings">
  7638. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  7639. </collectionProp>
  7640. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7641. <boolProp name="Assertion.assume_success">false</boolProp>
  7642. <intProp name="Assertion.test_type">6</intProp>
  7643. </ResponseAssertion>
  7644. <hashTree/>
  7645. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  7646. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  7647. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  7648. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  7649. <stringProp name="RegexExtractor.template">$1$</stringProp>
  7650. <stringProp name="RegexExtractor.default"/>
  7651. <stringProp name="RegexExtractor.match_number">1</stringProp>
  7652. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  7653. </RegexExtractor>
  7654. <hashTree/>
  7655. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  7656. <collectionProp name="Asserion.test_strings">
  7657. <stringProp name="1191417111">^[0-9]+$</stringProp>
  7658. </collectionProp>
  7659. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7660. <boolProp name="Assertion.assume_success">false</boolProp>
  7661. <intProp name="Assertion.test_type">1</intProp>
  7662. <stringProp name="Assertion.scope">variable</stringProp>
  7663. <stringProp name="Scope.variable">category_id</stringProp>
  7664. </ResponseAssertion>
  7665. <hashTree/>
  7666. </hashTree>
  7667. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Simple Products to Cart" enabled="true">
  7668. <boolProp name="LoopController.continue_forever">true</boolProp>
  7669. <stringProp name="LoopController.loops">2</stringProp>
  7670. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  7671. <hashTree>
  7672. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  7673. <stringProp name="CounterConfig.start">1</stringProp>
  7674. <stringProp name="CounterConfig.end"/>
  7675. <stringProp name="CounterConfig.incr">1</stringProp>
  7676. <stringProp name="CounterConfig.name">_counter</stringProp>
  7677. <stringProp name="CounterConfig.format"/>
  7678. <boolProp name="CounterConfig.per_user">true</boolProp>
  7679. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  7680. </CounterConfig>
  7681. <hashTree/>
  7682. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  7683. <stringProp name="BeanShellSampler.query">
  7684. import java.util.Random;
  7685. Random random = vars.getObject("randomIntGenerator");
  7686. number = random.nextInt(props.get("simple_products_list").size());
  7687. product = props.get("simple_products_list").get(number);
  7688. vars.put("product_url_key", product.get("url_key"));
  7689. vars.put("product_id", product.get("id"));
  7690. vars.put("product_name", product.get("title"));
  7691. vars.put("product_uenc", product.get("uenc"));
  7692. vars.put("product_sku", product.get("sku"));
  7693. </stringProp>
  7694. <stringProp name="BeanShellSampler.filename"/>
  7695. <stringProp name="BeanShellSampler.parameters"/>
  7696. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7697. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  7698. <hashTree/>
  7699. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  7700. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  7701. <stringProp name="BeanShellSampler.query">
  7702. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  7703. productsAdded = productsAdded + 1;
  7704. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  7705. </stringProp>
  7706. <stringProp name="BeanShellSampler.filename"/>
  7707. <stringProp name="BeanShellSampler.parameters"/>
  7708. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7709. </BeanShellSampler>
  7710. <hashTree/>
  7711. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  7712. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7713. <collectionProp name="Arguments.arguments"/>
  7714. </elementProp>
  7715. <stringProp name="HTTPSampler.domain"/>
  7716. <stringProp name="HTTPSampler.port"/>
  7717. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7718. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7719. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7720. <stringProp name="HTTPSampler.contentEncoding"/>
  7721. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  7722. <stringProp name="HTTPSampler.method">GET</stringProp>
  7723. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7724. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7725. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7726. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7727. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7728. <stringProp name="HTTPSampler.embedded_url_re"/>
  7729. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  7730. <hashTree>
  7731. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7732. <collectionProp name="Asserion.test_strings">
  7733. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  7734. </collectionProp>
  7735. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7736. <boolProp name="Assertion.assume_success">false</boolProp>
  7737. <intProp name="Assertion.test_type">2</intProp>
  7738. </ResponseAssertion>
  7739. <hashTree/>
  7740. </hashTree>
  7741. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} Add To Cart" enabled="true">
  7742. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7743. <collectionProp name="Arguments.arguments">
  7744. <elementProp name="product" elementType="HTTPArgument">
  7745. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7746. <stringProp name="Argument.value">${product_id}</stringProp>
  7747. <stringProp name="Argument.metadata">=</stringProp>
  7748. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7749. <stringProp name="Argument.name">product</stringProp>
  7750. </elementProp>
  7751. <elementProp name="related_product" elementType="HTTPArgument">
  7752. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7753. <stringProp name="Argument.value"/>
  7754. <stringProp name="Argument.metadata">=</stringProp>
  7755. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7756. <stringProp name="Argument.name">related_product</stringProp>
  7757. </elementProp>
  7758. <elementProp name="qty" elementType="HTTPArgument">
  7759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7760. <stringProp name="Argument.value">1</stringProp>
  7761. <stringProp name="Argument.metadata">=</stringProp>
  7762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7763. <stringProp name="Argument.name">qty</stringProp>
  7764. </elementProp>
  7765. <elementProp name="form_key" elementType="HTTPArgument">
  7766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7767. <stringProp name="Argument.value">${form_key}</stringProp>
  7768. <stringProp name="Argument.metadata">=</stringProp>
  7769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7770. <stringProp name="Argument.name">form_key</stringProp>
  7771. </elementProp>
  7772. </collectionProp>
  7773. </elementProp>
  7774. <stringProp name="HTTPSampler.domain"/>
  7775. <stringProp name="HTTPSampler.port"/>
  7776. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7777. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7778. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7779. <stringProp name="HTTPSampler.contentEncoding"/>
  7780. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  7781. <stringProp name="HTTPSampler.method">POST</stringProp>
  7782. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7783. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7784. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7785. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7786. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7787. <stringProp name="HTTPSampler.embedded_url_re"/>
  7788. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  7789. <hashTree>
  7790. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7791. <collectionProp name="HeaderManager.headers">
  7792. <elementProp name="" elementType="Header">
  7793. <stringProp name="Header.name">X-Requested-With</stringProp>
  7794. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  7795. </elementProp>
  7796. </collectionProp>
  7797. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  7798. <hashTree/>
  7799. </hashTree>
  7800. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  7801. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7802. <collectionProp name="Arguments.arguments">
  7803. <elementProp name="sections" elementType="HTTPArgument">
  7804. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7805. <stringProp name="Argument.value">cart,messages</stringProp>
  7806. <stringProp name="Argument.metadata">=</stringProp>
  7807. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7808. <stringProp name="Argument.name">sections</stringProp>
  7809. </elementProp>
  7810. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  7811. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7812. <stringProp name="Argument.value">true</stringProp>
  7813. <stringProp name="Argument.metadata">=</stringProp>
  7814. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7815. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  7816. </elementProp>
  7817. <elementProp name="_" elementType="HTTPArgument">
  7818. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  7819. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  7820. <stringProp name="Argument.metadata">=</stringProp>
  7821. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  7822. <stringProp name="Argument.name">_</stringProp>
  7823. </elementProp>
  7824. </collectionProp>
  7825. </elementProp>
  7826. <stringProp name="HTTPSampler.domain"/>
  7827. <stringProp name="HTTPSampler.port"/>
  7828. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7829. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7830. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7831. <stringProp name="HTTPSampler.contentEncoding"/>
  7832. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  7833. <stringProp name="HTTPSampler.method">GET</stringProp>
  7834. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7835. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7836. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7837. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7838. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7839. <stringProp name="HTTPSampler.embedded_url_re"/>
  7840. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  7841. <hashTree>
  7842. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7843. <collectionProp name="Asserion.test_strings">
  7844. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  7845. </collectionProp>
  7846. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7847. <boolProp name="Assertion.assume_success">false</boolProp>
  7848. <intProp name="Assertion.test_type">2</intProp>
  7849. </ResponseAssertion>
  7850. <hashTree/>
  7851. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7852. <collectionProp name="Asserion.test_strings">
  7853. <stringProp name="2057973164">This product is out of stock.</stringProp>
  7854. </collectionProp>
  7855. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7856. <boolProp name="Assertion.assume_success">false</boolProp>
  7857. <intProp name="Assertion.test_type">6</intProp>
  7858. </ResponseAssertion>
  7859. <hashTree/>
  7860. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7861. <collectionProp name="Asserion.test_strings">
  7862. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  7863. </collectionProp>
  7864. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7865. <boolProp name="Assertion.assume_success">false</boolProp>
  7866. <intProp name="Assertion.test_type">2</intProp>
  7867. </ResponseAssertion>
  7868. <hashTree/>
  7869. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7870. <collectionProp name="HeaderManager.headers">
  7871. <elementProp name="" elementType="Header">
  7872. <stringProp name="Header.name">X-Requested-With</stringProp>
  7873. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  7874. </elementProp>
  7875. </collectionProp>
  7876. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  7877. <hashTree/>
  7878. </hashTree>
  7879. </hashTree>
  7880. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Configurable Products to Cart" enabled="true">
  7881. <boolProp name="LoopController.continue_forever">true</boolProp>
  7882. <stringProp name="LoopController.loops">1</stringProp>
  7883. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  7884. <hashTree>
  7885. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  7886. <stringProp name="CounterConfig.start">1</stringProp>
  7887. <stringProp name="CounterConfig.end"/>
  7888. <stringProp name="CounterConfig.incr">1</stringProp>
  7889. <stringProp name="CounterConfig.name">_counter</stringProp>
  7890. <stringProp name="CounterConfig.format"/>
  7891. <boolProp name="CounterConfig.per_user">true</boolProp>
  7892. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  7893. </CounterConfig>
  7894. <hashTree/>
  7895. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  7896. <stringProp name="BeanShellSampler.query">
  7897. import java.util.Random;
  7898. Random random = vars.getObject("randomIntGenerator");
  7899. number = random.nextInt(props.get("configurable_products_list").size());
  7900. product = props.get("configurable_products_list").get(number);
  7901. vars.put("product_url_key", product.get("url_key"));
  7902. vars.put("product_id", product.get("id"));
  7903. vars.put("product_name", product.get("title"));
  7904. vars.put("product_uenc", product.get("uenc"));
  7905. vars.put("product_sku", product.get("sku"));
  7906. </stringProp>
  7907. <stringProp name="BeanShellSampler.filename"/>
  7908. <stringProp name="BeanShellSampler.parameters"/>
  7909. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7910. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  7911. <hashTree/>
  7912. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  7913. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  7914. <stringProp name="BeanShellSampler.query">
  7915. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  7916. productsAdded = productsAdded + 1;
  7917. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  7918. </stringProp>
  7919. <stringProp name="BeanShellSampler.filename"/>
  7920. <stringProp name="BeanShellSampler.parameters"/>
  7921. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  7922. </BeanShellSampler>
  7923. <hashTree/>
  7924. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  7925. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  7926. <collectionProp name="Arguments.arguments"/>
  7927. </elementProp>
  7928. <stringProp name="HTTPSampler.domain"/>
  7929. <stringProp name="HTTPSampler.port"/>
  7930. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7931. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7932. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7933. <stringProp name="HTTPSampler.contentEncoding"/>
  7934. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  7935. <stringProp name="HTTPSampler.method">GET</stringProp>
  7936. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7937. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7938. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7939. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7940. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7941. <stringProp name="HTTPSampler.embedded_url_re"/>
  7942. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  7943. <hashTree>
  7944. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  7945. <collectionProp name="Asserion.test_strings">
  7946. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  7947. </collectionProp>
  7948. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  7949. <boolProp name="Assertion.assume_success">false</boolProp>
  7950. <intProp name="Assertion.test_type">2</intProp>
  7951. </ResponseAssertion>
  7952. <hashTree/>
  7953. </hashTree>
  7954. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="SetUp - Get Configurable Product Options" enabled="true">
  7955. <boolProp name="LoopController.continue_forever">true</boolProp>
  7956. <stringProp name="LoopController.loops">1</stringProp>
  7957. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_configurable_product_options.jmx</stringProp></LoopController>
  7958. <hashTree>
  7959. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  7960. <collectionProp name="HeaderManager.headers">
  7961. <elementProp name="" elementType="Header">
  7962. <stringProp name="Header.name">Content-Type</stringProp>
  7963. <stringProp name="Header.value">application/json</stringProp>
  7964. </elementProp>
  7965. <elementProp name="" elementType="Header">
  7966. <stringProp name="Header.name">Accept</stringProp>
  7967. <stringProp name="Header.value">*/*</stringProp>
  7968. </elementProp>
  7969. </collectionProp>
  7970. </HeaderManager>
  7971. <hashTree/>
  7972. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  7973. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  7974. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  7975. <collectionProp name="Arguments.arguments">
  7976. <elementProp name="" elementType="HTTPArgument">
  7977. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  7978. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  7979. <stringProp name="Argument.metadata">=</stringProp>
  7980. </elementProp>
  7981. </collectionProp>
  7982. </elementProp>
  7983. <stringProp name="HTTPSampler.domain"/>
  7984. <stringProp name="HTTPSampler.port"/>
  7985. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  7986. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  7987. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  7988. <stringProp name="HTTPSampler.contentEncoding"/>
  7989. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  7990. <stringProp name="HTTPSampler.method">POST</stringProp>
  7991. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  7992. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  7993. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  7994. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  7995. <boolProp name="HTTPSampler.monitor">false</boolProp>
  7996. <stringProp name="HTTPSampler.embedded_url_re"/>
  7997. </HTTPSamplerProxy>
  7998. <hashTree>
  7999. <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">
  8000. <stringProp name="VAR">admin_token</stringProp>
  8001. <stringProp name="JSONPATH">$</stringProp>
  8002. <stringProp name="DEFAULT"/>
  8003. <stringProp name="VARIABLE"/>
  8004. <stringProp name="SUBJECT">BODY</stringProp>
  8005. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  8006. <hashTree/>
  8007. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  8008. <collectionProp name="Asserion.test_strings">
  8009. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  8010. </collectionProp>
  8011. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8012. <boolProp name="Assertion.assume_success">false</boolProp>
  8013. <intProp name="Assertion.test_type">1</intProp>
  8014. <stringProp name="Assertion.scope">variable</stringProp>
  8015. <stringProp name="Scope.variable">admin_token</stringProp>
  8016. </ResponseAssertion>
  8017. <hashTree/>
  8018. </hashTree>
  8019. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  8020. <collectionProp name="HeaderManager.headers">
  8021. <elementProp name="" elementType="Header">
  8022. <stringProp name="Header.name">Authorization</stringProp>
  8023. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  8024. </elementProp>
  8025. </collectionProp>
  8026. </HeaderManager>
  8027. <hashTree/>
  8028. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options" enabled="true">
  8029. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8030. <collectionProp name="Arguments.arguments"/>
  8031. </elementProp>
  8032. <stringProp name="HTTPSampler.domain"/>
  8033. <stringProp name="HTTPSampler.port"/>
  8034. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8035. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8036. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8037. <stringProp name="HTTPSampler.contentEncoding"/>
  8038. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${product_sku}/options/all</stringProp>
  8039. <stringProp name="HTTPSampler.method">GET</stringProp>
  8040. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8041. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8042. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8043. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8044. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8045. <stringProp name="HTTPSampler.embedded_url_re"/>
  8046. </HTTPSamplerProxy>
  8047. <hashTree>
  8048. <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">
  8049. <stringProp name="VAR">attribute_ids</stringProp>
  8050. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  8051. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  8052. <stringProp name="VARIABLE"/>
  8053. <stringProp name="SUBJECT">BODY</stringProp>
  8054. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  8055. <hashTree/>
  8056. <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">
  8057. <stringProp name="VAR">option_values</stringProp>
  8058. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  8059. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  8060. <stringProp name="VARIABLE"/>
  8061. <stringProp name="SUBJECT">BODY</stringProp>
  8062. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  8063. <hashTree/>
  8064. </hashTree>
  8065. </hashTree>
  8066. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} Add To Cart" enabled="true">
  8067. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8068. <collectionProp name="Arguments.arguments">
  8069. <elementProp name="product" elementType="HTTPArgument">
  8070. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8071. <stringProp name="Argument.value">${product_id}</stringProp>
  8072. <stringProp name="Argument.metadata">=</stringProp>
  8073. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8074. <stringProp name="Argument.name">product</stringProp>
  8075. </elementProp>
  8076. <elementProp name="related_product" elementType="HTTPArgument">
  8077. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8078. <stringProp name="Argument.value"/>
  8079. <stringProp name="Argument.metadata">=</stringProp>
  8080. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8081. <stringProp name="Argument.name">related_product</stringProp>
  8082. </elementProp>
  8083. <elementProp name="qty" elementType="HTTPArgument">
  8084. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8085. <stringProp name="Argument.value">1</stringProp>
  8086. <stringProp name="Argument.metadata">=</stringProp>
  8087. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8088. <stringProp name="Argument.name">qty</stringProp>
  8089. </elementProp>
  8090. <elementProp name="form_key" elementType="HTTPArgument">
  8091. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8092. <stringProp name="Argument.value">${form_key}</stringProp>
  8093. <stringProp name="Argument.metadata">=</stringProp>
  8094. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8095. <stringProp name="Argument.name">form_key</stringProp>
  8096. </elementProp>
  8097. </collectionProp>
  8098. </elementProp>
  8099. <stringProp name="HTTPSampler.domain"/>
  8100. <stringProp name="HTTPSampler.port"/>
  8101. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8102. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8103. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8104. <stringProp name="HTTPSampler.contentEncoding"/>
  8105. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  8106. <stringProp name="HTTPSampler.method">POST</stringProp>
  8107. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8108. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8109. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8110. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8111. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8112. <stringProp name="HTTPSampler.embedded_url_re"/>
  8113. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  8114. <hashTree>
  8115. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  8116. <boolProp name="resetInterpreter">false</boolProp>
  8117. <stringProp name="parameters"/>
  8118. <stringProp name="filename"/>
  8119. <stringProp name="script">
  8120. try {
  8121. attribute_ids = vars.get("attribute_ids");
  8122. option_values = vars.get("option_values");
  8123. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  8124. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  8125. attribute_ids_array = attribute_ids.split(",");
  8126. option_values_array = option_values.split(",");
  8127. args = ctx.getCurrentSampler().getArguments();
  8128. it = args.iterator();
  8129. while (it.hasNext()) {
  8130. argument = it.next();
  8131. if (argument.getStringValue().contains("${")) {
  8132. args.removeArgument(argument.getName());
  8133. }
  8134. }
  8135. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  8136. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  8137. }
  8138. } catch (Exception e) {
  8139. log.error("eror&#x2026;", e);
  8140. }
  8141. </stringProp>
  8142. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/configurable_product_add_to_cart_preprocessor.jmx</stringProp></BeanShellPreProcessor>
  8143. <hashTree/>
  8144. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  8145. <collectionProp name="HeaderManager.headers">
  8146. <elementProp name="" elementType="Header">
  8147. <stringProp name="Header.name">X-Requested-With</stringProp>
  8148. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  8149. </elementProp>
  8150. </collectionProp>
  8151. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  8152. <hashTree/>
  8153. </hashTree>
  8154. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  8155. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8156. <collectionProp name="Arguments.arguments">
  8157. <elementProp name="sections" elementType="HTTPArgument">
  8158. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8159. <stringProp name="Argument.value">cart,messages</stringProp>
  8160. <stringProp name="Argument.metadata">=</stringProp>
  8161. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8162. <stringProp name="Argument.name">sections</stringProp>
  8163. </elementProp>
  8164. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  8165. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8166. <stringProp name="Argument.value">true</stringProp>
  8167. <stringProp name="Argument.metadata">=</stringProp>
  8168. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8169. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  8170. </elementProp>
  8171. <elementProp name="_" elementType="HTTPArgument">
  8172. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8173. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  8174. <stringProp name="Argument.metadata">=</stringProp>
  8175. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8176. <stringProp name="Argument.name">_</stringProp>
  8177. </elementProp>
  8178. </collectionProp>
  8179. </elementProp>
  8180. <stringProp name="HTTPSampler.domain"/>
  8181. <stringProp name="HTTPSampler.port"/>
  8182. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8183. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8184. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8185. <stringProp name="HTTPSampler.contentEncoding"/>
  8186. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  8187. <stringProp name="HTTPSampler.method">GET</stringProp>
  8188. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8189. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8190. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8191. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8192. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8193. <stringProp name="HTTPSampler.embedded_url_re"/>
  8194. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  8195. <hashTree>
  8196. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8197. <collectionProp name="Asserion.test_strings">
  8198. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  8199. </collectionProp>
  8200. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8201. <boolProp name="Assertion.assume_success">false</boolProp>
  8202. <intProp name="Assertion.test_type">2</intProp>
  8203. </ResponseAssertion>
  8204. <hashTree/>
  8205. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8206. <collectionProp name="Asserion.test_strings">
  8207. <stringProp name="2057973164">This product is out of stock.</stringProp>
  8208. </collectionProp>
  8209. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8210. <boolProp name="Assertion.assume_success">false</boolProp>
  8211. <intProp name="Assertion.test_type">6</intProp>
  8212. </ResponseAssertion>
  8213. <hashTree/>
  8214. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8215. <collectionProp name="Asserion.test_strings">
  8216. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  8217. </collectionProp>
  8218. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8219. <boolProp name="Assertion.assume_success">false</boolProp>
  8220. <intProp name="Assertion.test_type">2</intProp>
  8221. </ResponseAssertion>
  8222. <hashTree/>
  8223. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  8224. <collectionProp name="HeaderManager.headers">
  8225. <elementProp name="" elementType="Header">
  8226. <stringProp name="Header.name">X-Requested-With</stringProp>
  8227. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  8228. </elementProp>
  8229. </collectionProp>
  8230. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  8231. <hashTree/>
  8232. </hashTree>
  8233. </hashTree>
  8234. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Checkout" enabled="true">
  8235. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  8236. </GenericController>
  8237. <hashTree>
  8238. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Get region data" enabled="true">
  8239. <stringProp name="scriptLanguage">javascript</stringProp>
  8240. <stringProp name="parameters"/>
  8241. <stringProp name="filename"/>
  8242. <stringProp name="cacheKey"/>
  8243. <stringProp name="script">
  8244. vars.put("alabama_region_id", props.get("alabama_region_id"));
  8245. vars.put("california_region_id", props.get("california_region_id"));
  8246. </stringProp>
  8247. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_region_data.jmx</stringProp></JSR223PreProcessor>
  8248. <hashTree/>
  8249. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout start" enabled="true">
  8250. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8251. <collectionProp name="Arguments.arguments"/>
  8252. </elementProp>
  8253. <stringProp name="HTTPSampler.domain"/>
  8254. <stringProp name="HTTPSampler.port"/>
  8255. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8256. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8257. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8258. <stringProp name="HTTPSampler.contentEncoding"/>
  8259. <stringProp name="HTTPSampler.path">${base_path}checkout/</stringProp>
  8260. <stringProp name="HTTPSampler.method">GET</stringProp>
  8261. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8262. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8263. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8264. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8265. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8266. <stringProp name="HTTPSampler.embedded_url_re"/>
  8267. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/customer_checkout/checkout_start.jmx</stringProp></HTTPSamplerProxy>
  8268. <hashTree>
  8269. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8270. <collectionProp name="Asserion.test_strings">
  8271. <stringProp name="-1403911775">&lt;title&gt;Checkout&lt;/title&gt;</stringProp>
  8272. </collectionProp>
  8273. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8274. <boolProp name="Assertion.assume_success">false</boolProp>
  8275. <intProp name="Assertion.test_type">2</intProp>
  8276. </ResponseAssertion>
  8277. <hashTree/>
  8278. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8279. <collectionProp name="Asserion.test_strings">
  8280. <stringProp name="-179817969">&lt;title&gt;Shopping Cart&lt;/title&gt;</stringProp>
  8281. </collectionProp>
  8282. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8283. <boolProp name="Assertion.assume_success">false</boolProp>
  8284. <intProp name="Assertion.test_type">6</intProp>
  8285. </ResponseAssertion>
  8286. <hashTree/>
  8287. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Cart Id" enabled="true">
  8288. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  8289. <stringProp name="RegexExtractor.refname">cart_id</stringProp>
  8290. <stringProp name="RegexExtractor.regex">"quoteData":{"entity_id":"([^'"]+)",</stringProp>
  8291. <stringProp name="RegexExtractor.template">$1$</stringProp>
  8292. <stringProp name="RegexExtractor.default"/>
  8293. <stringProp name="RegexExtractor.match_number">1</stringProp>
  8294. </RegexExtractor>
  8295. <hashTree/>
  8296. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address Id" enabled="true">
  8297. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  8298. <stringProp name="RegexExtractor.refname">address_id</stringProp>
  8299. <stringProp name="RegexExtractor.regex">"default_billing":"([^'"]+)",</stringProp>
  8300. <stringProp name="RegexExtractor.template">$1$</stringProp>
  8301. <stringProp name="RegexExtractor.default"/>
  8302. <stringProp name="RegexExtractor.match_number">1</stringProp>
  8303. </RegexExtractor>
  8304. <hashTree/>
  8305. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Customer Id" enabled="true">
  8306. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  8307. <stringProp name="RegexExtractor.refname">customer_id</stringProp>
  8308. <stringProp name="RegexExtractor.regex">"customer_id":([^'",]+),</stringProp>
  8309. <stringProp name="RegexExtractor.template">$1$</stringProp>
  8310. <stringProp name="RegexExtractor.default"/>
  8311. <stringProp name="RegexExtractor.match_number">1</stringProp>
  8312. </RegexExtractor>
  8313. <hashTree/>
  8314. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Cart Id extracted" enabled="true">
  8315. <collectionProp name="Asserion.test_strings">
  8316. <stringProp name="2845929">^.+$</stringProp>
  8317. </collectionProp>
  8318. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8319. <boolProp name="Assertion.assume_success">false</boolProp>
  8320. <intProp name="Assertion.test_type">1</intProp>
  8321. <stringProp name="Assertion.scope">variable</stringProp>
  8322. <stringProp name="Scope.variable">cart_id</stringProp>
  8323. </ResponseAssertion>
  8324. <hashTree/>
  8325. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Address Id extracted" enabled="true">
  8326. <collectionProp name="Asserion.test_strings">
  8327. <stringProp name="576002869">[0-9]+$</stringProp>
  8328. </collectionProp>
  8329. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8330. <boolProp name="Assertion.assume_success">false</boolProp>
  8331. <intProp name="Assertion.test_type">1</intProp>
  8332. <stringProp name="Assertion.scope">variable</stringProp>
  8333. <stringProp name="Scope.variable">address_id</stringProp>
  8334. </ResponseAssertion>
  8335. <hashTree/>
  8336. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Customer Id extracted" enabled="true">
  8337. <collectionProp name="Asserion.test_strings">
  8338. <stringProp name="576002869">[0-9]+$</stringProp>
  8339. </collectionProp>
  8340. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8341. <boolProp name="Assertion.assume_success">false</boolProp>
  8342. <intProp name="Assertion.test_type">1</intProp>
  8343. <stringProp name="Assertion.scope">variable</stringProp>
  8344. <stringProp name="Scope.variable">customer_id</stringProp>
  8345. </ResponseAssertion>
  8346. <hashTree/>
  8347. </hashTree>
  8348. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Estimate Shipping Methods" enabled="true">
  8349. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  8350. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  8351. <collectionProp name="Arguments.arguments">
  8352. <elementProp name="" elementType="HTTPArgument">
  8353. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  8354. <stringProp name="Argument.value">{"addressId":"${addressId}"}</stringProp>
  8355. <stringProp name="Argument.metadata">=</stringProp>
  8356. </elementProp>
  8357. </collectionProp>
  8358. </elementProp>
  8359. <stringProp name="HTTPSampler.domain"/>
  8360. <stringProp name="HTTPSampler.port"/>
  8361. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8362. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8363. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8364. <stringProp name="HTTPSampler.contentEncoding"/>
  8365. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id</stringProp>
  8366. <stringProp name="HTTPSampler.method">POST</stringProp>
  8367. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8368. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8369. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8370. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8371. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8372. <stringProp name="HTTPSampler.embedded_url_re"/>
  8373. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/customer_checkout/checkout_estimate_shipping_methods.jmx</stringProp></HTTPSamplerProxy>
  8374. <hashTree>
  8375. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  8376. <collectionProp name="HeaderManager.headers">
  8377. <elementProp name="" elementType="Header">
  8378. <stringProp name="Header.name">Referer</stringProp>
  8379. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  8380. </elementProp>
  8381. <elementProp name="Content-Type" elementType="Header">
  8382. <stringProp name="Header.name">Content-Type</stringProp>
  8383. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  8384. </elementProp>
  8385. <elementProp name="X-Requested-With" elementType="Header">
  8386. <stringProp name="Header.name">X-Requested-With</stringProp>
  8387. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  8388. </elementProp>
  8389. <elementProp name="Accept" elementType="Header">
  8390. <stringProp name="Header.name">Accept</stringProp>
  8391. <stringProp name="Header.value">application/json</stringProp>
  8392. </elementProp>
  8393. </collectionProp>
  8394. </HeaderManager>
  8395. <hashTree/>
  8396. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  8397. <collectionProp name="Asserion.test_strings">
  8398. <stringProp name="-1224567411">"available":true</stringProp>
  8399. </collectionProp>
  8400. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8401. <boolProp name="Assertion.assume_success">false</boolProp>
  8402. <intProp name="Assertion.test_type">2</intProp>
  8403. </ResponseAssertion>
  8404. <hashTree/>
  8405. </hashTree>
  8406. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Billing/Shipping Information" enabled="true">
  8407. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  8408. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  8409. <collectionProp name="Arguments.arguments">
  8410. <elementProp name="" elementType="HTTPArgument">
  8411. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  8412. <stringProp name="Argument.value">{"addressInformation":{"shipping_address":{"customerAddressId":"${address_id}","countryId":"US","regionId":"${alabama_region_id}","regionCode":"AL","region":"Alabama","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>
  8413. <stringProp name="Argument.metadata">=</stringProp>
  8414. </elementProp>
  8415. </collectionProp>
  8416. </elementProp>
  8417. <stringProp name="HTTPSampler.domain"/>
  8418. <stringProp name="HTTPSampler.port"/>
  8419. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8420. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8421. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8422. <stringProp name="HTTPSampler.contentEncoding"/>
  8423. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/shipping-information</stringProp>
  8424. <stringProp name="HTTPSampler.method">POST</stringProp>
  8425. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8426. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8427. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8428. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8429. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8430. <stringProp name="HTTPSampler.embedded_url_re"/>
  8431. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/customer_checkout/checkout_billing_shipping_information.jmx</stringProp></HTTPSamplerProxy>
  8432. <hashTree>
  8433. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  8434. <collectionProp name="HeaderManager.headers">
  8435. <elementProp name="" elementType="Header">
  8436. <stringProp name="Header.name">Referer</stringProp>
  8437. <stringProp name="Header.value">${host}${base_path}checkout/onepage</stringProp>
  8438. </elementProp>
  8439. <elementProp name="Content-Type" elementType="Header">
  8440. <stringProp name="Header.name">Content-Type</stringProp>
  8441. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  8442. </elementProp>
  8443. <elementProp name="X-Requested-With" elementType="Header">
  8444. <stringProp name="Header.name">X-Requested-With</stringProp>
  8445. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  8446. </elementProp>
  8447. <elementProp name="Accept" elementType="Header">
  8448. <stringProp name="Header.name">Accept</stringProp>
  8449. <stringProp name="Header.value">application/json</stringProp>
  8450. </elementProp>
  8451. </collectionProp>
  8452. </HeaderManager>
  8453. <hashTree/>
  8454. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  8455. <collectionProp name="Asserion.test_strings">
  8456. <stringProp name="-740937264">{"payment_methods"</stringProp>
  8457. </collectionProp>
  8458. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8459. <boolProp name="Assertion.assume_success">false</boolProp>
  8460. <intProp name="Assertion.test_type">2</intProp>
  8461. </ResponseAssertion>
  8462. <hashTree/>
  8463. </hashTree>
  8464. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Payment Info/Place Order" enabled="true">
  8465. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  8466. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  8467. <collectionProp name="Arguments.arguments">
  8468. <elementProp name="" elementType="HTTPArgument">
  8469. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  8470. <stringProp name="Argument.value">{"cartId":"${cart_id}","paymentMethod":{"method":"checkmo","po_number":null,"additional_data":null},"billingAddress":{"customerAddressId":"${address_id}","countryId":"US","regionId":"${alabama_region_id}","regionCode":"AL","region":"Alabama","customerId":"${customer_id}","street":["123 Freedom Blvd. #123"],"telephone":"022-333-4455","postcode":"123123","city":"Fayetteville","firstname":"Anthony","lastname":"Nealy"}}</stringProp>
  8471. <stringProp name="Argument.metadata">=</stringProp>
  8472. </elementProp>
  8473. </collectionProp>
  8474. </elementProp>
  8475. <stringProp name="HTTPSampler.domain"/>
  8476. <stringProp name="HTTPSampler.port"/>
  8477. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8478. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8479. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8480. <stringProp name="HTTPSampler.contentEncoding"/>
  8481. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/mine/payment-information</stringProp>
  8482. <stringProp name="HTTPSampler.method">POST</stringProp>
  8483. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8484. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8485. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8486. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8487. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8488. <stringProp name="HTTPSampler.embedded_url_re"/>
  8489. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/customer_checkout/checkout_payment_info_place_order.jmx</stringProp></HTTPSamplerProxy>
  8490. <hashTree>
  8491. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  8492. <collectionProp name="HeaderManager.headers">
  8493. <elementProp name="" elementType="Header">
  8494. <stringProp name="Header.name">Referer</stringProp>
  8495. <stringProp name="Header.value">${host}${base_path}checkout/onepage</stringProp>
  8496. </elementProp>
  8497. <elementProp name="" elementType="Header">
  8498. <stringProp name="Header.name">Content-Type</stringProp>
  8499. <stringProp name="Header.value">application/json; charset=UTF-8 </stringProp>
  8500. </elementProp>
  8501. <elementProp name="" elementType="Header">
  8502. <stringProp name="Header.name">Accept</stringProp>
  8503. <stringProp name="Header.value">application/json</stringProp>
  8504. </elementProp>
  8505. <elementProp name="" elementType="Header">
  8506. <stringProp name="Header.name">X-Requested-With</stringProp>
  8507. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  8508. </elementProp>
  8509. </collectionProp>
  8510. </HeaderManager>
  8511. <hashTree/>
  8512. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert order number" enabled="true">
  8513. <collectionProp name="Asserion.test_strings">
  8514. <stringProp name="-297987887">"[0-9]+"</stringProp>
  8515. </collectionProp>
  8516. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8517. <boolProp name="Assertion.assume_success">false</boolProp>
  8518. <intProp name="Assertion.test_type">2</intProp>
  8519. </ResponseAssertion>
  8520. <hashTree/>
  8521. </hashTree>
  8522. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout success" enabled="true">
  8523. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8524. <collectionProp name="Arguments.arguments"/>
  8525. </elementProp>
  8526. <stringProp name="HTTPSampler.domain"/>
  8527. <stringProp name="HTTPSampler.port"/>
  8528. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8529. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8530. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8531. <stringProp name="HTTPSampler.contentEncoding"/>
  8532. <stringProp name="HTTPSampler.path">${base_path}checkout/onepage/success/</stringProp>
  8533. <stringProp name="HTTPSampler.method">GET</stringProp>
  8534. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8535. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8536. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8537. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8538. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8539. <stringProp name="HTTPSampler.embedded_url_re"/>
  8540. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/customer_checkout/checkout_success.jmx</stringProp></HTTPSamplerProxy>
  8541. <hashTree>
  8542. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  8543. <collectionProp name="Asserion.test_strings">
  8544. <stringProp name="494863233">Thank you for your purchase!</stringProp>
  8545. <stringProp name="-1590086334">Your order number is</stringProp>
  8546. </collectionProp>
  8547. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8548. <boolProp name="Assertion.assume_success">false</boolProp>
  8549. <intProp name="Assertion.test_type">2</intProp>
  8550. </ResponseAssertion>
  8551. <hashTree/>
  8552. </hashTree>
  8553. </hashTree>
  8554. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  8555. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8556. <collectionProp name="Arguments.arguments"/>
  8557. </elementProp>
  8558. <stringProp name="HTTPSampler.domain"/>
  8559. <stringProp name="HTTPSampler.port"/>
  8560. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8561. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8562. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8563. <stringProp name="HTTPSampler.contentEncoding"/>
  8564. <stringProp name="HTTPSampler.path">${base_path}customer/account/logout/</stringProp>
  8565. <stringProp name="HTTPSampler.method">GET</stringProp>
  8566. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8567. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8568. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8569. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8570. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8571. <stringProp name="HTTPSampler.embedded_url_re"/>
  8572. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/logout.jmx</stringProp></HTTPSamplerProxy>
  8573. <hashTree>
  8574. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  8575. <collectionProp name="Asserion.test_strings">
  8576. <stringProp name="1723813687">You are signed out.</stringProp>
  8577. </collectionProp>
  8578. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8579. <boolProp name="Assertion.assume_success">false</boolProp>
  8580. <intProp name="Assertion.test_type">2</intProp>
  8581. </ResponseAssertion>
  8582. <hashTree/>
  8583. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Clear Cookie" enabled="true">
  8584. <boolProp name="resetInterpreter">false</boolProp>
  8585. <stringProp name="parameters"/>
  8586. <stringProp name="filename"/>
  8587. <stringProp name="script">curSampler = ctx.getCurrentSampler();
  8588. if(curSampler.getName().contains("Checkout success")) {
  8589. manager = curSampler.getCookieManager();
  8590. manager.clear();
  8591. }
  8592. </stringProp>
  8593. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/customer_checkout/checkout_clear_cookie.jmx</stringProp></BeanShellPostProcessor>
  8594. <hashTree/>
  8595. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Customer to Pool" enabled="true">
  8596. <boolProp name="resetInterpreter">false</boolProp>
  8597. <stringProp name="parameters"/>
  8598. <stringProp name="filename"/>
  8599. <stringProp name="script">
  8600. customerUserList = props.get("customer_emails_list");
  8601. customerUserList.add(vars.get("customer_email"));
  8602. </stringProp>
  8603. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  8604. <hashTree/>
  8605. </hashTree>
  8606. </hashTree>
  8607. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Product Review By Customer" enabled="true">
  8608. <intProp name="ThroughputController.style">1</intProp>
  8609. <boolProp name="ThroughputController.perThread">false</boolProp>
  8610. <intProp name="ThroughputController.maxThroughput">1</intProp>
  8611. <stringProp name="ThroughputController.percentThroughput">${reviewByCustomerPercentage}</stringProp>
  8612. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  8613. <hashTree>
  8614. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  8615. <stringProp name="script">
  8616. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  8617. if (testLabel
  8618. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  8619. ) {
  8620. if (sampler.getName().indexOf(testLabel) == -1) {
  8621. sampler.setName(sampler.getName() + testLabel);
  8622. }
  8623. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  8624. sampler.setName("SetUp - " + sampler.getName());
  8625. }
  8626. </stringProp>
  8627. <stringProp name="scriptLanguage">javascript</stringProp>
  8628. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  8629. <hashTree/>
  8630. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  8631. <stringProp name="BeanShellSampler.query">
  8632. vars.put("testLabel", "Product Review By Customer");
  8633. </stringProp>
  8634. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  8635. </BeanShellSampler>
  8636. <hashTree/>
  8637. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  8638. <collectionProp name="CookieManager.cookies">
  8639. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  8640. <stringProp name="Cookie.value">30</stringProp>
  8641. <stringProp name="Cookie.domain">${host}</stringProp>
  8642. <stringProp name="Cookie.path">/</stringProp>
  8643. <boolProp name="Cookie.secure">false</boolProp>
  8644. <longProp name="Cookie.expires">0</longProp>
  8645. <boolProp name="Cookie.path_specified">true</boolProp>
  8646. <boolProp name="Cookie.domain_specified">true</boolProp>
  8647. </elementProp>
  8648. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  8649. <stringProp name="Cookie.value">${form_key}</stringProp>
  8650. <stringProp name="Cookie.domain">${host}</stringProp>
  8651. <stringProp name="Cookie.path">${base_path}</stringProp>
  8652. <boolProp name="Cookie.secure">false</boolProp>
  8653. <longProp name="Cookie.expires">0</longProp>
  8654. <boolProp name="Cookie.path_specified">true</boolProp>
  8655. <boolProp name="Cookie.domain_specified">true</boolProp>
  8656. </elementProp>
  8657. </collectionProp>
  8658. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  8659. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  8660. <hashTree/>
  8661. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  8662. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  8663. <stringProp name="BeanShellSampler.query">
  8664. import java.util.Random;
  8665. Random random = new Random();
  8666. if (${seedForRandom} &gt; 0) {
  8667. random.setSeed(${seedForRandom} + ${__threadNum});
  8668. }
  8669. vars.putObject("randomIntGenerator", random);
  8670. </stringProp>
  8671. <stringProp name="BeanShellSampler.filename"/>
  8672. <stringProp name="BeanShellSampler.parameters"/>
  8673. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  8674. </BeanShellSampler>
  8675. <hashTree/>
  8676. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Get Customer Email" enabled="true">
  8677. <stringProp name="CriticalSectionController.lockName">get-email</stringProp>
  8678. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  8679. <hashTree>
  8680. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Customer Email" enabled="true">
  8681. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_customer_email.jmx</stringProp>
  8682. <stringProp name="BeanShellSampler.query">
  8683. customerUserList = props.get("customer_emails_list");
  8684. customerUser = customerUserList.poll();
  8685. if (customerUser == null) {
  8686. SampleResult.setResponseMessage("customernUser list is empty");
  8687. SampleResult.setResponseData("customerUser list is empty","UTF-8");
  8688. IsSuccess=false;
  8689. SampleResult.setSuccessful(false);
  8690. SampleResult.setStopThread(true);
  8691. }
  8692. vars.put("customer_email", customerUser);
  8693. </stringProp>
  8694. <stringProp name="BeanShellSampler.filename"/>
  8695. <stringProp name="BeanShellSampler.parameters"/>
  8696. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  8697. </BeanShellSampler>
  8698. <hashTree/>
  8699. </hashTree>
  8700. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page" enabled="true">
  8701. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8702. <collectionProp name="Arguments.arguments"/>
  8703. </elementProp>
  8704. <stringProp name="HTTPSampler.domain"/>
  8705. <stringProp name="HTTPSampler.port"/>
  8706. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8707. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8708. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8709. <stringProp name="HTTPSampler.contentEncoding"/>
  8710. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  8711. <stringProp name="HTTPSampler.method">GET</stringProp>
  8712. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8713. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8714. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8715. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8716. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8717. <stringProp name="HTTPSampler.embedded_url_re"/>
  8718. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_login_page.jmx</stringProp></HTTPSamplerProxy>
  8719. <hashTree>
  8720. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8721. <collectionProp name="Asserion.test_strings">
  8722. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  8723. </collectionProp>
  8724. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8725. <boolProp name="Assertion.assume_success">false</boolProp>
  8726. <intProp name="Assertion.test_type">2</intProp>
  8727. </ResponseAssertion>
  8728. <hashTree/>
  8729. </hashTree>
  8730. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login" enabled="true">
  8731. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8732. <collectionProp name="Arguments.arguments">
  8733. <elementProp name="form_key" elementType="HTTPArgument">
  8734. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8735. <stringProp name="Argument.value">${form_key}</stringProp>
  8736. <stringProp name="Argument.metadata">=</stringProp>
  8737. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8738. <stringProp name="Argument.name">form_key</stringProp>
  8739. </elementProp>
  8740. <elementProp name="login[username]" elementType="HTTPArgument">
  8741. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8742. <stringProp name="Argument.value">${customer_email}</stringProp>
  8743. <stringProp name="Argument.metadata">=</stringProp>
  8744. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8745. <stringProp name="Argument.name">login[username]</stringProp>
  8746. </elementProp>
  8747. <elementProp name="login[password]" elementType="HTTPArgument">
  8748. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8749. <stringProp name="Argument.value">${customer_password}</stringProp>
  8750. <stringProp name="Argument.metadata">=</stringProp>
  8751. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8752. <stringProp name="Argument.name">login[password]</stringProp>
  8753. </elementProp>
  8754. <elementProp name="send" elementType="HTTPArgument">
  8755. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8756. <stringProp name="Argument.value"/>
  8757. <stringProp name="Argument.metadata">=</stringProp>
  8758. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8759. <stringProp name="Argument.name">send</stringProp>
  8760. </elementProp>
  8761. </collectionProp>
  8762. </elementProp>
  8763. <stringProp name="HTTPSampler.domain"/>
  8764. <stringProp name="HTTPSampler.port"/>
  8765. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8766. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8767. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8768. <stringProp name="HTTPSampler.contentEncoding"/>
  8769. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  8770. <stringProp name="HTTPSampler.method">POST</stringProp>
  8771. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8772. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8773. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8774. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8775. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8776. <stringProp name="HTTPSampler.embedded_url_re"/>
  8777. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/login.jmx</stringProp></HTTPSamplerProxy>
  8778. <hashTree>
  8779. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8780. <collectionProp name="Asserion.test_strings">
  8781. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  8782. </collectionProp>
  8783. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8784. <boolProp name="Assertion.assume_success">false</boolProp>
  8785. <intProp name="Assertion.test_type">2</intProp>
  8786. </ResponseAssertion>
  8787. <hashTree/>
  8788. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  8789. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  8790. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  8791. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  8792. <stringProp name="RegexExtractor.template">$1$</stringProp>
  8793. <stringProp name="RegexExtractor.default"/>
  8794. <stringProp name="RegexExtractor.match_number">1</stringProp>
  8795. </RegexExtractor>
  8796. <hashTree/>
  8797. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  8798. <collectionProp name="Asserion.test_strings">
  8799. <stringProp name="2845929">^.+$</stringProp>
  8800. </collectionProp>
  8801. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8802. <boolProp name="Assertion.assume_success">false</boolProp>
  8803. <intProp name="Assertion.test_type">1</intProp>
  8804. <stringProp name="Assertion.scope">variable</stringProp>
  8805. <stringProp name="Scope.variable">addressId</stringProp>
  8806. </ResponseAssertion>
  8807. <hashTree/>
  8808. </hashTree>
  8809. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Customer Private Data" enabled="true">
  8810. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8811. <collectionProp name="Arguments.arguments">
  8812. <elementProp name="sections" elementType="HTTPArgument">
  8813. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8814. <stringProp name="Argument.value"/>
  8815. <stringProp name="Argument.metadata">=</stringProp>
  8816. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8817. <stringProp name="Argument.name">sections</stringProp>
  8818. </elementProp>
  8819. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  8820. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8821. <stringProp name="Argument.value">false</stringProp>
  8822. <stringProp name="Argument.metadata">=</stringProp>
  8823. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8824. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  8825. </elementProp>
  8826. <elementProp name="_" elementType="HTTPArgument">
  8827. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8828. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  8829. <stringProp name="Argument.metadata">=</stringProp>
  8830. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8831. <stringProp name="Argument.name">_</stringProp>
  8832. </elementProp>
  8833. </collectionProp>
  8834. </elementProp>
  8835. <stringProp name="HTTPSampler.domain"/>
  8836. <stringProp name="HTTPSampler.port"/>
  8837. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8838. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8839. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8840. <stringProp name="HTTPSampler.contentEncoding"/>
  8841. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  8842. <stringProp name="HTTPSampler.method">GET</stringProp>
  8843. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8844. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8845. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8846. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8847. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8848. <stringProp name="HTTPSampler.embedded_url_re"/>
  8849. </HTTPSamplerProxy>
  8850. <hashTree/>
  8851. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Review Simple Products" enabled="true">
  8852. <boolProp name="LoopController.continue_forever">true</boolProp>
  8853. <stringProp name="LoopController.loops">1</stringProp>
  8854. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  8855. <hashTree>
  8856. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  8857. <stringProp name="CounterConfig.start">1</stringProp>
  8858. <stringProp name="CounterConfig.end"/>
  8859. <stringProp name="CounterConfig.incr">1</stringProp>
  8860. <stringProp name="CounterConfig.name">_counter</stringProp>
  8861. <stringProp name="CounterConfig.format"/>
  8862. <boolProp name="CounterConfig.per_user">true</boolProp>
  8863. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  8864. </CounterConfig>
  8865. <hashTree/>
  8866. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  8867. <stringProp name="BeanShellSampler.query">
  8868. import java.util.Random;
  8869. Random random = vars.getObject("randomIntGenerator");
  8870. number = random.nextInt(props.get("simple_products_list").size());
  8871. product = props.get("simple_products_list").get(number);
  8872. vars.put("product_url_key", product.get("url_key"));
  8873. vars.put("product_id", product.get("id"));
  8874. vars.put("product_name", product.get("title"));
  8875. vars.put("product_uenc", product.get("uenc"));
  8876. vars.put("product_sku", product.get("sku"));
  8877. </stringProp>
  8878. <stringProp name="BeanShellSampler.filename"/>
  8879. <stringProp name="BeanShellSampler.parameters"/>
  8880. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  8881. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  8882. <hashTree/>
  8883. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  8884. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8885. <collectionProp name="Arguments.arguments"/>
  8886. </elementProp>
  8887. <stringProp name="HTTPSampler.domain"/>
  8888. <stringProp name="HTTPSampler.port"/>
  8889. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8890. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8891. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8892. <stringProp name="HTTPSampler.contentEncoding"/>
  8893. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  8894. <stringProp name="HTTPSampler.method">GET</stringProp>
  8895. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8896. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8897. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8898. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8899. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8900. <stringProp name="HTTPSampler.embedded_url_re"/>
  8901. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  8902. <hashTree>
  8903. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8904. <collectionProp name="Asserion.test_strings">
  8905. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  8906. </collectionProp>
  8907. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  8908. <boolProp name="Assertion.assume_success">false</boolProp>
  8909. <intProp name="Assertion.test_type">2</intProp>
  8910. </ResponseAssertion>
  8911. <hashTree/>
  8912. </hashTree>
  8913. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product 1 Rate and Review" enabled="true">
  8914. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8915. <collectionProp name="Arguments.arguments">
  8916. <elementProp name="form_key" elementType="HTTPArgument">
  8917. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8918. <stringProp name="Argument.value">${form_key}</stringProp>
  8919. <stringProp name="Argument.metadata">=</stringProp>
  8920. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8921. <stringProp name="Argument.name">form_key</stringProp>
  8922. </elementProp>
  8923. <elementProp name="ratings[1]" elementType="HTTPArgument">
  8924. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8925. <stringProp name="Argument.value">3</stringProp>
  8926. <stringProp name="Argument.metadata">=</stringProp>
  8927. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8928. <stringProp name="Argument.name">ratings[1]</stringProp>
  8929. </elementProp>
  8930. <elementProp name="validate_rating" elementType="HTTPArgument">
  8931. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8932. <stringProp name="Argument.value"/>
  8933. <stringProp name="Argument.metadata">=</stringProp>
  8934. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8935. <stringProp name="Argument.name">validate_rating</stringProp>
  8936. </elementProp>
  8937. <elementProp name="nickname" elementType="HTTPArgument">
  8938. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8939. <stringProp name="Argument.value">FirstName</stringProp>
  8940. <stringProp name="Argument.metadata">=</stringProp>
  8941. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8942. <stringProp name="Argument.name">nickname</stringProp>
  8943. </elementProp>
  8944. <elementProp name="title" elementType="HTTPArgument">
  8945. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8946. <stringProp name="Argument.value">Some Review Title</stringProp>
  8947. <stringProp name="Argument.metadata">=</stringProp>
  8948. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8949. <stringProp name="Argument.name">title</stringProp>
  8950. </elementProp>
  8951. <elementProp name="detail" elementType="HTTPArgument">
  8952. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8953. <stringProp name="Argument.value">Some Review Text</stringProp>
  8954. <stringProp name="Argument.metadata">=</stringProp>
  8955. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8956. <stringProp name="Argument.name">detail</stringProp>
  8957. </elementProp>
  8958. </collectionProp>
  8959. </elementProp>
  8960. <stringProp name="HTTPSampler.domain"/>
  8961. <stringProp name="HTTPSampler.port"/>
  8962. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  8963. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  8964. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  8965. <stringProp name="HTTPSampler.contentEncoding"/>
  8966. <stringProp name="HTTPSampler.path">${base_path}review/product/post/id/${product_id}</stringProp>
  8967. <stringProp name="HTTPSampler.method">POST</stringProp>
  8968. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  8969. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  8970. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  8971. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  8972. <boolProp name="HTTPSampler.monitor">false</boolProp>
  8973. <stringProp name="HTTPSampler.embedded_url_re"/>
  8974. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_review/product_review.jmx</stringProp></HTTPSamplerProxy>
  8975. <hashTree>
  8976. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  8977. <collectionProp name="Asserion.test_strings">
  8978. <stringProp name="-1606201635">HTTP/1.1 200 OK</stringProp>
  8979. </collectionProp>
  8980. <stringProp name="Assertion.test_field">Assertion.response_headers</stringProp>
  8981. <boolProp name="Assertion.assume_success">false</boolProp>
  8982. <intProp name="Assertion.test_type">16</intProp>
  8983. </ResponseAssertion>
  8984. <hashTree/>
  8985. </hashTree>
  8986. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Review Section" enabled="true">
  8987. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  8988. <collectionProp name="Arguments.arguments">
  8989. <elementProp name="sections" elementType="HTTPArgument">
  8990. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8991. <stringProp name="Argument.value">review,messages</stringProp>
  8992. <stringProp name="Argument.metadata">=</stringProp>
  8993. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  8994. <stringProp name="Argument.name">sections</stringProp>
  8995. </elementProp>
  8996. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  8997. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  8998. <stringProp name="Argument.value">false</stringProp>
  8999. <stringProp name="Argument.metadata">=</stringProp>
  9000. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9001. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  9002. </elementProp>
  9003. <elementProp name="_" elementType="HTTPArgument">
  9004. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9005. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  9006. <stringProp name="Argument.metadata">=</stringProp>
  9007. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9008. <stringProp name="Argument.name">_</stringProp>
  9009. </elementProp>
  9010. </collectionProp>
  9011. </elementProp>
  9012. <stringProp name="HTTPSampler.domain"/>
  9013. <stringProp name="HTTPSampler.port"/>
  9014. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9015. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9016. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9017. <stringProp name="HTTPSampler.contentEncoding"/>
  9018. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  9019. <stringProp name="HTTPSampler.method">GET</stringProp>
  9020. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9021. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9022. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9023. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9024. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9025. <stringProp name="HTTPSampler.embedded_url_re"/>
  9026. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_review/load_review.jmx</stringProp></HTTPSamplerProxy>
  9027. <hashTree/>
  9028. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Product Rating and Review - Pause" enabled="true">
  9029. <intProp name="ActionProcessor.action">1</intProp>
  9030. <intProp name="ActionProcessor.target">0</intProp>
  9031. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${reviewDelay}*1000))}</stringProp>
  9032. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_review/product_review_pause.jmx</stringProp></TestAction>
  9033. <hashTree/>
  9034. </hashTree>
  9035. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  9036. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9037. <collectionProp name="Arguments.arguments"/>
  9038. </elementProp>
  9039. <stringProp name="HTTPSampler.domain"/>
  9040. <stringProp name="HTTPSampler.port"/>
  9041. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9042. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9043. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9044. <stringProp name="HTTPSampler.contentEncoding"/>
  9045. <stringProp name="HTTPSampler.path">${base_path}customer/account/logout/</stringProp>
  9046. <stringProp name="HTTPSampler.method">GET</stringProp>
  9047. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9048. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9049. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9050. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9051. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9052. <stringProp name="HTTPSampler.embedded_url_re"/>
  9053. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/logout.jmx</stringProp></HTTPSamplerProxy>
  9054. <hashTree>
  9055. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  9056. <collectionProp name="Asserion.test_strings">
  9057. <stringProp name="1723813687">You are signed out.</stringProp>
  9058. </collectionProp>
  9059. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9060. <boolProp name="Assertion.assume_success">false</boolProp>
  9061. <intProp name="Assertion.test_type">2</intProp>
  9062. </ResponseAssertion>
  9063. <hashTree/>
  9064. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Customer to Pool" enabled="true">
  9065. <boolProp name="resetInterpreter">false</boolProp>
  9066. <stringProp name="parameters"/>
  9067. <stringProp name="filename"/>
  9068. <stringProp name="script">
  9069. customerUserList = props.get("customer_emails_list");
  9070. customerUserList.add(vars.get("customer_email"));
  9071. </stringProp>
  9072. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  9073. <hashTree/>
  9074. </hashTree>
  9075. </hashTree>
  9076. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Add To Cart By Customer" enabled="true">
  9077. <intProp name="ThroughputController.style">1</intProp>
  9078. <boolProp name="ThroughputController.perThread">false</boolProp>
  9079. <intProp name="ThroughputController.maxThroughput">1</intProp>
  9080. <stringProp name="ThroughputController.percentThroughput">${addToCartByCustomerPercentage}</stringProp>
  9081. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  9082. <hashTree>
  9083. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  9084. <stringProp name="script">
  9085. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  9086. if (testLabel
  9087. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  9088. ) {
  9089. if (sampler.getName().indexOf(testLabel) == -1) {
  9090. sampler.setName(sampler.getName() + testLabel);
  9091. }
  9092. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  9093. sampler.setName("SetUp - " + sampler.getName());
  9094. }
  9095. </stringProp>
  9096. <stringProp name="scriptLanguage">javascript</stringProp>
  9097. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  9098. <hashTree/>
  9099. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  9100. <stringProp name="BeanShellSampler.query">
  9101. vars.put("testLabel", "Add To Cart By Customer");
  9102. </stringProp>
  9103. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9104. </BeanShellSampler>
  9105. <hashTree/>
  9106. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  9107. <collectionProp name="CookieManager.cookies">
  9108. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  9109. <stringProp name="Cookie.value">30</stringProp>
  9110. <stringProp name="Cookie.domain">${host}</stringProp>
  9111. <stringProp name="Cookie.path">/</stringProp>
  9112. <boolProp name="Cookie.secure">false</boolProp>
  9113. <longProp name="Cookie.expires">0</longProp>
  9114. <boolProp name="Cookie.path_specified">true</boolProp>
  9115. <boolProp name="Cookie.domain_specified">true</boolProp>
  9116. </elementProp>
  9117. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  9118. <stringProp name="Cookie.value">${form_key}</stringProp>
  9119. <stringProp name="Cookie.domain">${host}</stringProp>
  9120. <stringProp name="Cookie.path">${base_path}</stringProp>
  9121. <boolProp name="Cookie.secure">false</boolProp>
  9122. <longProp name="Cookie.expires">0</longProp>
  9123. <boolProp name="Cookie.path_specified">true</boolProp>
  9124. <boolProp name="Cookie.domain_specified">true</boolProp>
  9125. </elementProp>
  9126. </collectionProp>
  9127. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  9128. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  9129. <hashTree/>
  9130. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  9131. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  9132. <stringProp name="BeanShellSampler.query">
  9133. import java.util.Random;
  9134. Random random = new Random();
  9135. if (${seedForRandom} &gt; 0) {
  9136. random.setSeed(${seedForRandom} + ${__threadNum});
  9137. }
  9138. vars.putObject("randomIntGenerator", random);
  9139. </stringProp>
  9140. <stringProp name="BeanShellSampler.filename"/>
  9141. <stringProp name="BeanShellSampler.parameters"/>
  9142. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9143. </BeanShellSampler>
  9144. <hashTree/>
  9145. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Total Products In Cart" enabled="true">
  9146. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_total_products_in_cart_setup.jmx</stringProp>
  9147. <stringProp name="BeanShellSampler.query">
  9148. vars.put("totalProductsAdded", "0");
  9149. </stringProp>
  9150. <stringProp name="BeanShellSampler.filename"/>
  9151. <stringProp name="BeanShellSampler.parameters"/>
  9152. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9153. </BeanShellSampler>
  9154. <hashTree/>
  9155. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Category Data" enabled="true">
  9156. <stringProp name="BeanShellSampler.query">
  9157. import java.util.Random;
  9158. Random random = vars.getObject("randomIntGenerator");
  9159. number = random.nextInt(props.get("category_url_keys_list").size());
  9160. vars.put("category_url_key", props.get("category_url_keys_list").get(number));
  9161. vars.put("category_name", props.get("category_names_list").get(number));
  9162. </stringProp>
  9163. <stringProp name="BeanShellSampler.filename"/>
  9164. <stringProp name="BeanShellSampler.parameters"/>
  9165. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  9166. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/extract_category_setup.jmx</stringProp></BeanShellSampler>
  9167. <hashTree/>
  9168. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Get Customer Email" enabled="true">
  9169. <stringProp name="CriticalSectionController.lockName">get-email</stringProp>
  9170. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  9171. <hashTree>
  9172. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Customer Email" enabled="true">
  9173. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_customer_email.jmx</stringProp>
  9174. <stringProp name="BeanShellSampler.query">
  9175. customerUserList = props.get("customer_emails_list");
  9176. customerUser = customerUserList.poll();
  9177. if (customerUser == null) {
  9178. SampleResult.setResponseMessage("customernUser list is empty");
  9179. SampleResult.setResponseData("customerUser list is empty","UTF-8");
  9180. IsSuccess=false;
  9181. SampleResult.setSuccessful(false);
  9182. SampleResult.setStopThread(true);
  9183. }
  9184. vars.put("customer_email", customerUser);
  9185. </stringProp>
  9186. <stringProp name="BeanShellSampler.filename"/>
  9187. <stringProp name="BeanShellSampler.parameters"/>
  9188. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9189. </BeanShellSampler>
  9190. <hashTree/>
  9191. </hashTree>
  9192. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page" enabled="true">
  9193. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9194. <collectionProp name="Arguments.arguments"/>
  9195. </elementProp>
  9196. <stringProp name="HTTPSampler.domain"/>
  9197. <stringProp name="HTTPSampler.port"/>
  9198. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9199. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9200. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9201. <stringProp name="HTTPSampler.contentEncoding"/>
  9202. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  9203. <stringProp name="HTTPSampler.method">GET</stringProp>
  9204. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9205. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9206. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9207. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9208. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9209. <stringProp name="HTTPSampler.embedded_url_re"/>
  9210. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_login_page.jmx</stringProp></HTTPSamplerProxy>
  9211. <hashTree>
  9212. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9213. <collectionProp name="Asserion.test_strings">
  9214. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  9215. </collectionProp>
  9216. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9217. <boolProp name="Assertion.assume_success">false</boolProp>
  9218. <intProp name="Assertion.test_type">2</intProp>
  9219. </ResponseAssertion>
  9220. <hashTree/>
  9221. </hashTree>
  9222. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login" enabled="true">
  9223. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9224. <collectionProp name="Arguments.arguments">
  9225. <elementProp name="form_key" elementType="HTTPArgument">
  9226. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9227. <stringProp name="Argument.value">${form_key}</stringProp>
  9228. <stringProp name="Argument.metadata">=</stringProp>
  9229. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9230. <stringProp name="Argument.name">form_key</stringProp>
  9231. </elementProp>
  9232. <elementProp name="login[username]" elementType="HTTPArgument">
  9233. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9234. <stringProp name="Argument.value">${customer_email}</stringProp>
  9235. <stringProp name="Argument.metadata">=</stringProp>
  9236. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9237. <stringProp name="Argument.name">login[username]</stringProp>
  9238. </elementProp>
  9239. <elementProp name="login[password]" elementType="HTTPArgument">
  9240. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9241. <stringProp name="Argument.value">${customer_password}</stringProp>
  9242. <stringProp name="Argument.metadata">=</stringProp>
  9243. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9244. <stringProp name="Argument.name">login[password]</stringProp>
  9245. </elementProp>
  9246. <elementProp name="send" elementType="HTTPArgument">
  9247. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9248. <stringProp name="Argument.value"/>
  9249. <stringProp name="Argument.metadata">=</stringProp>
  9250. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9251. <stringProp name="Argument.name">send</stringProp>
  9252. </elementProp>
  9253. </collectionProp>
  9254. </elementProp>
  9255. <stringProp name="HTTPSampler.domain"/>
  9256. <stringProp name="HTTPSampler.port"/>
  9257. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9258. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9259. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9260. <stringProp name="HTTPSampler.contentEncoding"/>
  9261. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  9262. <stringProp name="HTTPSampler.method">POST</stringProp>
  9263. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9264. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9265. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9266. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9267. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9268. <stringProp name="HTTPSampler.embedded_url_re"/>
  9269. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/login.jmx</stringProp></HTTPSamplerProxy>
  9270. <hashTree>
  9271. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9272. <collectionProp name="Asserion.test_strings">
  9273. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  9274. </collectionProp>
  9275. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9276. <boolProp name="Assertion.assume_success">false</boolProp>
  9277. <intProp name="Assertion.test_type">2</intProp>
  9278. </ResponseAssertion>
  9279. <hashTree/>
  9280. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  9281. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  9282. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  9283. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  9284. <stringProp name="RegexExtractor.template">$1$</stringProp>
  9285. <stringProp name="RegexExtractor.default"/>
  9286. <stringProp name="RegexExtractor.match_number">1</stringProp>
  9287. </RegexExtractor>
  9288. <hashTree/>
  9289. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  9290. <collectionProp name="Asserion.test_strings">
  9291. <stringProp name="2845929">^.+$</stringProp>
  9292. </collectionProp>
  9293. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9294. <boolProp name="Assertion.assume_success">false</boolProp>
  9295. <intProp name="Assertion.test_type">1</intProp>
  9296. <stringProp name="Assertion.scope">variable</stringProp>
  9297. <stringProp name="Scope.variable">addressId</stringProp>
  9298. </ResponseAssertion>
  9299. <hashTree/>
  9300. </hashTree>
  9301. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Customer Private Data" enabled="true">
  9302. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9303. <collectionProp name="Arguments.arguments">
  9304. <elementProp name="sections" elementType="HTTPArgument">
  9305. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9306. <stringProp name="Argument.value"/>
  9307. <stringProp name="Argument.metadata">=</stringProp>
  9308. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9309. <stringProp name="Argument.name">sections</stringProp>
  9310. </elementProp>
  9311. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  9312. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9313. <stringProp name="Argument.value">false</stringProp>
  9314. <stringProp name="Argument.metadata">=</stringProp>
  9315. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9316. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  9317. </elementProp>
  9318. <elementProp name="_" elementType="HTTPArgument">
  9319. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9320. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  9321. <stringProp name="Argument.metadata">=</stringProp>
  9322. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9323. <stringProp name="Argument.name">_</stringProp>
  9324. </elementProp>
  9325. </collectionProp>
  9326. </elementProp>
  9327. <stringProp name="HTTPSampler.domain"/>
  9328. <stringProp name="HTTPSampler.port"/>
  9329. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9330. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9331. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9332. <stringProp name="HTTPSampler.contentEncoding"/>
  9333. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  9334. <stringProp name="HTTPSampler.method">GET</stringProp>
  9335. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9336. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9337. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9338. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9339. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9340. <stringProp name="HTTPSampler.embedded_url_re"/>
  9341. </HTTPSamplerProxy>
  9342. <hashTree/>
  9343. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  9344. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9345. <collectionProp name="Arguments.arguments"/>
  9346. </elementProp>
  9347. <stringProp name="HTTPSampler.domain"/>
  9348. <stringProp name="HTTPSampler.port"/>
  9349. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9350. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9351. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9352. <stringProp name="HTTPSampler.contentEncoding"/>
  9353. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  9354. <stringProp name="HTTPSampler.method">GET</stringProp>
  9355. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9356. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9357. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9358. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9359. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9360. <stringProp name="HTTPSampler.embedded_url_re"/>
  9361. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  9362. <hashTree>
  9363. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9364. <collectionProp name="Asserion.test_strings">
  9365. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  9366. </collectionProp>
  9367. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9368. <boolProp name="Assertion.assume_success">false</boolProp>
  9369. <intProp name="Assertion.test_type">2</intProp>
  9370. </ResponseAssertion>
  9371. <hashTree/>
  9372. </hashTree>
  9373. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Category" enabled="true">
  9374. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9375. <collectionProp name="Arguments.arguments"/>
  9376. </elementProp>
  9377. <stringProp name="HTTPSampler.domain"/>
  9378. <stringProp name="HTTPSampler.port"/>
  9379. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9380. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9381. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9382. <stringProp name="HTTPSampler.contentEncoding"/>
  9383. <stringProp name="HTTPSampler.path">${base_path}${category_url_key}${url_suffix}</stringProp>
  9384. <stringProp name="HTTPSampler.method">GET</stringProp>
  9385. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9386. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9387. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9388. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9389. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9390. <stringProp name="HTTPSampler.embedded_url_re"/>
  9391. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_category.jmx</stringProp></HTTPSamplerProxy>
  9392. <hashTree>
  9393. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9394. <collectionProp name="Asserion.test_strings">
  9395. <stringProp name="1210004667">&lt;span class="base" data-ui-id="page-title"&gt;${category_name}&lt;/span&gt;</stringProp>
  9396. </collectionProp>
  9397. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9398. <boolProp name="Assertion.assume_success">false</boolProp>
  9399. <intProp name="Assertion.test_type">6</intProp>
  9400. </ResponseAssertion>
  9401. <hashTree/>
  9402. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: Extract category id" enabled="true">
  9403. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  9404. <stringProp name="RegexExtractor.refname">category_id</stringProp>
  9405. <stringProp name="RegexExtractor.regex">&lt;li class="item category([^'"]+)"&gt;\s*&lt;strong&gt;${category_name}&lt;/strong&gt;\s*&lt;/li&gt;</stringProp>
  9406. <stringProp name="RegexExtractor.template">$1$</stringProp>
  9407. <stringProp name="RegexExtractor.default"/>
  9408. <stringProp name="RegexExtractor.match_number">1</stringProp>
  9409. <stringProp name="Scope.variable">simple_product_1_url_key</stringProp>
  9410. </RegexExtractor>
  9411. <hashTree/>
  9412. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert category id" enabled="true">
  9413. <collectionProp name="Asserion.test_strings">
  9414. <stringProp name="1191417111">^[0-9]+$</stringProp>
  9415. </collectionProp>
  9416. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9417. <boolProp name="Assertion.assume_success">false</boolProp>
  9418. <intProp name="Assertion.test_type">1</intProp>
  9419. <stringProp name="Assertion.scope">variable</stringProp>
  9420. <stringProp name="Scope.variable">category_id</stringProp>
  9421. </ResponseAssertion>
  9422. <hashTree/>
  9423. </hashTree>
  9424. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Simple Products to Cart" enabled="true">
  9425. <boolProp name="LoopController.continue_forever">true</boolProp>
  9426. <stringProp name="LoopController.loops">2</stringProp>
  9427. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  9428. <hashTree>
  9429. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  9430. <stringProp name="CounterConfig.start">1</stringProp>
  9431. <stringProp name="CounterConfig.end"/>
  9432. <stringProp name="CounterConfig.incr">1</stringProp>
  9433. <stringProp name="CounterConfig.name">_counter</stringProp>
  9434. <stringProp name="CounterConfig.format"/>
  9435. <boolProp name="CounterConfig.per_user">true</boolProp>
  9436. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  9437. </CounterConfig>
  9438. <hashTree/>
  9439. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  9440. <stringProp name="BeanShellSampler.query">
  9441. import java.util.Random;
  9442. Random random = vars.getObject("randomIntGenerator");
  9443. number = random.nextInt(props.get("simple_products_list").size());
  9444. product = props.get("simple_products_list").get(number);
  9445. vars.put("product_url_key", product.get("url_key"));
  9446. vars.put("product_id", product.get("id"));
  9447. vars.put("product_name", product.get("title"));
  9448. vars.put("product_uenc", product.get("uenc"));
  9449. vars.put("product_sku", product.get("sku"));
  9450. </stringProp>
  9451. <stringProp name="BeanShellSampler.filename"/>
  9452. <stringProp name="BeanShellSampler.parameters"/>
  9453. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9454. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  9455. <hashTree/>
  9456. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  9457. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  9458. <stringProp name="BeanShellSampler.query">
  9459. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  9460. productsAdded = productsAdded + 1;
  9461. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  9462. </stringProp>
  9463. <stringProp name="BeanShellSampler.filename"/>
  9464. <stringProp name="BeanShellSampler.parameters"/>
  9465. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9466. </BeanShellSampler>
  9467. <hashTree/>
  9468. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} View" enabled="true">
  9469. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9470. <collectionProp name="Arguments.arguments"/>
  9471. </elementProp>
  9472. <stringProp name="HTTPSampler.domain"/>
  9473. <stringProp name="HTTPSampler.port"/>
  9474. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9475. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9476. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9477. <stringProp name="HTTPSampler.contentEncoding"/>
  9478. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  9479. <stringProp name="HTTPSampler.method">GET</stringProp>
  9480. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9481. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9482. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9483. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9484. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9485. <stringProp name="HTTPSampler.embedded_url_re"/>
  9486. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  9487. <hashTree>
  9488. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9489. <collectionProp name="Asserion.test_strings">
  9490. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  9491. </collectionProp>
  9492. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9493. <boolProp name="Assertion.assume_success">false</boolProp>
  9494. <intProp name="Assertion.test_type">2</intProp>
  9495. </ResponseAssertion>
  9496. <hashTree/>
  9497. </hashTree>
  9498. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Simple Product ${_counter} Add To Cart" enabled="true">
  9499. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9500. <collectionProp name="Arguments.arguments">
  9501. <elementProp name="product" elementType="HTTPArgument">
  9502. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9503. <stringProp name="Argument.value">${product_id}</stringProp>
  9504. <stringProp name="Argument.metadata">=</stringProp>
  9505. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9506. <stringProp name="Argument.name">product</stringProp>
  9507. </elementProp>
  9508. <elementProp name="related_product" elementType="HTTPArgument">
  9509. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9510. <stringProp name="Argument.value"/>
  9511. <stringProp name="Argument.metadata">=</stringProp>
  9512. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9513. <stringProp name="Argument.name">related_product</stringProp>
  9514. </elementProp>
  9515. <elementProp name="qty" elementType="HTTPArgument">
  9516. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9517. <stringProp name="Argument.value">1</stringProp>
  9518. <stringProp name="Argument.metadata">=</stringProp>
  9519. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9520. <stringProp name="Argument.name">qty</stringProp>
  9521. </elementProp>
  9522. <elementProp name="form_key" elementType="HTTPArgument">
  9523. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9524. <stringProp name="Argument.value">${form_key}</stringProp>
  9525. <stringProp name="Argument.metadata">=</stringProp>
  9526. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9527. <stringProp name="Argument.name">form_key</stringProp>
  9528. </elementProp>
  9529. </collectionProp>
  9530. </elementProp>
  9531. <stringProp name="HTTPSampler.domain"/>
  9532. <stringProp name="HTTPSampler.port"/>
  9533. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9534. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9535. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9536. <stringProp name="HTTPSampler.contentEncoding"/>
  9537. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  9538. <stringProp name="HTTPSampler.method">POST</stringProp>
  9539. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9540. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9541. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9542. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9543. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9544. <stringProp name="HTTPSampler.embedded_url_re"/>
  9545. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  9546. <hashTree>
  9547. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  9548. <collectionProp name="HeaderManager.headers">
  9549. <elementProp name="" elementType="Header">
  9550. <stringProp name="Header.name">X-Requested-With</stringProp>
  9551. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  9552. </elementProp>
  9553. </collectionProp>
  9554. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  9555. <hashTree/>
  9556. </hashTree>
  9557. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  9558. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9559. <collectionProp name="Arguments.arguments">
  9560. <elementProp name="sections" elementType="HTTPArgument">
  9561. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9562. <stringProp name="Argument.value">cart,messages</stringProp>
  9563. <stringProp name="Argument.metadata">=</stringProp>
  9564. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9565. <stringProp name="Argument.name">sections</stringProp>
  9566. </elementProp>
  9567. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  9568. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9569. <stringProp name="Argument.value">true</stringProp>
  9570. <stringProp name="Argument.metadata">=</stringProp>
  9571. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9572. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  9573. </elementProp>
  9574. <elementProp name="_" elementType="HTTPArgument">
  9575. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9576. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  9577. <stringProp name="Argument.metadata">=</stringProp>
  9578. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9579. <stringProp name="Argument.name">_</stringProp>
  9580. </elementProp>
  9581. </collectionProp>
  9582. </elementProp>
  9583. <stringProp name="HTTPSampler.domain"/>
  9584. <stringProp name="HTTPSampler.port"/>
  9585. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9586. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9587. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9588. <stringProp name="HTTPSampler.contentEncoding"/>
  9589. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  9590. <stringProp name="HTTPSampler.method">GET</stringProp>
  9591. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9592. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9593. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9594. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9595. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9596. <stringProp name="HTTPSampler.embedded_url_re"/>
  9597. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  9598. <hashTree>
  9599. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9600. <collectionProp name="Asserion.test_strings">
  9601. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  9602. </collectionProp>
  9603. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9604. <boolProp name="Assertion.assume_success">false</boolProp>
  9605. <intProp name="Assertion.test_type">2</intProp>
  9606. </ResponseAssertion>
  9607. <hashTree/>
  9608. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9609. <collectionProp name="Asserion.test_strings">
  9610. <stringProp name="2057973164">This product is out of stock.</stringProp>
  9611. </collectionProp>
  9612. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9613. <boolProp name="Assertion.assume_success">false</boolProp>
  9614. <intProp name="Assertion.test_type">6</intProp>
  9615. </ResponseAssertion>
  9616. <hashTree/>
  9617. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9618. <collectionProp name="Asserion.test_strings">
  9619. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  9620. </collectionProp>
  9621. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9622. <boolProp name="Assertion.assume_success">false</boolProp>
  9623. <intProp name="Assertion.test_type">2</intProp>
  9624. </ResponseAssertion>
  9625. <hashTree/>
  9626. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  9627. <collectionProp name="HeaderManager.headers">
  9628. <elementProp name="" elementType="Header">
  9629. <stringProp name="Header.name">X-Requested-With</stringProp>
  9630. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  9631. </elementProp>
  9632. </collectionProp>
  9633. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  9634. <hashTree/>
  9635. </hashTree>
  9636. </hashTree>
  9637. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Add Configurable Products to Cart" enabled="true">
  9638. <boolProp name="LoopController.continue_forever">true</boolProp>
  9639. <stringProp name="LoopController.loops">1</stringProp>
  9640. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  9641. <hashTree>
  9642. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  9643. <stringProp name="CounterConfig.start">1</stringProp>
  9644. <stringProp name="CounterConfig.end"/>
  9645. <stringProp name="CounterConfig.incr">1</stringProp>
  9646. <stringProp name="CounterConfig.name">_counter</stringProp>
  9647. <stringProp name="CounterConfig.format"/>
  9648. <boolProp name="CounterConfig.per_user">true</boolProp>
  9649. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  9650. </CounterConfig>
  9651. <hashTree/>
  9652. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Configurable Product Data" enabled="true">
  9653. <stringProp name="BeanShellSampler.query">
  9654. import java.util.Random;
  9655. Random random = vars.getObject("randomIntGenerator");
  9656. number = random.nextInt(props.get("configurable_products_list").size());
  9657. product = props.get("configurable_products_list").get(number);
  9658. vars.put("product_url_key", product.get("url_key"));
  9659. vars.put("product_id", product.get("id"));
  9660. vars.put("product_name", product.get("title"));
  9661. vars.put("product_uenc", product.get("uenc"));
  9662. vars.put("product_sku", product.get("sku"));
  9663. </stringProp>
  9664. <stringProp name="BeanShellSampler.filename"/>
  9665. <stringProp name="BeanShellSampler.parameters"/>
  9666. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9667. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
  9668. <hashTree/>
  9669. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Update Products Added Counter" enabled="true">
  9670. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loops/update_products_added_counter.jmx</stringProp>
  9671. <stringProp name="BeanShellSampler.query">
  9672. productsAdded = Integer.parseInt(vars.get("totalProductsAdded"));
  9673. productsAdded = productsAdded + 1;
  9674. vars.put("totalProductsAdded", String.valueOf(productsAdded));
  9675. </stringProp>
  9676. <stringProp name="BeanShellSampler.filename"/>
  9677. <stringProp name="BeanShellSampler.parameters"/>
  9678. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  9679. </BeanShellSampler>
  9680. <hashTree/>
  9681. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} View" enabled="true">
  9682. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9683. <collectionProp name="Arguments.arguments"/>
  9684. </elementProp>
  9685. <stringProp name="HTTPSampler.domain"/>
  9686. <stringProp name="HTTPSampler.port"/>
  9687. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9688. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9689. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9690. <stringProp name="HTTPSampler.contentEncoding"/>
  9691. <stringProp name="HTTPSampler.path">${base_path}${product_url_key}${url_suffix}</stringProp>
  9692. <stringProp name="HTTPSampler.method">GET</stringProp>
  9693. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9694. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9695. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9696. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9697. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9698. <stringProp name="HTTPSampler.embedded_url_re"/>
  9699. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/product_view.jmx</stringProp></HTTPSamplerProxy>
  9700. <hashTree>
  9701. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9702. <collectionProp name="Asserion.test_strings">
  9703. <stringProp name="-1787050162">&lt;span&gt;In stock&lt;/span&gt;</stringProp>
  9704. </collectionProp>
  9705. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9706. <boolProp name="Assertion.assume_success">false</boolProp>
  9707. <intProp name="Assertion.test_type">2</intProp>
  9708. </ResponseAssertion>
  9709. <hashTree/>
  9710. </hashTree>
  9711. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="SetUp - Get Configurable Product Options" enabled="true">
  9712. <boolProp name="LoopController.continue_forever">true</boolProp>
  9713. <stringProp name="LoopController.loops">1</stringProp>
  9714. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_configurable_product_options.jmx</stringProp></LoopController>
  9715. <hashTree>
  9716. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  9717. <collectionProp name="HeaderManager.headers">
  9718. <elementProp name="" elementType="Header">
  9719. <stringProp name="Header.name">Content-Type</stringProp>
  9720. <stringProp name="Header.value">application/json</stringProp>
  9721. </elementProp>
  9722. <elementProp name="" elementType="Header">
  9723. <stringProp name="Header.name">Accept</stringProp>
  9724. <stringProp name="Header.value">*/*</stringProp>
  9725. </elementProp>
  9726. </collectionProp>
  9727. </HeaderManager>
  9728. <hashTree/>
  9729. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  9730. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  9731. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  9732. <collectionProp name="Arguments.arguments">
  9733. <elementProp name="" elementType="HTTPArgument">
  9734. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  9735. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  9736. <stringProp name="Argument.metadata">=</stringProp>
  9737. </elementProp>
  9738. </collectionProp>
  9739. </elementProp>
  9740. <stringProp name="HTTPSampler.domain"/>
  9741. <stringProp name="HTTPSampler.port"/>
  9742. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9743. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9744. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9745. <stringProp name="HTTPSampler.contentEncoding"/>
  9746. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  9747. <stringProp name="HTTPSampler.method">POST</stringProp>
  9748. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9749. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9750. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9751. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9752. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9753. <stringProp name="HTTPSampler.embedded_url_re"/>
  9754. </HTTPSamplerProxy>
  9755. <hashTree>
  9756. <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">
  9757. <stringProp name="VAR">admin_token</stringProp>
  9758. <stringProp name="JSONPATH">$</stringProp>
  9759. <stringProp name="DEFAULT"/>
  9760. <stringProp name="VARIABLE"/>
  9761. <stringProp name="SUBJECT">BODY</stringProp>
  9762. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  9763. <hashTree/>
  9764. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  9765. <collectionProp name="Asserion.test_strings">
  9766. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  9767. </collectionProp>
  9768. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9769. <boolProp name="Assertion.assume_success">false</boolProp>
  9770. <intProp name="Assertion.test_type">1</intProp>
  9771. <stringProp name="Assertion.scope">variable</stringProp>
  9772. <stringProp name="Scope.variable">admin_token</stringProp>
  9773. </ResponseAssertion>
  9774. <hashTree/>
  9775. </hashTree>
  9776. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  9777. <collectionProp name="HeaderManager.headers">
  9778. <elementProp name="" elementType="Header">
  9779. <stringProp name="Header.name">Authorization</stringProp>
  9780. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  9781. </elementProp>
  9782. </collectionProp>
  9783. </HeaderManager>
  9784. <hashTree/>
  9785. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Configurable Product Options" enabled="true">
  9786. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9787. <collectionProp name="Arguments.arguments"/>
  9788. </elementProp>
  9789. <stringProp name="HTTPSampler.domain"/>
  9790. <stringProp name="HTTPSampler.port"/>
  9791. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9792. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9793. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9794. <stringProp name="HTTPSampler.contentEncoding"/>
  9795. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${product_sku}/options/all</stringProp>
  9796. <stringProp name="HTTPSampler.method">GET</stringProp>
  9797. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9798. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9799. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9800. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9801. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9802. <stringProp name="HTTPSampler.embedded_url_re"/>
  9803. </HTTPSamplerProxy>
  9804. <hashTree>
  9805. <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">
  9806. <stringProp name="VAR">attribute_ids</stringProp>
  9807. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  9808. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  9809. <stringProp name="VARIABLE"/>
  9810. <stringProp name="SUBJECT">BODY</stringProp>
  9811. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  9812. <hashTree/>
  9813. <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">
  9814. <stringProp name="VAR">option_values</stringProp>
  9815. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  9816. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  9817. <stringProp name="VARIABLE"/>
  9818. <stringProp name="SUBJECT">BODY</stringProp>
  9819. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  9820. <hashTree/>
  9821. </hashTree>
  9822. </hashTree>
  9823. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Configurable Product ${_counter} Add To Cart" enabled="true">
  9824. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9825. <collectionProp name="Arguments.arguments">
  9826. <elementProp name="product" elementType="HTTPArgument">
  9827. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9828. <stringProp name="Argument.value">${product_id}</stringProp>
  9829. <stringProp name="Argument.metadata">=</stringProp>
  9830. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9831. <stringProp name="Argument.name">product</stringProp>
  9832. </elementProp>
  9833. <elementProp name="related_product" elementType="HTTPArgument">
  9834. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9835. <stringProp name="Argument.value"/>
  9836. <stringProp name="Argument.metadata">=</stringProp>
  9837. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9838. <stringProp name="Argument.name">related_product</stringProp>
  9839. </elementProp>
  9840. <elementProp name="qty" elementType="HTTPArgument">
  9841. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9842. <stringProp name="Argument.value">1</stringProp>
  9843. <stringProp name="Argument.metadata">=</stringProp>
  9844. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9845. <stringProp name="Argument.name">qty</stringProp>
  9846. </elementProp>
  9847. <elementProp name="form_key" elementType="HTTPArgument">
  9848. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9849. <stringProp name="Argument.value">${form_key}</stringProp>
  9850. <stringProp name="Argument.metadata">=</stringProp>
  9851. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9852. <stringProp name="Argument.name">form_key</stringProp>
  9853. </elementProp>
  9854. </collectionProp>
  9855. </elementProp>
  9856. <stringProp name="HTTPSampler.domain"/>
  9857. <stringProp name="HTTPSampler.port"/>
  9858. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9859. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9860. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9861. <stringProp name="HTTPSampler.contentEncoding"/>
  9862. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/add/</stringProp>
  9863. <stringProp name="HTTPSampler.method">POST</stringProp>
  9864. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9865. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9866. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9867. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9868. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9869. <stringProp name="HTTPSampler.embedded_url_re"/>
  9870. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_product_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
  9871. <hashTree>
  9872. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  9873. <boolProp name="resetInterpreter">false</boolProp>
  9874. <stringProp name="parameters"/>
  9875. <stringProp name="filename"/>
  9876. <stringProp name="script">
  9877. try {
  9878. attribute_ids = vars.get("attribute_ids");
  9879. option_values = vars.get("option_values");
  9880. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  9881. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  9882. attribute_ids_array = attribute_ids.split(",");
  9883. option_values_array = option_values.split(",");
  9884. args = ctx.getCurrentSampler().getArguments();
  9885. it = args.iterator();
  9886. while (it.hasNext()) {
  9887. argument = it.next();
  9888. if (argument.getStringValue().contains("${")) {
  9889. args.removeArgument(argument.getName());
  9890. }
  9891. }
  9892. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  9893. ctx.getCurrentSampler().addArgument("super_attribute[" + attribute_ids_array[i] + "]", option_values_array[i]);
  9894. }
  9895. } catch (Exception e) {
  9896. log.error("eror&#x2026;", e);
  9897. }
  9898. </stringProp>
  9899. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/configurable_product_add_to_cart_preprocessor.jmx</stringProp></BeanShellPreProcessor>
  9900. <hashTree/>
  9901. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  9902. <collectionProp name="HeaderManager.headers">
  9903. <elementProp name="" elementType="Header">
  9904. <stringProp name="Header.name">X-Requested-With</stringProp>
  9905. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  9906. </elementProp>
  9907. </collectionProp>
  9908. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  9909. <hashTree/>
  9910. </hashTree>
  9911. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Cart Section ${_counter}" enabled="true">
  9912. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9913. <collectionProp name="Arguments.arguments">
  9914. <elementProp name="sections" elementType="HTTPArgument">
  9915. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9916. <stringProp name="Argument.value">cart,messages</stringProp>
  9917. <stringProp name="Argument.metadata">=</stringProp>
  9918. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9919. <stringProp name="Argument.name">sections</stringProp>
  9920. </elementProp>
  9921. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  9922. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9923. <stringProp name="Argument.value">true</stringProp>
  9924. <stringProp name="Argument.metadata">=</stringProp>
  9925. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9926. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  9927. </elementProp>
  9928. <elementProp name="_" elementType="HTTPArgument">
  9929. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  9930. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  9931. <stringProp name="Argument.metadata">=</stringProp>
  9932. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  9933. <stringProp name="Argument.name">_</stringProp>
  9934. </elementProp>
  9935. </collectionProp>
  9936. </elementProp>
  9937. <stringProp name="HTTPSampler.domain"/>
  9938. <stringProp name="HTTPSampler.port"/>
  9939. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  9940. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  9941. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  9942. <stringProp name="HTTPSampler.contentEncoding"/>
  9943. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  9944. <stringProp name="HTTPSampler.method">GET</stringProp>
  9945. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  9946. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  9947. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  9948. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  9949. <boolProp name="HTTPSampler.monitor">false</boolProp>
  9950. <stringProp name="HTTPSampler.embedded_url_re"/>
  9951. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/load_cart_section.jmx</stringProp></HTTPSamplerProxy>
  9952. <hashTree>
  9953. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9954. <collectionProp name="Asserion.test_strings">
  9955. <stringProp name="210217247">You added ${product_name} to your <a href="${base_path}checkout/cart/">shopping cart</a>.</stringProp>
  9956. </collectionProp>
  9957. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9958. <boolProp name="Assertion.assume_success">false</boolProp>
  9959. <intProp name="Assertion.test_type">2</intProp>
  9960. </ResponseAssertion>
  9961. <hashTree/>
  9962. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9963. <collectionProp name="Asserion.test_strings">
  9964. <stringProp name="2057973164">This product is out of stock.</stringProp>
  9965. </collectionProp>
  9966. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9967. <boolProp name="Assertion.assume_success">false</boolProp>
  9968. <intProp name="Assertion.test_type">6</intProp>
  9969. </ResponseAssertion>
  9970. <hashTree/>
  9971. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  9972. <collectionProp name="Asserion.test_strings">
  9973. <stringProp name="-350323027">\"summary_count\":${totalProductsAdded}</stringProp>
  9974. </collectionProp>
  9975. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  9976. <boolProp name="Assertion.assume_success">false</boolProp>
  9977. <intProp name="Assertion.test_type">2</intProp>
  9978. </ResponseAssertion>
  9979. <hashTree/>
  9980. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  9981. <collectionProp name="HeaderManager.headers">
  9982. <elementProp name="" elementType="Header">
  9983. <stringProp name="Header.name">X-Requested-With</stringProp>
  9984. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  9985. </elementProp>
  9986. </collectionProp>
  9987. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/http_header_manager_ajax.jmx</stringProp></HeaderManager>
  9988. <hashTree/>
  9989. </hashTree>
  9990. </hashTree>
  9991. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Make Cart Empty" enabled="true">
  9992. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  9993. </GenericController>
  9994. <hashTree>
  9995. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Cart" enabled="true">
  9996. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  9997. <collectionProp name="Arguments.arguments"/>
  9998. </elementProp>
  9999. <stringProp name="HTTPSampler.domain"/>
  10000. <stringProp name="HTTPSampler.port"/>
  10001. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10002. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10003. <stringProp name="HTTPSampler.protocol"/>
  10004. <stringProp name="HTTPSampler.contentEncoding"/>
  10005. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/</stringProp>
  10006. <stringProp name="HTTPSampler.method">GET</stringProp>
  10007. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10008. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10009. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10010. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10011. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10012. <stringProp name="HTTPSampler.embedded_url_re"/>
  10013. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/open_cart.jmx</stringProp></HTTPSamplerProxy>
  10014. <hashTree>
  10015. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Cart Opened" enabled="true">
  10016. <collectionProp name="Asserion.test_strings">
  10017. <stringProp name="-179817969">&lt;title&gt;Shopping Cart&lt;/title&gt;</stringProp>
  10018. </collectionProp>
  10019. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10020. <boolProp name="Assertion.assume_success">false</boolProp>
  10021. <intProp name="Assertion.test_type">2</intProp>
  10022. </ResponseAssertion>
  10023. <hashTree/>
  10024. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract cart qty inputs" enabled="true">
  10025. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10026. <stringProp name="RegexExtractor.refname">cart_items_qty_inputs</stringProp>
  10027. <stringProp name="RegexExtractor.regex">name="cart\[([^\[\]]+)\]\[qty\]"</stringProp>
  10028. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10029. <stringProp name="RegexExtractor.default"/>
  10030. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  10031. </RegexExtractor>
  10032. <hashTree/>
  10033. </hashTree>
  10034. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Remove Items From Cart" enabled="true">
  10035. <boolProp name="LoopController.continue_forever">true</boolProp>
  10036. <stringProp name="LoopController.loops">${cart_items_qty_inputs_matchNr}</stringProp>
  10037. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/loop_controller.jmx</stringProp></LoopController>
  10038. <hashTree>
  10039. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  10040. <stringProp name="CounterConfig.start">1</stringProp>
  10041. <stringProp name="CounterConfig.end"/>
  10042. <stringProp name="CounterConfig.incr">1</stringProp>
  10043. <stringProp name="CounterConfig.name">_counter</stringProp>
  10044. <stringProp name="CounterConfig.format"/>
  10045. <boolProp name="CounterConfig.per_user">true</boolProp>
  10046. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  10047. </CounterConfig>
  10048. <hashTree/>
  10049. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Product Data for Removing from Cart" enabled="true">
  10050. <stringProp name="BeanShellSampler.query">
  10051. id = vars.get("_counter");
  10052. vars.put("uenc", vars.get("cart_items_uencs_" + id));
  10053. vars.put("item_id", vars.get("cart_items_qty_inputs_" + id));
  10054. </stringProp>
  10055. <stringProp name="BeanShellSampler.filename"/>
  10056. <stringProp name="BeanShellSampler.parameters"/>
  10057. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  10058. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/remove_item_from_cart_setup.jmx</stringProp></BeanShellSampler>
  10059. <hashTree/>
  10060. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Remove item" enabled="true">
  10061. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10062. <collectionProp name="Arguments.arguments">
  10063. <elementProp name="form_key" elementType="HTTPArgument">
  10064. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10065. <stringProp name="Argument.value">${form_key}</stringProp>
  10066. <stringProp name="Argument.metadata">=</stringProp>
  10067. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10068. <stringProp name="Argument.name">form_key</stringProp>
  10069. </elementProp>
  10070. <elementProp name="uenc" elementType="HTTPArgument">
  10071. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10072. <stringProp name="Argument.value">${uenc}</stringProp>
  10073. <stringProp name="Argument.metadata">=</stringProp>
  10074. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10075. <stringProp name="Argument.name">uenc</stringProp>
  10076. </elementProp>
  10077. <elementProp name="id" elementType="HTTPArgument">
  10078. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  10079. <stringProp name="Argument.value">${item_id}</stringProp>
  10080. <stringProp name="Argument.metadata">=</stringProp>
  10081. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10082. <stringProp name="Argument.name">id</stringProp>
  10083. </elementProp>
  10084. </collectionProp>
  10085. </elementProp>
  10086. <stringProp name="HTTPSampler.domain"/>
  10087. <stringProp name="HTTPSampler.port"/>
  10088. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10089. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10090. <stringProp name="HTTPSampler.protocol"/>
  10091. <stringProp name="HTTPSampler.contentEncoding"/>
  10092. <stringProp name="HTTPSampler.path">${base_path}checkout/cart/delete/</stringProp>
  10093. <stringProp name="HTTPSampler.method">POST</stringProp>
  10094. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10095. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10096. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10097. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10098. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10099. <stringProp name="HTTPSampler.embedded_url_re"/>
  10100. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/remove_item_from_cart.jmx</stringProp></HTTPSamplerProxy>
  10101. </hashTree>
  10102. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Cart is Empty" enabled="true">
  10103. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10104. <collectionProp name="Arguments.arguments">
  10105. <elementProp name="sections" elementType="HTTPArgument">
  10106. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10107. <stringProp name="Argument.value">cart</stringProp>
  10108. <stringProp name="Argument.metadata">=</stringProp>
  10109. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10110. <stringProp name="Argument.name">sections</stringProp>
  10111. </elementProp>
  10112. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  10113. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10114. <stringProp name="Argument.value">true</stringProp>
  10115. <stringProp name="Argument.metadata">=</stringProp>
  10116. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10117. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  10118. </elementProp>
  10119. <elementProp name="_" elementType="HTTPArgument">
  10120. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10121. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  10122. <stringProp name="Argument.metadata">=</stringProp>
  10123. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10124. <stringProp name="Argument.name">_</stringProp>
  10125. </elementProp>
  10126. </collectionProp>
  10127. </elementProp>
  10128. <stringProp name="HTTPSampler.domain"/>
  10129. <stringProp name="HTTPSampler.port"/>
  10130. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10131. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10132. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10133. <stringProp name="HTTPSampler.contentEncoding"/>
  10134. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  10135. <stringProp name="HTTPSampler.method">GET</stringProp>
  10136. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10137. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10138. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10139. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10140. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10141. <stringProp name="HTTPSampler.embedded_url_re"/>
  10142. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/check_cart_is_empty.jmx</stringProp></HTTPSamplerProxy>
  10143. <hashTree>
  10144. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10145. <collectionProp name="Asserion.test_strings">
  10146. <stringProp name="-350323027">\"summary_count\":0</stringProp>
  10147. </collectionProp>
  10148. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10149. <boolProp name="Assertion.assume_success">false</boolProp>
  10150. <intProp name="Assertion.test_type">2</intProp>
  10151. </ResponseAssertion>
  10152. <hashTree/>
  10153. </hashTree>
  10154. </hashTree>
  10155. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  10156. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10157. <collectionProp name="Arguments.arguments"/>
  10158. </elementProp>
  10159. <stringProp name="HTTPSampler.domain"/>
  10160. <stringProp name="HTTPSampler.port"/>
  10161. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10162. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10163. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10164. <stringProp name="HTTPSampler.contentEncoding"/>
  10165. <stringProp name="HTTPSampler.path">${base_path}customer/account/logout/</stringProp>
  10166. <stringProp name="HTTPSampler.method">GET</stringProp>
  10167. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10168. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10169. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10170. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10171. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10172. <stringProp name="HTTPSampler.embedded_url_re"/>
  10173. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/logout.jmx</stringProp></HTTPSamplerProxy>
  10174. <hashTree>
  10175. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  10176. <collectionProp name="Asserion.test_strings">
  10177. <stringProp name="1723813687">You are signed out.</stringProp>
  10178. </collectionProp>
  10179. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10180. <boolProp name="Assertion.assume_success">false</boolProp>
  10181. <intProp name="Assertion.test_type">2</intProp>
  10182. </ResponseAssertion>
  10183. <hashTree/>
  10184. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Customer to Pool" enabled="true">
  10185. <boolProp name="resetInterpreter">false</boolProp>
  10186. <stringProp name="parameters"/>
  10187. <stringProp name="filename"/>
  10188. <stringProp name="script">
  10189. customerUserList = props.get("customer_emails_list");
  10190. customerUserList.add(vars.get("customer_email"));
  10191. </stringProp>
  10192. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  10193. <hashTree/>
  10194. </hashTree>
  10195. </hashTree>
  10196. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Account management" enabled="true">
  10197. <intProp name="ThroughputController.style">1</intProp>
  10198. <boolProp name="ThroughputController.perThread">false</boolProp>
  10199. <intProp name="ThroughputController.maxThroughput">1</intProp>
  10200. <stringProp name="ThroughputController.percentThroughput">${accountManagementPercentage}</stringProp>
  10201. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  10202. <hashTree>
  10203. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  10204. <stringProp name="script">
  10205. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  10206. if (testLabel
  10207. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  10208. ) {
  10209. if (sampler.getName().indexOf(testLabel) == -1) {
  10210. sampler.setName(sampler.getName() + testLabel);
  10211. }
  10212. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  10213. sampler.setName("SetUp - " + sampler.getName());
  10214. }
  10215. </stringProp>
  10216. <stringProp name="scriptLanguage">javascript</stringProp>
  10217. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  10218. <hashTree/>
  10219. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  10220. <stringProp name="BeanShellSampler.query">
  10221. vars.put("testLabel", "Account management");
  10222. </stringProp>
  10223. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  10224. </BeanShellSampler>
  10225. <hashTree/>
  10226. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  10227. <collectionProp name="CookieManager.cookies">
  10228. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  10229. <stringProp name="Cookie.value">30</stringProp>
  10230. <stringProp name="Cookie.domain">${host}</stringProp>
  10231. <stringProp name="Cookie.path">/</stringProp>
  10232. <boolProp name="Cookie.secure">false</boolProp>
  10233. <longProp name="Cookie.expires">0</longProp>
  10234. <boolProp name="Cookie.path_specified">true</boolProp>
  10235. <boolProp name="Cookie.domain_specified">true</boolProp>
  10236. </elementProp>
  10237. <elementProp name="product_list_limit" elementType="Cookie" testname="form_key">
  10238. <stringProp name="Cookie.value">${form_key}</stringProp>
  10239. <stringProp name="Cookie.domain">${host}</stringProp>
  10240. <stringProp name="Cookie.path">${base_path}</stringProp>
  10241. <boolProp name="Cookie.secure">false</boolProp>
  10242. <longProp name="Cookie.expires">0</longProp>
  10243. <boolProp name="Cookie.path_specified">true</boolProp>
  10244. <boolProp name="Cookie.domain_specified">true</boolProp>
  10245. </elementProp>
  10246. </collectionProp>
  10247. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  10248. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager.jmx</stringProp></CookieManager>
  10249. <hashTree/>
  10250. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Get Customer Email" enabled="true">
  10251. <stringProp name="CriticalSectionController.lockName">get-email</stringProp>
  10252. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  10253. <hashTree>
  10254. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Customer Email" enabled="true">
  10255. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_customer_email.jmx</stringProp>
  10256. <stringProp name="BeanShellSampler.query">
  10257. customerUserList = props.get("customer_emails_list");
  10258. customerUser = customerUserList.poll();
  10259. if (customerUser == null) {
  10260. SampleResult.setResponseMessage("customernUser list is empty");
  10261. SampleResult.setResponseData("customerUser list is empty","UTF-8");
  10262. IsSuccess=false;
  10263. SampleResult.setSuccessful(false);
  10264. SampleResult.setStopThread(true);
  10265. }
  10266. vars.put("customer_email", customerUser);
  10267. </stringProp>
  10268. <stringProp name="BeanShellSampler.filename"/>
  10269. <stringProp name="BeanShellSampler.parameters"/>
  10270. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  10271. </BeanShellSampler>
  10272. <hashTree/>
  10273. </hashTree>
  10274. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Home Page" enabled="true">
  10275. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10276. <collectionProp name="Arguments.arguments"/>
  10277. </elementProp>
  10278. <stringProp name="HTTPSampler.domain"/>
  10279. <stringProp name="HTTPSampler.port"/>
  10280. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10281. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10282. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10283. <stringProp name="HTTPSampler.contentEncoding"/>
  10284. <stringProp name="HTTPSampler.path">${base_path}</stringProp>
  10285. <stringProp name="HTTPSampler.method">GET</stringProp>
  10286. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10287. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10288. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10289. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10290. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10291. <stringProp name="HTTPSampler.embedded_url_re"/>
  10292. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_home_page.jmx</stringProp></HTTPSamplerProxy>
  10293. <hashTree>
  10294. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10295. <collectionProp name="Asserion.test_strings">
  10296. <stringProp name="571386695">&lt;title&gt;Home page&lt;/title&gt;</stringProp>
  10297. </collectionProp>
  10298. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10299. <boolProp name="Assertion.assume_success">false</boolProp>
  10300. <intProp name="Assertion.test_type">2</intProp>
  10301. </ResponseAssertion>
  10302. <hashTree/>
  10303. </hashTree>
  10304. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Login Page" enabled="true">
  10305. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10306. <collectionProp name="Arguments.arguments"/>
  10307. </elementProp>
  10308. <stringProp name="HTTPSampler.domain"/>
  10309. <stringProp name="HTTPSampler.port"/>
  10310. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10311. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10312. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10313. <stringProp name="HTTPSampler.contentEncoding"/>
  10314. <stringProp name="HTTPSampler.path">${base_path}customer/account/login/</stringProp>
  10315. <stringProp name="HTTPSampler.method">GET</stringProp>
  10316. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10317. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10318. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10319. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10320. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10321. <stringProp name="HTTPSampler.embedded_url_re"/>
  10322. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/open_login_page.jmx</stringProp></HTTPSamplerProxy>
  10323. <hashTree>
  10324. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10325. <collectionProp name="Asserion.test_strings">
  10326. <stringProp name="637394530">&lt;title&gt;Customer Login&lt;/title&gt;</stringProp>
  10327. </collectionProp>
  10328. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10329. <boolProp name="Assertion.assume_success">false</boolProp>
  10330. <intProp name="Assertion.test_type">2</intProp>
  10331. </ResponseAssertion>
  10332. <hashTree/>
  10333. </hashTree>
  10334. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Login" enabled="true">
  10335. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10336. <collectionProp name="Arguments.arguments">
  10337. <elementProp name="form_key" elementType="HTTPArgument">
  10338. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10339. <stringProp name="Argument.value">${form_key}</stringProp>
  10340. <stringProp name="Argument.metadata">=</stringProp>
  10341. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10342. <stringProp name="Argument.name">form_key</stringProp>
  10343. </elementProp>
  10344. <elementProp name="login[username]" elementType="HTTPArgument">
  10345. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10346. <stringProp name="Argument.value">${customer_email}</stringProp>
  10347. <stringProp name="Argument.metadata">=</stringProp>
  10348. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10349. <stringProp name="Argument.name">login[username]</stringProp>
  10350. </elementProp>
  10351. <elementProp name="login[password]" elementType="HTTPArgument">
  10352. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10353. <stringProp name="Argument.value">${customer_password}</stringProp>
  10354. <stringProp name="Argument.metadata">=</stringProp>
  10355. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10356. <stringProp name="Argument.name">login[password]</stringProp>
  10357. </elementProp>
  10358. <elementProp name="send" elementType="HTTPArgument">
  10359. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10360. <stringProp name="Argument.value"/>
  10361. <stringProp name="Argument.metadata">=</stringProp>
  10362. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10363. <stringProp name="Argument.name">send</stringProp>
  10364. </elementProp>
  10365. </collectionProp>
  10366. </elementProp>
  10367. <stringProp name="HTTPSampler.domain"/>
  10368. <stringProp name="HTTPSampler.port"/>
  10369. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10370. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10371. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10372. <stringProp name="HTTPSampler.contentEncoding"/>
  10373. <stringProp name="HTTPSampler.path">${base_path}customer/account/loginPost/</stringProp>
  10374. <stringProp name="HTTPSampler.method">POST</stringProp>
  10375. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10376. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10377. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10378. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10379. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10380. <stringProp name="HTTPSampler.embedded_url_re"/>
  10381. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/login.jmx</stringProp></HTTPSamplerProxy>
  10382. <hashTree>
  10383. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10384. <collectionProp name="Asserion.test_strings">
  10385. <stringProp name="1312950388">&lt;title&gt;My Account&lt;/title&gt;</stringProp>
  10386. </collectionProp>
  10387. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10388. <boolProp name="Assertion.assume_success">false</boolProp>
  10389. <intProp name="Assertion.test_type">2</intProp>
  10390. </ResponseAssertion>
  10391. <hashTree/>
  10392. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Address" enabled="true">
  10393. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10394. <stringProp name="RegexExtractor.refname">addressId</stringProp>
  10395. <stringProp name="RegexExtractor.regex">customer/address/edit/id/([^'"]+)/</stringProp>
  10396. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10397. <stringProp name="RegexExtractor.default"/>
  10398. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10399. </RegexExtractor>
  10400. <hashTree/>
  10401. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert addressId extracted" enabled="true">
  10402. <collectionProp name="Asserion.test_strings">
  10403. <stringProp name="2845929">^.+$</stringProp>
  10404. </collectionProp>
  10405. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10406. <boolProp name="Assertion.assume_success">false</boolProp>
  10407. <intProp name="Assertion.test_type">1</intProp>
  10408. <stringProp name="Assertion.scope">variable</stringProp>
  10409. <stringProp name="Scope.variable">addressId</stringProp>
  10410. </ResponseAssertion>
  10411. <hashTree/>
  10412. </hashTree>
  10413. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Load Customer Private Data" enabled="true">
  10414. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10415. <collectionProp name="Arguments.arguments">
  10416. <elementProp name="sections" elementType="HTTPArgument">
  10417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10418. <stringProp name="Argument.value"/>
  10419. <stringProp name="Argument.metadata">=</stringProp>
  10420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10421. <stringProp name="Argument.name">sections</stringProp>
  10422. </elementProp>
  10423. <elementProp name="force_new_section_timestamp" elementType="HTTPArgument">
  10424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10425. <stringProp name="Argument.value">false</stringProp>
  10426. <stringProp name="Argument.metadata">=</stringProp>
  10427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10428. <stringProp name="Argument.name">force_new_section_timestamp</stringProp>
  10429. </elementProp>
  10430. <elementProp name="_" elementType="HTTPArgument">
  10431. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10432. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  10433. <stringProp name="Argument.metadata">=</stringProp>
  10434. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10435. <stringProp name="Argument.name">_</stringProp>
  10436. </elementProp>
  10437. </collectionProp>
  10438. </elementProp>
  10439. <stringProp name="HTTPSampler.domain"/>
  10440. <stringProp name="HTTPSampler.port"/>
  10441. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10442. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10443. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10444. <stringProp name="HTTPSampler.contentEncoding"/>
  10445. <stringProp name="HTTPSampler.path">${base_path}customer/section/load/</stringProp>
  10446. <stringProp name="HTTPSampler.method">GET</stringProp>
  10447. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10448. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10449. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10450. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10451. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10452. <stringProp name="HTTPSampler.embedded_url_re"/>
  10453. </HTTPSamplerProxy>
  10454. <hashTree/>
  10455. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="My Orders" enabled="true">
  10456. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10457. <collectionProp name="Arguments.arguments"/>
  10458. </elementProp>
  10459. <stringProp name="HTTPSampler.domain"/>
  10460. <stringProp name="HTTPSampler.port"/>
  10461. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10462. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10463. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10464. <stringProp name="HTTPSampler.contentEncoding"/>
  10465. <stringProp name="HTTPSampler.path">${base_path}sales/order/history/</stringProp>
  10466. <stringProp name="HTTPSampler.method">GET</stringProp>
  10467. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10468. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10469. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10470. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10471. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10472. <stringProp name="HTTPSampler.embedded_url_re"/>
  10473. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/my_orders.jmx</stringProp></HTTPSamplerProxy>
  10474. <hashTree>
  10475. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10476. <collectionProp name="Asserion.test_strings">
  10477. <stringProp name="220295440">&lt;title&gt;My Orders&lt;/title&gt;</stringProp>
  10478. </collectionProp>
  10479. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10480. <boolProp name="Assertion.assume_success">false</boolProp>
  10481. <intProp name="Assertion.test_type">2</intProp>
  10482. </ResponseAssertion>
  10483. <hashTree/>
  10484. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract orderId" enabled="true">
  10485. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10486. <stringProp name="RegexExtractor.refname">orderId</stringProp>
  10487. <stringProp name="RegexExtractor.regex">sales/order/view/order_id/(\d+)/</stringProp>
  10488. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10489. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  10490. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10491. </RegexExtractor>
  10492. <hashTree/>
  10493. </hashTree>
  10494. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Orders Controller" enabled="true">
  10495. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/if_orders.jmx</stringProp>
  10496. <stringProp name="IfController.condition">"${orderId}" != "NOT_FOUND"</stringProp>
  10497. <boolProp name="IfController.evaluateAll">false</boolProp>
  10498. </IfController>
  10499. <hashTree>
  10500. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View Order" enabled="true">
  10501. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10502. <collectionProp name="Arguments.arguments"/>
  10503. </elementProp>
  10504. <stringProp name="HTTPSampler.domain"/>
  10505. <stringProp name="HTTPSampler.port"/>
  10506. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10507. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10508. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10509. <stringProp name="HTTPSampler.contentEncoding"/>
  10510. <stringProp name="HTTPSampler.path">${base_path}sales/order/view/order_id/${orderId}</stringProp>
  10511. <stringProp name="HTTPSampler.method">GET</stringProp>
  10512. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10513. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10514. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10515. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10516. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10517. <stringProp name="HTTPSampler.embedded_url_re"/>
  10518. </HTTPSamplerProxy>
  10519. <hashTree>
  10520. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10521. <collectionProp name="Asserion.test_strings">
  10522. <stringProp name="1956770127">&lt;title&gt;Order #</stringProp>
  10523. </collectionProp>
  10524. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10525. <boolProp name="Assertion.assume_success">false</boolProp>
  10526. <intProp name="Assertion.test_type">2</intProp>
  10527. </ResponseAssertion>
  10528. <hashTree/>
  10529. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract shipment tab" enabled="true">
  10530. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10531. <stringProp name="RegexExtractor.refname">shipment_tab</stringProp>
  10532. <stringProp name="RegexExtractor.regex">sales/order/shipment/order_id/(\d+)..Order Shipments</stringProp>
  10533. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10534. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  10535. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10536. </RegexExtractor>
  10537. <hashTree/>
  10538. </hashTree>
  10539. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Shipments Controller" enabled="true">
  10540. <stringProp name="TestPlan.comments">May not have shipped</stringProp>
  10541. <stringProp name="IfController.condition">"${shipment_tab}" != "NOT_FOUND"</stringProp>
  10542. <boolProp name="IfController.evaluateAll">false</boolProp>
  10543. </IfController>
  10544. <hashTree>
  10545. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View Order Shipments" enabled="true">
  10546. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10547. <collectionProp name="Arguments.arguments"/>
  10548. </elementProp>
  10549. <stringProp name="HTTPSampler.domain"/>
  10550. <stringProp name="HTTPSampler.port"/>
  10551. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10552. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10553. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10554. <stringProp name="HTTPSampler.contentEncoding"/>
  10555. <stringProp name="HTTPSampler.path">${base_path}sales/order/shipment/order_id/${orderId}</stringProp>
  10556. <stringProp name="HTTPSampler.method">GET</stringProp>
  10557. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10558. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10559. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10560. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10561. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10562. <stringProp name="HTTPSampler.embedded_url_re"/>
  10563. </HTTPSamplerProxy>
  10564. <hashTree>
  10565. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10566. <collectionProp name="Asserion.test_strings">
  10567. <stringProp name="120578727">Track this shipment</stringProp>
  10568. </collectionProp>
  10569. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10570. <boolProp name="Assertion.assume_success">false</boolProp>
  10571. <intProp name="Assertion.test_type">2</intProp>
  10572. </ResponseAssertion>
  10573. <hashTree/>
  10574. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract popup link" enabled="true">
  10575. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10576. <stringProp name="RegexExtractor.refname">popupLink</stringProp>
  10577. <stringProp name="RegexExtractor.regex">popupWindow": {"windowURL":"([^'"]+)",</stringProp>
  10578. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10579. <stringProp name="RegexExtractor.default"/>
  10580. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10581. </RegexExtractor>
  10582. <hashTree/>
  10583. </hashTree>
  10584. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Track Shipment" enabled="true">
  10585. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10586. <collectionProp name="Arguments.arguments"/>
  10587. </elementProp>
  10588. <stringProp name="HTTPSampler.domain"/>
  10589. <stringProp name="HTTPSampler.port"/>
  10590. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10591. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10592. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10593. <stringProp name="HTTPSampler.contentEncoding"/>
  10594. <stringProp name="HTTPSampler.path">${popupLink}</stringProp>
  10595. <stringProp name="HTTPSampler.method">GET</stringProp>
  10596. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10597. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10598. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10599. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10600. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10601. <stringProp name="HTTPSampler.embedded_url_re"/>
  10602. </HTTPSamplerProxy>
  10603. <hashTree>
  10604. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10605. <collectionProp name="Asserion.test_strings">
  10606. <stringProp name="-760430210">&lt;title&gt;Tracking Information&lt;/title&gt;</stringProp>
  10607. </collectionProp>
  10608. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10609. <boolProp name="Assertion.assume_success">false</boolProp>
  10610. <intProp name="Assertion.test_type">2</intProp>
  10611. </ResponseAssertion>
  10612. <hashTree/>
  10613. </hashTree>
  10614. </hashTree>
  10615. </hashTree>
  10616. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="My Downloadable Products" enabled="true">
  10617. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10618. <collectionProp name="Arguments.arguments"/>
  10619. </elementProp>
  10620. <stringProp name="HTTPSampler.domain"/>
  10621. <stringProp name="HTTPSampler.port"/>
  10622. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10623. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10624. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10625. <stringProp name="HTTPSampler.contentEncoding"/>
  10626. <stringProp name="HTTPSampler.path">${base_path}downloadable/customer/products</stringProp>
  10627. <stringProp name="HTTPSampler.method">GET</stringProp>
  10628. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10629. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10630. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10631. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10632. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10633. <stringProp name="HTTPSampler.embedded_url_re"/>
  10634. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/my_downloadable_products.jmx</stringProp></HTTPSamplerProxy>
  10635. <hashTree>
  10636. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10637. <collectionProp name="Asserion.test_strings">
  10638. <stringProp name="358050505">&lt;title&gt;My Downloadable Products&lt;/title&gt;</stringProp>
  10639. </collectionProp>
  10640. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10641. <boolProp name="Assertion.assume_success">false</boolProp>
  10642. <intProp name="Assertion.test_type">2</intProp>
  10643. </ResponseAssertion>
  10644. <hashTree/>
  10645. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract orderId" enabled="true">
  10646. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10647. <stringProp name="RegexExtractor.refname">orderId</stringProp>
  10648. <stringProp name="RegexExtractor.regex">sales/order/view/order_id/(\d+)/</stringProp>
  10649. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10650. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  10651. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10652. </RegexExtractor>
  10653. <hashTree/>
  10654. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract linkId" enabled="true">
  10655. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10656. <stringProp name="RegexExtractor.refname">linkId</stringProp>
  10657. <stringProp name="RegexExtractor.regex">downloadable/download/link/id/(\d+)/</stringProp>
  10658. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10659. <stringProp name="RegexExtractor.default"/>
  10660. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10661. </RegexExtractor>
  10662. <hashTree/>
  10663. </hashTree>
  10664. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Downloadables Controller" enabled="true">
  10665. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/if_downloadables.jmx</stringProp>
  10666. <stringProp name="IfController.condition">"${orderId}" != "NOT_FOUND"</stringProp>
  10667. <boolProp name="IfController.evaluateAll">false</boolProp>
  10668. </IfController>
  10669. <hashTree>
  10670. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View Downloadable Product" enabled="true">
  10671. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10672. <collectionProp name="Arguments.arguments"/>
  10673. </elementProp>
  10674. <stringProp name="HTTPSampler.domain"/>
  10675. <stringProp name="HTTPSampler.port"/>
  10676. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10677. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10678. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10679. <stringProp name="HTTPSampler.contentEncoding"/>
  10680. <stringProp name="HTTPSampler.path">${base_path}sales/order/view/order_id/${orderId}</stringProp>
  10681. <stringProp name="HTTPSampler.method">GET</stringProp>
  10682. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10683. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10684. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10685. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10686. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10687. <stringProp name="HTTPSampler.embedded_url_re"/>
  10688. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/view_downloadable_products.jmx</stringProp></HTTPSamplerProxy>
  10689. <hashTree>
  10690. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10691. <collectionProp name="Asserion.test_strings">
  10692. <stringProp name="1956770127">&lt;title&gt;Order #</stringProp>
  10693. </collectionProp>
  10694. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10695. <boolProp name="Assertion.assume_success">false</boolProp>
  10696. <intProp name="Assertion.test_type">2</intProp>
  10697. </ResponseAssertion>
  10698. <hashTree/>
  10699. </hashTree>
  10700. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Download Product" enabled="true">
  10701. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10702. <collectionProp name="Arguments.arguments"/>
  10703. </elementProp>
  10704. <stringProp name="HTTPSampler.domain"/>
  10705. <stringProp name="HTTPSampler.port"/>
  10706. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10707. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10708. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10709. <stringProp name="HTTPSampler.contentEncoding"/>
  10710. <stringProp name="HTTPSampler.path">${base_path}downloadable/download/link/id/${linkId}</stringProp>
  10711. <stringProp name="HTTPSampler.method">GET</stringProp>
  10712. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10713. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10714. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10715. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10716. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10717. <stringProp name="HTTPSampler.embedded_url_re"/>
  10718. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/download_product.jmx</stringProp></HTTPSamplerProxy>
  10719. <hashTree/>
  10720. </hashTree>
  10721. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="My Wish List" enabled="true">
  10722. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10723. <collectionProp name="Arguments.arguments"/>
  10724. </elementProp>
  10725. <stringProp name="HTTPSampler.domain"/>
  10726. <stringProp name="HTTPSampler.port"/>
  10727. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10728. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10729. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10730. <stringProp name="HTTPSampler.contentEncoding"/>
  10731. <stringProp name="HTTPSampler.path">${base_path}wishlist</stringProp>
  10732. <stringProp name="HTTPSampler.method">GET</stringProp>
  10733. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10734. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10735. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10736. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10737. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10738. <stringProp name="HTTPSampler.embedded_url_re"/>
  10739. </HTTPSamplerProxy>
  10740. <hashTree>
  10741. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10742. <collectionProp name="Asserion.test_strings">
  10743. <stringProp name="-1907714722">&lt;title&gt;My Wish List&lt;/title&gt;</stringProp>
  10744. </collectionProp>
  10745. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10746. <boolProp name="Assertion.assume_success">false</boolProp>
  10747. <intProp name="Assertion.test_type">2</intProp>
  10748. </ResponseAssertion>
  10749. <hashTree/>
  10750. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract wishlistId" enabled="true">
  10751. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10752. <stringProp name="RegexExtractor.refname">wishlistId</stringProp>
  10753. <stringProp name="RegexExtractor.regex">wishlist/index/update/wishlist_id/([^'"]+)/</stringProp>
  10754. <stringProp name="RegexExtractor.template">$1$</stringProp>
  10755. <stringProp name="RegexExtractor.default"/>
  10756. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10757. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/my_wish_list.jmx</stringProp>
  10758. </RegexExtractor>
  10759. <hashTree/>
  10760. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Verify that there are items in the wishlist" enabled="true">
  10761. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  10762. <stringProp name="RegexExtractor.refname">buttonTitle</stringProp>
  10763. <stringProp name="RegexExtractor.regex">Update Wish List</stringProp>
  10764. <stringProp name="RegexExtractor.template">FOUND</stringProp>
  10765. <stringProp name="RegexExtractor.default">NOT_FOUND</stringProp>
  10766. <stringProp name="RegexExtractor.match_number">1</stringProp>
  10767. </RegexExtractor>
  10768. <hashTree/>
  10769. </hashTree>
  10770. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Wish List Controller" enabled="true">
  10771. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/if_wishlist.jmx</stringProp>
  10772. <stringProp name="IfController.condition">"${buttonTitle}" === "FOUND"</stringProp>
  10773. <boolProp name="IfController.evaluateAll">false</boolProp>
  10774. </IfController>
  10775. <hashTree>
  10776. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Share Wish List" enabled="true">
  10777. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10778. <collectionProp name="Arguments.arguments"/>
  10779. </elementProp>
  10780. <stringProp name="HTTPSampler.domain"/>
  10781. <stringProp name="HTTPSampler.port"/>
  10782. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10783. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10784. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10785. <stringProp name="HTTPSampler.contentEncoding"/>
  10786. <stringProp name="HTTPSampler.path">${base_path}wishlist/index/share/wishlist_id/${wishlistId}/</stringProp>
  10787. <stringProp name="HTTPSampler.method">GET</stringProp>
  10788. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10789. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10790. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10791. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10792. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10793. <stringProp name="HTTPSampler.embedded_url_re"/>
  10794. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/share_wish_list.jmx</stringProp></HTTPSamplerProxy>
  10795. <hashTree>
  10796. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10797. <collectionProp name="Asserion.test_strings">
  10798. <stringProp name="1257102154">&lt;title&gt;Wish List Sharing&lt;/title&gt;</stringProp>
  10799. </collectionProp>
  10800. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10801. <boolProp name="Assertion.assume_success">false</boolProp>
  10802. <intProp name="Assertion.test_type">2</intProp>
  10803. </ResponseAssertion>
  10804. <hashTree/>
  10805. </hashTree>
  10806. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Wish List" enabled="true">
  10807. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10808. <collectionProp name="Arguments.arguments">
  10809. <elementProp name="form_key" elementType="HTTPArgument">
  10810. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10811. <stringProp name="Argument.value">${form_key}</stringProp>
  10812. <stringProp name="Argument.metadata">=</stringProp>
  10813. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10814. <stringProp name="Argument.name">form_key</stringProp>
  10815. <stringProp name="Argument.desc">true</stringProp>
  10816. </elementProp>
  10817. <elementProp name="emails" elementType="HTTPArgument">
  10818. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10819. <stringProp name="Argument.value">${customer_email}</stringProp>
  10820. <stringProp name="Argument.metadata">=</stringProp>
  10821. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10822. <stringProp name="Argument.name">emails</stringProp>
  10823. </elementProp>
  10824. <elementProp name="message" elementType="HTTPArgument">
  10825. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  10826. <stringProp name="Argument.value">[TEST] See my wishlist!!!</stringProp>
  10827. <stringProp name="Argument.metadata">=</stringProp>
  10828. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  10829. <stringProp name="Argument.name">message</stringProp>
  10830. </elementProp>
  10831. </collectionProp>
  10832. </elementProp>
  10833. <stringProp name="HTTPSampler.domain"/>
  10834. <stringProp name="HTTPSampler.port"/>
  10835. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10836. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10837. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10838. <stringProp name="HTTPSampler.contentEncoding"/>
  10839. <stringProp name="HTTPSampler.path">${base_path}wishlist/index/send/wishlist_id/${wishlistId}/</stringProp>
  10840. <stringProp name="HTTPSampler.method">POST</stringProp>
  10841. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10842. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10843. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10844. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10845. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10846. <stringProp name="HTTPSampler.embedded_url_re"/>
  10847. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/account_management/send_wish_list.jmx</stringProp></HTTPSamplerProxy>
  10848. <hashTree>
  10849. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  10850. <collectionProp name="Asserion.test_strings">
  10851. <stringProp name="-1907714722">&lt;title&gt;My Wish List&lt;/title&gt;</stringProp>
  10852. </collectionProp>
  10853. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10854. <boolProp name="Assertion.assume_success">false</boolProp>
  10855. <intProp name="Assertion.test_type">2</intProp>
  10856. </ResponseAssertion>
  10857. <hashTree/>
  10858. </hashTree>
  10859. </hashTree>
  10860. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  10861. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  10862. <collectionProp name="Arguments.arguments"/>
  10863. </elementProp>
  10864. <stringProp name="HTTPSampler.domain"/>
  10865. <stringProp name="HTTPSampler.port"/>
  10866. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  10867. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  10868. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  10869. <stringProp name="HTTPSampler.contentEncoding"/>
  10870. <stringProp name="HTTPSampler.path">${base_path}customer/account/logout/</stringProp>
  10871. <stringProp name="HTTPSampler.method">GET</stringProp>
  10872. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  10873. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  10874. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  10875. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  10876. <boolProp name="HTTPSampler.monitor">false</boolProp>
  10877. <stringProp name="HTTPSampler.embedded_url_re"/>
  10878. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/logout.jmx</stringProp></HTTPSamplerProxy>
  10879. <hashTree>
  10880. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  10881. <collectionProp name="Asserion.test_strings">
  10882. <stringProp name="1723813687">You are signed out.</stringProp>
  10883. </collectionProp>
  10884. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  10885. <boolProp name="Assertion.assume_success">false</boolProp>
  10886. <intProp name="Assertion.test_type">2</intProp>
  10887. </ResponseAssertion>
  10888. <hashTree/>
  10889. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Customer to Pool" enabled="true">
  10890. <boolProp name="resetInterpreter">false</boolProp>
  10891. <stringProp name="parameters"/>
  10892. <stringProp name="filename"/>
  10893. <stringProp name="script">
  10894. customerUserList = props.get("customer_emails_list");
  10895. customerUserList.add(vars.get("customer_email"));
  10896. </stringProp>
  10897. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  10898. <hashTree/>
  10899. </hashTree>
  10900. </hashTree>
  10901. </hashTree>
  10902. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Admin Pool" enabled="true">
  10903. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  10904. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  10905. <boolProp name="LoopController.continue_forever">false</boolProp>
  10906. <stringProp name="LoopController.loops">${loops}</stringProp>
  10907. </elementProp>
  10908. <stringProp name="ThreadGroup.num_threads">${adminPoolUsers}</stringProp>
  10909. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  10910. <longProp name="ThreadGroup.start_time">1505803944000</longProp>
  10911. <longProp name="ThreadGroup.end_time">1505803944000</longProp>
  10912. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  10913. <stringProp name="ThreadGroup.duration"/>
  10914. <stringProp name="ThreadGroup.delay"/>
  10915. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/thread_group.jmx</stringProp></ThreadGroup>
  10916. <hashTree>
  10917. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin CMS Management" enabled="true">
  10918. <intProp name="ThroughputController.style">1</intProp>
  10919. <boolProp name="ThroughputController.perThread">false</boolProp>
  10920. <intProp name="ThroughputController.maxThroughput">1</intProp>
  10921. <stringProp name="ThroughputController.percentThroughput">${adminCMSManagementPercentage}</stringProp>
  10922. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  10923. <hashTree>
  10924. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  10925. <stringProp name="script">
  10926. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  10927. if (testLabel
  10928. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  10929. ) {
  10930. if (sampler.getName().indexOf(testLabel) == -1) {
  10931. sampler.setName(sampler.getName() + testLabel);
  10932. }
  10933. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  10934. sampler.setName("SetUp - " + sampler.getName());
  10935. }
  10936. </stringProp>
  10937. <stringProp name="scriptLanguage">javascript</stringProp>
  10938. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  10939. <hashTree/>
  10940. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  10941. <stringProp name="BeanShellSampler.query">
  10942. vars.put("testLabel", "Admin CMS Management");
  10943. </stringProp>
  10944. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  10945. </BeanShellSampler>
  10946. <hashTree/>
  10947. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  10948. <stringProp name="script">
  10949. function getFormKeyFromResponse()
  10950. {
  10951. var url = prev.getUrlAsString(),
  10952. responseCode = prev.getResponseCode(),
  10953. formKey = null;
  10954. searchPattern = /var FORM_KEY = '(.+)'/;
  10955. if (responseCode == "200" &amp;&amp; url) {
  10956. response = prev.getResponseDataAsString();
  10957. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  10958. }
  10959. return formKey;
  10960. }
  10961. formKey = vars.get("form_key_storage");
  10962. currentFormKey = getFormKeyFromResponse();
  10963. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  10964. vars.put("form_key_storage", currentFormKey);
  10965. }
  10966. </stringProp>
  10967. <stringProp name="scriptLanguage">javascript</stringProp>
  10968. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  10969. <hashTree/>
  10970. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  10971. <stringProp name="script">
  10972. formKey = vars.get("form_key_storage");
  10973. if (formKey
  10974. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  10975. &amp;&amp; sampler.getMethod() == "POST")
  10976. {
  10977. arguments = sampler.getArguments();
  10978. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  10979. {
  10980. argument = arguments.getArgument(i);
  10981. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  10982. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  10983. argument.setValue(formKey);
  10984. }
  10985. }
  10986. }
  10987. </stringProp>
  10988. <stringProp name="scriptLanguage">javascript</stringProp>
  10989. </JSR223PreProcessor>
  10990. <hashTree/>
  10991. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  10992. <collectionProp name="CookieManager.cookies"/>
  10993. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  10994. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  10995. <hashTree/>
  10996. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  10997. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  10998. </GenericController>
  10999. <hashTree>
  11000. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  11001. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  11002. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  11003. <hashTree>
  11004. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  11005. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  11006. <stringProp name="BeanShellSampler.query">
  11007. adminUserList = props.get("adminUserList");
  11008. adminUserListIterator = props.get("adminUserListIterator");
  11009. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  11010. if (adminUsersDistribution == 1) {
  11011. adminUser = adminUserList.poll();
  11012. } else {
  11013. if (!adminUserListIterator.hasNext()) {
  11014. adminUserListIterator = adminUserList.descendingIterator();
  11015. }
  11016. adminUser = adminUserListIterator.next();
  11017. }
  11018. if (adminUser == null) {
  11019. SampleResult.setResponseMessage("adminUser list is empty");
  11020. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  11021. IsSuccess=false;
  11022. SampleResult.setSuccessful(false);
  11023. SampleResult.setStopThread(true);
  11024. }
  11025. vars.put("admin_user", adminUser);
  11026. </stringProp>
  11027. <stringProp name="BeanShellSampler.filename"/>
  11028. <stringProp name="BeanShellSampler.parameters"/>
  11029. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  11030. </BeanShellSampler>
  11031. <hashTree/>
  11032. </hashTree>
  11033. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  11034. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11035. <collectionProp name="Arguments.arguments"/>
  11036. </elementProp>
  11037. <stringProp name="HTTPSampler.domain"/>
  11038. <stringProp name="HTTPSampler.port"/>
  11039. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11040. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11041. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11042. <stringProp name="HTTPSampler.contentEncoding"/>
  11043. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  11044. <stringProp name="HTTPSampler.method">GET</stringProp>
  11045. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11046. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11047. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11048. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11049. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11050. <stringProp name="HTTPSampler.embedded_url_re"/>
  11051. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  11052. <hashTree>
  11053. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  11054. <collectionProp name="Asserion.test_strings">
  11055. <stringProp name="-1397214398">Welcome</stringProp>
  11056. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  11057. </collectionProp>
  11058. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  11059. <boolProp name="Assertion.assume_success">false</boolProp>
  11060. <intProp name="Assertion.test_type">2</intProp>
  11061. </ResponseAssertion>
  11062. <hashTree/>
  11063. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  11064. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  11065. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  11066. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  11067. <stringProp name="RegexExtractor.template">$1$</stringProp>
  11068. <stringProp name="RegexExtractor.default"/>
  11069. <stringProp name="RegexExtractor.match_number">1</stringProp>
  11070. </RegexExtractor>
  11071. <hashTree/>
  11072. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  11073. <collectionProp name="Asserion.test_strings">
  11074. <stringProp name="2845929">^.+$</stringProp>
  11075. </collectionProp>
  11076. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  11077. <boolProp name="Assertion.assume_success">false</boolProp>
  11078. <intProp name="Assertion.test_type">1</intProp>
  11079. <stringProp name="Assertion.scope">variable</stringProp>
  11080. <stringProp name="Scope.variable">admin_form_key</stringProp>
  11081. </ResponseAssertion>
  11082. <hashTree/>
  11083. </hashTree>
  11084. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  11085. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11086. <collectionProp name="Arguments.arguments">
  11087. <elementProp name="dummy" elementType="HTTPArgument">
  11088. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11089. <stringProp name="Argument.value"/>
  11090. <stringProp name="Argument.metadata">=</stringProp>
  11091. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11092. <stringProp name="Argument.name">dummy</stringProp>
  11093. </elementProp>
  11094. <elementProp name="form_key" elementType="HTTPArgument">
  11095. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11096. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  11097. <stringProp name="Argument.metadata">=</stringProp>
  11098. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11099. <stringProp name="Argument.name">form_key</stringProp>
  11100. </elementProp>
  11101. <elementProp name="login[password]" elementType="HTTPArgument">
  11102. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11103. <stringProp name="Argument.value">${admin_password}</stringProp>
  11104. <stringProp name="Argument.metadata">=</stringProp>
  11105. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11106. <stringProp name="Argument.name">login[password]</stringProp>
  11107. </elementProp>
  11108. <elementProp name="login[username]" elementType="HTTPArgument">
  11109. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11110. <stringProp name="Argument.value">${admin_user}</stringProp>
  11111. <stringProp name="Argument.metadata">=</stringProp>
  11112. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11113. <stringProp name="Argument.name">login[username]</stringProp>
  11114. </elementProp>
  11115. </collectionProp>
  11116. </elementProp>
  11117. <stringProp name="HTTPSampler.domain"/>
  11118. <stringProp name="HTTPSampler.port"/>
  11119. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11120. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11121. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11122. <stringProp name="HTTPSampler.contentEncoding"/>
  11123. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  11124. <stringProp name="HTTPSampler.method">POST</stringProp>
  11125. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11126. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11127. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11128. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11129. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  11130. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11131. <stringProp name="HTTPSampler.embedded_url_re"/>
  11132. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  11133. </HTTPSamplerProxy>
  11134. <hashTree>
  11135. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  11136. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  11137. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  11138. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  11139. <stringProp name="RegexExtractor.template">$1$</stringProp>
  11140. <stringProp name="RegexExtractor.default"/>
  11141. <stringProp name="RegexExtractor.match_number">1</stringProp>
  11142. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  11143. <hashTree/>
  11144. </hashTree>
  11145. </hashTree>
  11146. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  11147. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  11148. </GenericController>
  11149. <hashTree>
  11150. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin CMS Management" enabled="true">
  11151. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_cms_management/admin_cms_management.jmx</stringProp>
  11152. </TestFragmentController>
  11153. <hashTree>
  11154. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Landing Page" enabled="true">
  11155. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11156. <collectionProp name="Arguments.arguments"/>
  11157. </elementProp>
  11158. <stringProp name="HTTPSampler.domain"/>
  11159. <stringProp name="HTTPSampler.port"/>
  11160. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11161. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11162. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11163. <stringProp name="HTTPSampler.contentEncoding"/>
  11164. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/cms/page/</stringProp>
  11165. <stringProp name="HTTPSampler.method">GET</stringProp>
  11166. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11167. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11168. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11169. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11170. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11171. <stringProp name="HTTPSampler.embedded_url_re"/>
  11172. </HTTPSamplerProxy>
  11173. <hashTree/>
  11174. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create New" enabled="true">
  11175. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11176. <collectionProp name="Arguments.arguments"/>
  11177. </elementProp>
  11178. <stringProp name="HTTPSampler.domain"/>
  11179. <stringProp name="HTTPSampler.port"/>
  11180. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11181. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11182. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11183. <stringProp name="HTTPSampler.contentEncoding"/>
  11184. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/cms/page/new</stringProp>
  11185. <stringProp name="HTTPSampler.method">GET</stringProp>
  11186. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11187. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11188. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11189. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11190. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11191. <stringProp name="HTTPSampler.embedded_url_re"/>
  11192. </HTTPSamplerProxy>
  11193. <hashTree/>
  11194. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Save" enabled="true">
  11195. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11196. <collectionProp name="Arguments.arguments">
  11197. <elementProp name="content" elementType="HTTPArgument">
  11198. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11199. <stringProp name="Argument.value">&lt;p&gt;CMS Content ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  11200. <stringProp name="Argument.metadata">=</stringProp>
  11201. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11202. <stringProp name="Argument.name">content</stringProp>
  11203. </elementProp>
  11204. <elementProp name="content_heading" elementType="HTTPArgument">
  11205. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11206. <stringProp name="Argument.value"/>
  11207. <stringProp name="Argument.metadata">=</stringProp>
  11208. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11209. <stringProp name="Argument.name">content_heading</stringProp>
  11210. </elementProp>
  11211. <elementProp name="form_key" elementType="HTTPArgument">
  11212. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11213. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  11214. <stringProp name="Argument.metadata">=</stringProp>
  11215. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11216. <stringProp name="Argument.name">form_key</stringProp>
  11217. </elementProp>
  11218. <elementProp name="identifier" elementType="HTTPArgument">
  11219. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11220. <stringProp name="Argument.value"/>
  11221. <stringProp name="Argument.metadata">=</stringProp>
  11222. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11223. <stringProp name="Argument.name">identifier</stringProp>
  11224. </elementProp>
  11225. <elementProp name="is_active" elementType="HTTPArgument">
  11226. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11227. <stringProp name="Argument.value">1</stringProp>
  11228. <stringProp name="Argument.metadata">=</stringProp>
  11229. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11230. <stringProp name="Argument.name">is_active</stringProp>
  11231. </elementProp>
  11232. <elementProp name="layout_update_xml" elementType="HTTPArgument">
  11233. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11234. <stringProp name="Argument.value"/>
  11235. <stringProp name="Argument.metadata">=</stringProp>
  11236. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11237. <stringProp name="Argument.name">layout_update_xml</stringProp>
  11238. </elementProp>
  11239. <elementProp name="meta_description" elementType="HTTPArgument">
  11240. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11241. <stringProp name="Argument.value"/>
  11242. <stringProp name="Argument.metadata">=</stringProp>
  11243. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11244. <stringProp name="Argument.name">meta_description</stringProp>
  11245. </elementProp>
  11246. <elementProp name="meta_keywords" elementType="HTTPArgument">
  11247. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11248. <stringProp name="Argument.value"/>
  11249. <stringProp name="Argument.metadata">=</stringProp>
  11250. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11251. <stringProp name="Argument.name">meta_keywords</stringProp>
  11252. </elementProp>
  11253. <elementProp name="meta_title" elementType="HTTPArgument">
  11254. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11255. <stringProp name="Argument.value"/>
  11256. <stringProp name="Argument.metadata">=</stringProp>
  11257. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11258. <stringProp name="Argument.name">meta_title</stringProp>
  11259. </elementProp>
  11260. <elementProp name="nodes_data" elementType="HTTPArgument">
  11261. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  11262. <stringProp name="Argument.value">{}</stringProp>
  11263. <stringProp name="Argument.metadata">=</stringProp>
  11264. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11265. <stringProp name="Argument.name">nodes_data</stringProp>
  11266. </elementProp>
  11267. <elementProp name="node_ids" elementType="HTTPArgument">
  11268. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11269. <stringProp name="Argument.value"/>
  11270. <stringProp name="Argument.metadata">=</stringProp>
  11271. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11272. <stringProp name="Argument.name">node_ids</stringProp>
  11273. </elementProp>
  11274. <elementProp name="page_id" elementType="HTTPArgument">
  11275. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11276. <stringProp name="Argument.value"/>
  11277. <stringProp name="Argument.metadata">=</stringProp>
  11278. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11279. <stringProp name="Argument.name">page_id</stringProp>
  11280. </elementProp>
  11281. <elementProp name="page_layout" elementType="HTTPArgument">
  11282. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11283. <stringProp name="Argument.value">1column</stringProp>
  11284. <stringProp name="Argument.metadata">=</stringProp>
  11285. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11286. <stringProp name="Argument.name">page_layout</stringProp>
  11287. </elementProp>
  11288. <elementProp name="store_id[0]" elementType="HTTPArgument">
  11289. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11290. <stringProp name="Argument.value">0</stringProp>
  11291. <stringProp name="Argument.metadata">=</stringProp>
  11292. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11293. <stringProp name="Argument.name">store_id[0]</stringProp>
  11294. </elementProp>
  11295. <elementProp name="title" elementType="HTTPArgument">
  11296. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11297. <stringProp name="Argument.value">CMS Title ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  11298. <stringProp name="Argument.metadata">=</stringProp>
  11299. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11300. <stringProp name="Argument.name">title</stringProp>
  11301. </elementProp>
  11302. <elementProp name="website_root" elementType="HTTPArgument">
  11303. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11304. <stringProp name="Argument.value">0</stringProp>
  11305. <stringProp name="Argument.metadata">=</stringProp>
  11306. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11307. <stringProp name="Argument.name">website_root</stringProp>
  11308. </elementProp>
  11309. </collectionProp>
  11310. </elementProp>
  11311. <stringProp name="HTTPSampler.domain"/>
  11312. <stringProp name="HTTPSampler.port"/>
  11313. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11314. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11315. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11316. <stringProp name="HTTPSampler.contentEncoding"/>
  11317. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/cms/page/save/</stringProp>
  11318. <stringProp name="HTTPSampler.method">POST</stringProp>
  11319. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11320. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11321. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11322. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11323. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11324. <stringProp name="HTTPSampler.embedded_url_re"/>
  11325. </HTTPSamplerProxy>
  11326. <hashTree>
  11327. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  11328. <collectionProp name="Asserion.test_strings">
  11329. <stringProp name="-398886250">You saved the page.</stringProp>
  11330. </collectionProp>
  11331. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  11332. <boolProp name="Assertion.assume_success">false</boolProp>
  11333. <intProp name="Assertion.test_type">16</intProp>
  11334. </ResponseAssertion>
  11335. <hashTree/>
  11336. </hashTree>
  11337. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Pause" enabled="true">
  11338. <intProp name="ActionProcessor.action">1</intProp>
  11339. <intProp name="ActionProcessor.target">0</intProp>
  11340. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${adminCMSManagementDelay}*1000))}</stringProp>
  11341. </TestAction>
  11342. <hashTree/>
  11343. </hashTree>
  11344. </hashTree>
  11345. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  11346. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11347. <collectionProp name="Arguments.arguments"/>
  11348. </elementProp>
  11349. <stringProp name="HTTPSampler.domain"/>
  11350. <stringProp name="HTTPSampler.port"/>
  11351. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11352. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11353. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11354. <stringProp name="HTTPSampler.contentEncoding"/>
  11355. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  11356. <stringProp name="HTTPSampler.method">GET</stringProp>
  11357. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11358. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11359. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11360. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11361. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11362. <stringProp name="HTTPSampler.embedded_url_re"/>
  11363. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  11364. <hashTree>
  11365. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  11366. <boolProp name="resetInterpreter">false</boolProp>
  11367. <stringProp name="parameters"/>
  11368. <stringProp name="filename"/>
  11369. <stringProp name="script">
  11370. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  11371. if (adminUsersDistribution == 1) {
  11372. adminUserList = props.get("adminUserList");
  11373. adminUserList.add(vars.get("admin_user"));
  11374. }
  11375. </stringProp>
  11376. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  11377. <hashTree/>
  11378. </hashTree>
  11379. </hashTree>
  11380. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Browse Product Grid" enabled="true">
  11381. <intProp name="ThroughputController.style">1</intProp>
  11382. <boolProp name="ThroughputController.perThread">false</boolProp>
  11383. <intProp name="ThroughputController.maxThroughput">1</intProp>
  11384. <stringProp name="ThroughputController.percentThroughput">${browseProductGridPercentage}</stringProp>
  11385. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  11386. <hashTree>
  11387. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  11388. <stringProp name="script">
  11389. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  11390. if (testLabel
  11391. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  11392. ) {
  11393. if (sampler.getName().indexOf(testLabel) == -1) {
  11394. sampler.setName(sampler.getName() + testLabel);
  11395. }
  11396. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  11397. sampler.setName("SetUp - " + sampler.getName());
  11398. }
  11399. </stringProp>
  11400. <stringProp name="scriptLanguage">javascript</stringProp>
  11401. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  11402. <hashTree/>
  11403. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  11404. <stringProp name="BeanShellSampler.query">
  11405. vars.put("testLabel", "Browse Product Grid");
  11406. </stringProp>
  11407. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  11408. </BeanShellSampler>
  11409. <hashTree/>
  11410. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  11411. <stringProp name="script">
  11412. function getFormKeyFromResponse()
  11413. {
  11414. var url = prev.getUrlAsString(),
  11415. responseCode = prev.getResponseCode(),
  11416. formKey = null;
  11417. searchPattern = /var FORM_KEY = '(.+)'/;
  11418. if (responseCode == "200" &amp;&amp; url) {
  11419. response = prev.getResponseDataAsString();
  11420. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  11421. }
  11422. return formKey;
  11423. }
  11424. formKey = vars.get("form_key_storage");
  11425. currentFormKey = getFormKeyFromResponse();
  11426. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  11427. vars.put("form_key_storage", currentFormKey);
  11428. }
  11429. </stringProp>
  11430. <stringProp name="scriptLanguage">javascript</stringProp>
  11431. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  11432. <hashTree/>
  11433. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  11434. <stringProp name="script">
  11435. formKey = vars.get("form_key_storage");
  11436. if (formKey
  11437. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  11438. &amp;&amp; sampler.getMethod() == "POST")
  11439. {
  11440. arguments = sampler.getArguments();
  11441. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  11442. {
  11443. argument = arguments.getArgument(i);
  11444. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  11445. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  11446. argument.setValue(formKey);
  11447. }
  11448. }
  11449. }
  11450. </stringProp>
  11451. <stringProp name="scriptLanguage">javascript</stringProp>
  11452. </JSR223PreProcessor>
  11453. <hashTree/>
  11454. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  11455. <collectionProp name="CookieManager.cookies"/>
  11456. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  11457. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  11458. <hashTree/>
  11459. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  11460. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  11461. </GenericController>
  11462. <hashTree>
  11463. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  11464. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  11465. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  11466. <hashTree>
  11467. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  11468. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  11469. <stringProp name="BeanShellSampler.query">
  11470. adminUserList = props.get("adminUserList");
  11471. adminUserListIterator = props.get("adminUserListIterator");
  11472. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  11473. if (adminUsersDistribution == 1) {
  11474. adminUser = adminUserList.poll();
  11475. } else {
  11476. if (!adminUserListIterator.hasNext()) {
  11477. adminUserListIterator = adminUserList.descendingIterator();
  11478. }
  11479. adminUser = adminUserListIterator.next();
  11480. }
  11481. if (adminUser == null) {
  11482. SampleResult.setResponseMessage("adminUser list is empty");
  11483. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  11484. IsSuccess=false;
  11485. SampleResult.setSuccessful(false);
  11486. SampleResult.setStopThread(true);
  11487. }
  11488. vars.put("admin_user", adminUser);
  11489. </stringProp>
  11490. <stringProp name="BeanShellSampler.filename"/>
  11491. <stringProp name="BeanShellSampler.parameters"/>
  11492. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  11493. </BeanShellSampler>
  11494. <hashTree/>
  11495. </hashTree>
  11496. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  11497. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11498. <collectionProp name="Arguments.arguments"/>
  11499. </elementProp>
  11500. <stringProp name="HTTPSampler.domain"/>
  11501. <stringProp name="HTTPSampler.port"/>
  11502. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11503. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11504. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11505. <stringProp name="HTTPSampler.contentEncoding"/>
  11506. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  11507. <stringProp name="HTTPSampler.method">GET</stringProp>
  11508. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11509. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11510. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11511. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11512. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11513. <stringProp name="HTTPSampler.embedded_url_re"/>
  11514. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  11515. <hashTree>
  11516. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  11517. <collectionProp name="Asserion.test_strings">
  11518. <stringProp name="-1397214398">Welcome</stringProp>
  11519. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  11520. </collectionProp>
  11521. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  11522. <boolProp name="Assertion.assume_success">false</boolProp>
  11523. <intProp name="Assertion.test_type">2</intProp>
  11524. </ResponseAssertion>
  11525. <hashTree/>
  11526. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  11527. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  11528. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  11529. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  11530. <stringProp name="RegexExtractor.template">$1$</stringProp>
  11531. <stringProp name="RegexExtractor.default"/>
  11532. <stringProp name="RegexExtractor.match_number">1</stringProp>
  11533. </RegexExtractor>
  11534. <hashTree/>
  11535. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  11536. <collectionProp name="Asserion.test_strings">
  11537. <stringProp name="2845929">^.+$</stringProp>
  11538. </collectionProp>
  11539. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  11540. <boolProp name="Assertion.assume_success">false</boolProp>
  11541. <intProp name="Assertion.test_type">1</intProp>
  11542. <stringProp name="Assertion.scope">variable</stringProp>
  11543. <stringProp name="Scope.variable">admin_form_key</stringProp>
  11544. </ResponseAssertion>
  11545. <hashTree/>
  11546. </hashTree>
  11547. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  11548. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11549. <collectionProp name="Arguments.arguments">
  11550. <elementProp name="dummy" elementType="HTTPArgument">
  11551. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11552. <stringProp name="Argument.value"/>
  11553. <stringProp name="Argument.metadata">=</stringProp>
  11554. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11555. <stringProp name="Argument.name">dummy</stringProp>
  11556. </elementProp>
  11557. <elementProp name="form_key" elementType="HTTPArgument">
  11558. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11559. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  11560. <stringProp name="Argument.metadata">=</stringProp>
  11561. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11562. <stringProp name="Argument.name">form_key</stringProp>
  11563. </elementProp>
  11564. <elementProp name="login[password]" elementType="HTTPArgument">
  11565. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11566. <stringProp name="Argument.value">${admin_password}</stringProp>
  11567. <stringProp name="Argument.metadata">=</stringProp>
  11568. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11569. <stringProp name="Argument.name">login[password]</stringProp>
  11570. </elementProp>
  11571. <elementProp name="login[username]" elementType="HTTPArgument">
  11572. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11573. <stringProp name="Argument.value">${admin_user}</stringProp>
  11574. <stringProp name="Argument.metadata">=</stringProp>
  11575. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11576. <stringProp name="Argument.name">login[username]</stringProp>
  11577. </elementProp>
  11578. </collectionProp>
  11579. </elementProp>
  11580. <stringProp name="HTTPSampler.domain"/>
  11581. <stringProp name="HTTPSampler.port"/>
  11582. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11583. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11584. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11585. <stringProp name="HTTPSampler.contentEncoding"/>
  11586. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  11587. <stringProp name="HTTPSampler.method">POST</stringProp>
  11588. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11589. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11590. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11591. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11592. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  11593. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11594. <stringProp name="HTTPSampler.embedded_url_re"/>
  11595. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  11596. </HTTPSamplerProxy>
  11597. <hashTree>
  11598. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  11599. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  11600. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  11601. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  11602. <stringProp name="RegexExtractor.template">$1$</stringProp>
  11603. <stringProp name="RegexExtractor.default"/>
  11604. <stringProp name="RegexExtractor.match_number">1</stringProp>
  11605. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  11606. <hashTree/>
  11607. </hashTree>
  11608. </hashTree>
  11609. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Set Arguments" enabled="true">
  11610. <stringProp name="script">
  11611. vars.put("gridEntityType" , "Product");
  11612. pagesCount = parseInt(vars.get("products_page_size")) || 20;
  11613. vars.put("grid_entity_page_size" , pagesCount);
  11614. vars.put("grid_namespace" , "product_listing");
  11615. vars.put("grid_admin_browse_filter_text" , vars.get("admin_browse_product_filter_text"));
  11616. vars.put("grid_filter_field", "name");
  11617. // set sort fields and sort directions
  11618. vars.put("grid_sort_field_1", "name");
  11619. vars.put("grid_sort_field_2", "price");
  11620. vars.put("grid_sort_field_3", "attribute_set_id");
  11621. vars.put("grid_sort_order_1", "asc");
  11622. vars.put("grid_sort_order_2", "desc");
  11623. </stringProp>
  11624. <stringProp name="scriptLanguage">javascript</stringProp>
  11625. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_products_grid/setup.jmx</stringProp></JSR223PostProcessor>
  11626. <hashTree/>
  11627. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  11628. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  11629. </GenericController>
  11630. <hashTree>
  11631. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Set ${gridEntityType} Pages Count" enabled="true">
  11632. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11633. <collectionProp name="Arguments.arguments">
  11634. <elementProp name="namespace" elementType="HTTPArgument">
  11635. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11636. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  11637. <stringProp name="Argument.metadata">=</stringProp>
  11638. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11639. <stringProp name="Argument.name">namespace</stringProp>
  11640. <stringProp name="Argument.desc">true</stringProp>
  11641. </elementProp>
  11642. <elementProp name="search" elementType="HTTPArgument">
  11643. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11644. <stringProp name="Argument.value"/>
  11645. <stringProp name="Argument.metadata">=</stringProp>
  11646. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11647. <stringProp name="Argument.name">search</stringProp>
  11648. <stringProp name="Argument.desc">true</stringProp>
  11649. </elementProp>
  11650. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  11651. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11652. <stringProp name="Argument.value">true</stringProp>
  11653. <stringProp name="Argument.metadata">=</stringProp>
  11654. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11655. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  11656. <stringProp name="Argument.desc">true</stringProp>
  11657. </elementProp>
  11658. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  11659. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11660. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  11661. <stringProp name="Argument.metadata">=</stringProp>
  11662. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11663. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  11664. <stringProp name="Argument.desc">true</stringProp>
  11665. </elementProp>
  11666. <elementProp name="paging[current]" elementType="HTTPArgument">
  11667. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11668. <stringProp name="Argument.value">1</stringProp>
  11669. <stringProp name="Argument.metadata">=</stringProp>
  11670. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11671. <stringProp name="Argument.name">paging[current]</stringProp>
  11672. <stringProp name="Argument.desc">true</stringProp>
  11673. </elementProp>
  11674. <elementProp name="sorting[field]" elementType="HTTPArgument">
  11675. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11676. <stringProp name="Argument.value">entity_id</stringProp>
  11677. <stringProp name="Argument.metadata">=</stringProp>
  11678. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11679. <stringProp name="Argument.name">sorting[field]</stringProp>
  11680. <stringProp name="Argument.desc">true</stringProp>
  11681. </elementProp>
  11682. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  11683. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11684. <stringProp name="Argument.value">asc</stringProp>
  11685. <stringProp name="Argument.metadata">=</stringProp>
  11686. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11687. <stringProp name="Argument.name">sorting[direction]</stringProp>
  11688. <stringProp name="Argument.desc">true</stringProp>
  11689. </elementProp>
  11690. <elementProp name="isAjax" elementType="HTTPArgument">
  11691. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11692. <stringProp name="Argument.value">true</stringProp>
  11693. <stringProp name="Argument.metadata">=</stringProp>
  11694. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11695. <stringProp name="Argument.name">isAjax</stringProp>
  11696. <stringProp name="Argument.desc">true</stringProp>
  11697. </elementProp>
  11698. </collectionProp>
  11699. </elementProp>
  11700. <stringProp name="HTTPSampler.domain"/>
  11701. <stringProp name="HTTPSampler.port"/>
  11702. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11703. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11704. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11705. <stringProp name="HTTPSampler.contentEncoding"/>
  11706. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  11707. <stringProp name="HTTPSampler.method">GET</stringProp>
  11708. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11709. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11710. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11711. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11712. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11713. <stringProp name="HTTPSampler.embedded_url_re"/>
  11714. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/set_pages_count.jmx</stringProp></HTTPSamplerProxy>
  11715. <hashTree>
  11716. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  11717. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  11718. <stringProp name="EXPECTED_VALUE">0</stringProp>
  11719. <boolProp name="JSONVALIDATION">true</boolProp>
  11720. <boolProp name="EXPECT_NULL">false</boolProp>
  11721. <boolProp name="INVERT">true</boolProp>
  11722. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  11723. <hashTree/>
  11724. <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 total records" enabled="true">
  11725. <stringProp name="VAR">entity_total_records</stringProp>
  11726. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  11727. <stringProp name="DEFAULT"/>
  11728. <stringProp name="VARIABLE"/>
  11729. <stringProp name="SUBJECT">BODY</stringProp>
  11730. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  11731. <hashTree/>
  11732. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Calculate ${gridEntityType} pages count" enabled="true">
  11733. <stringProp name="cacheKey"/>
  11734. <stringProp name="filename"/>
  11735. <stringProp name="parameters"/>
  11736. <stringProp name="script">
  11737. var pageSize = parseInt(vars.get("grid_entity_page_size")) || 20;
  11738. var totalsRecord = parseInt(vars.get("entity_total_records"));
  11739. var pageCount = Math.round(totalsRecord/pageSize);
  11740. vars.put("grid_pages_count", pageCount);
  11741. </stringProp>
  11742. <stringProp name="scriptLanguage">javascript</stringProp>
  11743. </JSR223PostProcessor>
  11744. <hashTree/>
  11745. </hashTree>
  11746. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Set ${gridEntityType} Filtered Pages Count" enabled="true">
  11747. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11748. <collectionProp name="Arguments.arguments">
  11749. <elementProp name="namespace" elementType="HTTPArgument">
  11750. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11751. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  11752. <stringProp name="Argument.metadata">=</stringProp>
  11753. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11754. <stringProp name="Argument.name">namespace</stringProp>
  11755. <stringProp name="Argument.desc">true</stringProp>
  11756. </elementProp>
  11757. <elementProp name="search" elementType="HTTPArgument">
  11758. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11759. <stringProp name="Argument.value"/>
  11760. <stringProp name="Argument.metadata">=</stringProp>
  11761. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11762. <stringProp name="Argument.name">search</stringProp>
  11763. <stringProp name="Argument.desc">true</stringProp>
  11764. </elementProp>
  11765. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  11766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11767. <stringProp name="Argument.value">${grid_admin_browse_filter_text}</stringProp>
  11768. <stringProp name="Argument.metadata">=</stringProp>
  11769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11770. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  11771. <stringProp name="Argument.desc">true</stringProp>
  11772. </elementProp>
  11773. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  11774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11775. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  11776. <stringProp name="Argument.metadata">=</stringProp>
  11777. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11778. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  11779. <stringProp name="Argument.desc">true</stringProp>
  11780. </elementProp>
  11781. <elementProp name="paging[current]" elementType="HTTPArgument">
  11782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11783. <stringProp name="Argument.value">1</stringProp>
  11784. <stringProp name="Argument.metadata">=</stringProp>
  11785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11786. <stringProp name="Argument.name">paging[current]</stringProp>
  11787. <stringProp name="Argument.desc">true</stringProp>
  11788. </elementProp>
  11789. <elementProp name="sorting[field]" elementType="HTTPArgument">
  11790. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11791. <stringProp name="Argument.value">entity_id</stringProp>
  11792. <stringProp name="Argument.metadata">=</stringProp>
  11793. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11794. <stringProp name="Argument.name">sorting[field]</stringProp>
  11795. <stringProp name="Argument.desc">true</stringProp>
  11796. </elementProp>
  11797. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  11798. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11799. <stringProp name="Argument.value">asc</stringProp>
  11800. <stringProp name="Argument.metadata">=</stringProp>
  11801. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11802. <stringProp name="Argument.name">sorting[direction]</stringProp>
  11803. <stringProp name="Argument.desc">true</stringProp>
  11804. </elementProp>
  11805. <elementProp name="isAjax" elementType="HTTPArgument">
  11806. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11807. <stringProp name="Argument.value">true</stringProp>
  11808. <stringProp name="Argument.metadata">=</stringProp>
  11809. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11810. <stringProp name="Argument.name">isAjax</stringProp>
  11811. <stringProp name="Argument.desc">true</stringProp>
  11812. </elementProp>
  11813. </collectionProp>
  11814. </elementProp>
  11815. <stringProp name="HTTPSampler.domain"/>
  11816. <stringProp name="HTTPSampler.port"/>
  11817. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11818. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11819. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11820. <stringProp name="HTTPSampler.contentEncoding"/>
  11821. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  11822. <stringProp name="HTTPSampler.method">GET</stringProp>
  11823. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11824. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11825. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11826. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11827. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11828. <stringProp name="HTTPSampler.embedded_url_re"/>
  11829. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/set_filtered_pages_count.jmx</stringProp></HTTPSamplerProxy>
  11830. <hashTree>
  11831. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  11832. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  11833. <stringProp name="EXPECTED_VALUE">0</stringProp>
  11834. <boolProp name="JSONVALIDATION">true</boolProp>
  11835. <boolProp name="EXPECT_NULL">false</boolProp>
  11836. <boolProp name="INVERT">true</boolProp>
  11837. <boolProp name="ISREGEX">true</boolProp>
  11838. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  11839. <hashTree/>
  11840. <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 total records" enabled="true">
  11841. <stringProp name="VAR">entity_total_records</stringProp>
  11842. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  11843. <stringProp name="DEFAULT"/>
  11844. <stringProp name="VARIABLE"/>
  11845. <stringProp name="SUBJECT">BODY</stringProp>
  11846. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  11847. <hashTree/>
  11848. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Calculate ${gridEntityType} filtered pages count" enabled="true">
  11849. <stringProp name="parameters"/>
  11850. <stringProp name="filename"/>
  11851. <stringProp name="script">
  11852. var pageSize = parseInt(vars.get("grid_entity_page_size")) || 20;
  11853. var totalsRecord = parseInt(vars.get("entity_total_records"));
  11854. var pageCount = Math.round(totalsRecord/pageSize);
  11855. vars.put("grid_pages_count_filtered", pageCount);
  11856. </stringProp>
  11857. <stringProp name="scriptLanguage">javascript</stringProp>
  11858. </JSR223PostProcessor>
  11859. <hashTree/>
  11860. </hashTree>
  11861. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="SetUp - Select ${gridEntityType} Page Number" enabled="true">
  11862. <stringProp name="CounterConfig.start">1</stringProp>
  11863. <stringProp name="CounterConfig.end">${grid_pages_count}</stringProp>
  11864. <stringProp name="CounterConfig.incr">1</stringProp>
  11865. <stringProp name="CounterConfig.name">page_number</stringProp>
  11866. <stringProp name="CounterConfig.format"/>
  11867. <boolProp name="CounterConfig.per_user">true</boolProp>
  11868. <boolProp name="CounterConfig.reset_on_tg_iteration">false</boolProp>
  11869. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/select_page_number.jmx</stringProp></CounterConfig>
  11870. <hashTree/>
  11871. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View ${gridEntityType} page" enabled="true">
  11872. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11873. <collectionProp name="Arguments.arguments">
  11874. <elementProp name="namespace" elementType="HTTPArgument">
  11875. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11876. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  11877. <stringProp name="Argument.metadata">=</stringProp>
  11878. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11879. <stringProp name="Argument.name">namespace</stringProp>
  11880. <stringProp name="Argument.desc">true</stringProp>
  11881. </elementProp>
  11882. <elementProp name="search" elementType="HTTPArgument">
  11883. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11884. <stringProp name="Argument.value"/>
  11885. <stringProp name="Argument.metadata">=</stringProp>
  11886. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11887. <stringProp name="Argument.name">search</stringProp>
  11888. <stringProp name="Argument.desc">true</stringProp>
  11889. </elementProp>
  11890. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  11891. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11892. <stringProp name="Argument.value">true</stringProp>
  11893. <stringProp name="Argument.metadata">=</stringProp>
  11894. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11895. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  11896. <stringProp name="Argument.desc">true</stringProp>
  11897. </elementProp>
  11898. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  11899. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11900. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  11901. <stringProp name="Argument.metadata">=</stringProp>
  11902. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11903. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  11904. <stringProp name="Argument.desc">true</stringProp>
  11905. </elementProp>
  11906. <elementProp name="paging[current]" elementType="HTTPArgument">
  11907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11908. <stringProp name="Argument.value">${page_number}</stringProp>
  11909. <stringProp name="Argument.metadata">=</stringProp>
  11910. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11911. <stringProp name="Argument.name">paging[current]</stringProp>
  11912. <stringProp name="Argument.desc">true</stringProp>
  11913. </elementProp>
  11914. <elementProp name="sorting[field]" elementType="HTTPArgument">
  11915. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11916. <stringProp name="Argument.value">entity_id</stringProp>
  11917. <stringProp name="Argument.metadata">=</stringProp>
  11918. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11919. <stringProp name="Argument.name">sorting[field]</stringProp>
  11920. <stringProp name="Argument.desc">true</stringProp>
  11921. </elementProp>
  11922. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  11923. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11924. <stringProp name="Argument.value">asc</stringProp>
  11925. <stringProp name="Argument.metadata">=</stringProp>
  11926. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11927. <stringProp name="Argument.name">sorting[direction]</stringProp>
  11928. <stringProp name="Argument.desc">true</stringProp>
  11929. </elementProp>
  11930. <elementProp name="isAjax" elementType="HTTPArgument">
  11931. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  11932. <stringProp name="Argument.value">true</stringProp>
  11933. <stringProp name="Argument.metadata">=</stringProp>
  11934. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  11935. <stringProp name="Argument.name">isAjax</stringProp>
  11936. <stringProp name="Argument.desc">true</stringProp>
  11937. </elementProp>
  11938. </collectionProp>
  11939. </elementProp>
  11940. <stringProp name="HTTPSampler.domain"/>
  11941. <stringProp name="HTTPSampler.port"/>
  11942. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  11943. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  11944. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  11945. <stringProp name="HTTPSampler.contentEncoding"/>
  11946. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  11947. <stringProp name="HTTPSampler.method">GET</stringProp>
  11948. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  11949. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  11950. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  11951. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  11952. <boolProp name="HTTPSampler.monitor">false</boolProp>
  11953. <stringProp name="HTTPSampler.embedded_url_re"/>
  11954. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/admin_browse_grid.jmx</stringProp></HTTPSamplerProxy>
  11955. <hashTree>
  11956. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  11957. <collectionProp name="Asserion.test_strings">
  11958. <stringProp name="1637639774">\"totalRecords\":[^0]\d*</stringProp>
  11959. </collectionProp>
  11960. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  11961. <boolProp name="Assertion.assume_success">false</boolProp>
  11962. <intProp name="Assertion.test_type">2</intProp>
  11963. </ResponseAssertion>
  11964. <hashTree/>
  11965. </hashTree>
  11966. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="SetUp - Select Filtered ${gridEntityType} Page Number" enabled="true">
  11967. <stringProp name="CounterConfig.start">1</stringProp>
  11968. <stringProp name="CounterConfig.end">${grid_pages_count_filtered}</stringProp>
  11969. <stringProp name="CounterConfig.incr">1</stringProp>
  11970. <stringProp name="CounterConfig.name">page_number</stringProp>
  11971. <stringProp name="CounterConfig.format"/>
  11972. <boolProp name="CounterConfig.per_user">true</boolProp>
  11973. <boolProp name="CounterConfig.reset_on_tg_iteration">false</boolProp>
  11974. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/select_filtered_page_number.jmx</stringProp></CounterConfig>
  11975. <hashTree/>
  11976. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="View ${gridEntityType} page - Filtering + Sorting" enabled="true">
  11977. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/admin_browse_grid_sort_and_filter.jmx</stringProp>
  11978. </TestFragmentController>
  11979. <hashTree>
  11980. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Sort Field Defined" enabled="true">
  11981. <stringProp name="ForeachController.inputVal">grid_sort_field</stringProp>
  11982. <stringProp name="ForeachController.returnVal">grid_sort_field</stringProp>
  11983. <boolProp name="ForeachController.useSeparator">true</boolProp>
  11984. <stringProp name="ForeachController.startIndex">0</stringProp>
  11985. <stringProp name="ForeachController.endIndex">3</stringProp>
  11986. </ForeachController>
  11987. <hashTree>
  11988. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Sort Order Defined" enabled="true">
  11989. <stringProp name="ForeachController.inputVal">grid_sort_order</stringProp>
  11990. <stringProp name="ForeachController.returnVal">grid_sort_order</stringProp>
  11991. <boolProp name="ForeachController.useSeparator">true</boolProp>
  11992. <stringProp name="ForeachController.startIndex">0</stringProp>
  11993. <stringProp name="ForeachController.endIndex">2</stringProp>
  11994. </ForeachController>
  11995. <hashTree>
  11996. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View ${gridEntityType} page - Filtering + Sort By ${grid_sort_field} ${grid_sort_order}" enabled="true">
  11997. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  11998. <collectionProp name="Arguments.arguments">
  11999. <elementProp name="namespace" elementType="HTTPArgument">
  12000. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12001. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  12002. <stringProp name="Argument.metadata">=</stringProp>
  12003. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12004. <stringProp name="Argument.name">namespace</stringProp>
  12005. <stringProp name="Argument.desc">false</stringProp>
  12006. </elementProp>
  12007. <elementProp name="filters[${grid_filter_field}]" elementType="HTTPArgument">
  12008. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12009. <stringProp name="Argument.value">${grid_admin_browse_filter_text}</stringProp>
  12010. <stringProp name="Argument.metadata">=</stringProp>
  12011. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12012. <stringProp name="Argument.name">filters[${grid_filter_field}]</stringProp>
  12013. <stringProp name="Argument.desc">false</stringProp>
  12014. </elementProp>
  12015. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  12016. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12017. <stringProp name="Argument.value">true</stringProp>
  12018. <stringProp name="Argument.metadata">=</stringProp>
  12019. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12020. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  12021. <stringProp name="Argument.desc">false</stringProp>
  12022. </elementProp>
  12023. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  12024. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12025. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  12026. <stringProp name="Argument.metadata">=</stringProp>
  12027. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12028. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  12029. <stringProp name="Argument.desc">false</stringProp>
  12030. </elementProp>
  12031. <elementProp name="paging[current]" elementType="HTTPArgument">
  12032. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12033. <stringProp name="Argument.value">${page_number}</stringProp>
  12034. <stringProp name="Argument.metadata">=</stringProp>
  12035. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12036. <stringProp name="Argument.name">paging[current]</stringProp>
  12037. <stringProp name="Argument.desc">false</stringProp>
  12038. </elementProp>
  12039. <elementProp name="sorting[field]" elementType="HTTPArgument">
  12040. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12041. <stringProp name="Argument.value">${grid_sort_field}</stringProp>
  12042. <stringProp name="Argument.metadata">=</stringProp>
  12043. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12044. <stringProp name="Argument.name">sorting[field]</stringProp>
  12045. <stringProp name="Argument.desc">false</stringProp>
  12046. </elementProp>
  12047. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  12048. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12049. <stringProp name="Argument.value">${grid_sort_order}</stringProp>
  12050. <stringProp name="Argument.metadata">=</stringProp>
  12051. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12052. <stringProp name="Argument.name">sorting[direction]</stringProp>
  12053. <stringProp name="Argument.desc">false</stringProp>
  12054. </elementProp>
  12055. <elementProp name="isAjax" elementType="HTTPArgument">
  12056. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12057. <stringProp name="Argument.value">true</stringProp>
  12058. <stringProp name="Argument.metadata">=</stringProp>
  12059. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12060. <stringProp name="Argument.name">isAjax</stringProp>
  12061. <stringProp name="Argument.desc">false</stringProp>
  12062. </elementProp>
  12063. </collectionProp>
  12064. </elementProp>
  12065. <stringProp name="HTTPSampler.domain"/>
  12066. <stringProp name="HTTPSampler.port"/>
  12067. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12068. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12069. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12070. <stringProp name="HTTPSampler.contentEncoding"/>
  12071. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  12072. <stringProp name="HTTPSampler.method">GET</stringProp>
  12073. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12074. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12075. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12076. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12077. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12078. <stringProp name="HTTPSampler.embedded_url_re"/>
  12079. </HTTPSamplerProxy>
  12080. <hashTree>
  12081. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  12082. <collectionProp name="Asserion.test_strings">
  12083. <stringProp name="1637639774">\"totalRecords\":[^0]\d*</stringProp>
  12084. </collectionProp>
  12085. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  12086. <boolProp name="Assertion.assume_success">false</boolProp>
  12087. <intProp name="Assertion.test_type">2</intProp>
  12088. </ResponseAssertion>
  12089. <hashTree/>
  12090. </hashTree>
  12091. </hashTree>
  12092. </hashTree>
  12093. </hashTree>
  12094. </hashTree>
  12095. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  12096. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12097. <collectionProp name="Arguments.arguments"/>
  12098. </elementProp>
  12099. <stringProp name="HTTPSampler.domain"/>
  12100. <stringProp name="HTTPSampler.port"/>
  12101. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12102. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12103. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12104. <stringProp name="HTTPSampler.contentEncoding"/>
  12105. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  12106. <stringProp name="HTTPSampler.method">GET</stringProp>
  12107. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12108. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12109. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12110. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12111. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12112. <stringProp name="HTTPSampler.embedded_url_re"/>
  12113. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  12114. <hashTree>
  12115. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  12116. <boolProp name="resetInterpreter">false</boolProp>
  12117. <stringProp name="parameters"/>
  12118. <stringProp name="filename"/>
  12119. <stringProp name="script">
  12120. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  12121. if (adminUsersDistribution == 1) {
  12122. adminUserList = props.get("adminUserList");
  12123. adminUserList.add(vars.get("admin_user"));
  12124. }
  12125. </stringProp>
  12126. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  12127. <hashTree/>
  12128. </hashTree>
  12129. </hashTree>
  12130. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Browse Order Grid" enabled="true">
  12131. <intProp name="ThroughputController.style">1</intProp>
  12132. <boolProp name="ThroughputController.perThread">false</boolProp>
  12133. <intProp name="ThroughputController.maxThroughput">1</intProp>
  12134. <stringProp name="ThroughputController.percentThroughput">${browseOrderGridPercentage}</stringProp>
  12135. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  12136. <hashTree>
  12137. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  12138. <stringProp name="script">
  12139. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  12140. if (testLabel
  12141. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  12142. ) {
  12143. if (sampler.getName().indexOf(testLabel) == -1) {
  12144. sampler.setName(sampler.getName() + testLabel);
  12145. }
  12146. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  12147. sampler.setName("SetUp - " + sampler.getName());
  12148. }
  12149. </stringProp>
  12150. <stringProp name="scriptLanguage">javascript</stringProp>
  12151. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  12152. <hashTree/>
  12153. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  12154. <stringProp name="BeanShellSampler.query">
  12155. vars.put("testLabel", "Browse Order Grid");
  12156. </stringProp>
  12157. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  12158. </BeanShellSampler>
  12159. <hashTree/>
  12160. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  12161. <stringProp name="script">
  12162. function getFormKeyFromResponse()
  12163. {
  12164. var url = prev.getUrlAsString(),
  12165. responseCode = prev.getResponseCode(),
  12166. formKey = null;
  12167. searchPattern = /var FORM_KEY = '(.+)'/;
  12168. if (responseCode == "200" &amp;&amp; url) {
  12169. response = prev.getResponseDataAsString();
  12170. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  12171. }
  12172. return formKey;
  12173. }
  12174. formKey = vars.get("form_key_storage");
  12175. currentFormKey = getFormKeyFromResponse();
  12176. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  12177. vars.put("form_key_storage", currentFormKey);
  12178. }
  12179. </stringProp>
  12180. <stringProp name="scriptLanguage">javascript</stringProp>
  12181. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  12182. <hashTree/>
  12183. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  12184. <stringProp name="script">
  12185. formKey = vars.get("form_key_storage");
  12186. if (formKey
  12187. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  12188. &amp;&amp; sampler.getMethod() == "POST")
  12189. {
  12190. arguments = sampler.getArguments();
  12191. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  12192. {
  12193. argument = arguments.getArgument(i);
  12194. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  12195. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  12196. argument.setValue(formKey);
  12197. }
  12198. }
  12199. }
  12200. </stringProp>
  12201. <stringProp name="scriptLanguage">javascript</stringProp>
  12202. </JSR223PreProcessor>
  12203. <hashTree/>
  12204. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  12205. <collectionProp name="CookieManager.cookies"/>
  12206. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  12207. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  12208. <hashTree/>
  12209. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  12210. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  12211. </GenericController>
  12212. <hashTree>
  12213. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  12214. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  12215. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  12216. <hashTree>
  12217. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  12218. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  12219. <stringProp name="BeanShellSampler.query">
  12220. adminUserList = props.get("adminUserList");
  12221. adminUserListIterator = props.get("adminUserListIterator");
  12222. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  12223. if (adminUsersDistribution == 1) {
  12224. adminUser = adminUserList.poll();
  12225. } else {
  12226. if (!adminUserListIterator.hasNext()) {
  12227. adminUserListIterator = adminUserList.descendingIterator();
  12228. }
  12229. adminUser = adminUserListIterator.next();
  12230. }
  12231. if (adminUser == null) {
  12232. SampleResult.setResponseMessage("adminUser list is empty");
  12233. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  12234. IsSuccess=false;
  12235. SampleResult.setSuccessful(false);
  12236. SampleResult.setStopThread(true);
  12237. }
  12238. vars.put("admin_user", adminUser);
  12239. </stringProp>
  12240. <stringProp name="BeanShellSampler.filename"/>
  12241. <stringProp name="BeanShellSampler.parameters"/>
  12242. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  12243. </BeanShellSampler>
  12244. <hashTree/>
  12245. </hashTree>
  12246. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  12247. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12248. <collectionProp name="Arguments.arguments"/>
  12249. </elementProp>
  12250. <stringProp name="HTTPSampler.domain"/>
  12251. <stringProp name="HTTPSampler.port"/>
  12252. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12253. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12254. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12255. <stringProp name="HTTPSampler.contentEncoding"/>
  12256. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  12257. <stringProp name="HTTPSampler.method">GET</stringProp>
  12258. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12259. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12260. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12261. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12262. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12263. <stringProp name="HTTPSampler.embedded_url_re"/>
  12264. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  12265. <hashTree>
  12266. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  12267. <collectionProp name="Asserion.test_strings">
  12268. <stringProp name="-1397214398">Welcome</stringProp>
  12269. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  12270. </collectionProp>
  12271. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  12272. <boolProp name="Assertion.assume_success">false</boolProp>
  12273. <intProp name="Assertion.test_type">2</intProp>
  12274. </ResponseAssertion>
  12275. <hashTree/>
  12276. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  12277. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  12278. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  12279. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  12280. <stringProp name="RegexExtractor.template">$1$</stringProp>
  12281. <stringProp name="RegexExtractor.default"/>
  12282. <stringProp name="RegexExtractor.match_number">1</stringProp>
  12283. </RegexExtractor>
  12284. <hashTree/>
  12285. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  12286. <collectionProp name="Asserion.test_strings">
  12287. <stringProp name="2845929">^.+$</stringProp>
  12288. </collectionProp>
  12289. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  12290. <boolProp name="Assertion.assume_success">false</boolProp>
  12291. <intProp name="Assertion.test_type">1</intProp>
  12292. <stringProp name="Assertion.scope">variable</stringProp>
  12293. <stringProp name="Scope.variable">admin_form_key</stringProp>
  12294. </ResponseAssertion>
  12295. <hashTree/>
  12296. </hashTree>
  12297. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  12298. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12299. <collectionProp name="Arguments.arguments">
  12300. <elementProp name="dummy" elementType="HTTPArgument">
  12301. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12302. <stringProp name="Argument.value"/>
  12303. <stringProp name="Argument.metadata">=</stringProp>
  12304. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12305. <stringProp name="Argument.name">dummy</stringProp>
  12306. </elementProp>
  12307. <elementProp name="form_key" elementType="HTTPArgument">
  12308. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12309. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  12310. <stringProp name="Argument.metadata">=</stringProp>
  12311. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12312. <stringProp name="Argument.name">form_key</stringProp>
  12313. </elementProp>
  12314. <elementProp name="login[password]" elementType="HTTPArgument">
  12315. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12316. <stringProp name="Argument.value">${admin_password}</stringProp>
  12317. <stringProp name="Argument.metadata">=</stringProp>
  12318. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12319. <stringProp name="Argument.name">login[password]</stringProp>
  12320. </elementProp>
  12321. <elementProp name="login[username]" elementType="HTTPArgument">
  12322. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12323. <stringProp name="Argument.value">${admin_user}</stringProp>
  12324. <stringProp name="Argument.metadata">=</stringProp>
  12325. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12326. <stringProp name="Argument.name">login[username]</stringProp>
  12327. </elementProp>
  12328. </collectionProp>
  12329. </elementProp>
  12330. <stringProp name="HTTPSampler.domain"/>
  12331. <stringProp name="HTTPSampler.port"/>
  12332. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12333. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12334. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12335. <stringProp name="HTTPSampler.contentEncoding"/>
  12336. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  12337. <stringProp name="HTTPSampler.method">POST</stringProp>
  12338. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12339. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12340. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12341. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12342. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  12343. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12344. <stringProp name="HTTPSampler.embedded_url_re"/>
  12345. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  12346. </HTTPSamplerProxy>
  12347. <hashTree>
  12348. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  12349. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  12350. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  12351. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  12352. <stringProp name="RegexExtractor.template">$1$</stringProp>
  12353. <stringProp name="RegexExtractor.default"/>
  12354. <stringProp name="RegexExtractor.match_number">1</stringProp>
  12355. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  12356. <hashTree/>
  12357. </hashTree>
  12358. </hashTree>
  12359. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Set Arguments" enabled="true">
  12360. <stringProp name="script">
  12361. vars.put("gridEntityType" , "Order");
  12362. pagesCount = parseInt(vars.get("orders_page_size")) || 20;
  12363. vars.put("grid_entity_page_size" , pagesCount);
  12364. vars.put("grid_namespace" , "sales_order_grid");
  12365. vars.put("grid_admin_browse_filter_text" , vars.get("admin_browse_orders_filter_text"));
  12366. vars.put("grid_filter_field", "status");
  12367. // set sort fields and sort directions
  12368. vars.put("grid_sort_field_1", "increment_id");
  12369. vars.put("grid_sort_field_2", "created_at");
  12370. vars.put("grid_sort_field_3", "billing_name");
  12371. vars.put("grid_sort_order_1", "asc");
  12372. vars.put("grid_sort_order_2", "desc");
  12373. </stringProp>
  12374. <stringProp name="scriptLanguage">javascript</stringProp>
  12375. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_orders_grid/setup.jmx</stringProp></JSR223PostProcessor>
  12376. <hashTree/>
  12377. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  12378. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  12379. </GenericController>
  12380. <hashTree>
  12381. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Set ${gridEntityType} Pages Count" enabled="true">
  12382. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12383. <collectionProp name="Arguments.arguments">
  12384. <elementProp name="namespace" elementType="HTTPArgument">
  12385. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12386. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  12387. <stringProp name="Argument.metadata">=</stringProp>
  12388. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12389. <stringProp name="Argument.name">namespace</stringProp>
  12390. <stringProp name="Argument.desc">true</stringProp>
  12391. </elementProp>
  12392. <elementProp name="search" elementType="HTTPArgument">
  12393. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12394. <stringProp name="Argument.value"/>
  12395. <stringProp name="Argument.metadata">=</stringProp>
  12396. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12397. <stringProp name="Argument.name">search</stringProp>
  12398. <stringProp name="Argument.desc">true</stringProp>
  12399. </elementProp>
  12400. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  12401. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12402. <stringProp name="Argument.value">true</stringProp>
  12403. <stringProp name="Argument.metadata">=</stringProp>
  12404. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12405. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  12406. <stringProp name="Argument.desc">true</stringProp>
  12407. </elementProp>
  12408. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  12409. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12410. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  12411. <stringProp name="Argument.metadata">=</stringProp>
  12412. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12413. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  12414. <stringProp name="Argument.desc">true</stringProp>
  12415. </elementProp>
  12416. <elementProp name="paging[current]" elementType="HTTPArgument">
  12417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12418. <stringProp name="Argument.value">1</stringProp>
  12419. <stringProp name="Argument.metadata">=</stringProp>
  12420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12421. <stringProp name="Argument.name">paging[current]</stringProp>
  12422. <stringProp name="Argument.desc">true</stringProp>
  12423. </elementProp>
  12424. <elementProp name="sorting[field]" elementType="HTTPArgument">
  12425. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12426. <stringProp name="Argument.value">entity_id</stringProp>
  12427. <stringProp name="Argument.metadata">=</stringProp>
  12428. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12429. <stringProp name="Argument.name">sorting[field]</stringProp>
  12430. <stringProp name="Argument.desc">true</stringProp>
  12431. </elementProp>
  12432. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  12433. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12434. <stringProp name="Argument.value">asc</stringProp>
  12435. <stringProp name="Argument.metadata">=</stringProp>
  12436. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12437. <stringProp name="Argument.name">sorting[direction]</stringProp>
  12438. <stringProp name="Argument.desc">true</stringProp>
  12439. </elementProp>
  12440. <elementProp name="isAjax" elementType="HTTPArgument">
  12441. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12442. <stringProp name="Argument.value">true</stringProp>
  12443. <stringProp name="Argument.metadata">=</stringProp>
  12444. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12445. <stringProp name="Argument.name">isAjax</stringProp>
  12446. <stringProp name="Argument.desc">true</stringProp>
  12447. </elementProp>
  12448. </collectionProp>
  12449. </elementProp>
  12450. <stringProp name="HTTPSampler.domain"/>
  12451. <stringProp name="HTTPSampler.port"/>
  12452. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12453. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12454. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12455. <stringProp name="HTTPSampler.contentEncoding"/>
  12456. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  12457. <stringProp name="HTTPSampler.method">GET</stringProp>
  12458. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12459. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12460. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12461. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12462. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12463. <stringProp name="HTTPSampler.embedded_url_re"/>
  12464. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/set_pages_count.jmx</stringProp></HTTPSamplerProxy>
  12465. <hashTree>
  12466. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  12467. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  12468. <stringProp name="EXPECTED_VALUE">0</stringProp>
  12469. <boolProp name="JSONVALIDATION">true</boolProp>
  12470. <boolProp name="EXPECT_NULL">false</boolProp>
  12471. <boolProp name="INVERT">true</boolProp>
  12472. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  12473. <hashTree/>
  12474. <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 total records" enabled="true">
  12475. <stringProp name="VAR">entity_total_records</stringProp>
  12476. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  12477. <stringProp name="DEFAULT"/>
  12478. <stringProp name="VARIABLE"/>
  12479. <stringProp name="SUBJECT">BODY</stringProp>
  12480. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  12481. <hashTree/>
  12482. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Calculate ${gridEntityType} pages count" enabled="true">
  12483. <stringProp name="cacheKey"/>
  12484. <stringProp name="filename"/>
  12485. <stringProp name="parameters"/>
  12486. <stringProp name="script">
  12487. var pageSize = parseInt(vars.get("grid_entity_page_size")) || 20;
  12488. var totalsRecord = parseInt(vars.get("entity_total_records"));
  12489. var pageCount = Math.round(totalsRecord/pageSize);
  12490. vars.put("grid_pages_count", pageCount);
  12491. </stringProp>
  12492. <stringProp name="scriptLanguage">javascript</stringProp>
  12493. </JSR223PostProcessor>
  12494. <hashTree/>
  12495. </hashTree>
  12496. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Set ${gridEntityType} Filtered Pages Count" enabled="true">
  12497. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12498. <collectionProp name="Arguments.arguments">
  12499. <elementProp name="namespace" elementType="HTTPArgument">
  12500. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12501. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  12502. <stringProp name="Argument.metadata">=</stringProp>
  12503. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12504. <stringProp name="Argument.name">namespace</stringProp>
  12505. <stringProp name="Argument.desc">true</stringProp>
  12506. </elementProp>
  12507. <elementProp name="search" elementType="HTTPArgument">
  12508. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12509. <stringProp name="Argument.value"/>
  12510. <stringProp name="Argument.metadata">=</stringProp>
  12511. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12512. <stringProp name="Argument.name">search</stringProp>
  12513. <stringProp name="Argument.desc">true</stringProp>
  12514. </elementProp>
  12515. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  12516. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12517. <stringProp name="Argument.value">${grid_admin_browse_filter_text}</stringProp>
  12518. <stringProp name="Argument.metadata">=</stringProp>
  12519. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12520. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  12521. <stringProp name="Argument.desc">true</stringProp>
  12522. </elementProp>
  12523. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  12524. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12525. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  12526. <stringProp name="Argument.metadata">=</stringProp>
  12527. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12528. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  12529. <stringProp name="Argument.desc">true</stringProp>
  12530. </elementProp>
  12531. <elementProp name="paging[current]" elementType="HTTPArgument">
  12532. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12533. <stringProp name="Argument.value">1</stringProp>
  12534. <stringProp name="Argument.metadata">=</stringProp>
  12535. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12536. <stringProp name="Argument.name">paging[current]</stringProp>
  12537. <stringProp name="Argument.desc">true</stringProp>
  12538. </elementProp>
  12539. <elementProp name="sorting[field]" elementType="HTTPArgument">
  12540. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12541. <stringProp name="Argument.value">entity_id</stringProp>
  12542. <stringProp name="Argument.metadata">=</stringProp>
  12543. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12544. <stringProp name="Argument.name">sorting[field]</stringProp>
  12545. <stringProp name="Argument.desc">true</stringProp>
  12546. </elementProp>
  12547. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  12548. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12549. <stringProp name="Argument.value">asc</stringProp>
  12550. <stringProp name="Argument.metadata">=</stringProp>
  12551. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12552. <stringProp name="Argument.name">sorting[direction]</stringProp>
  12553. <stringProp name="Argument.desc">true</stringProp>
  12554. </elementProp>
  12555. <elementProp name="isAjax" elementType="HTTPArgument">
  12556. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12557. <stringProp name="Argument.value">true</stringProp>
  12558. <stringProp name="Argument.metadata">=</stringProp>
  12559. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12560. <stringProp name="Argument.name">isAjax</stringProp>
  12561. <stringProp name="Argument.desc">true</stringProp>
  12562. </elementProp>
  12563. </collectionProp>
  12564. </elementProp>
  12565. <stringProp name="HTTPSampler.domain"/>
  12566. <stringProp name="HTTPSampler.port"/>
  12567. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12568. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12569. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12570. <stringProp name="HTTPSampler.contentEncoding"/>
  12571. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  12572. <stringProp name="HTTPSampler.method">GET</stringProp>
  12573. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12574. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12575. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12576. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12577. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12578. <stringProp name="HTTPSampler.embedded_url_re"/>
  12579. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/set_filtered_pages_count.jmx</stringProp></HTTPSamplerProxy>
  12580. <hashTree>
  12581. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  12582. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  12583. <stringProp name="EXPECTED_VALUE">0</stringProp>
  12584. <boolProp name="JSONVALIDATION">true</boolProp>
  12585. <boolProp name="EXPECT_NULL">false</boolProp>
  12586. <boolProp name="INVERT">true</boolProp>
  12587. <boolProp name="ISREGEX">true</boolProp>
  12588. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  12589. <hashTree/>
  12590. <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 total records" enabled="true">
  12591. <stringProp name="VAR">entity_total_records</stringProp>
  12592. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  12593. <stringProp name="DEFAULT"/>
  12594. <stringProp name="VARIABLE"/>
  12595. <stringProp name="SUBJECT">BODY</stringProp>
  12596. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  12597. <hashTree/>
  12598. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Calculate ${gridEntityType} filtered pages count" enabled="true">
  12599. <stringProp name="parameters"/>
  12600. <stringProp name="filename"/>
  12601. <stringProp name="script">
  12602. var pageSize = parseInt(vars.get("grid_entity_page_size")) || 20;
  12603. var totalsRecord = parseInt(vars.get("entity_total_records"));
  12604. var pageCount = Math.round(totalsRecord/pageSize);
  12605. vars.put("grid_pages_count_filtered", pageCount);
  12606. </stringProp>
  12607. <stringProp name="scriptLanguage">javascript</stringProp>
  12608. </JSR223PostProcessor>
  12609. <hashTree/>
  12610. </hashTree>
  12611. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="SetUp - Select ${gridEntityType} Page Number" enabled="true">
  12612. <stringProp name="CounterConfig.start">1</stringProp>
  12613. <stringProp name="CounterConfig.end">${grid_pages_count}</stringProp>
  12614. <stringProp name="CounterConfig.incr">1</stringProp>
  12615. <stringProp name="CounterConfig.name">page_number</stringProp>
  12616. <stringProp name="CounterConfig.format"/>
  12617. <boolProp name="CounterConfig.per_user">true</boolProp>
  12618. <boolProp name="CounterConfig.reset_on_tg_iteration">false</boolProp>
  12619. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/select_page_number.jmx</stringProp></CounterConfig>
  12620. <hashTree/>
  12621. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View ${gridEntityType} page" enabled="true">
  12622. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12623. <collectionProp name="Arguments.arguments">
  12624. <elementProp name="namespace" elementType="HTTPArgument">
  12625. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12626. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  12627. <stringProp name="Argument.metadata">=</stringProp>
  12628. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12629. <stringProp name="Argument.name">namespace</stringProp>
  12630. <stringProp name="Argument.desc">true</stringProp>
  12631. </elementProp>
  12632. <elementProp name="search" elementType="HTTPArgument">
  12633. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12634. <stringProp name="Argument.value"/>
  12635. <stringProp name="Argument.metadata">=</stringProp>
  12636. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12637. <stringProp name="Argument.name">search</stringProp>
  12638. <stringProp name="Argument.desc">true</stringProp>
  12639. </elementProp>
  12640. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  12641. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12642. <stringProp name="Argument.value">true</stringProp>
  12643. <stringProp name="Argument.metadata">=</stringProp>
  12644. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12645. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  12646. <stringProp name="Argument.desc">true</stringProp>
  12647. </elementProp>
  12648. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  12649. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12650. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  12651. <stringProp name="Argument.metadata">=</stringProp>
  12652. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12653. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  12654. <stringProp name="Argument.desc">true</stringProp>
  12655. </elementProp>
  12656. <elementProp name="paging[current]" elementType="HTTPArgument">
  12657. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12658. <stringProp name="Argument.value">${page_number}</stringProp>
  12659. <stringProp name="Argument.metadata">=</stringProp>
  12660. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12661. <stringProp name="Argument.name">paging[current]</stringProp>
  12662. <stringProp name="Argument.desc">true</stringProp>
  12663. </elementProp>
  12664. <elementProp name="sorting[field]" elementType="HTTPArgument">
  12665. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12666. <stringProp name="Argument.value">entity_id</stringProp>
  12667. <stringProp name="Argument.metadata">=</stringProp>
  12668. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12669. <stringProp name="Argument.name">sorting[field]</stringProp>
  12670. <stringProp name="Argument.desc">true</stringProp>
  12671. </elementProp>
  12672. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  12673. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12674. <stringProp name="Argument.value">asc</stringProp>
  12675. <stringProp name="Argument.metadata">=</stringProp>
  12676. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12677. <stringProp name="Argument.name">sorting[direction]</stringProp>
  12678. <stringProp name="Argument.desc">true</stringProp>
  12679. </elementProp>
  12680. <elementProp name="isAjax" elementType="HTTPArgument">
  12681. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12682. <stringProp name="Argument.value">true</stringProp>
  12683. <stringProp name="Argument.metadata">=</stringProp>
  12684. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12685. <stringProp name="Argument.name">isAjax</stringProp>
  12686. <stringProp name="Argument.desc">true</stringProp>
  12687. </elementProp>
  12688. </collectionProp>
  12689. </elementProp>
  12690. <stringProp name="HTTPSampler.domain"/>
  12691. <stringProp name="HTTPSampler.port"/>
  12692. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12693. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12694. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12695. <stringProp name="HTTPSampler.contentEncoding"/>
  12696. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  12697. <stringProp name="HTTPSampler.method">GET</stringProp>
  12698. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12699. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12700. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12701. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12702. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12703. <stringProp name="HTTPSampler.embedded_url_re"/>
  12704. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/admin_browse_grid.jmx</stringProp></HTTPSamplerProxy>
  12705. <hashTree>
  12706. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  12707. <collectionProp name="Asserion.test_strings">
  12708. <stringProp name="1637639774">\"totalRecords\":[^0]\d*</stringProp>
  12709. </collectionProp>
  12710. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  12711. <boolProp name="Assertion.assume_success">false</boolProp>
  12712. <intProp name="Assertion.test_type">2</intProp>
  12713. </ResponseAssertion>
  12714. <hashTree/>
  12715. </hashTree>
  12716. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="SetUp - Select Filtered ${gridEntityType} Page Number" enabled="true">
  12717. <stringProp name="CounterConfig.start">1</stringProp>
  12718. <stringProp name="CounterConfig.end">${grid_pages_count_filtered}</stringProp>
  12719. <stringProp name="CounterConfig.incr">1</stringProp>
  12720. <stringProp name="CounterConfig.name">page_number</stringProp>
  12721. <stringProp name="CounterConfig.format"/>
  12722. <boolProp name="CounterConfig.per_user">true</boolProp>
  12723. <boolProp name="CounterConfig.reset_on_tg_iteration">false</boolProp>
  12724. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/select_filtered_page_number.jmx</stringProp></CounterConfig>
  12725. <hashTree/>
  12726. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="View ${gridEntityType} page - Filtering + Sorting" enabled="true">
  12727. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/admin_browse_grid_sort_and_filter.jmx</stringProp>
  12728. </TestFragmentController>
  12729. <hashTree>
  12730. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Sort Field Defined" enabled="true">
  12731. <stringProp name="ForeachController.inputVal">grid_sort_field</stringProp>
  12732. <stringProp name="ForeachController.returnVal">grid_sort_field</stringProp>
  12733. <boolProp name="ForeachController.useSeparator">true</boolProp>
  12734. <stringProp name="ForeachController.startIndex">0</stringProp>
  12735. <stringProp name="ForeachController.endIndex">3</stringProp>
  12736. </ForeachController>
  12737. <hashTree>
  12738. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Sort Order Defined" enabled="true">
  12739. <stringProp name="ForeachController.inputVal">grid_sort_order</stringProp>
  12740. <stringProp name="ForeachController.returnVal">grid_sort_order</stringProp>
  12741. <boolProp name="ForeachController.useSeparator">true</boolProp>
  12742. <stringProp name="ForeachController.startIndex">0</stringProp>
  12743. <stringProp name="ForeachController.endIndex">2</stringProp>
  12744. </ForeachController>
  12745. <hashTree>
  12746. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View ${gridEntityType} page - Filtering + Sort By ${grid_sort_field} ${grid_sort_order}" enabled="true">
  12747. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12748. <collectionProp name="Arguments.arguments">
  12749. <elementProp name="namespace" elementType="HTTPArgument">
  12750. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12751. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  12752. <stringProp name="Argument.metadata">=</stringProp>
  12753. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12754. <stringProp name="Argument.name">namespace</stringProp>
  12755. <stringProp name="Argument.desc">false</stringProp>
  12756. </elementProp>
  12757. <elementProp name="filters[${grid_filter_field}]" elementType="HTTPArgument">
  12758. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12759. <stringProp name="Argument.value">${grid_admin_browse_filter_text}</stringProp>
  12760. <stringProp name="Argument.metadata">=</stringProp>
  12761. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12762. <stringProp name="Argument.name">filters[${grid_filter_field}]</stringProp>
  12763. <stringProp name="Argument.desc">false</stringProp>
  12764. </elementProp>
  12765. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  12766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12767. <stringProp name="Argument.value">true</stringProp>
  12768. <stringProp name="Argument.metadata">=</stringProp>
  12769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12770. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  12771. <stringProp name="Argument.desc">false</stringProp>
  12772. </elementProp>
  12773. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  12774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12775. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  12776. <stringProp name="Argument.metadata">=</stringProp>
  12777. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12778. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  12779. <stringProp name="Argument.desc">false</stringProp>
  12780. </elementProp>
  12781. <elementProp name="paging[current]" elementType="HTTPArgument">
  12782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12783. <stringProp name="Argument.value">${page_number}</stringProp>
  12784. <stringProp name="Argument.metadata">=</stringProp>
  12785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12786. <stringProp name="Argument.name">paging[current]</stringProp>
  12787. <stringProp name="Argument.desc">false</stringProp>
  12788. </elementProp>
  12789. <elementProp name="sorting[field]" elementType="HTTPArgument">
  12790. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12791. <stringProp name="Argument.value">${grid_sort_field}</stringProp>
  12792. <stringProp name="Argument.metadata">=</stringProp>
  12793. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12794. <stringProp name="Argument.name">sorting[field]</stringProp>
  12795. <stringProp name="Argument.desc">false</stringProp>
  12796. </elementProp>
  12797. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  12798. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12799. <stringProp name="Argument.value">${grid_sort_order}</stringProp>
  12800. <stringProp name="Argument.metadata">=</stringProp>
  12801. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12802. <stringProp name="Argument.name">sorting[direction]</stringProp>
  12803. <stringProp name="Argument.desc">false</stringProp>
  12804. </elementProp>
  12805. <elementProp name="isAjax" elementType="HTTPArgument">
  12806. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  12807. <stringProp name="Argument.value">true</stringProp>
  12808. <stringProp name="Argument.metadata">=</stringProp>
  12809. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  12810. <stringProp name="Argument.name">isAjax</stringProp>
  12811. <stringProp name="Argument.desc">false</stringProp>
  12812. </elementProp>
  12813. </collectionProp>
  12814. </elementProp>
  12815. <stringProp name="HTTPSampler.domain"/>
  12816. <stringProp name="HTTPSampler.port"/>
  12817. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12818. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12819. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12820. <stringProp name="HTTPSampler.contentEncoding"/>
  12821. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  12822. <stringProp name="HTTPSampler.method">GET</stringProp>
  12823. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12824. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12825. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12826. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12827. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12828. <stringProp name="HTTPSampler.embedded_url_re"/>
  12829. </HTTPSamplerProxy>
  12830. <hashTree>
  12831. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  12832. <collectionProp name="Asserion.test_strings">
  12833. <stringProp name="1637639774">\"totalRecords\":[^0]\d*</stringProp>
  12834. </collectionProp>
  12835. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  12836. <boolProp name="Assertion.assume_success">false</boolProp>
  12837. <intProp name="Assertion.test_type">2</intProp>
  12838. </ResponseAssertion>
  12839. <hashTree/>
  12840. </hashTree>
  12841. </hashTree>
  12842. </hashTree>
  12843. </hashTree>
  12844. </hashTree>
  12845. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  12846. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12847. <collectionProp name="Arguments.arguments"/>
  12848. </elementProp>
  12849. <stringProp name="HTTPSampler.domain"/>
  12850. <stringProp name="HTTPSampler.port"/>
  12851. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  12852. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  12853. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  12854. <stringProp name="HTTPSampler.contentEncoding"/>
  12855. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  12856. <stringProp name="HTTPSampler.method">GET</stringProp>
  12857. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  12858. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  12859. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  12860. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  12861. <boolProp name="HTTPSampler.monitor">false</boolProp>
  12862. <stringProp name="HTTPSampler.embedded_url_re"/>
  12863. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  12864. <hashTree>
  12865. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  12866. <boolProp name="resetInterpreter">false</boolProp>
  12867. <stringProp name="parameters"/>
  12868. <stringProp name="filename"/>
  12869. <stringProp name="script">
  12870. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  12871. if (adminUsersDistribution == 1) {
  12872. adminUserList = props.get("adminUserList");
  12873. adminUserList.add(vars.get("admin_user"));
  12874. }
  12875. </stringProp>
  12876. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  12877. <hashTree/>
  12878. </hashTree>
  12879. </hashTree>
  12880. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Create Product" enabled="true">
  12881. <intProp name="ThroughputController.style">1</intProp>
  12882. <boolProp name="ThroughputController.perThread">false</boolProp>
  12883. <intProp name="ThroughputController.maxThroughput">1</intProp>
  12884. <stringProp name="ThroughputController.percentThroughput">${adminProductCreationPercentage}</stringProp>
  12885. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  12886. <hashTree>
  12887. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  12888. <stringProp name="script">
  12889. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  12890. if (testLabel
  12891. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  12892. ) {
  12893. if (sampler.getName().indexOf(testLabel) == -1) {
  12894. sampler.setName(sampler.getName() + testLabel);
  12895. }
  12896. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  12897. sampler.setName("SetUp - " + sampler.getName());
  12898. }
  12899. </stringProp>
  12900. <stringProp name="scriptLanguage">javascript</stringProp>
  12901. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  12902. <hashTree/>
  12903. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  12904. <stringProp name="BeanShellSampler.query">
  12905. vars.put("testLabel", "Admin Create Product");
  12906. </stringProp>
  12907. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  12908. </BeanShellSampler>
  12909. <hashTree/>
  12910. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  12911. <stringProp name="script">
  12912. function getFormKeyFromResponse()
  12913. {
  12914. var url = prev.getUrlAsString(),
  12915. responseCode = prev.getResponseCode(),
  12916. formKey = null;
  12917. searchPattern = /var FORM_KEY = '(.+)'/;
  12918. if (responseCode == "200" &amp;&amp; url) {
  12919. response = prev.getResponseDataAsString();
  12920. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  12921. }
  12922. return formKey;
  12923. }
  12924. formKey = vars.get("form_key_storage");
  12925. currentFormKey = getFormKeyFromResponse();
  12926. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  12927. vars.put("form_key_storage", currentFormKey);
  12928. }
  12929. </stringProp>
  12930. <stringProp name="scriptLanguage">javascript</stringProp>
  12931. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  12932. <hashTree/>
  12933. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  12934. <stringProp name="script">
  12935. formKey = vars.get("form_key_storage");
  12936. if (formKey
  12937. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  12938. &amp;&amp; sampler.getMethod() == "POST")
  12939. {
  12940. arguments = sampler.getArguments();
  12941. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  12942. {
  12943. argument = arguments.getArgument(i);
  12944. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  12945. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  12946. argument.setValue(formKey);
  12947. }
  12948. }
  12949. }
  12950. </stringProp>
  12951. <stringProp name="scriptLanguage">javascript</stringProp>
  12952. </JSR223PreProcessor>
  12953. <hashTree/>
  12954. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  12955. <collectionProp name="CookieManager.cookies"/>
  12956. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  12957. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  12958. <hashTree/>
  12959. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  12960. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  12961. </GenericController>
  12962. <hashTree>
  12963. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  12964. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  12965. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  12966. <hashTree>
  12967. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  12968. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  12969. <stringProp name="BeanShellSampler.query">
  12970. adminUserList = props.get("adminUserList");
  12971. adminUserListIterator = props.get("adminUserListIterator");
  12972. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  12973. if (adminUsersDistribution == 1) {
  12974. adminUser = adminUserList.poll();
  12975. } else {
  12976. if (!adminUserListIterator.hasNext()) {
  12977. adminUserListIterator = adminUserList.descendingIterator();
  12978. }
  12979. adminUser = adminUserListIterator.next();
  12980. }
  12981. if (adminUser == null) {
  12982. SampleResult.setResponseMessage("adminUser list is empty");
  12983. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  12984. IsSuccess=false;
  12985. SampleResult.setSuccessful(false);
  12986. SampleResult.setStopThread(true);
  12987. }
  12988. vars.put("admin_user", adminUser);
  12989. </stringProp>
  12990. <stringProp name="BeanShellSampler.filename"/>
  12991. <stringProp name="BeanShellSampler.parameters"/>
  12992. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  12993. </BeanShellSampler>
  12994. <hashTree/>
  12995. </hashTree>
  12996. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  12997. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  12998. <collectionProp name="Arguments.arguments"/>
  12999. </elementProp>
  13000. <stringProp name="HTTPSampler.domain"/>
  13001. <stringProp name="HTTPSampler.port"/>
  13002. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13003. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13004. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13005. <stringProp name="HTTPSampler.contentEncoding"/>
  13006. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  13007. <stringProp name="HTTPSampler.method">GET</stringProp>
  13008. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13009. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13010. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13011. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13012. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13013. <stringProp name="HTTPSampler.embedded_url_re"/>
  13014. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  13015. <hashTree>
  13016. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  13017. <collectionProp name="Asserion.test_strings">
  13018. <stringProp name="-1397214398">Welcome</stringProp>
  13019. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  13020. </collectionProp>
  13021. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  13022. <boolProp name="Assertion.assume_success">false</boolProp>
  13023. <intProp name="Assertion.test_type">2</intProp>
  13024. </ResponseAssertion>
  13025. <hashTree/>
  13026. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  13027. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  13028. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  13029. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  13030. <stringProp name="RegexExtractor.template">$1$</stringProp>
  13031. <stringProp name="RegexExtractor.default"/>
  13032. <stringProp name="RegexExtractor.match_number">1</stringProp>
  13033. </RegexExtractor>
  13034. <hashTree/>
  13035. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  13036. <collectionProp name="Asserion.test_strings">
  13037. <stringProp name="2845929">^.+$</stringProp>
  13038. </collectionProp>
  13039. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  13040. <boolProp name="Assertion.assume_success">false</boolProp>
  13041. <intProp name="Assertion.test_type">1</intProp>
  13042. <stringProp name="Assertion.scope">variable</stringProp>
  13043. <stringProp name="Scope.variable">admin_form_key</stringProp>
  13044. </ResponseAssertion>
  13045. <hashTree/>
  13046. </hashTree>
  13047. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  13048. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  13049. <collectionProp name="Arguments.arguments">
  13050. <elementProp name="dummy" elementType="HTTPArgument">
  13051. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13052. <stringProp name="Argument.value"/>
  13053. <stringProp name="Argument.metadata">=</stringProp>
  13054. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13055. <stringProp name="Argument.name">dummy</stringProp>
  13056. </elementProp>
  13057. <elementProp name="form_key" elementType="HTTPArgument">
  13058. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13059. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  13060. <stringProp name="Argument.metadata">=</stringProp>
  13061. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13062. <stringProp name="Argument.name">form_key</stringProp>
  13063. </elementProp>
  13064. <elementProp name="login[password]" elementType="HTTPArgument">
  13065. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13066. <stringProp name="Argument.value">${admin_password}</stringProp>
  13067. <stringProp name="Argument.metadata">=</stringProp>
  13068. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13069. <stringProp name="Argument.name">login[password]</stringProp>
  13070. </elementProp>
  13071. <elementProp name="login[username]" elementType="HTTPArgument">
  13072. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13073. <stringProp name="Argument.value">${admin_user}</stringProp>
  13074. <stringProp name="Argument.metadata">=</stringProp>
  13075. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13076. <stringProp name="Argument.name">login[username]</stringProp>
  13077. </elementProp>
  13078. </collectionProp>
  13079. </elementProp>
  13080. <stringProp name="HTTPSampler.domain"/>
  13081. <stringProp name="HTTPSampler.port"/>
  13082. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13083. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13084. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13085. <stringProp name="HTTPSampler.contentEncoding"/>
  13086. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  13087. <stringProp name="HTTPSampler.method">POST</stringProp>
  13088. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13089. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13090. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13091. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13092. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  13093. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13094. <stringProp name="HTTPSampler.embedded_url_re"/>
  13095. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  13096. </HTTPSamplerProxy>
  13097. <hashTree>
  13098. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  13099. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  13100. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  13101. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  13102. <stringProp name="RegexExtractor.template">$1$</stringProp>
  13103. <stringProp name="RegexExtractor.default"/>
  13104. <stringProp name="RegexExtractor.match_number">1</stringProp>
  13105. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  13106. <hashTree/>
  13107. </hashTree>
  13108. </hashTree>
  13109. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Once Only Controller" enabled="true">
  13110. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/once_only_controller.jmx</stringProp>
  13111. </OnceOnlyController>
  13112. <hashTree>
  13113. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Related Product Id" enabled="true">
  13114. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/get_related_product_id.jmx</stringProp>
  13115. <stringProp name="BeanShellSampler.query">import org.apache.jmeter.samplers.SampleResult;
  13116. import java.util.Random;
  13117. Random random = new Random();
  13118. if (${seedForRandom} &gt; 0) {
  13119. random.setSeed(${seedForRandom});
  13120. }
  13121. relatedIndex = random.nextInt(props.get("simple_products_list").size());
  13122. vars.put("related_product_id", props.get("simple_products_list").get(relatedIndex).get("id"));</stringProp>
  13123. <stringProp name="BeanShellSampler.filename"/>
  13124. <stringProp name="BeanShellSampler.parameters"/>
  13125. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  13126. </BeanShellSampler>
  13127. <hashTree/>
  13128. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Get Product Attributes" enabled="true">
  13129. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  13130. </GenericController>
  13131. <hashTree>
  13132. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  13133. <collectionProp name="HeaderManager.headers">
  13134. <elementProp name="" elementType="Header">
  13135. <stringProp name="Header.name">Content-Type</stringProp>
  13136. <stringProp name="Header.value">application/json</stringProp>
  13137. </elementProp>
  13138. <elementProp name="" elementType="Header">
  13139. <stringProp name="Header.name">Accept</stringProp>
  13140. <stringProp name="Header.value">*/*</stringProp>
  13141. </elementProp>
  13142. </collectionProp>
  13143. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager_before_token.jmx</stringProp></HeaderManager>
  13144. <hashTree/>
  13145. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  13146. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  13147. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  13148. <collectionProp name="Arguments.arguments">
  13149. <elementProp name="" elementType="HTTPArgument">
  13150. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  13151. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  13152. <stringProp name="Argument.metadata">=</stringProp>
  13153. </elementProp>
  13154. </collectionProp>
  13155. </elementProp>
  13156. <stringProp name="HTTPSampler.domain"/>
  13157. <stringProp name="HTTPSampler.port"/>
  13158. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13159. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13160. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13161. <stringProp name="HTTPSampler.contentEncoding"/>
  13162. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  13163. <stringProp name="HTTPSampler.method">POST</stringProp>
  13164. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13165. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13166. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13167. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13168. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13169. <stringProp name="HTTPSampler.embedded_url_re"/>
  13170. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/admin_token_retrieval.jmx</stringProp></HTTPSamplerProxy>
  13171. <hashTree>
  13172. <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">
  13173. <stringProp name="VAR">admin_token</stringProp>
  13174. <stringProp name="JSONPATH">$</stringProp>
  13175. <stringProp name="DEFAULT"/>
  13176. <stringProp name="VARIABLE"/>
  13177. <stringProp name="SUBJECT">BODY</stringProp>
  13178. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  13179. <hashTree/>
  13180. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  13181. <collectionProp name="Asserion.test_strings">
  13182. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  13183. </collectionProp>
  13184. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  13185. <boolProp name="Assertion.assume_success">false</boolProp>
  13186. <intProp name="Assertion.test_type">1</intProp>
  13187. <stringProp name="Assertion.scope">variable</stringProp>
  13188. <stringProp name="Scope.variable">admin_token</stringProp>
  13189. </ResponseAssertion>
  13190. <hashTree/>
  13191. </hashTree>
  13192. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  13193. <collectionProp name="HeaderManager.headers">
  13194. <elementProp name="" elementType="Header">
  13195. <stringProp name="Header.name">Authorization</stringProp>
  13196. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  13197. </elementProp>
  13198. </collectionProp>
  13199. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager.jmx</stringProp></HeaderManager>
  13200. <hashTree/>
  13201. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - API Get product attributes" enabled="true">
  13202. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  13203. <collectionProp name="Arguments.arguments">
  13204. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  13205. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  13206. <stringProp name="Argument.value">mycolor</stringProp>
  13207. <stringProp name="Argument.metadata">=</stringProp>
  13208. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13209. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  13210. </elementProp>
  13211. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  13212. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  13213. <stringProp name="Argument.value">attribute_code</stringProp>
  13214. <stringProp name="Argument.metadata">=</stringProp>
  13215. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13216. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  13217. </elementProp>
  13218. <elementProp name="searchCriteria[filterGroups][0][filters][1][value]" elementType="HTTPArgument">
  13219. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  13220. <stringProp name="Argument.value">mysize</stringProp>
  13221. <stringProp name="Argument.metadata">=</stringProp>
  13222. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13223. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][1][value]</stringProp>
  13224. </elementProp>
  13225. <elementProp name="searchCriteria[filterGroups][0][filters][1][field]" elementType="HTTPArgument">
  13226. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  13227. <stringProp name="Argument.value">attribute_code</stringProp>
  13228. <stringProp name="Argument.metadata">=</stringProp>
  13229. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13230. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][1][field]</stringProp>
  13231. </elementProp>
  13232. </collectionProp>
  13233. </elementProp>
  13234. <stringProp name="HTTPSampler.domain"/>
  13235. <stringProp name="HTTPSampler.port"/>
  13236. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13237. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13238. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13239. <stringProp name="HTTPSampler.contentEncoding"/>
  13240. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes</stringProp>
  13241. <stringProp name="HTTPSampler.method">GET</stringProp>
  13242. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13243. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13244. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13245. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13246. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13247. <stringProp name="HTTPSampler.embedded_url_re"/>
  13248. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/get_product_attributes.jmx</stringProp></HTTPSamplerProxy>
  13249. <hashTree>
  13250. <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 product attributes" enabled="true">
  13251. <stringProp name="VAR">product_attributes</stringProp>
  13252. <stringProp name="JSONPATH">$.items</stringProp>
  13253. <stringProp name="DEFAULT"/>
  13254. <stringProp name="VARIABLE"/>
  13255. <stringProp name="SUBJECT">BODY</stringProp>
  13256. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  13257. <hashTree/>
  13258. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="SetUp - Prepare product attributes" enabled="true">
  13259. <stringProp name="scriptLanguage">javascript</stringProp>
  13260. <stringProp name="parameters"/>
  13261. <stringProp name="filename"/>
  13262. <stringProp name="cacheKey"/>
  13263. <stringProp name="script">
  13264. var attributesData = JSON.parse(vars.get("product_attributes")),
  13265. maxOptions = 2;
  13266. attributes = [];
  13267. for (i in attributesData) {
  13268. if (i &gt;= 2) {
  13269. break;
  13270. }
  13271. var data = attributesData[i],
  13272. attribute = {
  13273. "id": data.attribute_id,
  13274. "code": data.attribute_code,
  13275. "label": data.default_frontend_label,
  13276. "options": []
  13277. };
  13278. var processedOptions = 0;
  13279. for (optionN in data.options) {
  13280. var option = data.options[optionN];
  13281. if (parseInt(option.value) &gt; 0 &amp;&amp; processedOptions &lt; maxOptions) {
  13282. processedOptions++;
  13283. attribute.options.push(option);
  13284. }
  13285. }
  13286. attributes.push(attribute);
  13287. }
  13288. vars.putObject("product_attributes", attributes);
  13289. </stringProp>
  13290. </JSR223PostProcessor>
  13291. <hashTree/>
  13292. </hashTree>
  13293. </hashTree>
  13294. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get Attribute Set Id" enabled="true">
  13295. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  13296. <collectionProp name="Arguments.arguments"/>
  13297. </elementProp>
  13298. <stringProp name="HTTPSampler.domain"/>
  13299. <stringProp name="HTTPSampler.port"/>
  13300. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13301. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13302. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13303. <stringProp name="HTTPSampler.contentEncoding"/>
  13304. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product_set/index/filter/${attribute_set_filter}</stringProp>
  13305. <stringProp name="HTTPSampler.method">GET</stringProp>
  13306. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13307. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13308. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13309. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13310. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13311. <stringProp name="HTTPSampler.embedded_url_re"/>
  13312. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/configurable_setup_attribute_set.jmx</stringProp>
  13313. </HTTPSamplerProxy>
  13314. <hashTree>
  13315. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
  13316. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  13317. <stringProp name="RegexExtractor.refname">attribute_set_id</stringProp>
  13318. <stringProp name="RegexExtractor.regex">catalog\/product_set\/edit\/id\/([\d]+)\/"[\D\d]*Attribute Set 1</stringProp>
  13319. <stringProp name="RegexExtractor.template">$1$</stringProp>
  13320. <stringProp name="RegexExtractor.default"/>
  13321. <stringProp name="RegexExtractor.match_number">1</stringProp>
  13322. </RegexExtractor>
  13323. <hashTree/>
  13324. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="SetUp - Set Attribute Set Filter" enabled="true">
  13325. <boolProp name="resetInterpreter">false</boolProp>
  13326. <stringProp name="parameters"/>
  13327. <stringProp name="filename"/>
  13328. <stringProp name="script">import org.apache.commons.codec.binary.Base64;
  13329. byte[] encodedBytes = Base64.encodeBase64("set_name=Attribute Set 1".getBytes());
  13330. vars.put("attribute_set_filter", new String(encodedBytes));
  13331. </stringProp>
  13332. </BeanShellPreProcessor>
  13333. <hashTree/>
  13334. </hashTree>
  13335. </hashTree>
  13336. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  13337. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  13338. </GenericController>
  13339. <hashTree>
  13340. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  13341. <stringProp name="BeanShellSampler.query">import org.apache.jmeter.samplers.SampleResult;
  13342. import java.util.Random;
  13343. Random random = new Random();
  13344. if (${seedForRandom} &gt; 0) {
  13345. random.setSeed(${seedForRandom});
  13346. }
  13347. number = random.nextInt(props.get("simple_products_list_for_edit").size());
  13348. simpleList = props.get("simple_products_list_for_edit").get(number);
  13349. vars.put("simple_product_1_id", simpleList.get("id"));
  13350. vars.put("simple_product_1_name", simpleList.get("title"));
  13351. do {
  13352. number1 = random.nextInt(props.get("simple_products_list_for_edit").size());
  13353. } while(number == number1);
  13354. simpleList = props.get("simple_products_list_for_edit").get(number1);
  13355. vars.put("simple_product_2_id", simpleList.get("id"));
  13356. vars.put("simple_product_2_name", simpleList.get("title"));
  13357. number2 = random.nextInt(props.get("configurable_products_list").size());
  13358. configurableList = props.get("configurable_products_list").get(number2);
  13359. vars.put("configurable_product_1_id", configurableList.get("id"));
  13360. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  13361. vars.put("configurable_product_1_name", configurableList.get("title"));
  13362. //Additional category to be added
  13363. //int categoryId = Integer.parseInt(vars.get("simple_product_category_id"));
  13364. //vars.put("category_additional", (categoryId+1).toString());
  13365. //New price
  13366. vars.put("price_new", "9999");
  13367. //New special price
  13368. vars.put("special_price_new", "8888");
  13369. //New quantity
  13370. vars.put("quantity_new", "100600");
  13371. vars.put("configurable_sku", "Configurable Product - ${__time(YMD)}-${__threadNum}-${__Random(1,1000000)}");
  13372. </stringProp>
  13373. <stringProp name="BeanShellSampler.filename"/>
  13374. <stringProp name="BeanShellSampler.parameters"/>
  13375. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  13376. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/setup.jmx</stringProp></BeanShellSampler>
  13377. <hashTree/>
  13378. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Create Bundle Product" enabled="true">
  13379. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/create_bundle_product.jmx</stringProp>
  13380. </TestFragmentController>
  13381. <hashTree>
  13382. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Catalog Product" enabled="true">
  13383. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  13384. <collectionProp name="Arguments.arguments"/>
  13385. </elementProp>
  13386. <stringProp name="HTTPSampler.domain"/>
  13387. <stringProp name="HTTPSampler.port"/>
  13388. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13389. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13390. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13391. <stringProp name="HTTPSampler.contentEncoding"/>
  13392. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/</stringProp>
  13393. <stringProp name="HTTPSampler.method">GET</stringProp>
  13394. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13395. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13396. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13397. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13398. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13399. <stringProp name="HTTPSampler.embedded_url_re"/>
  13400. </HTTPSamplerProxy>
  13401. <hashTree>
  13402. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  13403. <collectionProp name="Asserion.test_strings">
  13404. <stringProp name="1509986340">records found</stringProp>
  13405. </collectionProp>
  13406. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  13407. <boolProp name="Assertion.assume_success">false</boolProp>
  13408. <intProp name="Assertion.test_type">2</intProp>
  13409. </ResponseAssertion>
  13410. <hashTree/>
  13411. </hashTree>
  13412. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Bundle Product" enabled="true">
  13413. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  13414. <collectionProp name="Arguments.arguments"/>
  13415. </elementProp>
  13416. <stringProp name="HTTPSampler.domain"/>
  13417. <stringProp name="HTTPSampler.port"/>
  13418. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  13419. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  13420. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  13421. <stringProp name="HTTPSampler.contentEncoding"/>
  13422. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/new/set/4/type/bundle/</stringProp>
  13423. <stringProp name="HTTPSampler.method">GET</stringProp>
  13424. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  13425. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  13426. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  13427. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  13428. <boolProp name="HTTPSampler.monitor">false</boolProp>
  13429. <stringProp name="HTTPSampler.embedded_url_re"/>
  13430. </HTTPSamplerProxy>
  13431. <hashTree>
  13432. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  13433. <collectionProp name="Asserion.test_strings">
  13434. <stringProp name="-144461265">New Product</stringProp>
  13435. </collectionProp>
  13436. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  13437. <boolProp name="Assertion.assume_success">false</boolProp>
  13438. <intProp name="Assertion.test_type">2</intProp>
  13439. </ResponseAssertion>
  13440. <hashTree/>
  13441. </hashTree>
  13442. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Bundle Product Validate" enabled="true">
  13443. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  13444. <collectionProp name="Arguments.arguments">
  13445. <elementProp name="ajax" elementType="HTTPArgument">
  13446. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13447. <stringProp name="Argument.value">true</stringProp>
  13448. <stringProp name="Argument.metadata">=</stringProp>
  13449. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13450. <stringProp name="Argument.name">ajax</stringProp>
  13451. <stringProp name="Argument.desc">false</stringProp>
  13452. </elementProp>
  13453. <elementProp name="isAjax" elementType="HTTPArgument">
  13454. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13455. <stringProp name="Argument.value">true</stringProp>
  13456. <stringProp name="Argument.metadata">=</stringProp>
  13457. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13458. <stringProp name="Argument.name">isAjax</stringProp>
  13459. <stringProp name="Argument.desc">false</stringProp>
  13460. </elementProp>
  13461. <elementProp name="form_key" elementType="HTTPArgument">
  13462. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13463. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  13464. <stringProp name="Argument.metadata">=</stringProp>
  13465. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13466. <stringProp name="Argument.name">form_key</stringProp>
  13467. <stringProp name="Argument.desc">false</stringProp>
  13468. </elementProp>
  13469. <elementProp name="product[name]" elementType="HTTPArgument">
  13470. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13471. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  13472. <stringProp name="Argument.metadata">=</stringProp>
  13473. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13474. <stringProp name="Argument.name">product[name]</stringProp>
  13475. <stringProp name="Argument.desc">false</stringProp>
  13476. </elementProp>
  13477. <elementProp name="product[sku]" elementType="HTTPArgument">
  13478. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13479. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  13480. <stringProp name="Argument.metadata">=</stringProp>
  13481. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13482. <stringProp name="Argument.name">product[sku]</stringProp>
  13483. <stringProp name="Argument.desc">false</stringProp>
  13484. </elementProp>
  13485. <elementProp name="product[price]" elementType="HTTPArgument">
  13486. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13487. <stringProp name="Argument.value">42</stringProp>
  13488. <stringProp name="Argument.metadata">=</stringProp>
  13489. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13490. <stringProp name="Argument.name">product[price]</stringProp>
  13491. </elementProp>
  13492. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  13493. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13494. <stringProp name="Argument.value">2</stringProp>
  13495. <stringProp name="Argument.metadata">=</stringProp>
  13496. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13497. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  13498. </elementProp>
  13499. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  13500. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13501. <stringProp name="Argument.value">111</stringProp>
  13502. <stringProp name="Argument.metadata">=</stringProp>
  13503. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13504. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  13505. </elementProp>
  13506. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  13507. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13508. <stringProp name="Argument.value">1</stringProp>
  13509. <stringProp name="Argument.metadata">=</stringProp>
  13510. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13511. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  13512. </elementProp>
  13513. <elementProp name="product[weight]" elementType="HTTPArgument">
  13514. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13515. <stringProp name="Argument.value">1.0000</stringProp>
  13516. <stringProp name="Argument.metadata">=</stringProp>
  13517. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13518. <stringProp name="Argument.name">product[weight]</stringProp>
  13519. </elementProp>
  13520. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  13521. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13522. <stringProp name="Argument.value">1</stringProp>
  13523. <stringProp name="Argument.metadata">=</stringProp>
  13524. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13525. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  13526. <stringProp name="Argument.desc">true</stringProp>
  13527. </elementProp>
  13528. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  13529. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13530. <stringProp name="Argument.value">2</stringProp>
  13531. <stringProp name="Argument.metadata">=</stringProp>
  13532. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13533. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  13534. </elementProp>
  13535. <elementProp name="product[description]" elementType="HTTPArgument">
  13536. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13537. <stringProp name="Argument.value">&lt;p&gt;Full bundle product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  13538. <stringProp name="Argument.metadata">=</stringProp>
  13539. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13540. <stringProp name="Argument.name">product[description]</stringProp>
  13541. </elementProp>
  13542. <elementProp name="product[short_description]" elementType="HTTPArgument">
  13543. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13544. <stringProp name="Argument.value">&lt;p&gt;Short bundle product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  13545. <stringProp name="Argument.metadata">=</stringProp>
  13546. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13547. <stringProp name="Argument.name">product[short_description]</stringProp>
  13548. </elementProp>
  13549. <elementProp name="product[status]" elementType="HTTPArgument">
  13550. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13551. <stringProp name="Argument.value">1</stringProp>
  13552. <stringProp name="Argument.metadata">=</stringProp>
  13553. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13554. <stringProp name="Argument.name">product[status]</stringProp>
  13555. </elementProp>
  13556. <elementProp name="product[configurable_variations]" elementType="HTTPArgument">
  13557. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13558. <stringProp name="Argument.value"/>
  13559. <stringProp name="Argument.metadata">=</stringProp>
  13560. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13561. <stringProp name="Argument.name">product[configurable_variations]</stringProp>
  13562. </elementProp>
  13563. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  13564. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13565. <stringProp name="Argument.value">1</stringProp>
  13566. <stringProp name="Argument.metadata">=</stringProp>
  13567. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13568. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  13569. </elementProp>
  13570. <elementProp name="product[image]" elementType="HTTPArgument">
  13571. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13572. <stringProp name="Argument.value"/>
  13573. <stringProp name="Argument.metadata">=</stringProp>
  13574. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13575. <stringProp name="Argument.name">product[image]</stringProp>
  13576. </elementProp>
  13577. <elementProp name="product[small_image]" elementType="HTTPArgument">
  13578. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13579. <stringProp name="Argument.value"/>
  13580. <stringProp name="Argument.metadata">=</stringProp>
  13581. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13582. <stringProp name="Argument.name">product[small_image]</stringProp>
  13583. </elementProp>
  13584. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  13585. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13586. <stringProp name="Argument.value"/>
  13587. <stringProp name="Argument.metadata">=</stringProp>
  13588. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13589. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  13590. </elementProp>
  13591. <elementProp name="product[url_key]" elementType="HTTPArgument">
  13592. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13593. <stringProp name="Argument.value">bundle-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  13594. <stringProp name="Argument.metadata">=</stringProp>
  13595. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13596. <stringProp name="Argument.name">product[url_key]</stringProp>
  13597. </elementProp>
  13598. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  13599. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13600. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  13601. <stringProp name="Argument.metadata">=</stringProp>
  13602. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13603. <stringProp name="Argument.name">product[meta_title]</stringProp>
  13604. </elementProp>
  13605. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  13606. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13607. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  13608. <stringProp name="Argument.metadata">=</stringProp>
  13609. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13610. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  13611. </elementProp>
  13612. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  13613. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13614. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  13615. <stringProp name="Argument.metadata">=</stringProp>
  13616. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13617. <stringProp name="Argument.name">product[meta_description]</stringProp>
  13618. </elementProp>
  13619. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  13620. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13621. <stringProp name="Argument.value">1</stringProp>
  13622. <stringProp name="Argument.metadata">=</stringProp>
  13623. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13624. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  13625. </elementProp>
  13626. <elementProp name="product[special_price]" elementType="HTTPArgument">
  13627. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13628. <stringProp name="Argument.value">99</stringProp>
  13629. <stringProp name="Argument.metadata">=</stringProp>
  13630. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13631. <stringProp name="Argument.name">product[special_price]</stringProp>
  13632. </elementProp>
  13633. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  13634. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13635. <stringProp name="Argument.value">1</stringProp>
  13636. <stringProp name="Argument.metadata">=</stringProp>
  13637. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13638. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  13639. </elementProp>
  13640. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  13641. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13642. <stringProp name="Argument.value"/>
  13643. <stringProp name="Argument.metadata">=</stringProp>
  13644. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13645. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  13646. </elementProp>
  13647. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  13648. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13649. <stringProp name="Argument.value"/>
  13650. <stringProp name="Argument.metadata">=</stringProp>
  13651. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13652. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  13653. </elementProp>
  13654. <elementProp name="product[cost]" elementType="HTTPArgument">
  13655. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13656. <stringProp name="Argument.value"/>
  13657. <stringProp name="Argument.metadata">=</stringProp>
  13658. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13659. <stringProp name="Argument.name">product[cost]</stringProp>
  13660. </elementProp>
  13661. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  13662. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13663. <stringProp name="Argument.value">0</stringProp>
  13664. <stringProp name="Argument.metadata">=</stringProp>
  13665. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13666. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  13667. </elementProp>
  13668. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  13669. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13670. <stringProp name="Argument.value">32000</stringProp>
  13671. <stringProp name="Argument.metadata">=</stringProp>
  13672. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13673. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  13674. </elementProp>
  13675. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  13676. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13677. <stringProp name="Argument.value">100</stringProp>
  13678. <stringProp name="Argument.metadata">=</stringProp>
  13679. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13680. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  13681. </elementProp>
  13682. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  13683. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13684. <stringProp name="Argument.value">90</stringProp>
  13685. <stringProp name="Argument.metadata">=</stringProp>
  13686. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13687. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  13688. </elementProp>
  13689. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  13690. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13691. <stringProp name="Argument.value"/>
  13692. <stringProp name="Argument.metadata">=</stringProp>
  13693. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13694. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  13695. </elementProp>
  13696. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  13697. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13698. <stringProp name="Argument.value">0</stringProp>
  13699. <stringProp name="Argument.metadata">=</stringProp>
  13700. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13701. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  13702. </elementProp>
  13703. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  13704. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13705. <stringProp name="Argument.value">1</stringProp>
  13706. <stringProp name="Argument.metadata">=</stringProp>
  13707. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13708. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  13709. </elementProp>
  13710. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  13711. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13712. <stringProp name="Argument.value">101</stringProp>
  13713. <stringProp name="Argument.metadata">=</stringProp>
  13714. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13715. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  13716. </elementProp>
  13717. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  13718. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13719. <stringProp name="Argument.value">99</stringProp>
  13720. <stringProp name="Argument.metadata">=</stringProp>
  13721. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13722. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  13723. </elementProp>
  13724. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  13725. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13726. <stringProp name="Argument.value"/>
  13727. <stringProp name="Argument.metadata">=</stringProp>
  13728. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13729. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  13730. </elementProp>
  13731. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  13732. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13733. <stringProp name="Argument.value">1</stringProp>
  13734. <stringProp name="Argument.metadata">=</stringProp>
  13735. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13736. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  13737. </elementProp>
  13738. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  13739. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13740. <stringProp name="Argument.value">100500</stringProp>
  13741. <stringProp name="Argument.metadata">=</stringProp>
  13742. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13743. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  13744. </elementProp>
  13745. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  13746. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13747. <stringProp name="Argument.value">100500</stringProp>
  13748. <stringProp name="Argument.metadata">=</stringProp>
  13749. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13750. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  13751. </elementProp>
  13752. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  13753. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13754. <stringProp name="Argument.value">0</stringProp>
  13755. <stringProp name="Argument.metadata">=</stringProp>
  13756. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13757. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  13758. </elementProp>
  13759. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  13760. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13761. <stringProp name="Argument.value">1</stringProp>
  13762. <stringProp name="Argument.metadata">=</stringProp>
  13763. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13764. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  13765. </elementProp>
  13766. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  13767. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13768. <stringProp name="Argument.value">1</stringProp>
  13769. <stringProp name="Argument.metadata">=</stringProp>
  13770. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13771. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  13772. </elementProp>
  13773. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  13774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13775. <stringProp name="Argument.value">1</stringProp>
  13776. <stringProp name="Argument.metadata">=</stringProp>
  13777. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13778. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  13779. </elementProp>
  13780. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  13781. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13782. <stringProp name="Argument.value">10000</stringProp>
  13783. <stringProp name="Argument.metadata">=</stringProp>
  13784. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13785. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  13786. </elementProp>
  13787. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  13788. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13789. <stringProp name="Argument.value">1</stringProp>
  13790. <stringProp name="Argument.metadata">=</stringProp>
  13791. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13792. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  13793. </elementProp>
  13794. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  13795. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13796. <stringProp name="Argument.value">0</stringProp>
  13797. <stringProp name="Argument.metadata">=</stringProp>
  13798. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13799. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  13800. </elementProp>
  13801. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  13802. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13803. <stringProp name="Argument.value">0</stringProp>
  13804. <stringProp name="Argument.metadata">=</stringProp>
  13805. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13806. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  13807. </elementProp>
  13808. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  13809. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13810. <stringProp name="Argument.value">0</stringProp>
  13811. <stringProp name="Argument.metadata">=</stringProp>
  13812. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13813. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  13814. </elementProp>
  13815. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  13816. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13817. <stringProp name="Argument.value">1</stringProp>
  13818. <stringProp name="Argument.metadata">=</stringProp>
  13819. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13820. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  13821. </elementProp>
  13822. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  13823. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13824. <stringProp name="Argument.value">1</stringProp>
  13825. <stringProp name="Argument.metadata">=</stringProp>
  13826. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13827. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  13828. </elementProp>
  13829. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  13830. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13831. <stringProp name="Argument.value">0</stringProp>
  13832. <stringProp name="Argument.metadata">=</stringProp>
  13833. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13834. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  13835. </elementProp>
  13836. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  13837. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13838. <stringProp name="Argument.value">0</stringProp>
  13839. <stringProp name="Argument.metadata">=</stringProp>
  13840. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13841. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  13842. </elementProp>
  13843. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  13844. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13845. <stringProp name="Argument.value">1</stringProp>
  13846. <stringProp name="Argument.metadata">=</stringProp>
  13847. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13848. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  13849. </elementProp>
  13850. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  13851. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13852. <stringProp name="Argument.value">1</stringProp>
  13853. <stringProp name="Argument.metadata">=</stringProp>
  13854. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13855. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  13856. </elementProp>
  13857. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  13858. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13859. <stringProp name="Argument.value"/>
  13860. <stringProp name="Argument.metadata">=</stringProp>
  13861. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13862. <stringProp name="Argument.name">product[custom_design]</stringProp>
  13863. </elementProp>
  13864. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  13865. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13866. <stringProp name="Argument.value"/>
  13867. <stringProp name="Argument.metadata">=</stringProp>
  13868. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13869. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  13870. </elementProp>
  13871. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  13872. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13873. <stringProp name="Argument.value"/>
  13874. <stringProp name="Argument.metadata">=</stringProp>
  13875. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13876. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  13877. </elementProp>
  13878. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  13879. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13880. <stringProp name="Argument.value"/>
  13881. <stringProp name="Argument.metadata">=</stringProp>
  13882. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13883. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  13884. </elementProp>
  13885. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  13886. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13887. <stringProp name="Argument.value"/>
  13888. <stringProp name="Argument.metadata">=</stringProp>
  13889. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13890. <stringProp name="Argument.name">product[page_layout]</stringProp>
  13891. </elementProp>
  13892. <elementProp name="product[options_container]" elementType="HTTPArgument">
  13893. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13894. <stringProp name="Argument.value">container2</stringProp>
  13895. <stringProp name="Argument.metadata">=</stringProp>
  13896. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13897. <stringProp name="Argument.name">product[options_container]</stringProp>
  13898. </elementProp>
  13899. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  13900. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13901. <stringProp name="Argument.value"/>
  13902. <stringProp name="Argument.metadata">=</stringProp>
  13903. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13904. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  13905. </elementProp>
  13906. <elementProp name="product[shipment_type]" elementType="HTTPArgument">
  13907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13908. <stringProp name="Argument.value">0</stringProp>
  13909. <stringProp name="Argument.metadata">=</stringProp>
  13910. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13911. <stringProp name="Argument.name">product[shipment_type]</stringProp>
  13912. </elementProp>
  13913. <elementProp name="bundle_options[bundle_options][0][title]" elementType="HTTPArgument">
  13914. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13915. <stringProp name="Argument.value">option title one</stringProp>
  13916. <stringProp name="Argument.metadata">=</stringProp>
  13917. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13918. <stringProp name="Argument.name">bundle_options[bundle_options][0][title]</stringProp>
  13919. </elementProp>
  13920. <elementProp name="bundle_options[bundle_options][0][option_id]" elementType="HTTPArgument">
  13921. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13922. <stringProp name="Argument.value"/>
  13923. <stringProp name="Argument.metadata">=</stringProp>
  13924. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13925. <stringProp name="Argument.name">bundle_options[bundle_options][0][option_id]</stringProp>
  13926. </elementProp>
  13927. <elementProp name="bundle_options[bundle_options][0][delete]" elementType="HTTPArgument">
  13928. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13929. <stringProp name="Argument.value"/>
  13930. <stringProp name="Argument.metadata">=</stringProp>
  13931. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13932. <stringProp name="Argument.name">bundle_options[bundle_options][0][delete]</stringProp>
  13933. </elementProp>
  13934. <elementProp name="bundle_options[bundle_options][0][type]" elementType="HTTPArgument">
  13935. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13936. <stringProp name="Argument.value">select</stringProp>
  13937. <stringProp name="Argument.metadata">=</stringProp>
  13938. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13939. <stringProp name="Argument.name">bundle_options[bundle_options][0][type]</stringProp>
  13940. </elementProp>
  13941. <elementProp name="bundle_options[bundle_options][0][required]" elementType="HTTPArgument">
  13942. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13943. <stringProp name="Argument.value">1</stringProp>
  13944. <stringProp name="Argument.metadata">=</stringProp>
  13945. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13946. <stringProp name="Argument.name">bundle_options[bundle_options][0][required]</stringProp>
  13947. </elementProp>
  13948. <elementProp name="bundle_options[bundle_options][0][position]" elementType="HTTPArgument">
  13949. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13950. <stringProp name="Argument.value">0</stringProp>
  13951. <stringProp name="Argument.metadata">=</stringProp>
  13952. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13953. <stringProp name="Argument.name">bundle_options[bundle_options][0][position]</stringProp>
  13954. </elementProp>
  13955. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  13956. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13957. <stringProp name="Argument.value"/>
  13958. <stringProp name="Argument.metadata">=</stringProp>
  13959. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13960. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_id]</stringProp>
  13961. </elementProp>
  13962. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][option_id]" elementType="HTTPArgument">
  13963. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13964. <stringProp name="Argument.value"/>
  13965. <stringProp name="Argument.metadata">=</stringProp>
  13966. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13967. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][option_id]</stringProp>
  13968. </elementProp>
  13969. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][product_id]" elementType="HTTPArgument">
  13970. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13971. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  13972. <stringProp name="Argument.metadata">=</stringProp>
  13973. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13974. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][product_id]</stringProp>
  13975. </elementProp>
  13976. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][delete]" elementType="HTTPArgument">
  13977. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13978. <stringProp name="Argument.value"/>
  13979. <stringProp name="Argument.metadata">=</stringProp>
  13980. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13981. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][delete]</stringProp>
  13982. </elementProp>
  13983. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  13984. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13985. <stringProp name="Argument.value">25</stringProp>
  13986. <stringProp name="Argument.metadata">=</stringProp>
  13987. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13988. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]</stringProp>
  13989. </elementProp>
  13990. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  13991. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13992. <stringProp name="Argument.value">1</stringProp>
  13993. <stringProp name="Argument.metadata">=</stringProp>
  13994. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  13995. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]</stringProp>
  13996. </elementProp>
  13997. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  13998. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  13999. <stringProp name="Argument.value">1</stringProp>
  14000. <stringProp name="Argument.metadata">=</stringProp>
  14001. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14002. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_qty]</stringProp>
  14003. </elementProp>
  14004. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  14005. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14006. <stringProp name="Argument.value">1</stringProp>
  14007. <stringProp name="Argument.metadata">=</stringProp>
  14008. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14009. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]</stringProp>
  14010. </elementProp>
  14011. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][position]" elementType="HTTPArgument">
  14012. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14013. <stringProp name="Argument.value">0</stringProp>
  14014. <stringProp name="Argument.metadata">=</stringProp>
  14015. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14016. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][position]</stringProp>
  14017. </elementProp>
  14018. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  14019. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14020. <stringProp name="Argument.value"/>
  14021. <stringProp name="Argument.metadata">=</stringProp>
  14022. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14023. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_id]</stringProp>
  14024. </elementProp>
  14025. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][option_id]" elementType="HTTPArgument">
  14026. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14027. <stringProp name="Argument.value"/>
  14028. <stringProp name="Argument.metadata">=</stringProp>
  14029. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14030. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][option_id]</stringProp>
  14031. </elementProp>
  14032. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][product_id]" elementType="HTTPArgument">
  14033. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14034. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  14035. <stringProp name="Argument.metadata">=</stringProp>
  14036. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14037. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][product_id]</stringProp>
  14038. </elementProp>
  14039. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][delete]" elementType="HTTPArgument">
  14040. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14041. <stringProp name="Argument.value"/>
  14042. <stringProp name="Argument.metadata">=</stringProp>
  14043. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14044. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][delete]</stringProp>
  14045. </elementProp>
  14046. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  14047. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14048. <stringProp name="Argument.value">10.99</stringProp>
  14049. <stringProp name="Argument.metadata">=</stringProp>
  14050. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14051. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]</stringProp>
  14052. </elementProp>
  14053. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  14054. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14055. <stringProp name="Argument.value">0</stringProp>
  14056. <stringProp name="Argument.metadata">=</stringProp>
  14057. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14058. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]</stringProp>
  14059. </elementProp>
  14060. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  14061. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14062. <stringProp name="Argument.value">1</stringProp>
  14063. <stringProp name="Argument.metadata">=</stringProp>
  14064. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14065. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_qty]</stringProp>
  14066. </elementProp>
  14067. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  14068. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14069. <stringProp name="Argument.value">1</stringProp>
  14070. <stringProp name="Argument.metadata">=</stringProp>
  14071. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14072. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]</stringProp>
  14073. </elementProp>
  14074. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][position]" elementType="HTTPArgument">
  14075. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14076. <stringProp name="Argument.value">1</stringProp>
  14077. <stringProp name="Argument.metadata">=</stringProp>
  14078. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14079. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][position]</stringProp>
  14080. </elementProp>
  14081. <elementProp name="bundle_options[bundle_options][1][title]" elementType="HTTPArgument">
  14082. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14083. <stringProp name="Argument.value">option title two</stringProp>
  14084. <stringProp name="Argument.metadata">=</stringProp>
  14085. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14086. <stringProp name="Argument.name">bundle_options[bundle_options][1][title]</stringProp>
  14087. </elementProp>
  14088. <elementProp name="bundle_options[bundle_options][1][option_id]" elementType="HTTPArgument">
  14089. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14090. <stringProp name="Argument.value"/>
  14091. <stringProp name="Argument.metadata">=</stringProp>
  14092. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14093. <stringProp name="Argument.name">bundle_options[bundle_options][1][option_id]</stringProp>
  14094. </elementProp>
  14095. <elementProp name="bundle_options[bundle_options][1][delete]" elementType="HTTPArgument">
  14096. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14097. <stringProp name="Argument.value"/>
  14098. <stringProp name="Argument.metadata">=</stringProp>
  14099. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14100. <stringProp name="Argument.name">bundle_options[bundle_options][1][delete]</stringProp>
  14101. </elementProp>
  14102. <elementProp name="bundle_options[bundle_options][1][type]" elementType="HTTPArgument">
  14103. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14104. <stringProp name="Argument.value">select</stringProp>
  14105. <stringProp name="Argument.metadata">=</stringProp>
  14106. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14107. <stringProp name="Argument.name">bundle_options[bundle_options][1][type]</stringProp>
  14108. </elementProp>
  14109. <elementProp name="bundle_options[bundle_options][1][required]" elementType="HTTPArgument">
  14110. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14111. <stringProp name="Argument.value">1</stringProp>
  14112. <stringProp name="Argument.metadata">=</stringProp>
  14113. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14114. <stringProp name="Argument.name">bundle_options[bundle_options][1][required]</stringProp>
  14115. </elementProp>
  14116. <elementProp name="bundle_options[bundle_options][1][position]" elementType="HTTPArgument">
  14117. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14118. <stringProp name="Argument.value">1</stringProp>
  14119. <stringProp name="Argument.metadata">=</stringProp>
  14120. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14121. <stringProp name="Argument.name">bundle_options[bundle_options][1][position]</stringProp>
  14122. </elementProp>
  14123. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  14124. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14125. <stringProp name="Argument.value"/>
  14126. <stringProp name="Argument.metadata">=</stringProp>
  14127. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14128. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_id]</stringProp>
  14129. <stringProp name="Argument.desc">true</stringProp>
  14130. </elementProp>
  14131. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][option_id]" elementType="HTTPArgument">
  14132. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14133. <stringProp name="Argument.value"/>
  14134. <stringProp name="Argument.metadata">=</stringProp>
  14135. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14136. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][option_id]</stringProp>
  14137. <stringProp name="Argument.desc">true</stringProp>
  14138. </elementProp>
  14139. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][product_id]" elementType="HTTPArgument">
  14140. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14141. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  14142. <stringProp name="Argument.metadata">=</stringProp>
  14143. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14144. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][product_id]</stringProp>
  14145. <stringProp name="Argument.desc">true</stringProp>
  14146. </elementProp>
  14147. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][delete]" elementType="HTTPArgument">
  14148. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14149. <stringProp name="Argument.value"/>
  14150. <stringProp name="Argument.metadata">=</stringProp>
  14151. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14152. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][delete]</stringProp>
  14153. <stringProp name="Argument.desc">true</stringProp>
  14154. </elementProp>
  14155. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  14156. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14157. <stringProp name="Argument.value">5.00</stringProp>
  14158. <stringProp name="Argument.metadata">=</stringProp>
  14159. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14160. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]</stringProp>
  14161. <stringProp name="Argument.desc">true</stringProp>
  14162. </elementProp>
  14163. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  14164. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14165. <stringProp name="Argument.value">0</stringProp>
  14166. <stringProp name="Argument.metadata">=</stringProp>
  14167. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14168. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]</stringProp>
  14169. <stringProp name="Argument.desc">true</stringProp>
  14170. </elementProp>
  14171. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  14172. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14173. <stringProp name="Argument.value">1</stringProp>
  14174. <stringProp name="Argument.metadata">=</stringProp>
  14175. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14176. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_qty]</stringProp>
  14177. <stringProp name="Argument.desc">true</stringProp>
  14178. </elementProp>
  14179. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  14180. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14181. <stringProp name="Argument.value">1</stringProp>
  14182. <stringProp name="Argument.metadata">=</stringProp>
  14183. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14184. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]</stringProp>
  14185. <stringProp name="Argument.desc">true</stringProp>
  14186. </elementProp>
  14187. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][position]" elementType="HTTPArgument">
  14188. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14189. <stringProp name="Argument.value">0</stringProp>
  14190. <stringProp name="Argument.metadata">=</stringProp>
  14191. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14192. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][position]</stringProp>
  14193. <stringProp name="Argument.desc">true</stringProp>
  14194. </elementProp>
  14195. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  14196. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14197. <stringProp name="Argument.value"/>
  14198. <stringProp name="Argument.metadata">=</stringProp>
  14199. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14200. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_id]</stringProp>
  14201. <stringProp name="Argument.desc">true</stringProp>
  14202. </elementProp>
  14203. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][option_id]" elementType="HTTPArgument">
  14204. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14205. <stringProp name="Argument.value"/>
  14206. <stringProp name="Argument.metadata">=</stringProp>
  14207. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14208. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][option_id]</stringProp>
  14209. <stringProp name="Argument.desc">true</stringProp>
  14210. </elementProp>
  14211. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][product_id]" elementType="HTTPArgument">
  14212. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14213. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  14214. <stringProp name="Argument.metadata">=</stringProp>
  14215. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14216. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][product_id]</stringProp>
  14217. <stringProp name="Argument.desc">true</stringProp>
  14218. </elementProp>
  14219. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][delete]" elementType="HTTPArgument">
  14220. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14221. <stringProp name="Argument.value"/>
  14222. <stringProp name="Argument.metadata">=</stringProp>
  14223. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14224. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][delete]</stringProp>
  14225. <stringProp name="Argument.desc">true</stringProp>
  14226. </elementProp>
  14227. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  14228. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14229. <stringProp name="Argument.value">7.00</stringProp>
  14230. <stringProp name="Argument.metadata">=</stringProp>
  14231. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14232. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]</stringProp>
  14233. <stringProp name="Argument.desc">true</stringProp>
  14234. </elementProp>
  14235. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  14236. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14237. <stringProp name="Argument.value">0</stringProp>
  14238. <stringProp name="Argument.metadata">=</stringProp>
  14239. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14240. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]</stringProp>
  14241. <stringProp name="Argument.desc">true</stringProp>
  14242. </elementProp>
  14243. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  14244. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14245. <stringProp name="Argument.value">1</stringProp>
  14246. <stringProp name="Argument.metadata">=</stringProp>
  14247. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14248. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_qty]</stringProp>
  14249. <stringProp name="Argument.desc">true</stringProp>
  14250. </elementProp>
  14251. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  14252. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14253. <stringProp name="Argument.value">1</stringProp>
  14254. <stringProp name="Argument.metadata">=</stringProp>
  14255. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14256. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]</stringProp>
  14257. <stringProp name="Argument.desc">true</stringProp>
  14258. </elementProp>
  14259. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][position]" elementType="HTTPArgument">
  14260. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14261. <stringProp name="Argument.value">1</stringProp>
  14262. <stringProp name="Argument.metadata">=</stringProp>
  14263. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14264. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][position]</stringProp>
  14265. <stringProp name="Argument.desc">true</stringProp>
  14266. </elementProp>
  14267. <elementProp name="affect_bundle_product_selections" elementType="HTTPArgument">
  14268. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14269. <stringProp name="Argument.value">2</stringProp>
  14270. <stringProp name="Argument.metadata">=</stringProp>
  14271. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14272. <stringProp name="Argument.name">affect_bundle_product_selections</stringProp>
  14273. <stringProp name="Argument.desc">true</stringProp>
  14274. </elementProp>
  14275. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  14276. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14277. <stringProp name="Argument.value">${related_product_id}</stringProp>
  14278. <stringProp name="Argument.metadata">=</stringProp>
  14279. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14280. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  14281. </elementProp>
  14282. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  14283. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14284. <stringProp name="Argument.value">1</stringProp>
  14285. <stringProp name="Argument.metadata">=</stringProp>
  14286. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14287. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  14288. </elementProp>
  14289. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  14290. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14291. <stringProp name="Argument.value">${related_product_id}</stringProp>
  14292. <stringProp name="Argument.metadata">=</stringProp>
  14293. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14294. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  14295. </elementProp>
  14296. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  14297. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14298. <stringProp name="Argument.value">1</stringProp>
  14299. <stringProp name="Argument.metadata">=</stringProp>
  14300. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14301. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  14302. </elementProp>
  14303. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  14304. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14305. <stringProp name="Argument.value">${related_product_id}</stringProp>
  14306. <stringProp name="Argument.metadata">=</stringProp>
  14307. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14308. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  14309. </elementProp>
  14310. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  14311. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14312. <stringProp name="Argument.value">1</stringProp>
  14313. <stringProp name="Argument.metadata">=</stringProp>
  14314. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14315. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  14316. </elementProp>
  14317. </collectionProp>
  14318. </elementProp>
  14319. <stringProp name="HTTPSampler.domain"/>
  14320. <stringProp name="HTTPSampler.port"/>
  14321. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  14322. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  14323. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  14324. <stringProp name="HTTPSampler.contentEncoding"/>
  14325. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/set/4/</stringProp>
  14326. <stringProp name="HTTPSampler.method">POST</stringProp>
  14327. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  14328. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  14329. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  14330. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  14331. <boolProp name="HTTPSampler.monitor">false</boolProp>
  14332. <stringProp name="HTTPSampler.embedded_url_re"/>
  14333. </HTTPSamplerProxy>
  14334. <hashTree>
  14335. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  14336. <collectionProp name="Asserion.test_strings">
  14337. <stringProp name="1853918323">{"error":false}</stringProp>
  14338. </collectionProp>
  14339. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  14340. <boolProp name="Assertion.assume_success">false</boolProp>
  14341. <intProp name="Assertion.test_type">2</intProp>
  14342. </ResponseAssertion>
  14343. <hashTree/>
  14344. </hashTree>
  14345. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Bundle Product Save" enabled="true">
  14346. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  14347. <collectionProp name="Arguments.arguments">
  14348. <elementProp name="ajax" elementType="HTTPArgument">
  14349. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14350. <stringProp name="Argument.value">true</stringProp>
  14351. <stringProp name="Argument.metadata">=</stringProp>
  14352. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14353. <stringProp name="Argument.name">ajax</stringProp>
  14354. <stringProp name="Argument.desc">false</stringProp>
  14355. </elementProp>
  14356. <elementProp name="isAjax" elementType="HTTPArgument">
  14357. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14358. <stringProp name="Argument.value">true</stringProp>
  14359. <stringProp name="Argument.metadata">=</stringProp>
  14360. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14361. <stringProp name="Argument.name">isAjax</stringProp>
  14362. <stringProp name="Argument.desc">false</stringProp>
  14363. </elementProp>
  14364. <elementProp name="form_key" elementType="HTTPArgument">
  14365. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14366. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  14367. <stringProp name="Argument.metadata">=</stringProp>
  14368. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14369. <stringProp name="Argument.name">form_key</stringProp>
  14370. <stringProp name="Argument.desc">false</stringProp>
  14371. </elementProp>
  14372. <elementProp name="product[name]" elementType="HTTPArgument">
  14373. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14374. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  14375. <stringProp name="Argument.metadata">=</stringProp>
  14376. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14377. <stringProp name="Argument.name">product[name]</stringProp>
  14378. <stringProp name="Argument.desc">false</stringProp>
  14379. </elementProp>
  14380. <elementProp name="product[sku]" elementType="HTTPArgument">
  14381. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14382. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  14383. <stringProp name="Argument.metadata">=</stringProp>
  14384. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14385. <stringProp name="Argument.name">product[sku]</stringProp>
  14386. <stringProp name="Argument.desc">false</stringProp>
  14387. </elementProp>
  14388. <elementProp name="product[price]" elementType="HTTPArgument">
  14389. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14390. <stringProp name="Argument.value">42</stringProp>
  14391. <stringProp name="Argument.metadata">=</stringProp>
  14392. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14393. <stringProp name="Argument.name">product[price]</stringProp>
  14394. </elementProp>
  14395. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  14396. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14397. <stringProp name="Argument.value">2</stringProp>
  14398. <stringProp name="Argument.metadata">=</stringProp>
  14399. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14400. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  14401. </elementProp>
  14402. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  14403. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14404. <stringProp name="Argument.value">111</stringProp>
  14405. <stringProp name="Argument.metadata">=</stringProp>
  14406. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14407. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  14408. </elementProp>
  14409. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  14410. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14411. <stringProp name="Argument.value">1</stringProp>
  14412. <stringProp name="Argument.metadata">=</stringProp>
  14413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14414. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  14415. </elementProp>
  14416. <elementProp name="product[weight]" elementType="HTTPArgument">
  14417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14418. <stringProp name="Argument.value">1.0000</stringProp>
  14419. <stringProp name="Argument.metadata">=</stringProp>
  14420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14421. <stringProp name="Argument.name">product[weight]</stringProp>
  14422. </elementProp>
  14423. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  14424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14425. <stringProp name="Argument.value">1</stringProp>
  14426. <stringProp name="Argument.metadata">=</stringProp>
  14427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14428. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  14429. <stringProp name="Argument.desc">true</stringProp>
  14430. </elementProp>
  14431. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  14432. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14433. <stringProp name="Argument.value">2</stringProp>
  14434. <stringProp name="Argument.metadata">=</stringProp>
  14435. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14436. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  14437. </elementProp>
  14438. <elementProp name="product[description]" elementType="HTTPArgument">
  14439. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14440. <stringProp name="Argument.value">&lt;p&gt;Full bundle product Description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  14441. <stringProp name="Argument.metadata">=</stringProp>
  14442. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14443. <stringProp name="Argument.name">product[description]</stringProp>
  14444. </elementProp>
  14445. <elementProp name="product[short_description]" elementType="HTTPArgument">
  14446. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14447. <stringProp name="Argument.value">&lt;p&gt;Short bundle product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  14448. <stringProp name="Argument.metadata">=</stringProp>
  14449. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14450. <stringProp name="Argument.name">product[short_description]</stringProp>
  14451. </elementProp>
  14452. <elementProp name="product[status]" elementType="HTTPArgument">
  14453. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14454. <stringProp name="Argument.value">1</stringProp>
  14455. <stringProp name="Argument.metadata">=</stringProp>
  14456. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14457. <stringProp name="Argument.name">product[status]</stringProp>
  14458. </elementProp>
  14459. <elementProp name="product[configurable_variations]" elementType="HTTPArgument">
  14460. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14461. <stringProp name="Argument.value"/>
  14462. <stringProp name="Argument.metadata">=</stringProp>
  14463. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14464. <stringProp name="Argument.name">product[configurable_variations]</stringProp>
  14465. </elementProp>
  14466. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  14467. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14468. <stringProp name="Argument.value">1</stringProp>
  14469. <stringProp name="Argument.metadata">=</stringProp>
  14470. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14471. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  14472. </elementProp>
  14473. <elementProp name="product[image]" elementType="HTTPArgument">
  14474. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14475. <stringProp name="Argument.value"/>
  14476. <stringProp name="Argument.metadata">=</stringProp>
  14477. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14478. <stringProp name="Argument.name">product[image]</stringProp>
  14479. </elementProp>
  14480. <elementProp name="product[small_image]" elementType="HTTPArgument">
  14481. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14482. <stringProp name="Argument.value"/>
  14483. <stringProp name="Argument.metadata">=</stringProp>
  14484. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14485. <stringProp name="Argument.name">product[small_image]</stringProp>
  14486. </elementProp>
  14487. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  14488. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14489. <stringProp name="Argument.value"/>
  14490. <stringProp name="Argument.metadata">=</stringProp>
  14491. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14492. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  14493. </elementProp>
  14494. <elementProp name="product[url_key]" elementType="HTTPArgument">
  14495. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14496. <stringProp name="Argument.value">bundle-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  14497. <stringProp name="Argument.metadata">=</stringProp>
  14498. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14499. <stringProp name="Argument.name">product[url_key]</stringProp>
  14500. </elementProp>
  14501. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  14502. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14503. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  14504. <stringProp name="Argument.metadata">=</stringProp>
  14505. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14506. <stringProp name="Argument.name">product[meta_title]</stringProp>
  14507. </elementProp>
  14508. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  14509. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14510. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  14511. <stringProp name="Argument.metadata">=</stringProp>
  14512. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14513. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  14514. </elementProp>
  14515. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  14516. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14517. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  14518. <stringProp name="Argument.metadata">=</stringProp>
  14519. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14520. <stringProp name="Argument.name">product[meta_description]</stringProp>
  14521. </elementProp>
  14522. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  14523. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14524. <stringProp name="Argument.value">1</stringProp>
  14525. <stringProp name="Argument.metadata">=</stringProp>
  14526. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14527. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  14528. </elementProp>
  14529. <elementProp name="product[special_price]" elementType="HTTPArgument">
  14530. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14531. <stringProp name="Argument.value">99</stringProp>
  14532. <stringProp name="Argument.metadata">=</stringProp>
  14533. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14534. <stringProp name="Argument.name">product[special_price]</stringProp>
  14535. </elementProp>
  14536. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  14537. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14538. <stringProp name="Argument.value"/>
  14539. <stringProp name="Argument.metadata">=</stringProp>
  14540. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14541. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  14542. </elementProp>
  14543. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  14544. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14545. <stringProp name="Argument.value"/>
  14546. <stringProp name="Argument.metadata">=</stringProp>
  14547. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14548. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  14549. </elementProp>
  14550. <elementProp name="product[cost]" elementType="HTTPArgument">
  14551. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14552. <stringProp name="Argument.value"/>
  14553. <stringProp name="Argument.metadata">=</stringProp>
  14554. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14555. <stringProp name="Argument.name">product[cost]</stringProp>
  14556. </elementProp>
  14557. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  14558. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14559. <stringProp name="Argument.value">0</stringProp>
  14560. <stringProp name="Argument.metadata">=</stringProp>
  14561. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14562. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  14563. </elementProp>
  14564. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  14565. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14566. <stringProp name="Argument.value">32000</stringProp>
  14567. <stringProp name="Argument.metadata">=</stringProp>
  14568. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14569. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  14570. </elementProp>
  14571. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  14572. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14573. <stringProp name="Argument.value">100</stringProp>
  14574. <stringProp name="Argument.metadata">=</stringProp>
  14575. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14576. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  14577. </elementProp>
  14578. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  14579. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14580. <stringProp name="Argument.value">90</stringProp>
  14581. <stringProp name="Argument.metadata">=</stringProp>
  14582. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14583. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  14584. </elementProp>
  14585. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  14586. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14587. <stringProp name="Argument.value"/>
  14588. <stringProp name="Argument.metadata">=</stringProp>
  14589. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14590. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  14591. </elementProp>
  14592. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  14593. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14594. <stringProp name="Argument.value">0</stringProp>
  14595. <stringProp name="Argument.metadata">=</stringProp>
  14596. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14597. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  14598. </elementProp>
  14599. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  14600. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14601. <stringProp name="Argument.value">1</stringProp>
  14602. <stringProp name="Argument.metadata">=</stringProp>
  14603. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14604. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  14605. </elementProp>
  14606. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  14607. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14608. <stringProp name="Argument.value">101</stringProp>
  14609. <stringProp name="Argument.metadata">=</stringProp>
  14610. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14611. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  14612. </elementProp>
  14613. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  14614. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14615. <stringProp name="Argument.value">99</stringProp>
  14616. <stringProp name="Argument.metadata">=</stringProp>
  14617. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14618. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  14619. </elementProp>
  14620. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  14621. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14622. <stringProp name="Argument.value"/>
  14623. <stringProp name="Argument.metadata">=</stringProp>
  14624. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14625. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  14626. </elementProp>
  14627. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  14628. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14629. <stringProp name="Argument.value">1</stringProp>
  14630. <stringProp name="Argument.metadata">=</stringProp>
  14631. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14632. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  14633. </elementProp>
  14634. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  14635. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14636. <stringProp name="Argument.value">100500</stringProp>
  14637. <stringProp name="Argument.metadata">=</stringProp>
  14638. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14639. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  14640. </elementProp>
  14641. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  14642. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14643. <stringProp name="Argument.value">100500</stringProp>
  14644. <stringProp name="Argument.metadata">=</stringProp>
  14645. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14646. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  14647. </elementProp>
  14648. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  14649. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14650. <stringProp name="Argument.value">0</stringProp>
  14651. <stringProp name="Argument.metadata">=</stringProp>
  14652. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14653. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  14654. </elementProp>
  14655. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  14656. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14657. <stringProp name="Argument.value">1</stringProp>
  14658. <stringProp name="Argument.metadata">=</stringProp>
  14659. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14660. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  14661. </elementProp>
  14662. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  14663. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14664. <stringProp name="Argument.value">1</stringProp>
  14665. <stringProp name="Argument.metadata">=</stringProp>
  14666. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14667. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  14668. </elementProp>
  14669. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  14670. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14671. <stringProp name="Argument.value">1</stringProp>
  14672. <stringProp name="Argument.metadata">=</stringProp>
  14673. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14674. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  14675. </elementProp>
  14676. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  14677. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14678. <stringProp name="Argument.value">10000</stringProp>
  14679. <stringProp name="Argument.metadata">=</stringProp>
  14680. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14681. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  14682. </elementProp>
  14683. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  14684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14685. <stringProp name="Argument.value">1</stringProp>
  14686. <stringProp name="Argument.metadata">=</stringProp>
  14687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14688. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  14689. </elementProp>
  14690. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  14691. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14692. <stringProp name="Argument.value">0</stringProp>
  14693. <stringProp name="Argument.metadata">=</stringProp>
  14694. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14695. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  14696. </elementProp>
  14697. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  14698. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14699. <stringProp name="Argument.value">0</stringProp>
  14700. <stringProp name="Argument.metadata">=</stringProp>
  14701. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14702. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  14703. </elementProp>
  14704. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  14705. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14706. <stringProp name="Argument.value">0</stringProp>
  14707. <stringProp name="Argument.metadata">=</stringProp>
  14708. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14709. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  14710. </elementProp>
  14711. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  14712. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14713. <stringProp name="Argument.value">1</stringProp>
  14714. <stringProp name="Argument.metadata">=</stringProp>
  14715. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14716. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  14717. </elementProp>
  14718. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  14719. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14720. <stringProp name="Argument.value">1</stringProp>
  14721. <stringProp name="Argument.metadata">=</stringProp>
  14722. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14723. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  14724. </elementProp>
  14725. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  14726. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14727. <stringProp name="Argument.value">1</stringProp>
  14728. <stringProp name="Argument.metadata">=</stringProp>
  14729. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14730. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  14731. </elementProp>
  14732. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  14733. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14734. <stringProp name="Argument.value">0</stringProp>
  14735. <stringProp name="Argument.metadata">=</stringProp>
  14736. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14737. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  14738. </elementProp>
  14739. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  14740. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14741. <stringProp name="Argument.value">0</stringProp>
  14742. <stringProp name="Argument.metadata">=</stringProp>
  14743. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14744. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  14745. </elementProp>
  14746. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  14747. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14748. <stringProp name="Argument.value">1</stringProp>
  14749. <stringProp name="Argument.metadata">=</stringProp>
  14750. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14751. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  14752. </elementProp>
  14753. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  14754. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14755. <stringProp name="Argument.value">1</stringProp>
  14756. <stringProp name="Argument.metadata">=</stringProp>
  14757. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14758. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  14759. </elementProp>
  14760. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  14761. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14762. <stringProp name="Argument.value"/>
  14763. <stringProp name="Argument.metadata">=</stringProp>
  14764. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14765. <stringProp name="Argument.name">product[custom_design]</stringProp>
  14766. </elementProp>
  14767. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  14768. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14769. <stringProp name="Argument.value"/>
  14770. <stringProp name="Argument.metadata">=</stringProp>
  14771. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14772. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  14773. </elementProp>
  14774. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  14775. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14776. <stringProp name="Argument.value"/>
  14777. <stringProp name="Argument.metadata">=</stringProp>
  14778. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14779. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  14780. </elementProp>
  14781. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  14782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14783. <stringProp name="Argument.value"/>
  14784. <stringProp name="Argument.metadata">=</stringProp>
  14785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14786. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  14787. </elementProp>
  14788. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  14789. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14790. <stringProp name="Argument.value"/>
  14791. <stringProp name="Argument.metadata">=</stringProp>
  14792. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14793. <stringProp name="Argument.name">product[page_layout]</stringProp>
  14794. </elementProp>
  14795. <elementProp name="product[options_container]" elementType="HTTPArgument">
  14796. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14797. <stringProp name="Argument.value">container2</stringProp>
  14798. <stringProp name="Argument.metadata">=</stringProp>
  14799. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14800. <stringProp name="Argument.name">product[options_container]</stringProp>
  14801. </elementProp>
  14802. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  14803. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14804. <stringProp name="Argument.value"/>
  14805. <stringProp name="Argument.metadata">=</stringProp>
  14806. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14807. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  14808. </elementProp>
  14809. <elementProp name="product[shipment_type]" elementType="HTTPArgument">
  14810. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14811. <stringProp name="Argument.value">0</stringProp>
  14812. <stringProp name="Argument.metadata">=</stringProp>
  14813. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14814. <stringProp name="Argument.name">product[shipment_type]</stringProp>
  14815. <stringProp name="Argument.desc">false</stringProp>
  14816. </elementProp>
  14817. <elementProp name="bundle_options[bundle_options][0][title]" elementType="HTTPArgument">
  14818. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14819. <stringProp name="Argument.value">option title one</stringProp>
  14820. <stringProp name="Argument.metadata">=</stringProp>
  14821. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14822. <stringProp name="Argument.name">bundle_options[bundle_options][0][title]</stringProp>
  14823. <stringProp name="Argument.desc">false</stringProp>
  14824. </elementProp>
  14825. <elementProp name="bundle_options[bundle_options][0][option_id]" elementType="HTTPArgument">
  14826. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14827. <stringProp name="Argument.value"/>
  14828. <stringProp name="Argument.metadata">=</stringProp>
  14829. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14830. <stringProp name="Argument.name">bundle_options[bundle_options][0][option_id]</stringProp>
  14831. <stringProp name="Argument.desc">false</stringProp>
  14832. </elementProp>
  14833. <elementProp name="bundle_options[bundle_options][0][delete]" elementType="HTTPArgument">
  14834. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14835. <stringProp name="Argument.value"/>
  14836. <stringProp name="Argument.metadata">=</stringProp>
  14837. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14838. <stringProp name="Argument.name">bundle_options[bundle_options][0][delete]</stringProp>
  14839. <stringProp name="Argument.desc">false</stringProp>
  14840. </elementProp>
  14841. <elementProp name="bundle_options[bundle_options][0][type]" elementType="HTTPArgument">
  14842. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14843. <stringProp name="Argument.value">select</stringProp>
  14844. <stringProp name="Argument.metadata">=</stringProp>
  14845. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14846. <stringProp name="Argument.name">bundle_options[bundle_options][0][type]</stringProp>
  14847. <stringProp name="Argument.desc">false</stringProp>
  14848. </elementProp>
  14849. <elementProp name="bundle_options[bundle_options][0][required]" elementType="HTTPArgument">
  14850. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14851. <stringProp name="Argument.value">1</stringProp>
  14852. <stringProp name="Argument.metadata">=</stringProp>
  14853. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14854. <stringProp name="Argument.name">bundle_options[bundle_options][0][required]</stringProp>
  14855. <stringProp name="Argument.desc">false</stringProp>
  14856. </elementProp>
  14857. <elementProp name="bundle_options[bundle_options][0][position]" elementType="HTTPArgument">
  14858. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14859. <stringProp name="Argument.value">0</stringProp>
  14860. <stringProp name="Argument.metadata">=</stringProp>
  14861. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14862. <stringProp name="Argument.name">bundle_options[bundle_options][0][position]</stringProp>
  14863. <stringProp name="Argument.desc">false</stringProp>
  14864. </elementProp>
  14865. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  14866. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14867. <stringProp name="Argument.value"/>
  14868. <stringProp name="Argument.metadata">=</stringProp>
  14869. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14870. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_id]</stringProp>
  14871. <stringProp name="Argument.desc">false</stringProp>
  14872. </elementProp>
  14873. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][option_id]" elementType="HTTPArgument">
  14874. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14875. <stringProp name="Argument.value"/>
  14876. <stringProp name="Argument.metadata">=</stringProp>
  14877. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14878. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][option_id]</stringProp>
  14879. <stringProp name="Argument.desc">false</stringProp>
  14880. </elementProp>
  14881. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][product_id]" elementType="HTTPArgument">
  14882. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14883. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  14884. <stringProp name="Argument.metadata">=</stringProp>
  14885. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14886. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][product_id]</stringProp>
  14887. <stringProp name="Argument.desc">false</stringProp>
  14888. </elementProp>
  14889. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][delete]" elementType="HTTPArgument">
  14890. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14891. <stringProp name="Argument.value"/>
  14892. <stringProp name="Argument.metadata">=</stringProp>
  14893. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14894. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][delete]</stringProp>
  14895. <stringProp name="Argument.desc">false</stringProp>
  14896. </elementProp>
  14897. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  14898. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14899. <stringProp name="Argument.value">25</stringProp>
  14900. <stringProp name="Argument.metadata">=</stringProp>
  14901. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14902. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]</stringProp>
  14903. <stringProp name="Argument.desc">false</stringProp>
  14904. </elementProp>
  14905. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  14906. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14907. <stringProp name="Argument.value">1</stringProp>
  14908. <stringProp name="Argument.metadata">=</stringProp>
  14909. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14910. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]</stringProp>
  14911. <stringProp name="Argument.desc">false</stringProp>
  14912. </elementProp>
  14913. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  14914. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14915. <stringProp name="Argument.value">1</stringProp>
  14916. <stringProp name="Argument.metadata">=</stringProp>
  14917. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14918. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_qty]</stringProp>
  14919. <stringProp name="Argument.desc">false</stringProp>
  14920. </elementProp>
  14921. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  14922. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14923. <stringProp name="Argument.value">1</stringProp>
  14924. <stringProp name="Argument.metadata">=</stringProp>
  14925. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14926. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]</stringProp>
  14927. <stringProp name="Argument.desc">false</stringProp>
  14928. </elementProp>
  14929. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][position]" elementType="HTTPArgument">
  14930. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14931. <stringProp name="Argument.value">0</stringProp>
  14932. <stringProp name="Argument.metadata">=</stringProp>
  14933. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14934. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][position]</stringProp>
  14935. <stringProp name="Argument.desc">false</stringProp>
  14936. </elementProp>
  14937. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  14938. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14939. <stringProp name="Argument.value"/>
  14940. <stringProp name="Argument.metadata">=</stringProp>
  14941. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14942. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_id]</stringProp>
  14943. <stringProp name="Argument.desc">false</stringProp>
  14944. </elementProp>
  14945. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][option_id]" elementType="HTTPArgument">
  14946. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14947. <stringProp name="Argument.value"/>
  14948. <stringProp name="Argument.metadata">=</stringProp>
  14949. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14950. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][option_id]</stringProp>
  14951. <stringProp name="Argument.desc">false</stringProp>
  14952. </elementProp>
  14953. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][product_id]" elementType="HTTPArgument">
  14954. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14955. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  14956. <stringProp name="Argument.metadata">=</stringProp>
  14957. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14958. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][product_id]</stringProp>
  14959. <stringProp name="Argument.desc">false</stringProp>
  14960. </elementProp>
  14961. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][delete]" elementType="HTTPArgument">
  14962. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14963. <stringProp name="Argument.value"/>
  14964. <stringProp name="Argument.metadata">=</stringProp>
  14965. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14966. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][delete]</stringProp>
  14967. <stringProp name="Argument.desc">false</stringProp>
  14968. </elementProp>
  14969. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  14970. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14971. <stringProp name="Argument.value">10.99</stringProp>
  14972. <stringProp name="Argument.metadata">=</stringProp>
  14973. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14974. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]</stringProp>
  14975. <stringProp name="Argument.desc">false</stringProp>
  14976. </elementProp>
  14977. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  14978. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14979. <stringProp name="Argument.value">0</stringProp>
  14980. <stringProp name="Argument.metadata">=</stringProp>
  14981. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14982. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]</stringProp>
  14983. <stringProp name="Argument.desc">false</stringProp>
  14984. </elementProp>
  14985. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  14986. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14987. <stringProp name="Argument.value">1</stringProp>
  14988. <stringProp name="Argument.metadata">=</stringProp>
  14989. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14990. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_qty]</stringProp>
  14991. <stringProp name="Argument.desc">false</stringProp>
  14992. </elementProp>
  14993. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  14994. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  14995. <stringProp name="Argument.value">1</stringProp>
  14996. <stringProp name="Argument.metadata">=</stringProp>
  14997. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  14998. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]</stringProp>
  14999. <stringProp name="Argument.desc">false</stringProp>
  15000. </elementProp>
  15001. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][position]" elementType="HTTPArgument">
  15002. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15003. <stringProp name="Argument.value">1</stringProp>
  15004. <stringProp name="Argument.metadata">=</stringProp>
  15005. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15006. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][position]</stringProp>
  15007. <stringProp name="Argument.desc">false</stringProp>
  15008. </elementProp>
  15009. <elementProp name="bundle_options[bundle_options][1][title]" elementType="HTTPArgument">
  15010. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15011. <stringProp name="Argument.value">option title two</stringProp>
  15012. <stringProp name="Argument.metadata">=</stringProp>
  15013. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15014. <stringProp name="Argument.name">bundle_options[bundle_options][1][title]</stringProp>
  15015. <stringProp name="Argument.desc">false</stringProp>
  15016. </elementProp>
  15017. <elementProp name="bundle_options[bundle_options][1][option_id]" elementType="HTTPArgument">
  15018. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15019. <stringProp name="Argument.value"/>
  15020. <stringProp name="Argument.metadata">=</stringProp>
  15021. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15022. <stringProp name="Argument.name">bundle_options[bundle_options][1][option_id]</stringProp>
  15023. <stringProp name="Argument.desc">false</stringProp>
  15024. </elementProp>
  15025. <elementProp name="bundle_options[bundle_options][1][delete]" elementType="HTTPArgument">
  15026. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15027. <stringProp name="Argument.value"/>
  15028. <stringProp name="Argument.metadata">=</stringProp>
  15029. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15030. <stringProp name="Argument.name">bundle_options[bundle_options][1][delete]</stringProp>
  15031. <stringProp name="Argument.desc">false</stringProp>
  15032. </elementProp>
  15033. <elementProp name="bundle_options[bundle_options][1][type]" elementType="HTTPArgument">
  15034. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15035. <stringProp name="Argument.value">select</stringProp>
  15036. <stringProp name="Argument.metadata">=</stringProp>
  15037. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15038. <stringProp name="Argument.name">bundle_options[bundle_options][1][type]</stringProp>
  15039. <stringProp name="Argument.desc">false</stringProp>
  15040. </elementProp>
  15041. <elementProp name="bundle_options[bundle_options][1][required]" elementType="HTTPArgument">
  15042. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15043. <stringProp name="Argument.value">1</stringProp>
  15044. <stringProp name="Argument.metadata">=</stringProp>
  15045. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15046. <stringProp name="Argument.name">bundle_options[bundle_options][1][required]</stringProp>
  15047. <stringProp name="Argument.desc">false</stringProp>
  15048. </elementProp>
  15049. <elementProp name="bundle_options[bundle_options][1][position]" elementType="HTTPArgument">
  15050. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15051. <stringProp name="Argument.value">1</stringProp>
  15052. <stringProp name="Argument.metadata">=</stringProp>
  15053. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15054. <stringProp name="Argument.name">bundle_options[bundle_options][1][position]</stringProp>
  15055. <stringProp name="Argument.desc">false</stringProp>
  15056. </elementProp>
  15057. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  15058. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15059. <stringProp name="Argument.value"/>
  15060. <stringProp name="Argument.metadata">=</stringProp>
  15061. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15062. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_id]</stringProp>
  15063. <stringProp name="Argument.desc">false</stringProp>
  15064. </elementProp>
  15065. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][option_id]" elementType="HTTPArgument">
  15066. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15067. <stringProp name="Argument.value"/>
  15068. <stringProp name="Argument.metadata">=</stringProp>
  15069. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15070. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][option_id]</stringProp>
  15071. <stringProp name="Argument.desc">false</stringProp>
  15072. </elementProp>
  15073. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][product_id]" elementType="HTTPArgument">
  15074. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15075. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  15076. <stringProp name="Argument.metadata">=</stringProp>
  15077. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15078. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][product_id]</stringProp>
  15079. <stringProp name="Argument.desc">false</stringProp>
  15080. </elementProp>
  15081. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][delete]" elementType="HTTPArgument">
  15082. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15083. <stringProp name="Argument.value"/>
  15084. <stringProp name="Argument.metadata">=</stringProp>
  15085. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15086. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][delete]</stringProp>
  15087. <stringProp name="Argument.desc">false</stringProp>
  15088. </elementProp>
  15089. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  15090. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15091. <stringProp name="Argument.value">5.00</stringProp>
  15092. <stringProp name="Argument.metadata">=</stringProp>
  15093. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15094. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]</stringProp>
  15095. <stringProp name="Argument.desc">false</stringProp>
  15096. </elementProp>
  15097. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  15098. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15099. <stringProp name="Argument.value">0</stringProp>
  15100. <stringProp name="Argument.metadata">=</stringProp>
  15101. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15102. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]</stringProp>
  15103. <stringProp name="Argument.desc">false</stringProp>
  15104. </elementProp>
  15105. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  15106. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15107. <stringProp name="Argument.value">1</stringProp>
  15108. <stringProp name="Argument.metadata">=</stringProp>
  15109. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15110. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_qty]</stringProp>
  15111. <stringProp name="Argument.desc">false</stringProp>
  15112. </elementProp>
  15113. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  15114. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15115. <stringProp name="Argument.value">1</stringProp>
  15116. <stringProp name="Argument.metadata">=</stringProp>
  15117. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15118. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]</stringProp>
  15119. <stringProp name="Argument.desc">false</stringProp>
  15120. </elementProp>
  15121. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][position]" elementType="HTTPArgument">
  15122. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15123. <stringProp name="Argument.value">0</stringProp>
  15124. <stringProp name="Argument.metadata">=</stringProp>
  15125. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15126. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][position]</stringProp>
  15127. <stringProp name="Argument.desc">false</stringProp>
  15128. </elementProp>
  15129. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  15130. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15131. <stringProp name="Argument.value"/>
  15132. <stringProp name="Argument.metadata">=</stringProp>
  15133. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15134. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_id]</stringProp>
  15135. <stringProp name="Argument.desc">false</stringProp>
  15136. </elementProp>
  15137. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][option_id]" elementType="HTTPArgument">
  15138. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15139. <stringProp name="Argument.value"/>
  15140. <stringProp name="Argument.metadata">=</stringProp>
  15141. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15142. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][option_id]</stringProp>
  15143. <stringProp name="Argument.desc">false</stringProp>
  15144. </elementProp>
  15145. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][product_id]" elementType="HTTPArgument">
  15146. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15147. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  15148. <stringProp name="Argument.metadata">=</stringProp>
  15149. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15150. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][product_id]</stringProp>
  15151. <stringProp name="Argument.desc">false</stringProp>
  15152. </elementProp>
  15153. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][delete]" elementType="HTTPArgument">
  15154. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15155. <stringProp name="Argument.value"/>
  15156. <stringProp name="Argument.metadata">=</stringProp>
  15157. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15158. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][delete]</stringProp>
  15159. <stringProp name="Argument.desc">false</stringProp>
  15160. </elementProp>
  15161. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  15162. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15163. <stringProp name="Argument.value">7.00</stringProp>
  15164. <stringProp name="Argument.metadata">=</stringProp>
  15165. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15166. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]</stringProp>
  15167. <stringProp name="Argument.desc">false</stringProp>
  15168. </elementProp>
  15169. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  15170. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15171. <stringProp name="Argument.value">0</stringProp>
  15172. <stringProp name="Argument.metadata">=</stringProp>
  15173. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15174. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]</stringProp>
  15175. <stringProp name="Argument.desc">false</stringProp>
  15176. </elementProp>
  15177. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  15178. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15179. <stringProp name="Argument.value">1</stringProp>
  15180. <stringProp name="Argument.metadata">=</stringProp>
  15181. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15182. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_qty]</stringProp>
  15183. <stringProp name="Argument.desc">false</stringProp>
  15184. </elementProp>
  15185. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  15186. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15187. <stringProp name="Argument.value">1</stringProp>
  15188. <stringProp name="Argument.metadata">=</stringProp>
  15189. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15190. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]</stringProp>
  15191. <stringProp name="Argument.desc">false</stringProp>
  15192. </elementProp>
  15193. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][position]" elementType="HTTPArgument">
  15194. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15195. <stringProp name="Argument.value">1</stringProp>
  15196. <stringProp name="Argument.metadata">=</stringProp>
  15197. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15198. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][position]</stringProp>
  15199. <stringProp name="Argument.desc">false</stringProp>
  15200. </elementProp>
  15201. <elementProp name="affect_bundle_product_selections" elementType="HTTPArgument">
  15202. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15203. <stringProp name="Argument.value">2</stringProp>
  15204. <stringProp name="Argument.metadata">=</stringProp>
  15205. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15206. <stringProp name="Argument.name">affect_bundle_product_selections</stringProp>
  15207. <stringProp name="Argument.desc">false</stringProp>
  15208. </elementProp>
  15209. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  15210. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15211. <stringProp name="Argument.value">${related_product_id}</stringProp>
  15212. <stringProp name="Argument.metadata">=</stringProp>
  15213. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15214. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  15215. </elementProp>
  15216. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  15217. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15218. <stringProp name="Argument.value">1</stringProp>
  15219. <stringProp name="Argument.metadata">=</stringProp>
  15220. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15221. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  15222. </elementProp>
  15223. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  15224. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15225. <stringProp name="Argument.value">${related_product_id}</stringProp>
  15226. <stringProp name="Argument.metadata">=</stringProp>
  15227. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15228. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  15229. </elementProp>
  15230. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  15231. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15232. <stringProp name="Argument.value">1</stringProp>
  15233. <stringProp name="Argument.metadata">=</stringProp>
  15234. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15235. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  15236. </elementProp>
  15237. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  15238. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15239. <stringProp name="Argument.value">${related_product_id}</stringProp>
  15240. <stringProp name="Argument.metadata">=</stringProp>
  15241. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15242. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  15243. </elementProp>
  15244. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  15245. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15246. <stringProp name="Argument.value">1</stringProp>
  15247. <stringProp name="Argument.metadata">=</stringProp>
  15248. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15249. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  15250. </elementProp>
  15251. </collectionProp>
  15252. </elementProp>
  15253. <stringProp name="HTTPSampler.domain"/>
  15254. <stringProp name="HTTPSampler.port"/>
  15255. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  15256. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  15257. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  15258. <stringProp name="HTTPSampler.contentEncoding"/>
  15259. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/set/4/type/bundle/back/edit/active_tab/product-details/</stringProp>
  15260. <stringProp name="HTTPSampler.method">POST</stringProp>
  15261. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  15262. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  15263. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  15264. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  15265. <boolProp name="HTTPSampler.monitor">false</boolProp>
  15266. <stringProp name="HTTPSampler.embedded_url_re"/>
  15267. </HTTPSamplerProxy>
  15268. <hashTree>
  15269. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  15270. <collectionProp name="Asserion.test_strings">
  15271. <stringProp name="-583471546">You saved the product</stringProp>
  15272. <stringProp name="-1534079309">option title one</stringProp>
  15273. <stringProp name="-1534074215">option title two</stringProp>
  15274. <stringProp name="1304788671">${simple_product_2_name}</stringProp>
  15275. <stringProp name="417284990">${simple_product_1_name}</stringProp>
  15276. </collectionProp>
  15277. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  15278. <boolProp name="Assertion.assume_success">false</boolProp>
  15279. <intProp name="Assertion.test_type">2</intProp>
  15280. </ResponseAssertion>
  15281. <hashTree/>
  15282. </hashTree>
  15283. </hashTree>
  15284. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Create Configurable Product" enabled="true">
  15285. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  15286. </GenericController>
  15287. <hashTree>
  15288. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Catalog Product" enabled="true">
  15289. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  15290. <collectionProp name="Arguments.arguments"/>
  15291. </elementProp>
  15292. <stringProp name="HTTPSampler.domain"/>
  15293. <stringProp name="HTTPSampler.port"/>
  15294. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  15295. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  15296. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  15297. <stringProp name="HTTPSampler.contentEncoding"/>
  15298. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/</stringProp>
  15299. <stringProp name="HTTPSampler.method">GET</stringProp>
  15300. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  15301. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  15302. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  15303. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  15304. <boolProp name="HTTPSampler.monitor">false</boolProp>
  15305. <stringProp name="HTTPSampler.embedded_url_re"/>
  15306. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/open_catalog_grid.jmx</stringProp></HTTPSamplerProxy>
  15307. <hashTree>
  15308. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  15309. <collectionProp name="Asserion.test_strings">
  15310. <stringProp name="1509986340">records found</stringProp>
  15311. </collectionProp>
  15312. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  15313. <boolProp name="Assertion.assume_success">false</boolProp>
  15314. <intProp name="Assertion.test_type">2</intProp>
  15315. </ResponseAssertion>
  15316. <hashTree/>
  15317. </hashTree>
  15318. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Configurable Product" enabled="true">
  15319. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  15320. <collectionProp name="Arguments.arguments"/>
  15321. </elementProp>
  15322. <stringProp name="HTTPSampler.domain"/>
  15323. <stringProp name="HTTPSampler.port"/>
  15324. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  15325. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  15326. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  15327. <stringProp name="HTTPSampler.contentEncoding"/>
  15328. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/new/set/${attribute_set_id}/type/configurable/</stringProp>
  15329. <stringProp name="HTTPSampler.method">GET</stringProp>
  15330. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  15331. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  15332. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  15333. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  15334. <boolProp name="HTTPSampler.monitor">false</boolProp>
  15335. <stringProp name="HTTPSampler.embedded_url_re"/>
  15336. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/new_configurable.jmx</stringProp></HTTPSamplerProxy>
  15337. <hashTree>
  15338. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  15339. <collectionProp name="Asserion.test_strings">
  15340. <stringProp name="-144461265">New Product</stringProp>
  15341. </collectionProp>
  15342. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  15343. <boolProp name="Assertion.assume_success">false</boolProp>
  15344. <intProp name="Assertion.test_type">2</intProp>
  15345. </ResponseAssertion>
  15346. <hashTree/>
  15347. </hashTree>
  15348. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Configurable Product Validate" enabled="true">
  15349. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  15350. <collectionProp name="Arguments.arguments">
  15351. <elementProp name="ajax" elementType="HTTPArgument">
  15352. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15353. <stringProp name="Argument.value">true</stringProp>
  15354. <stringProp name="Argument.metadata">=</stringProp>
  15355. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15356. <stringProp name="Argument.name">ajax</stringProp>
  15357. <stringProp name="Argument.desc">false</stringProp>
  15358. </elementProp>
  15359. <elementProp name="isAjax" elementType="HTTPArgument">
  15360. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15361. <stringProp name="Argument.value">true</stringProp>
  15362. <stringProp name="Argument.metadata">=</stringProp>
  15363. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15364. <stringProp name="Argument.name">isAjax</stringProp>
  15365. <stringProp name="Argument.desc">false</stringProp>
  15366. </elementProp>
  15367. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  15368. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15369. <stringProp name="Argument.value">1</stringProp>
  15370. <stringProp name="Argument.metadata">=</stringProp>
  15371. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15372. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  15373. <stringProp name="Argument.desc">true</stringProp>
  15374. </elementProp>
  15375. <elementProp name="form_key" elementType="HTTPArgument">
  15376. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15377. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  15378. <stringProp name="Argument.metadata">=</stringProp>
  15379. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15380. <stringProp name="Argument.name">form_key</stringProp>
  15381. <stringProp name="Argument.desc">true</stringProp>
  15382. </elementProp>
  15383. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  15384. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15385. <stringProp name="Argument.value">${attribute_set_id}</stringProp>
  15386. <stringProp name="Argument.metadata">=</stringProp>
  15387. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15388. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  15389. <stringProp name="Argument.desc">true</stringProp>
  15390. </elementProp>
  15391. <elementProp name="product[affect_product_custom_options]" elementType="HTTPArgument">
  15392. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15393. <stringProp name="Argument.value">1</stringProp>
  15394. <stringProp name="Argument.metadata">=</stringProp>
  15395. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15396. <stringProp name="Argument.name">product[affect_product_custom_options]</stringProp>
  15397. <stringProp name="Argument.desc">true</stringProp>
  15398. </elementProp>
  15399. <elementProp name="product[attribute_set_id]" elementType="HTTPArgument">
  15400. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15401. <stringProp name="Argument.value">${attribute_set_id}</stringProp>
  15402. <stringProp name="Argument.metadata">=</stringProp>
  15403. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15404. <stringProp name="Argument.name">product[attribute_set_id]</stringProp>
  15405. <stringProp name="Argument.desc">true</stringProp>
  15406. </elementProp>
  15407. <elementProp name="product[category_ids][0]" elementType="HTTPArgument">
  15408. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15409. <stringProp name="Argument.value">4</stringProp>
  15410. <stringProp name="Argument.metadata">=</stringProp>
  15411. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15412. <stringProp name="Argument.name">product[category_ids][0]</stringProp>
  15413. <stringProp name="Argument.desc">true</stringProp>
  15414. </elementProp>
  15415. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  15416. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15417. <stringProp name="Argument.value"/>
  15418. <stringProp name="Argument.metadata">=</stringProp>
  15419. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15420. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  15421. <stringProp name="Argument.desc">true</stringProp>
  15422. </elementProp>
  15423. <elementProp name="product[description]" elementType="HTTPArgument">
  15424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15425. <stringProp name="Argument.value"/>
  15426. <stringProp name="Argument.metadata">=</stringProp>
  15427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15428. <stringProp name="Argument.name">product[description]</stringProp>
  15429. <stringProp name="Argument.desc">true</stringProp>
  15430. </elementProp>
  15431. <elementProp name="product[gift_message_available]" elementType="HTTPArgument">
  15432. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15433. <stringProp name="Argument.value">0</stringProp>
  15434. <stringProp name="Argument.metadata">=</stringProp>
  15435. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15436. <stringProp name="Argument.name">product[gift_message_available]</stringProp>
  15437. <stringProp name="Argument.desc">true</stringProp>
  15438. </elementProp>
  15439. <elementProp name="product[gift_wrapping_available]" elementType="HTTPArgument">
  15440. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15441. <stringProp name="Argument.value">1</stringProp>
  15442. <stringProp name="Argument.metadata">=</stringProp>
  15443. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15444. <stringProp name="Argument.name">product[gift_wrapping_available]</stringProp>
  15445. <stringProp name="Argument.desc">true</stringProp>
  15446. </elementProp>
  15447. <elementProp name="product[gift_wrapping_price]" elementType="HTTPArgument">
  15448. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15449. <stringProp name="Argument.value"/>
  15450. <stringProp name="Argument.metadata">=</stringProp>
  15451. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15452. <stringProp name="Argument.name">product[gift_wrapping_price]</stringProp>
  15453. <stringProp name="Argument.desc">true</stringProp>
  15454. </elementProp>
  15455. <elementProp name="product[image]" elementType="HTTPArgument">
  15456. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15457. <stringProp name="Argument.value"/>
  15458. <stringProp name="Argument.metadata">=</stringProp>
  15459. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15460. <stringProp name="Argument.name">product[image]</stringProp>
  15461. <stringProp name="Argument.desc">true</stringProp>
  15462. </elementProp>
  15463. <elementProp name="product[is_returnable]" elementType="HTTPArgument">
  15464. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15465. <stringProp name="Argument.value">2</stringProp>
  15466. <stringProp name="Argument.metadata">=</stringProp>
  15467. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15468. <stringProp name="Argument.name">product[is_returnable]</stringProp>
  15469. <stringProp name="Argument.desc">true</stringProp>
  15470. </elementProp>
  15471. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  15472. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15473. <stringProp name="Argument.value">${configurable_sku} - Meta Description</stringProp>
  15474. <stringProp name="Argument.metadata">=</stringProp>
  15475. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15476. <stringProp name="Argument.name">product[meta_description]</stringProp>
  15477. <stringProp name="Argument.desc">true</stringProp>
  15478. </elementProp>
  15479. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  15480. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15481. <stringProp name="Argument.value">${configurable_sku} - Meta Keyword</stringProp>
  15482. <stringProp name="Argument.metadata">=</stringProp>
  15483. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15484. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  15485. <stringProp name="Argument.desc">true</stringProp>
  15486. </elementProp>
  15487. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  15488. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15489. <stringProp name="Argument.value">${configurable_sku} - Meta Title</stringProp>
  15490. <stringProp name="Argument.metadata">=</stringProp>
  15491. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15492. <stringProp name="Argument.name">product[meta_title]</stringProp>
  15493. <stringProp name="Argument.desc">true</stringProp>
  15494. </elementProp>
  15495. <elementProp name="product[name]" elementType="HTTPArgument">
  15496. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15497. <stringProp name="Argument.value">${configurable_sku}</stringProp>
  15498. <stringProp name="Argument.metadata">=</stringProp>
  15499. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15500. <stringProp name="Argument.name">product[name]</stringProp>
  15501. <stringProp name="Argument.desc">true</stringProp>
  15502. </elementProp>
  15503. <elementProp name="product[options_container]" elementType="HTTPArgument">
  15504. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15505. <stringProp name="Argument.value">container2</stringProp>
  15506. <stringProp name="Argument.metadata">=</stringProp>
  15507. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15508. <stringProp name="Argument.name">product[options_container]</stringProp>
  15509. <stringProp name="Argument.desc">true</stringProp>
  15510. </elementProp>
  15511. <elementProp name="product[price]" elementType="HTTPArgument">
  15512. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15513. <stringProp name="Argument.value">${price_new}</stringProp>
  15514. <stringProp name="Argument.metadata">=</stringProp>
  15515. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15516. <stringProp name="Argument.name">product[price]</stringProp>
  15517. <stringProp name="Argument.desc">true</stringProp>
  15518. </elementProp>
  15519. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  15520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15521. <stringProp name="Argument.value">1</stringProp>
  15522. <stringProp name="Argument.metadata">=</stringProp>
  15523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15524. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  15525. <stringProp name="Argument.desc">true</stringProp>
  15526. </elementProp>
  15527. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  15528. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15529. <stringProp name="Argument.value">1</stringProp>
  15530. <stringProp name="Argument.metadata">=</stringProp>
  15531. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15532. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  15533. <stringProp name="Argument.desc">true</stringProp>
  15534. </elementProp>
  15535. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  15536. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15537. <stringProp name="Argument.value">1000</stringProp>
  15538. <stringProp name="Argument.metadata">=</stringProp>
  15539. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15540. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  15541. <stringProp name="Argument.desc">true</stringProp>
  15542. </elementProp>
  15543. <elementProp name="product[short_description]" elementType="HTTPArgument">
  15544. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15545. <stringProp name="Argument.value"/>
  15546. <stringProp name="Argument.metadata">=</stringProp>
  15547. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15548. <stringProp name="Argument.name">product[short_description]</stringProp>
  15549. <stringProp name="Argument.desc">true</stringProp>
  15550. </elementProp>
  15551. <elementProp name="product[sku]" elementType="HTTPArgument">
  15552. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15553. <stringProp name="Argument.value">${configurable_sku}</stringProp>
  15554. <stringProp name="Argument.metadata">=</stringProp>
  15555. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15556. <stringProp name="Argument.name">product[sku]</stringProp>
  15557. <stringProp name="Argument.desc">true</stringProp>
  15558. </elementProp>
  15559. <elementProp name="product[small_image]" elementType="HTTPArgument">
  15560. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15561. <stringProp name="Argument.value"/>
  15562. <stringProp name="Argument.metadata">=</stringProp>
  15563. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15564. <stringProp name="Argument.name">product[small_image]</stringProp>
  15565. <stringProp name="Argument.desc">true</stringProp>
  15566. </elementProp>
  15567. <elementProp name="product[special_price]" elementType="HTTPArgument">
  15568. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15569. <stringProp name="Argument.value">${special_price_new}</stringProp>
  15570. <stringProp name="Argument.metadata">=</stringProp>
  15571. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15572. <stringProp name="Argument.name">product[special_price]</stringProp>
  15573. <stringProp name="Argument.desc">true</stringProp>
  15574. </elementProp>
  15575. <elementProp name="product[status]" elementType="HTTPArgument">
  15576. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15577. <stringProp name="Argument.value">1</stringProp>
  15578. <stringProp name="Argument.metadata">=</stringProp>
  15579. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15580. <stringProp name="Argument.name">product[status]</stringProp>
  15581. <stringProp name="Argument.desc">true</stringProp>
  15582. </elementProp>
  15583. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  15584. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15585. <stringProp name="Argument.value">0</stringProp>
  15586. <stringProp name="Argument.metadata">=</stringProp>
  15587. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15588. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  15589. <stringProp name="Argument.desc">true</stringProp>
  15590. </elementProp>
  15591. <elementProp name="product[stock_data][deferred_stock_update]" elementType="HTTPArgument">
  15592. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15593. <stringProp name="Argument.value">1</stringProp>
  15594. <stringProp name="Argument.metadata">=</stringProp>
  15595. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15596. <stringProp name="Argument.name">product[stock_data][deferred_stock_update]</stringProp>
  15597. <stringProp name="Argument.desc">true</stringProp>
  15598. </elementProp>
  15599. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  15600. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15601. <stringProp name="Argument.value">0</stringProp>
  15602. <stringProp name="Argument.metadata">=</stringProp>
  15603. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15604. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  15605. <stringProp name="Argument.desc">true</stringProp>
  15606. </elementProp>
  15607. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  15608. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15609. <stringProp name="Argument.value">0</stringProp>
  15610. <stringProp name="Argument.metadata">=</stringProp>
  15611. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15612. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  15613. <stringProp name="Argument.desc">true</stringProp>
  15614. </elementProp>
  15615. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  15616. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15617. <stringProp name="Argument.value">0</stringProp>
  15618. <stringProp name="Argument.metadata">=</stringProp>
  15619. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15620. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  15621. <stringProp name="Argument.desc">true</stringProp>
  15622. </elementProp>
  15623. <elementProp name="product[stock_data][manage_stock]" elementType="HTTPArgument">
  15624. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15625. <stringProp name="Argument.value">1</stringProp>
  15626. <stringProp name="Argument.metadata">=</stringProp>
  15627. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15628. <stringProp name="Argument.name">product[stock_data][manage_stock]</stringProp>
  15629. <stringProp name="Argument.desc">true</stringProp>
  15630. </elementProp>
  15631. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  15632. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15633. <stringProp name="Argument.value">10000</stringProp>
  15634. <stringProp name="Argument.metadata">=</stringProp>
  15635. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15636. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  15637. <stringProp name="Argument.desc">true</stringProp>
  15638. </elementProp>
  15639. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  15640. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15641. <stringProp name="Argument.value">0</stringProp>
  15642. <stringProp name="Argument.metadata">=</stringProp>
  15643. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15644. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  15645. <stringProp name="Argument.desc">true</stringProp>
  15646. </elementProp>
  15647. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  15648. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15649. <stringProp name="Argument.value">1</stringProp>
  15650. <stringProp name="Argument.metadata">=</stringProp>
  15651. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15652. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  15653. <stringProp name="Argument.desc">true</stringProp>
  15654. </elementProp>
  15655. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  15656. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15657. <stringProp name="Argument.value">1</stringProp>
  15658. <stringProp name="Argument.metadata">=</stringProp>
  15659. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15660. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  15661. <stringProp name="Argument.desc">true</stringProp>
  15662. </elementProp>
  15663. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  15664. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15665. <stringProp name="Argument.value">1</stringProp>
  15666. <stringProp name="Argument.metadata">=</stringProp>
  15667. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15668. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  15669. <stringProp name="Argument.desc">true</stringProp>
  15670. </elementProp>
  15671. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  15672. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15673. <stringProp name="Argument.value">1</stringProp>
  15674. <stringProp name="Argument.metadata">=</stringProp>
  15675. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15676. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  15677. <stringProp name="Argument.desc">true</stringProp>
  15678. </elementProp>
  15679. <elementProp name="product[stock_data][use_config_deferred_stock_update]" elementType="HTTPArgument">
  15680. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15681. <stringProp name="Argument.value">1</stringProp>
  15682. <stringProp name="Argument.metadata">=</stringProp>
  15683. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15684. <stringProp name="Argument.name">product[stock_data][use_config_deferred_stock_update]</stringProp>
  15685. <stringProp name="Argument.desc">true</stringProp>
  15686. </elementProp>
  15687. <elementProp name="product[stock_data][use_config_enable_qty_increments]" elementType="HTTPArgument">
  15688. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15689. <stringProp name="Argument.value">1</stringProp>
  15690. <stringProp name="Argument.metadata">=</stringProp>
  15691. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15692. <stringProp name="Argument.name">product[stock_data][use_config_enable_qty_increments]</stringProp>
  15693. <stringProp name="Argument.desc">true</stringProp>
  15694. </elementProp>
  15695. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  15696. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15697. <stringProp name="Argument.value">1</stringProp>
  15698. <stringProp name="Argument.metadata">=</stringProp>
  15699. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15700. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  15701. <stringProp name="Argument.desc">true</stringProp>
  15702. </elementProp>
  15703. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  15704. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15705. <stringProp name="Argument.value">1</stringProp>
  15706. <stringProp name="Argument.metadata">=</stringProp>
  15707. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15708. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  15709. <stringProp name="Argument.desc">true</stringProp>
  15710. </elementProp>
  15711. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  15712. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15713. <stringProp name="Argument.value">1</stringProp>
  15714. <stringProp name="Argument.metadata">=</stringProp>
  15715. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15716. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  15717. <stringProp name="Argument.desc">true</stringProp>
  15718. </elementProp>
  15719. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  15720. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15721. <stringProp name="Argument.value">1</stringProp>
  15722. <stringProp name="Argument.metadata">=</stringProp>
  15723. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15724. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  15725. <stringProp name="Argument.desc">true</stringProp>
  15726. </elementProp>
  15727. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  15728. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15729. <stringProp name="Argument.value">1</stringProp>
  15730. <stringProp name="Argument.metadata">=</stringProp>
  15731. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15732. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  15733. <stringProp name="Argument.desc">true</stringProp>
  15734. </elementProp>
  15735. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  15736. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15737. <stringProp name="Argument.value">1</stringProp>
  15738. <stringProp name="Argument.metadata">=</stringProp>
  15739. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15740. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  15741. <stringProp name="Argument.desc">true</stringProp>
  15742. </elementProp>
  15743. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  15744. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15745. <stringProp name="Argument.value">2</stringProp>
  15746. <stringProp name="Argument.metadata">=</stringProp>
  15747. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15748. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  15749. <stringProp name="Argument.desc">true</stringProp>
  15750. </elementProp>
  15751. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  15752. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15753. <stringProp name="Argument.value"/>
  15754. <stringProp name="Argument.metadata">=</stringProp>
  15755. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15756. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  15757. <stringProp name="Argument.desc">true</stringProp>
  15758. </elementProp>
  15759. <elementProp name="product[url_key]" elementType="HTTPArgument">
  15760. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15761. <stringProp name="Argument.value"/>
  15762. <stringProp name="Argument.metadata">=</stringProp>
  15763. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15764. <stringProp name="Argument.name">product[url_key]</stringProp>
  15765. <stringProp name="Argument.desc">true</stringProp>
  15766. </elementProp>
  15767. <elementProp name="product[use_config_gift_message_available]" elementType="HTTPArgument">
  15768. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15769. <stringProp name="Argument.value">1</stringProp>
  15770. <stringProp name="Argument.metadata">=</stringProp>
  15771. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15772. <stringProp name="Argument.name">product[use_config_gift_message_available]</stringProp>
  15773. <stringProp name="Argument.desc">true</stringProp>
  15774. </elementProp>
  15775. <elementProp name="product[use_config_gift_wrapping_available]" elementType="HTTPArgument">
  15776. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15777. <stringProp name="Argument.value">1</stringProp>
  15778. <stringProp name="Argument.metadata">=</stringProp>
  15779. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15780. <stringProp name="Argument.name">product[use_config_gift_wrapping_available]</stringProp>
  15781. <stringProp name="Argument.desc">true</stringProp>
  15782. </elementProp>
  15783. <elementProp name="product[use_config_is_returnable]" elementType="HTTPArgument">
  15784. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15785. <stringProp name="Argument.value">1</stringProp>
  15786. <stringProp name="Argument.metadata">=</stringProp>
  15787. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15788. <stringProp name="Argument.name">product[use_config_is_returnable]</stringProp>
  15789. <stringProp name="Argument.desc">true</stringProp>
  15790. </elementProp>
  15791. <elementProp name="product[visibility]" elementType="HTTPArgument">
  15792. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15793. <stringProp name="Argument.value">4</stringProp>
  15794. <stringProp name="Argument.metadata">=</stringProp>
  15795. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15796. <stringProp name="Argument.name">product[visibility]</stringProp>
  15797. <stringProp name="Argument.desc">true</stringProp>
  15798. </elementProp>
  15799. <elementProp name="product[website_ids][1]" elementType="HTTPArgument">
  15800. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15801. <stringProp name="Argument.value">1</stringProp>
  15802. <stringProp name="Argument.metadata">=</stringProp>
  15803. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15804. <stringProp name="Argument.name">product[website_ids][1]</stringProp>
  15805. <stringProp name="Argument.desc">true</stringProp>
  15806. </elementProp>
  15807. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  15808. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15809. <stringProp name="Argument.value">${related_product_id}</stringProp>
  15810. <stringProp name="Argument.metadata">=</stringProp>
  15811. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15812. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  15813. </elementProp>
  15814. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  15815. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15816. <stringProp name="Argument.value">1</stringProp>
  15817. <stringProp name="Argument.metadata">=</stringProp>
  15818. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15819. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  15820. </elementProp>
  15821. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  15822. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15823. <stringProp name="Argument.value">${related_product_id}</stringProp>
  15824. <stringProp name="Argument.metadata">=</stringProp>
  15825. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15826. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  15827. </elementProp>
  15828. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  15829. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15830. <stringProp name="Argument.value">1</stringProp>
  15831. <stringProp name="Argument.metadata">=</stringProp>
  15832. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15833. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  15834. </elementProp>
  15835. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  15836. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15837. <stringProp name="Argument.value">${related_product_id}</stringProp>
  15838. <stringProp name="Argument.metadata">=</stringProp>
  15839. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15840. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  15841. </elementProp>
  15842. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  15843. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15844. <stringProp name="Argument.value">1</stringProp>
  15845. <stringProp name="Argument.metadata">=</stringProp>
  15846. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15847. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  15848. </elementProp>
  15849. </collectionProp>
  15850. </elementProp>
  15851. <stringProp name="HTTPSampler.domain"/>
  15852. <stringProp name="HTTPSampler.port"/>
  15853. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  15854. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  15855. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  15856. <stringProp name="HTTPSampler.contentEncoding"/>
  15857. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/set/${attribute_set_id}/</stringProp>
  15858. <stringProp name="HTTPSampler.method">POST</stringProp>
  15859. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  15860. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  15861. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  15862. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  15863. <boolProp name="HTTPSampler.monitor">false</boolProp>
  15864. <stringProp name="HTTPSampler.embedded_url_re"/>
  15865. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/configurable_validate.jmx</stringProp></HTTPSamplerProxy>
  15866. <hashTree>
  15867. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  15868. <collectionProp name="Asserion.test_strings">
  15869. <stringProp name="1853918323">{"error":false}</stringProp>
  15870. </collectionProp>
  15871. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  15872. <boolProp name="Assertion.assume_success">false</boolProp>
  15873. <intProp name="Assertion.test_type">2</intProp>
  15874. </ResponseAssertion>
  15875. <hashTree/>
  15876. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Prepare Configurable Data" enabled="true">
  15877. <stringProp name="scriptLanguage">javascript</stringProp>
  15878. <stringProp name="parameters"/>
  15879. <stringProp name="filename"/>
  15880. <stringProp name="cacheKey"/>
  15881. <stringProp name="script">
  15882. attributes = vars.getObject("product_attributes");
  15883. for (i in attributes) {
  15884. var attribute = attributes[i];
  15885. sampler.addArgument("attribute_codes[" + i + "]", attribute.code);
  15886. sampler.addArgument("attributes[" + i + "]", attribute.id);
  15887. sampler.addArgument("product[" + attribute.code + "]", attribute.options[0].value);
  15888. addConfigurableAttributeData(attribute);
  15889. }
  15890. addConfigurableMatrix(attributes);
  15891. function addConfigurableAttributeData(attribute) {
  15892. var attributeId = attribute.id;
  15893. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][attribute_id]", attributeId);
  15894. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][code]", attribute.code);
  15895. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][label]", attribute.label);
  15896. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][position]", 0);
  15897. attribute.options.forEach(function (option, index) {
  15898. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][values][" + option.value + "][include]", index);
  15899. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][values][" + option.value + "][value_index]", option.value);
  15900. });
  15901. }
  15902. /**
  15903. * Build 4 simple products for Configurable
  15904. */
  15905. function addConfigurableMatrix(attributes) {
  15906. var attribute1 = attributes[0],
  15907. attribute2 = attributes[1],
  15908. productIndex = 1,
  15909. products = [];
  15910. var variationNames = [];
  15911. attribute1.options.forEach(function (option1) {
  15912. attribute2.options.forEach(function (option2) {
  15913. var productAttributes = {},
  15914. namePart = option1.label + "+" + option2.label,
  15915. variationKey = option1.value + "-" + option2.value;
  15916. productAttributes[attribute1.code] = option1.value;
  15917. productAttributes[attribute2.code] = option2.value;
  15918. variationNames.push(namePart + " - " + vars.get("configurable_sku"));
  15919. var product = {
  15920. "id": null,
  15921. "name": namePart + " - " + vars.get("configurable_sku"),
  15922. "sku": namePart + " - " + vars.get("configurable_sku"),
  15923. "status": 1,
  15924. "price": "100",
  15925. "price_currency": "$",
  15926. "price_string": "$100",
  15927. "weight": "6",
  15928. "qty": "50",
  15929. "variationKey": variationKey,
  15930. "configurable_attribute": JSON.stringify(productAttributes),
  15931. "thumbnail_image": "",
  15932. "media_gallery": {"images": {}},
  15933. "image": [],
  15934. "was_changed": true,
  15935. "canEdit": 1,
  15936. "newProduct": 1,
  15937. "record_id": productIndex
  15938. };
  15939. productIndex++;
  15940. products.push(product);
  15941. });
  15942. });
  15943. sampler.addArgument("configurable-matrix-serialized", JSON.stringify(products));
  15944. vars.putObject("configurable_variations_assertion", variationNames);
  15945. }
  15946. </stringProp>
  15947. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/configurable_prepare_data.jmx</stringProp></JSR223PreProcessor>
  15948. <hashTree/>
  15949. </hashTree>
  15950. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Configurable Product Save" enabled="true">
  15951. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  15952. <collectionProp name="Arguments.arguments">
  15953. <elementProp name="ajax" elementType="HTTPArgument">
  15954. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15955. <stringProp name="Argument.value">true</stringProp>
  15956. <stringProp name="Argument.metadata">=</stringProp>
  15957. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15958. <stringProp name="Argument.name">ajax</stringProp>
  15959. <stringProp name="Argument.desc">false</stringProp>
  15960. </elementProp>
  15961. <elementProp name="isAjax" elementType="HTTPArgument">
  15962. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15963. <stringProp name="Argument.value">true</stringProp>
  15964. <stringProp name="Argument.metadata">=</stringProp>
  15965. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15966. <stringProp name="Argument.name">isAjax</stringProp>
  15967. <stringProp name="Argument.desc">false</stringProp>
  15968. </elementProp>
  15969. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  15970. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15971. <stringProp name="Argument.value">1</stringProp>
  15972. <stringProp name="Argument.metadata">=</stringProp>
  15973. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15974. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  15975. <stringProp name="Argument.desc">true</stringProp>
  15976. </elementProp>
  15977. <elementProp name="form_key" elementType="HTTPArgument">
  15978. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15979. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  15980. <stringProp name="Argument.metadata">=</stringProp>
  15981. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15982. <stringProp name="Argument.name">form_key</stringProp>
  15983. <stringProp name="Argument.desc">true</stringProp>
  15984. </elementProp>
  15985. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  15986. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15987. <stringProp name="Argument.value">${attribute_set_id}</stringProp>
  15988. <stringProp name="Argument.metadata">=</stringProp>
  15989. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15990. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  15991. <stringProp name="Argument.desc">true</stringProp>
  15992. </elementProp>
  15993. <elementProp name="product[affect_product_custom_options]" elementType="HTTPArgument">
  15994. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  15995. <stringProp name="Argument.value">1</stringProp>
  15996. <stringProp name="Argument.metadata">=</stringProp>
  15997. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  15998. <stringProp name="Argument.name">product[affect_product_custom_options]</stringProp>
  15999. <stringProp name="Argument.desc">true</stringProp>
  16000. </elementProp>
  16001. <elementProp name="product[attribute_set_id]" elementType="HTTPArgument">
  16002. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16003. <stringProp name="Argument.value">${attribute_set_id}</stringProp>
  16004. <stringProp name="Argument.metadata">=</stringProp>
  16005. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16006. <stringProp name="Argument.name">product[attribute_set_id]</stringProp>
  16007. <stringProp name="Argument.desc">true</stringProp>
  16008. </elementProp>
  16009. <elementProp name="product[category_ids][0]" elementType="HTTPArgument">
  16010. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16011. <stringProp name="Argument.value">2</stringProp>
  16012. <stringProp name="Argument.metadata">=</stringProp>
  16013. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16014. <stringProp name="Argument.name">product[category_ids][0]</stringProp>
  16015. <stringProp name="Argument.desc">true</stringProp>
  16016. </elementProp>
  16017. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  16018. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16019. <stringProp name="Argument.value"/>
  16020. <stringProp name="Argument.metadata">=</stringProp>
  16021. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16022. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  16023. <stringProp name="Argument.desc">true</stringProp>
  16024. </elementProp>
  16025. <elementProp name="product[description]" elementType="HTTPArgument">
  16026. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16027. <stringProp name="Argument.value"/>
  16028. <stringProp name="Argument.metadata">=</stringProp>
  16029. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16030. <stringProp name="Argument.name">product[description]</stringProp>
  16031. <stringProp name="Argument.desc">true</stringProp>
  16032. </elementProp>
  16033. <elementProp name="product[gift_message_available]" elementType="HTTPArgument">
  16034. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16035. <stringProp name="Argument.value">0</stringProp>
  16036. <stringProp name="Argument.metadata">=</stringProp>
  16037. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16038. <stringProp name="Argument.name">product[gift_message_available]</stringProp>
  16039. <stringProp name="Argument.desc">true</stringProp>
  16040. </elementProp>
  16041. <elementProp name="product[gift_wrapping_available]" elementType="HTTPArgument">
  16042. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16043. <stringProp name="Argument.value">1</stringProp>
  16044. <stringProp name="Argument.metadata">=</stringProp>
  16045. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16046. <stringProp name="Argument.name">product[gift_wrapping_available]</stringProp>
  16047. <stringProp name="Argument.desc">true</stringProp>
  16048. </elementProp>
  16049. <elementProp name="product[gift_wrapping_price]" elementType="HTTPArgument">
  16050. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16051. <stringProp name="Argument.value"/>
  16052. <stringProp name="Argument.metadata">=</stringProp>
  16053. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16054. <stringProp name="Argument.name">product[gift_wrapping_price]</stringProp>
  16055. <stringProp name="Argument.desc">true</stringProp>
  16056. </elementProp>
  16057. <elementProp name="product[image]" elementType="HTTPArgument">
  16058. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16059. <stringProp name="Argument.value"/>
  16060. <stringProp name="Argument.metadata">=</stringProp>
  16061. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16062. <stringProp name="Argument.name">product[image]</stringProp>
  16063. <stringProp name="Argument.desc">true</stringProp>
  16064. </elementProp>
  16065. <elementProp name="product[is_returnable]" elementType="HTTPArgument">
  16066. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16067. <stringProp name="Argument.value">2</stringProp>
  16068. <stringProp name="Argument.metadata">=</stringProp>
  16069. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16070. <stringProp name="Argument.name">product[is_returnable]</stringProp>
  16071. <stringProp name="Argument.desc">true</stringProp>
  16072. </elementProp>
  16073. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  16074. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16075. <stringProp name="Argument.value">${configurable_sku} - Meta Description</stringProp>
  16076. <stringProp name="Argument.metadata">=</stringProp>
  16077. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16078. <stringProp name="Argument.name">product[meta_description]</stringProp>
  16079. <stringProp name="Argument.desc">true</stringProp>
  16080. </elementProp>
  16081. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  16082. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16083. <stringProp name="Argument.value">${configurable_sku} - Meta Keyword</stringProp>
  16084. <stringProp name="Argument.metadata">=</stringProp>
  16085. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16086. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  16087. <stringProp name="Argument.desc">true</stringProp>
  16088. </elementProp>
  16089. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  16090. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16091. <stringProp name="Argument.value">${configurable_sku} - Meta Title</stringProp>
  16092. <stringProp name="Argument.metadata">=</stringProp>
  16093. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16094. <stringProp name="Argument.name">product[meta_title]</stringProp>
  16095. <stringProp name="Argument.desc">true</stringProp>
  16096. </elementProp>
  16097. <elementProp name="product[name]" elementType="HTTPArgument">
  16098. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16099. <stringProp name="Argument.value">${configurable_sku}</stringProp>
  16100. <stringProp name="Argument.metadata">=</stringProp>
  16101. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16102. <stringProp name="Argument.name">product[name]</stringProp>
  16103. <stringProp name="Argument.desc">true</stringProp>
  16104. </elementProp>
  16105. <elementProp name="product[options_container]" elementType="HTTPArgument">
  16106. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16107. <stringProp name="Argument.value">container2</stringProp>
  16108. <stringProp name="Argument.metadata">=</stringProp>
  16109. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16110. <stringProp name="Argument.name">product[options_container]</stringProp>
  16111. <stringProp name="Argument.desc">true</stringProp>
  16112. </elementProp>
  16113. <elementProp name="product[price]" elementType="HTTPArgument">
  16114. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16115. <stringProp name="Argument.value">${price_new}</stringProp>
  16116. <stringProp name="Argument.metadata">=</stringProp>
  16117. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16118. <stringProp name="Argument.name">product[price]</stringProp>
  16119. <stringProp name="Argument.desc">true</stringProp>
  16120. </elementProp>
  16121. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  16122. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16123. <stringProp name="Argument.value">1</stringProp>
  16124. <stringProp name="Argument.metadata">=</stringProp>
  16125. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16126. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  16127. <stringProp name="Argument.desc">true</stringProp>
  16128. </elementProp>
  16129. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  16130. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16131. <stringProp name="Argument.value">1</stringProp>
  16132. <stringProp name="Argument.metadata">=</stringProp>
  16133. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16134. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  16135. <stringProp name="Argument.desc">true</stringProp>
  16136. </elementProp>
  16137. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  16138. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16139. <stringProp name="Argument.value">1000</stringProp>
  16140. <stringProp name="Argument.metadata">=</stringProp>
  16141. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16142. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  16143. <stringProp name="Argument.desc">true</stringProp>
  16144. </elementProp>
  16145. <elementProp name="product[short_description]" elementType="HTTPArgument">
  16146. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16147. <stringProp name="Argument.value"/>
  16148. <stringProp name="Argument.metadata">=</stringProp>
  16149. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16150. <stringProp name="Argument.name">product[short_description]</stringProp>
  16151. <stringProp name="Argument.desc">true</stringProp>
  16152. </elementProp>
  16153. <elementProp name="product[sku]" elementType="HTTPArgument">
  16154. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16155. <stringProp name="Argument.value">${configurable_sku}</stringProp>
  16156. <stringProp name="Argument.metadata">=</stringProp>
  16157. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16158. <stringProp name="Argument.name">product[sku]</stringProp>
  16159. <stringProp name="Argument.desc">true</stringProp>
  16160. </elementProp>
  16161. <elementProp name="product[small_image]" elementType="HTTPArgument">
  16162. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16163. <stringProp name="Argument.value"/>
  16164. <stringProp name="Argument.metadata">=</stringProp>
  16165. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16166. <stringProp name="Argument.name">product[small_image]</stringProp>
  16167. <stringProp name="Argument.desc">true</stringProp>
  16168. </elementProp>
  16169. <elementProp name="product[special_price]" elementType="HTTPArgument">
  16170. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16171. <stringProp name="Argument.value">${special_price_new}</stringProp>
  16172. <stringProp name="Argument.metadata">=</stringProp>
  16173. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16174. <stringProp name="Argument.name">product[special_price]</stringProp>
  16175. <stringProp name="Argument.desc">true</stringProp>
  16176. </elementProp>
  16177. <elementProp name="product[status]" elementType="HTTPArgument">
  16178. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16179. <stringProp name="Argument.value">1</stringProp>
  16180. <stringProp name="Argument.metadata">=</stringProp>
  16181. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16182. <stringProp name="Argument.name">product[status]</stringProp>
  16183. <stringProp name="Argument.desc">true</stringProp>
  16184. </elementProp>
  16185. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  16186. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16187. <stringProp name="Argument.value">0</stringProp>
  16188. <stringProp name="Argument.metadata">=</stringProp>
  16189. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16190. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  16191. <stringProp name="Argument.desc">true</stringProp>
  16192. </elementProp>
  16193. <elementProp name="product[stock_data][deferred_stock_update]" elementType="HTTPArgument">
  16194. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16195. <stringProp name="Argument.value">1</stringProp>
  16196. <stringProp name="Argument.metadata">=</stringProp>
  16197. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16198. <stringProp name="Argument.name">product[stock_data][deferred_stock_update]</stringProp>
  16199. <stringProp name="Argument.desc">true</stringProp>
  16200. </elementProp>
  16201. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  16202. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16203. <stringProp name="Argument.value">0</stringProp>
  16204. <stringProp name="Argument.metadata">=</stringProp>
  16205. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16206. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  16207. <stringProp name="Argument.desc">true</stringProp>
  16208. </elementProp>
  16209. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  16210. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16211. <stringProp name="Argument.value">0</stringProp>
  16212. <stringProp name="Argument.metadata">=</stringProp>
  16213. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16214. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  16215. <stringProp name="Argument.desc">true</stringProp>
  16216. </elementProp>
  16217. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  16218. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16219. <stringProp name="Argument.value">0</stringProp>
  16220. <stringProp name="Argument.metadata">=</stringProp>
  16221. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16222. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  16223. <stringProp name="Argument.desc">true</stringProp>
  16224. </elementProp>
  16225. <elementProp name="product[stock_data][manage_stock]" elementType="HTTPArgument">
  16226. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16227. <stringProp name="Argument.value">1</stringProp>
  16228. <stringProp name="Argument.metadata">=</stringProp>
  16229. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16230. <stringProp name="Argument.name">product[stock_data][manage_stock]</stringProp>
  16231. <stringProp name="Argument.desc">true</stringProp>
  16232. </elementProp>
  16233. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  16234. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16235. <stringProp name="Argument.value">10000</stringProp>
  16236. <stringProp name="Argument.metadata">=</stringProp>
  16237. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16238. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  16239. <stringProp name="Argument.desc">true</stringProp>
  16240. </elementProp>
  16241. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  16242. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16243. <stringProp name="Argument.value">0</stringProp>
  16244. <stringProp name="Argument.metadata">=</stringProp>
  16245. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16246. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  16247. <stringProp name="Argument.desc">true</stringProp>
  16248. </elementProp>
  16249. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  16250. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16251. <stringProp name="Argument.value">1</stringProp>
  16252. <stringProp name="Argument.metadata">=</stringProp>
  16253. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16254. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  16255. <stringProp name="Argument.desc">true</stringProp>
  16256. </elementProp>
  16257. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  16258. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16259. <stringProp name="Argument.value">1</stringProp>
  16260. <stringProp name="Argument.metadata">=</stringProp>
  16261. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16262. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  16263. <stringProp name="Argument.desc">true</stringProp>
  16264. </elementProp>
  16265. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  16266. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16267. <stringProp name="Argument.value">1</stringProp>
  16268. <stringProp name="Argument.metadata">=</stringProp>
  16269. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16270. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  16271. <stringProp name="Argument.desc">true</stringProp>
  16272. </elementProp>
  16273. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  16274. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16275. <stringProp name="Argument.value">1</stringProp>
  16276. <stringProp name="Argument.metadata">=</stringProp>
  16277. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16278. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  16279. <stringProp name="Argument.desc">true</stringProp>
  16280. </elementProp>
  16281. <elementProp name="product[stock_data][use_config_deferred_stock_update]" elementType="HTTPArgument">
  16282. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16283. <stringProp name="Argument.value">1</stringProp>
  16284. <stringProp name="Argument.metadata">=</stringProp>
  16285. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16286. <stringProp name="Argument.name">product[stock_data][use_config_deferred_stock_update]</stringProp>
  16287. <stringProp name="Argument.desc">true</stringProp>
  16288. </elementProp>
  16289. <elementProp name="product[stock_data][use_config_enable_qty_increments]" elementType="HTTPArgument">
  16290. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16291. <stringProp name="Argument.value">1</stringProp>
  16292. <stringProp name="Argument.metadata">=</stringProp>
  16293. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16294. <stringProp name="Argument.name">product[stock_data][use_config_enable_qty_increments]</stringProp>
  16295. <stringProp name="Argument.desc">true</stringProp>
  16296. </elementProp>
  16297. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  16298. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16299. <stringProp name="Argument.value">1</stringProp>
  16300. <stringProp name="Argument.metadata">=</stringProp>
  16301. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16302. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  16303. <stringProp name="Argument.desc">true</stringProp>
  16304. </elementProp>
  16305. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  16306. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16307. <stringProp name="Argument.value">1</stringProp>
  16308. <stringProp name="Argument.metadata">=</stringProp>
  16309. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16310. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  16311. <stringProp name="Argument.desc">true</stringProp>
  16312. </elementProp>
  16313. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  16314. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16315. <stringProp name="Argument.value">1</stringProp>
  16316. <stringProp name="Argument.metadata">=</stringProp>
  16317. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16318. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  16319. <stringProp name="Argument.desc">true</stringProp>
  16320. </elementProp>
  16321. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  16322. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16323. <stringProp name="Argument.value">1</stringProp>
  16324. <stringProp name="Argument.metadata">=</stringProp>
  16325. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16326. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  16327. <stringProp name="Argument.desc">true</stringProp>
  16328. </elementProp>
  16329. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  16330. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16331. <stringProp name="Argument.value">1</stringProp>
  16332. <stringProp name="Argument.metadata">=</stringProp>
  16333. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16334. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  16335. <stringProp name="Argument.desc">true</stringProp>
  16336. </elementProp>
  16337. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  16338. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16339. <stringProp name="Argument.value">1</stringProp>
  16340. <stringProp name="Argument.metadata">=</stringProp>
  16341. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16342. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  16343. <stringProp name="Argument.desc">true</stringProp>
  16344. </elementProp>
  16345. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  16346. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16347. <stringProp name="Argument.value">2</stringProp>
  16348. <stringProp name="Argument.metadata">=</stringProp>
  16349. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16350. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  16351. <stringProp name="Argument.desc">true</stringProp>
  16352. </elementProp>
  16353. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  16354. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16355. <stringProp name="Argument.value"/>
  16356. <stringProp name="Argument.metadata">=</stringProp>
  16357. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16358. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  16359. <stringProp name="Argument.desc">true</stringProp>
  16360. </elementProp>
  16361. <elementProp name="product[url_key]" elementType="HTTPArgument">
  16362. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16363. <stringProp name="Argument.value"/>
  16364. <stringProp name="Argument.metadata">=</stringProp>
  16365. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16366. <stringProp name="Argument.name">product[url_key]</stringProp>
  16367. <stringProp name="Argument.desc">true</stringProp>
  16368. </elementProp>
  16369. <elementProp name="product[use_config_gift_message_available]" elementType="HTTPArgument">
  16370. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16371. <stringProp name="Argument.value">1</stringProp>
  16372. <stringProp name="Argument.metadata">=</stringProp>
  16373. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16374. <stringProp name="Argument.name">product[use_config_gift_message_available]</stringProp>
  16375. <stringProp name="Argument.desc">true</stringProp>
  16376. </elementProp>
  16377. <elementProp name="product[use_config_gift_wrapping_available]" elementType="HTTPArgument">
  16378. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16379. <stringProp name="Argument.value">1</stringProp>
  16380. <stringProp name="Argument.metadata">=</stringProp>
  16381. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16382. <stringProp name="Argument.name">product[use_config_gift_wrapping_available]</stringProp>
  16383. <stringProp name="Argument.desc">true</stringProp>
  16384. </elementProp>
  16385. <elementProp name="product[use_config_is_returnable]" elementType="HTTPArgument">
  16386. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16387. <stringProp name="Argument.value">1</stringProp>
  16388. <stringProp name="Argument.metadata">=</stringProp>
  16389. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16390. <stringProp name="Argument.name">product[use_config_is_returnable]</stringProp>
  16391. <stringProp name="Argument.desc">true</stringProp>
  16392. </elementProp>
  16393. <elementProp name="product[visibility]" elementType="HTTPArgument">
  16394. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16395. <stringProp name="Argument.value">4</stringProp>
  16396. <stringProp name="Argument.metadata">=</stringProp>
  16397. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16398. <stringProp name="Argument.name">product[visibility]</stringProp>
  16399. <stringProp name="Argument.desc">true</stringProp>
  16400. </elementProp>
  16401. <elementProp name="product[website_ids][1]" elementType="HTTPArgument">
  16402. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16403. <stringProp name="Argument.value">1</stringProp>
  16404. <stringProp name="Argument.metadata">=</stringProp>
  16405. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16406. <stringProp name="Argument.name">product[website_ids][1]</stringProp>
  16407. <stringProp name="Argument.desc">true</stringProp>
  16408. </elementProp>
  16409. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  16410. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16411. <stringProp name="Argument.value">${related_product_id}</stringProp>
  16412. <stringProp name="Argument.metadata">=</stringProp>
  16413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16414. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  16415. </elementProp>
  16416. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  16417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16418. <stringProp name="Argument.value">1</stringProp>
  16419. <stringProp name="Argument.metadata">=</stringProp>
  16420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16421. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  16422. </elementProp>
  16423. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  16424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16425. <stringProp name="Argument.value">${related_product_id}</stringProp>
  16426. <stringProp name="Argument.metadata">=</stringProp>
  16427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16428. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  16429. </elementProp>
  16430. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  16431. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16432. <stringProp name="Argument.value">1</stringProp>
  16433. <stringProp name="Argument.metadata">=</stringProp>
  16434. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16435. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  16436. </elementProp>
  16437. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  16438. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16439. <stringProp name="Argument.value">${related_product_id}</stringProp>
  16440. <stringProp name="Argument.metadata">=</stringProp>
  16441. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16442. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  16443. </elementProp>
  16444. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  16445. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16446. <stringProp name="Argument.value">1</stringProp>
  16447. <stringProp name="Argument.metadata">=</stringProp>
  16448. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16449. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  16450. </elementProp>
  16451. </collectionProp>
  16452. </elementProp>
  16453. <stringProp name="HTTPSampler.domain"/>
  16454. <stringProp name="HTTPSampler.port"/>
  16455. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  16456. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  16457. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  16458. <stringProp name="HTTPSampler.contentEncoding"/>
  16459. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/set/${attribute_set_id}/type/configurable/back/edit/active_tab/product-details/</stringProp>
  16460. <stringProp name="HTTPSampler.method">POST</stringProp>
  16461. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  16462. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  16463. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  16464. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  16465. <boolProp name="HTTPSampler.monitor">false</boolProp>
  16466. <stringProp name="HTTPSampler.embedded_url_re"/>
  16467. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/configurable_save.jmx</stringProp></HTTPSamplerProxy>
  16468. <hashTree>
  16469. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  16470. <collectionProp name="Asserion.test_strings">
  16471. <stringProp name="-583471546">You saved the product</stringProp>
  16472. </collectionProp>
  16473. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  16474. <boolProp name="Assertion.assume_success">false</boolProp>
  16475. <intProp name="Assertion.test_type">2</intProp>
  16476. </ResponseAssertion>
  16477. <hashTree/>
  16478. <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="Assert Variation" enabled="true">
  16479. <stringProp name="scriptLanguage">javascript</stringProp>
  16480. <stringProp name="parameters"/>
  16481. <stringProp name="filename"/>
  16482. <stringProp name="cacheKey"/>
  16483. <stringProp name="script">
  16484. var configurableVariations = vars.getObject("configurable_variations_assertion"),
  16485. response = SampleResult.getResponseDataAsString();
  16486. configurableVariations.forEach(function (variation) {
  16487. if (response.indexOf(variation) == -1) {
  16488. AssertionResult.setFailureMessage("Cannot find variation \"" + variation + "\"");
  16489. AssertionResult.setFailure(true);
  16490. }
  16491. });
  16492. </stringProp>
  16493. </JSR223Assertion>
  16494. <hashTree/>
  16495. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Prepare Configurable Data" enabled="true">
  16496. <stringProp name="scriptLanguage">javascript</stringProp>
  16497. <stringProp name="parameters"/>
  16498. <stringProp name="filename"/>
  16499. <stringProp name="cacheKey"/>
  16500. <stringProp name="script">
  16501. attributes = vars.getObject("product_attributes");
  16502. for (i in attributes) {
  16503. var attribute = attributes[i];
  16504. sampler.addArgument("attribute_codes[" + i + "]", attribute.code);
  16505. sampler.addArgument("attributes[" + i + "]", attribute.id);
  16506. sampler.addArgument("product[" + attribute.code + "]", attribute.options[0].value);
  16507. addConfigurableAttributeData(attribute);
  16508. }
  16509. addConfigurableMatrix(attributes);
  16510. function addConfigurableAttributeData(attribute) {
  16511. var attributeId = attribute.id;
  16512. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][attribute_id]", attributeId);
  16513. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][code]", attribute.code);
  16514. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][label]", attribute.label);
  16515. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][position]", 0);
  16516. attribute.options.forEach(function (option, index) {
  16517. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][values][" + option.value + "][include]", index);
  16518. sampler.addArgument("product[configurable_attributes_data][" + attributeId + "][values][" + option.value + "][value_index]", option.value);
  16519. });
  16520. }
  16521. /**
  16522. * Build 4 simple products for Configurable
  16523. */
  16524. function addConfigurableMatrix(attributes) {
  16525. var attribute1 = attributes[0],
  16526. attribute2 = attributes[1],
  16527. productIndex = 1,
  16528. products = [];
  16529. var variationNames = [];
  16530. attribute1.options.forEach(function (option1) {
  16531. attribute2.options.forEach(function (option2) {
  16532. var productAttributes = {},
  16533. namePart = option1.label + "+" + option2.label,
  16534. variationKey = option1.value + "-" + option2.value;
  16535. productAttributes[attribute1.code] = option1.value;
  16536. productAttributes[attribute2.code] = option2.value;
  16537. variationNames.push(namePart + " - " + vars.get("configurable_sku"));
  16538. var product = {
  16539. "id": null,
  16540. "name": namePart + " - " + vars.get("configurable_sku"),
  16541. "sku": namePart + " - " + vars.get("configurable_sku"),
  16542. "status": 1,
  16543. "price": "100",
  16544. "price_currency": "$",
  16545. "price_string": "$100",
  16546. "weight": "6",
  16547. "qty": "50",
  16548. "variationKey": variationKey,
  16549. "configurable_attribute": JSON.stringify(productAttributes),
  16550. "thumbnail_image": "",
  16551. "media_gallery": {"images": {}},
  16552. "image": [],
  16553. "was_changed": true,
  16554. "canEdit": 1,
  16555. "newProduct": 1,
  16556. "record_id": productIndex
  16557. };
  16558. productIndex++;
  16559. products.push(product);
  16560. });
  16561. });
  16562. sampler.addArgument("configurable-matrix-serialized", JSON.stringify(products));
  16563. vars.putObject("configurable_variations_assertion", variationNames);
  16564. }
  16565. </stringProp>
  16566. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/configurable_prepare_data.jmx</stringProp></JSR223PreProcessor>
  16567. <hashTree/>
  16568. </hashTree>
  16569. </hashTree>
  16570. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Create Downloadable Product" enabled="true">
  16571. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/create_downloadable_product.jmx</stringProp>
  16572. </TestFragmentController>
  16573. <hashTree>
  16574. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Catalog Product" enabled="true">
  16575. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  16576. <collectionProp name="Arguments.arguments"/>
  16577. </elementProp>
  16578. <stringProp name="HTTPSampler.domain"/>
  16579. <stringProp name="HTTPSampler.port"/>
  16580. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  16581. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  16582. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  16583. <stringProp name="HTTPSampler.contentEncoding"/>
  16584. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/</stringProp>
  16585. <stringProp name="HTTPSampler.method">GET</stringProp>
  16586. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  16587. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  16588. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  16589. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  16590. <boolProp name="HTTPSampler.monitor">false</boolProp>
  16591. <stringProp name="HTTPSampler.embedded_url_re"/>
  16592. </HTTPSamplerProxy>
  16593. <hashTree>
  16594. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  16595. <collectionProp name="Asserion.test_strings">
  16596. <stringProp name="1509986340">records found</stringProp>
  16597. </collectionProp>
  16598. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  16599. <boolProp name="Assertion.assume_success">false</boolProp>
  16600. <intProp name="Assertion.test_type">2</intProp>
  16601. </ResponseAssertion>
  16602. <hashTree/>
  16603. </hashTree>
  16604. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Downloadable Product" enabled="true">
  16605. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  16606. <collectionProp name="Arguments.arguments"/>
  16607. </elementProp>
  16608. <stringProp name="HTTPSampler.domain"/>
  16609. <stringProp name="HTTPSampler.port"/>
  16610. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  16611. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  16612. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  16613. <stringProp name="HTTPSampler.contentEncoding"/>
  16614. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/new/set/4/type/downloadable/</stringProp>
  16615. <stringProp name="HTTPSampler.method">GET</stringProp>
  16616. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  16617. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  16618. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  16619. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  16620. <boolProp name="HTTPSampler.monitor">false</boolProp>
  16621. <stringProp name="HTTPSampler.embedded_url_re"/>
  16622. </HTTPSamplerProxy>
  16623. <hashTree>
  16624. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  16625. <collectionProp name="Asserion.test_strings">
  16626. <stringProp name="-144461265">New Product</stringProp>
  16627. </collectionProp>
  16628. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  16629. <boolProp name="Assertion.assume_success">false</boolProp>
  16630. <intProp name="Assertion.test_type">2</intProp>
  16631. </ResponseAssertion>
  16632. <hashTree/>
  16633. </hashTree>
  16634. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Downloadable Upload Original File" enabled="true">
  16635. <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
  16636. <collectionProp name="HTTPFileArgs.files">
  16637. <elementProp name="${files_folder}downloadable_original.txt" elementType="HTTPFileArg">
  16638. <stringProp name="File.path">${files_folder}downloadable_original.txt</stringProp>
  16639. <stringProp name="File.paramname">links</stringProp>
  16640. <stringProp name="File.mimetype">text/plain</stringProp>
  16641. </elementProp>
  16642. </collectionProp>
  16643. </elementProp>
  16644. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  16645. <collectionProp name="Arguments.arguments">
  16646. <elementProp name="form_key" elementType="HTTPArgument">
  16647. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16648. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  16649. <stringProp name="Argument.metadata">=</stringProp>
  16650. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16651. <stringProp name="Argument.name">form_key</stringProp>
  16652. <stringProp name="Argument.desc">false</stringProp>
  16653. </elementProp>
  16654. </collectionProp>
  16655. </elementProp>
  16656. <stringProp name="HTTPSampler.domain"/>
  16657. <stringProp name="HTTPSampler.port"/>
  16658. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  16659. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  16660. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  16661. <stringProp name="HTTPSampler.contentEncoding"/>
  16662. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/downloadable_file/upload/type/links/?isAjax=true</stringProp>
  16663. <stringProp name="HTTPSampler.method">POST</stringProp>
  16664. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  16665. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  16666. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  16667. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  16668. <boolProp name="HTTPSampler.monitor">false</boolProp>
  16669. <stringProp name="HTTPSampler.embedded_url_re"/>
  16670. </HTTPSamplerProxy>
  16671. <hashTree>
  16672. <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 original file" enabled="true">
  16673. <stringProp name="VAR">original_file</stringProp>
  16674. <stringProp name="JSONPATH">$.file</stringProp>
  16675. <stringProp name="DEFAULT"/>
  16676. <stringProp name="VARIABLE"/>
  16677. <stringProp name="SUBJECT">BODY</stringProp>
  16678. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  16679. <hashTree/>
  16680. </hashTree>
  16681. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Downloadable Upload Sample File" enabled="true">
  16682. <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
  16683. <collectionProp name="HTTPFileArgs.files">
  16684. <elementProp name="${files_folder}downloadable_sample.txt" elementType="HTTPFileArg">
  16685. <stringProp name="File.path">${files_folder}downloadable_sample.txt</stringProp>
  16686. <stringProp name="File.paramname">samples</stringProp>
  16687. <stringProp name="File.mimetype">text/plain</stringProp>
  16688. </elementProp>
  16689. </collectionProp>
  16690. </elementProp>
  16691. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  16692. <collectionProp name="Arguments.arguments">
  16693. <elementProp name="form_key" elementType="HTTPArgument">
  16694. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16695. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  16696. <stringProp name="Argument.metadata">=</stringProp>
  16697. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16698. <stringProp name="Argument.name">form_key</stringProp>
  16699. <stringProp name="Argument.desc">false</stringProp>
  16700. </elementProp>
  16701. </collectionProp>
  16702. </elementProp>
  16703. <stringProp name="HTTPSampler.domain"/>
  16704. <stringProp name="HTTPSampler.port"/>
  16705. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  16706. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  16707. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  16708. <stringProp name="HTTPSampler.contentEncoding"/>
  16709. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/downloadable_file/upload/type/samples/?isAjax=true</stringProp>
  16710. <stringProp name="HTTPSampler.method">POST</stringProp>
  16711. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  16712. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  16713. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  16714. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  16715. <boolProp name="HTTPSampler.monitor">false</boolProp>
  16716. <stringProp name="HTTPSampler.embedded_url_re"/>
  16717. </HTTPSamplerProxy>
  16718. <hashTree>
  16719. <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 sample file" enabled="true">
  16720. <stringProp name="VAR">sample_file</stringProp>
  16721. <stringProp name="JSONPATH">$.file</stringProp>
  16722. <stringProp name="DEFAULT"/>
  16723. <stringProp name="VARIABLE"/>
  16724. <stringProp name="SUBJECT">BODY</stringProp>
  16725. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  16726. <hashTree/>
  16727. </hashTree>
  16728. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Downloadable Product Validate" enabled="true">
  16729. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  16730. <collectionProp name="Arguments.arguments">
  16731. <elementProp name="ajax" elementType="HTTPArgument">
  16732. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16733. <stringProp name="Argument.value">true</stringProp>
  16734. <stringProp name="Argument.metadata">=</stringProp>
  16735. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16736. <stringProp name="Argument.name">ajax</stringProp>
  16737. <stringProp name="Argument.desc">false</stringProp>
  16738. </elementProp>
  16739. <elementProp name="isAjax" elementType="HTTPArgument">
  16740. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16741. <stringProp name="Argument.value">true</stringProp>
  16742. <stringProp name="Argument.metadata">=</stringProp>
  16743. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16744. <stringProp name="Argument.name">isAjax</stringProp>
  16745. <stringProp name="Argument.desc">false</stringProp>
  16746. </elementProp>
  16747. <elementProp name="form_key" elementType="HTTPArgument">
  16748. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16749. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  16750. <stringProp name="Argument.metadata">=</stringProp>
  16751. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16752. <stringProp name="Argument.name">form_key</stringProp>
  16753. <stringProp name="Argument.desc">false</stringProp>
  16754. </elementProp>
  16755. <elementProp name="product[name]" elementType="HTTPArgument">
  16756. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16757. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  16758. <stringProp name="Argument.metadata">=</stringProp>
  16759. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16760. <stringProp name="Argument.name">product[name]</stringProp>
  16761. <stringProp name="Argument.desc">false</stringProp>
  16762. </elementProp>
  16763. <elementProp name="product[sku]" elementType="HTTPArgument">
  16764. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16765. <stringProp name="Argument.value">SKU ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  16766. <stringProp name="Argument.metadata">=</stringProp>
  16767. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16768. <stringProp name="Argument.name">product[sku]</stringProp>
  16769. <stringProp name="Argument.desc">false</stringProp>
  16770. </elementProp>
  16771. <elementProp name="product[price]" elementType="HTTPArgument">
  16772. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16773. <stringProp name="Argument.value">123</stringProp>
  16774. <stringProp name="Argument.metadata">=</stringProp>
  16775. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16776. <stringProp name="Argument.name">product[price]</stringProp>
  16777. </elementProp>
  16778. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  16779. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16780. <stringProp name="Argument.value">2</stringProp>
  16781. <stringProp name="Argument.metadata">=</stringProp>
  16782. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16783. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  16784. </elementProp>
  16785. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  16786. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16787. <stringProp name="Argument.value">111</stringProp>
  16788. <stringProp name="Argument.metadata">=</stringProp>
  16789. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16790. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  16791. </elementProp>
  16792. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  16793. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16794. <stringProp name="Argument.value">1</stringProp>
  16795. <stringProp name="Argument.metadata">=</stringProp>
  16796. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16797. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  16798. </elementProp>
  16799. <elementProp name="product[weight]" elementType="HTTPArgument">
  16800. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16801. <stringProp name="Argument.value">1.0000</stringProp>
  16802. <stringProp name="Argument.metadata">=</stringProp>
  16803. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16804. <stringProp name="Argument.name">product[weight]</stringProp>
  16805. </elementProp>
  16806. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  16807. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16808. <stringProp name="Argument.value">2</stringProp>
  16809. <stringProp name="Argument.metadata">=</stringProp>
  16810. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16811. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  16812. </elementProp>
  16813. <elementProp name="product[description]" elementType="HTTPArgument">
  16814. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16815. <stringProp name="Argument.value">&lt;p&gt;Full downloadable product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  16816. <stringProp name="Argument.metadata">=</stringProp>
  16817. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16818. <stringProp name="Argument.name">product[description]</stringProp>
  16819. </elementProp>
  16820. <elementProp name="product[short_description]" elementType="HTTPArgument">
  16821. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16822. <stringProp name="Argument.value">&lt;p&gt;Short downloadable product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  16823. <stringProp name="Argument.metadata">=</stringProp>
  16824. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16825. <stringProp name="Argument.name">product[short_description]</stringProp>
  16826. </elementProp>
  16827. <elementProp name="product[status]" elementType="HTTPArgument">
  16828. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16829. <stringProp name="Argument.value">1</stringProp>
  16830. <stringProp name="Argument.metadata">=</stringProp>
  16831. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16832. <stringProp name="Argument.name">product[status]</stringProp>
  16833. </elementProp>
  16834. <elementProp name="product[image]" elementType="HTTPArgument">
  16835. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16836. <stringProp name="Argument.value"/>
  16837. <stringProp name="Argument.metadata">=</stringProp>
  16838. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16839. <stringProp name="Argument.name">product[image]</stringProp>
  16840. </elementProp>
  16841. <elementProp name="product[small_image]" elementType="HTTPArgument">
  16842. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16843. <stringProp name="Argument.value"/>
  16844. <stringProp name="Argument.metadata">=</stringProp>
  16845. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16846. <stringProp name="Argument.name">product[small_image]</stringProp>
  16847. </elementProp>
  16848. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  16849. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16850. <stringProp name="Argument.value"/>
  16851. <stringProp name="Argument.metadata">=</stringProp>
  16852. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16853. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  16854. </elementProp>
  16855. <elementProp name="product[url_key]" elementType="HTTPArgument">
  16856. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16857. <stringProp name="Argument.value">downloadable-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  16858. <stringProp name="Argument.metadata">=</stringProp>
  16859. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16860. <stringProp name="Argument.name">product[url_key]</stringProp>
  16861. </elementProp>
  16862. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  16863. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16864. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  16865. <stringProp name="Argument.metadata">=</stringProp>
  16866. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16867. <stringProp name="Argument.name">product[meta_title]</stringProp>
  16868. </elementProp>
  16869. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  16870. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16871. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  16872. <stringProp name="Argument.metadata">=</stringProp>
  16873. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16874. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  16875. </elementProp>
  16876. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  16877. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16878. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  16879. <stringProp name="Argument.metadata">=</stringProp>
  16880. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16881. <stringProp name="Argument.name">product[meta_description]</stringProp>
  16882. </elementProp>
  16883. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  16884. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16885. <stringProp name="Argument.value">1</stringProp>
  16886. <stringProp name="Argument.metadata">=</stringProp>
  16887. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16888. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  16889. </elementProp>
  16890. <elementProp name="product[special_price]" elementType="HTTPArgument">
  16891. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16892. <stringProp name="Argument.value">99</stringProp>
  16893. <stringProp name="Argument.metadata">=</stringProp>
  16894. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16895. <stringProp name="Argument.name">product[special_price]</stringProp>
  16896. </elementProp>
  16897. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  16898. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16899. <stringProp name="Argument.value">1</stringProp>
  16900. <stringProp name="Argument.metadata">=</stringProp>
  16901. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16902. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  16903. </elementProp>
  16904. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  16905. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16906. <stringProp name="Argument.value"/>
  16907. <stringProp name="Argument.metadata">=</stringProp>
  16908. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16909. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  16910. </elementProp>
  16911. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  16912. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16913. <stringProp name="Argument.value"/>
  16914. <stringProp name="Argument.metadata">=</stringProp>
  16915. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16916. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  16917. </elementProp>
  16918. <elementProp name="product[cost]" elementType="HTTPArgument">
  16919. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16920. <stringProp name="Argument.value"/>
  16921. <stringProp name="Argument.metadata">=</stringProp>
  16922. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16923. <stringProp name="Argument.name">product[cost]</stringProp>
  16924. </elementProp>
  16925. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  16926. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16927. <stringProp name="Argument.value">0</stringProp>
  16928. <stringProp name="Argument.metadata">=</stringProp>
  16929. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16930. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  16931. </elementProp>
  16932. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  16933. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16934. <stringProp name="Argument.value">32000</stringProp>
  16935. <stringProp name="Argument.metadata">=</stringProp>
  16936. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16937. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  16938. </elementProp>
  16939. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  16940. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16941. <stringProp name="Argument.value">100</stringProp>
  16942. <stringProp name="Argument.metadata">=</stringProp>
  16943. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16944. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  16945. </elementProp>
  16946. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  16947. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16948. <stringProp name="Argument.value">90</stringProp>
  16949. <stringProp name="Argument.metadata">=</stringProp>
  16950. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16951. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  16952. </elementProp>
  16953. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  16954. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16955. <stringProp name="Argument.value"/>
  16956. <stringProp name="Argument.metadata">=</stringProp>
  16957. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16958. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  16959. </elementProp>
  16960. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  16961. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16962. <stringProp name="Argument.value">0</stringProp>
  16963. <stringProp name="Argument.metadata">=</stringProp>
  16964. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16965. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  16966. </elementProp>
  16967. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  16968. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16969. <stringProp name="Argument.value">1</stringProp>
  16970. <stringProp name="Argument.metadata">=</stringProp>
  16971. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16972. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  16973. </elementProp>
  16974. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  16975. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16976. <stringProp name="Argument.value">101</stringProp>
  16977. <stringProp name="Argument.metadata">=</stringProp>
  16978. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16979. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  16980. </elementProp>
  16981. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  16982. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16983. <stringProp name="Argument.value">99</stringProp>
  16984. <stringProp name="Argument.metadata">=</stringProp>
  16985. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16986. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  16987. </elementProp>
  16988. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  16989. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16990. <stringProp name="Argument.value"/>
  16991. <stringProp name="Argument.metadata">=</stringProp>
  16992. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  16993. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  16994. </elementProp>
  16995. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  16996. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  16997. <stringProp name="Argument.value">1</stringProp>
  16998. <stringProp name="Argument.metadata">=</stringProp>
  16999. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17000. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  17001. </elementProp>
  17002. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  17003. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17004. <stringProp name="Argument.value">100500</stringProp>
  17005. <stringProp name="Argument.metadata">=</stringProp>
  17006. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17007. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  17008. </elementProp>
  17009. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  17010. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17011. <stringProp name="Argument.value">100500</stringProp>
  17012. <stringProp name="Argument.metadata">=</stringProp>
  17013. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17014. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  17015. </elementProp>
  17016. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  17017. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17018. <stringProp name="Argument.value">0</stringProp>
  17019. <stringProp name="Argument.metadata">=</stringProp>
  17020. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17021. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  17022. </elementProp>
  17023. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  17024. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17025. <stringProp name="Argument.value">1</stringProp>
  17026. <stringProp name="Argument.metadata">=</stringProp>
  17027. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17028. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  17029. </elementProp>
  17030. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  17031. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17032. <stringProp name="Argument.value">1</stringProp>
  17033. <stringProp name="Argument.metadata">=</stringProp>
  17034. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17035. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  17036. </elementProp>
  17037. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  17038. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17039. <stringProp name="Argument.value">1</stringProp>
  17040. <stringProp name="Argument.metadata">=</stringProp>
  17041. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17042. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  17043. </elementProp>
  17044. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  17045. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17046. <stringProp name="Argument.value">10000</stringProp>
  17047. <stringProp name="Argument.metadata">=</stringProp>
  17048. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17049. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  17050. </elementProp>
  17051. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  17052. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17053. <stringProp name="Argument.value">1</stringProp>
  17054. <stringProp name="Argument.metadata">=</stringProp>
  17055. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17056. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  17057. </elementProp>
  17058. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  17059. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17060. <stringProp name="Argument.value">0</stringProp>
  17061. <stringProp name="Argument.metadata">=</stringProp>
  17062. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17063. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  17064. </elementProp>
  17065. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  17066. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17067. <stringProp name="Argument.value">0</stringProp>
  17068. <stringProp name="Argument.metadata">=</stringProp>
  17069. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17070. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  17071. </elementProp>
  17072. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  17073. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17074. <stringProp name="Argument.value">0</stringProp>
  17075. <stringProp name="Argument.metadata">=</stringProp>
  17076. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17077. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  17078. </elementProp>
  17079. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  17080. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17081. <stringProp name="Argument.value">1</stringProp>
  17082. <stringProp name="Argument.metadata">=</stringProp>
  17083. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17084. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  17085. </elementProp>
  17086. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  17087. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17088. <stringProp name="Argument.value">1</stringProp>
  17089. <stringProp name="Argument.metadata">=</stringProp>
  17090. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17091. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  17092. </elementProp>
  17093. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  17094. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17095. <stringProp name="Argument.value">0</stringProp>
  17096. <stringProp name="Argument.metadata">=</stringProp>
  17097. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17098. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  17099. </elementProp>
  17100. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  17101. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17102. <stringProp name="Argument.value">0</stringProp>
  17103. <stringProp name="Argument.metadata">=</stringProp>
  17104. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17105. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  17106. </elementProp>
  17107. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  17108. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17109. <stringProp name="Argument.value">1</stringProp>
  17110. <stringProp name="Argument.metadata">=</stringProp>
  17111. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17112. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  17113. </elementProp>
  17114. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  17115. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17116. <stringProp name="Argument.value">1</stringProp>
  17117. <stringProp name="Argument.metadata">=</stringProp>
  17118. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17119. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  17120. </elementProp>
  17121. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  17122. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17123. <stringProp name="Argument.value"/>
  17124. <stringProp name="Argument.metadata">=</stringProp>
  17125. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17126. <stringProp name="Argument.name">product[custom_design]</stringProp>
  17127. </elementProp>
  17128. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  17129. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17130. <stringProp name="Argument.value"/>
  17131. <stringProp name="Argument.metadata">=</stringProp>
  17132. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17133. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  17134. </elementProp>
  17135. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  17136. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17137. <stringProp name="Argument.value"/>
  17138. <stringProp name="Argument.metadata">=</stringProp>
  17139. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17140. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  17141. </elementProp>
  17142. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  17143. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17144. <stringProp name="Argument.value"/>
  17145. <stringProp name="Argument.metadata">=</stringProp>
  17146. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17147. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  17148. </elementProp>
  17149. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  17150. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17151. <stringProp name="Argument.value"/>
  17152. <stringProp name="Argument.metadata">=</stringProp>
  17153. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17154. <stringProp name="Argument.name">product[page_layout]</stringProp>
  17155. </elementProp>
  17156. <elementProp name="product[options_container]" elementType="HTTPArgument">
  17157. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17158. <stringProp name="Argument.value">container2</stringProp>
  17159. <stringProp name="Argument.metadata">=</stringProp>
  17160. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17161. <stringProp name="Argument.name">product[options_container]</stringProp>
  17162. </elementProp>
  17163. <elementProp name="is_downloadable" elementType="HTTPArgument">
  17164. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17165. <stringProp name="Argument.value">on</stringProp>
  17166. <stringProp name="Argument.metadata">=</stringProp>
  17167. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17168. <stringProp name="Argument.name">is_downloadable</stringProp>
  17169. </elementProp>
  17170. <elementProp name="product[links_title]" elementType="HTTPArgument">
  17171. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17172. <stringProp name="Argument.value">Links</stringProp>
  17173. <stringProp name="Argument.metadata">=</stringProp>
  17174. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17175. <stringProp name="Argument.name">product[links_title]</stringProp>
  17176. </elementProp>
  17177. <elementProp name="product[links_purchased_separately]" elementType="HTTPArgument">
  17178. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17179. <stringProp name="Argument.value">0</stringProp>
  17180. <stringProp name="Argument.metadata">=</stringProp>
  17181. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17182. <stringProp name="Argument.name">product[links_purchased_separately]</stringProp>
  17183. </elementProp>
  17184. <elementProp name="downloadable[link][0][file][0][file]" elementType="HTTPArgument">
  17185. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17186. <stringProp name="Argument.value">${original_file}</stringProp>
  17187. <stringProp name="Argument.metadata">=</stringProp>
  17188. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17189. <stringProp name="Argument.name">downloadable[link][0][file][0][file]</stringProp>
  17190. <stringProp name="Argument.desc">false</stringProp>
  17191. </elementProp>
  17192. <elementProp name="downloadable[link][0][file][0][name]" elementType="HTTPArgument">
  17193. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17194. <stringProp name="Argument.value">downloadable_original.txt</stringProp>
  17195. <stringProp name="Argument.metadata">=</stringProp>
  17196. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17197. <stringProp name="Argument.name">downloadable[link][0][file][0][name]</stringProp>
  17198. <stringProp name="Argument.desc">false</stringProp>
  17199. </elementProp>
  17200. <elementProp name="downloadable[link][0][file][0][size]" elementType="HTTPArgument">
  17201. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17202. <stringProp name="Argument.value">13</stringProp>
  17203. <stringProp name="Argument.metadata">=</stringProp>
  17204. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17205. <stringProp name="Argument.name">downloadable[link][0][file][0][size]</stringProp>
  17206. <stringProp name="Argument.desc">false</stringProp>
  17207. </elementProp>
  17208. <elementProp name="downloadable[link][0][file][0][status]" elementType="HTTPArgument">
  17209. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17210. <stringProp name="Argument.value">new</stringProp>
  17211. <stringProp name="Argument.metadata">=</stringProp>
  17212. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17213. <stringProp name="Argument.name">downloadable[link][0][file][0][status]</stringProp>
  17214. <stringProp name="Argument.desc">false</stringProp>
  17215. </elementProp>
  17216. <elementProp name="downloadable[link][0][is_shareable]" elementType="HTTPArgument">
  17217. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17218. <stringProp name="Argument.value">1</stringProp>
  17219. <stringProp name="Argument.metadata">=</stringProp>
  17220. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17221. <stringProp name="Argument.name">downloadable[link][0][is_shareable]</stringProp>
  17222. </elementProp>
  17223. <elementProp name="downloadable[link][0][is_unlimited]" elementType="HTTPArgument">
  17224. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17225. <stringProp name="Argument.value">0</stringProp>
  17226. <stringProp name="Argument.metadata">=</stringProp>
  17227. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17228. <stringProp name="Argument.name">downloadable[link][0][is_unlimited]</stringProp>
  17229. </elementProp>
  17230. <elementProp name="downloadable[link][0][link_url]" elementType="HTTPArgument">
  17231. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17232. <stringProp name="Argument.value"/>
  17233. <stringProp name="Argument.metadata">=</stringProp>
  17234. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17235. <stringProp name="Argument.name">downloadable[link][0][link_url]</stringProp>
  17236. </elementProp>
  17237. <elementProp name="downloadable[link][0][number_of_downloads]" elementType="HTTPArgument">
  17238. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17239. <stringProp name="Argument.value">0</stringProp>
  17240. <stringProp name="Argument.metadata">=</stringProp>
  17241. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17242. <stringProp name="Argument.name">downloadable[link][0][number_of_downloads]</stringProp>
  17243. <stringProp name="Argument.desc">true</stringProp>
  17244. </elementProp>
  17245. <elementProp name="downloadable[link][0][price]" elementType="HTTPArgument">
  17246. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17247. <stringProp name="Argument.value">120</stringProp>
  17248. <stringProp name="Argument.metadata">=</stringProp>
  17249. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17250. <stringProp name="Argument.name">downloadable[link][0][price]</stringProp>
  17251. <stringProp name="Argument.desc">true</stringProp>
  17252. </elementProp>
  17253. <elementProp name="downloadable[link][0][record_id]" elementType="HTTPArgument">
  17254. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17255. <stringProp name="Argument.value">0</stringProp>
  17256. <stringProp name="Argument.metadata">=</stringProp>
  17257. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17258. <stringProp name="Argument.name">downloadable[link][0][record_id]</stringProp>
  17259. <stringProp name="Argument.desc">true</stringProp>
  17260. </elementProp>
  17261. <elementProp name="downloadable[link][0][sample][type]" elementType="HTTPArgument">
  17262. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17263. <stringProp name="Argument.value">file</stringProp>
  17264. <stringProp name="Argument.metadata">=</stringProp>
  17265. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17266. <stringProp name="Argument.name">downloadable[link][0][sample][type]</stringProp>
  17267. </elementProp>
  17268. <elementProp name="downloadable[link][0][sample][url]" elementType="HTTPArgument">
  17269. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17270. <stringProp name="Argument.value"/>
  17271. <stringProp name="Argument.metadata">=</stringProp>
  17272. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17273. <stringProp name="Argument.name">downloadable[link][0][sample][url]</stringProp>
  17274. </elementProp>
  17275. <elementProp name="downloadable[link][0][sort_order]" elementType="HTTPArgument">
  17276. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17277. <stringProp name="Argument.value">1</stringProp>
  17278. <stringProp name="Argument.metadata">=</stringProp>
  17279. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17280. <stringProp name="Argument.name">downloadable[link][0][sort_order]</stringProp>
  17281. </elementProp>
  17282. <elementProp name="downloadable[link][0][title]" elementType="HTTPArgument">
  17283. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17284. <stringProp name="Argument.value">Original Link</stringProp>
  17285. <stringProp name="Argument.metadata">=</stringProp>
  17286. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17287. <stringProp name="Argument.name">downloadable[link][0][title]</stringProp>
  17288. </elementProp>
  17289. <elementProp name="downloadable[link][0][type]" elementType="HTTPArgument">
  17290. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17291. <stringProp name="Argument.value">file</stringProp>
  17292. <stringProp name="Argument.metadata">=</stringProp>
  17293. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17294. <stringProp name="Argument.name">downloadable[link][0][type]</stringProp>
  17295. </elementProp>
  17296. <elementProp name="downloadable[sample][0][file][0][file]" elementType="HTTPArgument">
  17297. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17298. <stringProp name="Argument.value">${sample_file}</stringProp>
  17299. <stringProp name="Argument.metadata">=</stringProp>
  17300. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17301. <stringProp name="Argument.name">downloadable[sample][0][file][0][file]</stringProp>
  17302. <stringProp name="Argument.desc">true</stringProp>
  17303. </elementProp>
  17304. <elementProp name="downloadable[sample][0][file][0][name]" elementType="HTTPArgument">
  17305. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17306. <stringProp name="Argument.value">downloadable_sample.txt</stringProp>
  17307. <stringProp name="Argument.metadata">=</stringProp>
  17308. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17309. <stringProp name="Argument.name">downloadable[sample][0][file][0][name]</stringProp>
  17310. <stringProp name="Argument.desc">true</stringProp>
  17311. </elementProp>
  17312. <elementProp name="downloadable[sample][0][file][0][size]" elementType="HTTPArgument">
  17313. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17314. <stringProp name="Argument.value">14</stringProp>
  17315. <stringProp name="Argument.metadata">=</stringProp>
  17316. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17317. <stringProp name="Argument.name">downloadable[sample][0][file][0][size]</stringProp>
  17318. <stringProp name="Argument.desc">true</stringProp>
  17319. </elementProp>
  17320. <elementProp name="downloadable[sample][0][file][0][status]" elementType="HTTPArgument">
  17321. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17322. <stringProp name="Argument.value">new</stringProp>
  17323. <stringProp name="Argument.metadata">=</stringProp>
  17324. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17325. <stringProp name="Argument.name">downloadable[sample][0][file][0][status]</stringProp>
  17326. <stringProp name="Argument.desc">true</stringProp>
  17327. </elementProp>
  17328. <elementProp name="downloadable[sample][0][record_id]" elementType="HTTPArgument">
  17329. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17330. <stringProp name="Argument.value">0</stringProp>
  17331. <stringProp name="Argument.metadata">=</stringProp>
  17332. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17333. <stringProp name="Argument.name">downloadable[sample][0][record_id]</stringProp>
  17334. <stringProp name="Argument.desc">true</stringProp>
  17335. </elementProp>
  17336. <elementProp name="downloadable[sample][0][sample_url]" elementType="HTTPArgument">
  17337. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17338. <stringProp name="Argument.value"/>
  17339. <stringProp name="Argument.metadata">=</stringProp>
  17340. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17341. <stringProp name="Argument.name">downloadable[sample][0][sample_url]</stringProp>
  17342. <stringProp name="Argument.desc">true</stringProp>
  17343. </elementProp>
  17344. <elementProp name="downloadable[sample][0][sort_order]" elementType="HTTPArgument">
  17345. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17346. <stringProp name="Argument.value">1</stringProp>
  17347. <stringProp name="Argument.metadata">=</stringProp>
  17348. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17349. <stringProp name="Argument.name">downloadable[sample][0][sort_order]</stringProp>
  17350. <stringProp name="Argument.desc">true</stringProp>
  17351. </elementProp>
  17352. <elementProp name="downloadable[sample][0][title]" elementType="HTTPArgument">
  17353. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17354. <stringProp name="Argument.value">Sample Link</stringProp>
  17355. <stringProp name="Argument.metadata">=</stringProp>
  17356. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17357. <stringProp name="Argument.name">downloadable[sample][0][title]</stringProp>
  17358. <stringProp name="Argument.desc">true</stringProp>
  17359. </elementProp>
  17360. <elementProp name="downloadable[sample][0][type]" elementType="HTTPArgument">
  17361. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17362. <stringProp name="Argument.value">file</stringProp>
  17363. <stringProp name="Argument.metadata">=</stringProp>
  17364. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17365. <stringProp name="Argument.name">downloadable[sample][0][type]</stringProp>
  17366. <stringProp name="Argument.desc">true</stringProp>
  17367. </elementProp>
  17368. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  17369. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17370. <stringProp name="Argument.value">1</stringProp>
  17371. <stringProp name="Argument.metadata">=</stringProp>
  17372. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17373. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  17374. <stringProp name="Argument.desc">false</stringProp>
  17375. </elementProp>
  17376. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  17377. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17378. <stringProp name="Argument.value">4</stringProp>
  17379. <stringProp name="Argument.metadata">=</stringProp>
  17380. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17381. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  17382. <stringProp name="Argument.desc">false</stringProp>
  17383. </elementProp>
  17384. <elementProp name="product[configurable_variation]" elementType="HTTPArgument">
  17385. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17386. <stringProp name="Argument.value"/>
  17387. <stringProp name="Argument.metadata">=</stringProp>
  17388. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17389. <stringProp name="Argument.name">product[configurable_variation]</stringProp>
  17390. <stringProp name="Argument.desc">false</stringProp>
  17391. </elementProp>
  17392. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  17393. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17394. <stringProp name="Argument.value">${related_product_id}</stringProp>
  17395. <stringProp name="Argument.metadata">=</stringProp>
  17396. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17397. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  17398. </elementProp>
  17399. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  17400. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17401. <stringProp name="Argument.value">1</stringProp>
  17402. <stringProp name="Argument.metadata">=</stringProp>
  17403. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17404. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  17405. </elementProp>
  17406. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  17407. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17408. <stringProp name="Argument.value">${related_product_id}</stringProp>
  17409. <stringProp name="Argument.metadata">=</stringProp>
  17410. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17411. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  17412. </elementProp>
  17413. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  17414. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17415. <stringProp name="Argument.value">1</stringProp>
  17416. <stringProp name="Argument.metadata">=</stringProp>
  17417. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17418. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  17419. </elementProp>
  17420. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  17421. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17422. <stringProp name="Argument.value">${related_product_id}</stringProp>
  17423. <stringProp name="Argument.metadata">=</stringProp>
  17424. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17425. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  17426. </elementProp>
  17427. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  17428. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17429. <stringProp name="Argument.value">1</stringProp>
  17430. <stringProp name="Argument.metadata">=</stringProp>
  17431. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17432. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  17433. </elementProp>
  17434. </collectionProp>
  17435. </elementProp>
  17436. <stringProp name="HTTPSampler.domain"/>
  17437. <stringProp name="HTTPSampler.port"/>
  17438. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  17439. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  17440. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  17441. <stringProp name="HTTPSampler.contentEncoding"/>
  17442. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/set/4/type/downloadable/</stringProp>
  17443. <stringProp name="HTTPSampler.method">POST</stringProp>
  17444. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  17445. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  17446. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  17447. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  17448. <boolProp name="HTTPSampler.monitor">false</boolProp>
  17449. <stringProp name="HTTPSampler.embedded_url_re"/>
  17450. </HTTPSamplerProxy>
  17451. <hashTree>
  17452. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  17453. <collectionProp name="Asserion.test_strings">
  17454. <stringProp name="1853918323">{"error":false}</stringProp>
  17455. </collectionProp>
  17456. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  17457. <boolProp name="Assertion.assume_success">false</boolProp>
  17458. <intProp name="Assertion.test_type">2</intProp>
  17459. </ResponseAssertion>
  17460. <hashTree/>
  17461. </hashTree>
  17462. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Downloadable Product Save" enabled="true">
  17463. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  17464. <collectionProp name="Arguments.arguments">
  17465. <elementProp name="ajax" elementType="HTTPArgument">
  17466. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17467. <stringProp name="Argument.value">true</stringProp>
  17468. <stringProp name="Argument.metadata">=</stringProp>
  17469. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17470. <stringProp name="Argument.name">ajax</stringProp>
  17471. <stringProp name="Argument.desc">false</stringProp>
  17472. </elementProp>
  17473. <elementProp name="isAjax" elementType="HTTPArgument">
  17474. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17475. <stringProp name="Argument.value">true</stringProp>
  17476. <stringProp name="Argument.metadata">=</stringProp>
  17477. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17478. <stringProp name="Argument.name">isAjax</stringProp>
  17479. <stringProp name="Argument.desc">false</stringProp>
  17480. </elementProp>
  17481. <elementProp name="form_key" elementType="HTTPArgument">
  17482. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17483. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  17484. <stringProp name="Argument.metadata">=</stringProp>
  17485. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17486. <stringProp name="Argument.name">form_key</stringProp>
  17487. <stringProp name="Argument.desc">false</stringProp>
  17488. </elementProp>
  17489. <elementProp name="product[name]" elementType="HTTPArgument">
  17490. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17491. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  17492. <stringProp name="Argument.metadata">=</stringProp>
  17493. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17494. <stringProp name="Argument.name">product[name]</stringProp>
  17495. <stringProp name="Argument.desc">false</stringProp>
  17496. </elementProp>
  17497. <elementProp name="product[sku]" elementType="HTTPArgument">
  17498. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17499. <stringProp name="Argument.value">SKU ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  17500. <stringProp name="Argument.metadata">=</stringProp>
  17501. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17502. <stringProp name="Argument.name">product[sku]</stringProp>
  17503. <stringProp name="Argument.desc">false</stringProp>
  17504. </elementProp>
  17505. <elementProp name="product[price]" elementType="HTTPArgument">
  17506. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17507. <stringProp name="Argument.value">123</stringProp>
  17508. <stringProp name="Argument.metadata">=</stringProp>
  17509. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17510. <stringProp name="Argument.name">product[price]</stringProp>
  17511. </elementProp>
  17512. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  17513. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17514. <stringProp name="Argument.value">2</stringProp>
  17515. <stringProp name="Argument.metadata">=</stringProp>
  17516. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17517. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  17518. </elementProp>
  17519. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  17520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17521. <stringProp name="Argument.value">111</stringProp>
  17522. <stringProp name="Argument.metadata">=</stringProp>
  17523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17524. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  17525. </elementProp>
  17526. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  17527. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17528. <stringProp name="Argument.value">1</stringProp>
  17529. <stringProp name="Argument.metadata">=</stringProp>
  17530. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17531. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  17532. </elementProp>
  17533. <elementProp name="product[weight]" elementType="HTTPArgument">
  17534. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17535. <stringProp name="Argument.value">1.0000</stringProp>
  17536. <stringProp name="Argument.metadata">=</stringProp>
  17537. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17538. <stringProp name="Argument.name">product[weight]</stringProp>
  17539. </elementProp>
  17540. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  17541. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17542. <stringProp name="Argument.value">2</stringProp>
  17543. <stringProp name="Argument.metadata">=</stringProp>
  17544. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17545. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  17546. </elementProp>
  17547. <elementProp name="product[description]" elementType="HTTPArgument">
  17548. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17549. <stringProp name="Argument.value">&lt;p&gt;Full downloadable product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  17550. <stringProp name="Argument.metadata">=</stringProp>
  17551. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17552. <stringProp name="Argument.name">product[description]</stringProp>
  17553. </elementProp>
  17554. <elementProp name="product[short_description]" elementType="HTTPArgument">
  17555. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17556. <stringProp name="Argument.value">&lt;p&gt;Short downloadable product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  17557. <stringProp name="Argument.metadata">=</stringProp>
  17558. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17559. <stringProp name="Argument.name">product[short_description]</stringProp>
  17560. <stringProp name="Argument.desc">false</stringProp>
  17561. </elementProp>
  17562. <elementProp name="product[status]" elementType="HTTPArgument">
  17563. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17564. <stringProp name="Argument.value">1</stringProp>
  17565. <stringProp name="Argument.metadata">=</stringProp>
  17566. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17567. <stringProp name="Argument.name">product[status]</stringProp>
  17568. </elementProp>
  17569. <elementProp name="product[image]" elementType="HTTPArgument">
  17570. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17571. <stringProp name="Argument.value"/>
  17572. <stringProp name="Argument.metadata">=</stringProp>
  17573. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17574. <stringProp name="Argument.name">product[image]</stringProp>
  17575. </elementProp>
  17576. <elementProp name="product[small_image]" elementType="HTTPArgument">
  17577. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17578. <stringProp name="Argument.value"/>
  17579. <stringProp name="Argument.metadata">=</stringProp>
  17580. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17581. <stringProp name="Argument.name">product[small_image]</stringProp>
  17582. </elementProp>
  17583. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  17584. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17585. <stringProp name="Argument.value"/>
  17586. <stringProp name="Argument.metadata">=</stringProp>
  17587. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17588. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  17589. </elementProp>
  17590. <elementProp name="product[url_key]" elementType="HTTPArgument">
  17591. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17592. <stringProp name="Argument.value">downloadable-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  17593. <stringProp name="Argument.metadata">=</stringProp>
  17594. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17595. <stringProp name="Argument.name">product[url_key]</stringProp>
  17596. </elementProp>
  17597. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  17598. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17599. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  17600. <stringProp name="Argument.metadata">=</stringProp>
  17601. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17602. <stringProp name="Argument.name">product[meta_title]</stringProp>
  17603. </elementProp>
  17604. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  17605. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17606. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  17607. <stringProp name="Argument.metadata">=</stringProp>
  17608. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17609. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  17610. </elementProp>
  17611. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  17612. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17613. <stringProp name="Argument.value">Downloadable Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  17614. <stringProp name="Argument.metadata">=</stringProp>
  17615. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17616. <stringProp name="Argument.name">product[meta_description]</stringProp>
  17617. </elementProp>
  17618. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  17619. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17620. <stringProp name="Argument.value">1</stringProp>
  17621. <stringProp name="Argument.metadata">=</stringProp>
  17622. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17623. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  17624. </elementProp>
  17625. <elementProp name="product[special_price]" elementType="HTTPArgument">
  17626. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17627. <stringProp name="Argument.value">99</stringProp>
  17628. <stringProp name="Argument.metadata">=</stringProp>
  17629. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17630. <stringProp name="Argument.name">product[special_price]</stringProp>
  17631. </elementProp>
  17632. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  17633. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17634. <stringProp name="Argument.value"/>
  17635. <stringProp name="Argument.metadata">=</stringProp>
  17636. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17637. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  17638. </elementProp>
  17639. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  17640. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17641. <stringProp name="Argument.value"/>
  17642. <stringProp name="Argument.metadata">=</stringProp>
  17643. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17644. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  17645. </elementProp>
  17646. <elementProp name="product[cost]" elementType="HTTPArgument">
  17647. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17648. <stringProp name="Argument.value"/>
  17649. <stringProp name="Argument.metadata">=</stringProp>
  17650. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17651. <stringProp name="Argument.name">product[cost]</stringProp>
  17652. </elementProp>
  17653. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  17654. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17655. <stringProp name="Argument.value">0</stringProp>
  17656. <stringProp name="Argument.metadata">=</stringProp>
  17657. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17658. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  17659. </elementProp>
  17660. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  17661. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17662. <stringProp name="Argument.value">32000</stringProp>
  17663. <stringProp name="Argument.metadata">=</stringProp>
  17664. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17665. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  17666. </elementProp>
  17667. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  17668. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17669. <stringProp name="Argument.value">100</stringProp>
  17670. <stringProp name="Argument.metadata">=</stringProp>
  17671. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17672. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  17673. </elementProp>
  17674. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  17675. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17676. <stringProp name="Argument.value">90</stringProp>
  17677. <stringProp name="Argument.metadata">=</stringProp>
  17678. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17679. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  17680. </elementProp>
  17681. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  17682. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17683. <stringProp name="Argument.value"/>
  17684. <stringProp name="Argument.metadata">=</stringProp>
  17685. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17686. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  17687. </elementProp>
  17688. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  17689. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17690. <stringProp name="Argument.value">0</stringProp>
  17691. <stringProp name="Argument.metadata">=</stringProp>
  17692. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17693. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  17694. </elementProp>
  17695. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  17696. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17697. <stringProp name="Argument.value">1</stringProp>
  17698. <stringProp name="Argument.metadata">=</stringProp>
  17699. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17700. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  17701. </elementProp>
  17702. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  17703. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17704. <stringProp name="Argument.value">101</stringProp>
  17705. <stringProp name="Argument.metadata">=</stringProp>
  17706. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17707. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  17708. </elementProp>
  17709. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  17710. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17711. <stringProp name="Argument.value">99</stringProp>
  17712. <stringProp name="Argument.metadata">=</stringProp>
  17713. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17714. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  17715. </elementProp>
  17716. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  17717. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17718. <stringProp name="Argument.value"/>
  17719. <stringProp name="Argument.metadata">=</stringProp>
  17720. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17721. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  17722. </elementProp>
  17723. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  17724. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17725. <stringProp name="Argument.value">1</stringProp>
  17726. <stringProp name="Argument.metadata">=</stringProp>
  17727. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17728. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  17729. </elementProp>
  17730. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  17731. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17732. <stringProp name="Argument.value">100500</stringProp>
  17733. <stringProp name="Argument.metadata">=</stringProp>
  17734. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17735. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  17736. </elementProp>
  17737. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  17738. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17739. <stringProp name="Argument.value">100500</stringProp>
  17740. <stringProp name="Argument.metadata">=</stringProp>
  17741. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17742. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  17743. </elementProp>
  17744. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  17745. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17746. <stringProp name="Argument.value">0</stringProp>
  17747. <stringProp name="Argument.metadata">=</stringProp>
  17748. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17749. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  17750. </elementProp>
  17751. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  17752. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17753. <stringProp name="Argument.value">1</stringProp>
  17754. <stringProp name="Argument.metadata">=</stringProp>
  17755. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17756. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  17757. </elementProp>
  17758. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  17759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17760. <stringProp name="Argument.value">1</stringProp>
  17761. <stringProp name="Argument.metadata">=</stringProp>
  17762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17763. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  17764. </elementProp>
  17765. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  17766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17767. <stringProp name="Argument.value">1</stringProp>
  17768. <stringProp name="Argument.metadata">=</stringProp>
  17769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17770. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  17771. </elementProp>
  17772. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  17773. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17774. <stringProp name="Argument.value">10000</stringProp>
  17775. <stringProp name="Argument.metadata">=</stringProp>
  17776. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17777. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  17778. </elementProp>
  17779. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  17780. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17781. <stringProp name="Argument.value">1</stringProp>
  17782. <stringProp name="Argument.metadata">=</stringProp>
  17783. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17784. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  17785. </elementProp>
  17786. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  17787. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17788. <stringProp name="Argument.value">0</stringProp>
  17789. <stringProp name="Argument.metadata">=</stringProp>
  17790. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17791. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  17792. </elementProp>
  17793. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  17794. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17795. <stringProp name="Argument.value">0</stringProp>
  17796. <stringProp name="Argument.metadata">=</stringProp>
  17797. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17798. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  17799. </elementProp>
  17800. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  17801. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17802. <stringProp name="Argument.value">0</stringProp>
  17803. <stringProp name="Argument.metadata">=</stringProp>
  17804. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17805. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  17806. </elementProp>
  17807. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  17808. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17809. <stringProp name="Argument.value">1</stringProp>
  17810. <stringProp name="Argument.metadata">=</stringProp>
  17811. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17812. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  17813. </elementProp>
  17814. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  17815. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17816. <stringProp name="Argument.value">1</stringProp>
  17817. <stringProp name="Argument.metadata">=</stringProp>
  17818. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17819. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  17820. </elementProp>
  17821. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  17822. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17823. <stringProp name="Argument.value">1</stringProp>
  17824. <stringProp name="Argument.metadata">=</stringProp>
  17825. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17826. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  17827. </elementProp>
  17828. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  17829. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17830. <stringProp name="Argument.value">0</stringProp>
  17831. <stringProp name="Argument.metadata">=</stringProp>
  17832. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17833. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  17834. </elementProp>
  17835. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  17836. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17837. <stringProp name="Argument.value">0</stringProp>
  17838. <stringProp name="Argument.metadata">=</stringProp>
  17839. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17840. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  17841. </elementProp>
  17842. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  17843. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17844. <stringProp name="Argument.value">1</stringProp>
  17845. <stringProp name="Argument.metadata">=</stringProp>
  17846. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17847. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  17848. </elementProp>
  17849. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  17850. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17851. <stringProp name="Argument.value">1</stringProp>
  17852. <stringProp name="Argument.metadata">=</stringProp>
  17853. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17854. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  17855. </elementProp>
  17856. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  17857. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17858. <stringProp name="Argument.value"/>
  17859. <stringProp name="Argument.metadata">=</stringProp>
  17860. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17861. <stringProp name="Argument.name">product[custom_design]</stringProp>
  17862. </elementProp>
  17863. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  17864. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17865. <stringProp name="Argument.value"/>
  17866. <stringProp name="Argument.metadata">=</stringProp>
  17867. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17868. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  17869. </elementProp>
  17870. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  17871. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17872. <stringProp name="Argument.value"/>
  17873. <stringProp name="Argument.metadata">=</stringProp>
  17874. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17875. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  17876. </elementProp>
  17877. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  17878. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17879. <stringProp name="Argument.value"/>
  17880. <stringProp name="Argument.metadata">=</stringProp>
  17881. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17882. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  17883. </elementProp>
  17884. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  17885. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17886. <stringProp name="Argument.value"/>
  17887. <stringProp name="Argument.metadata">=</stringProp>
  17888. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17889. <stringProp name="Argument.name">product[page_layout]</stringProp>
  17890. </elementProp>
  17891. <elementProp name="product[options_container]" elementType="HTTPArgument">
  17892. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17893. <stringProp name="Argument.value">container2</stringProp>
  17894. <stringProp name="Argument.metadata">=</stringProp>
  17895. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17896. <stringProp name="Argument.name">product[options_container]</stringProp>
  17897. </elementProp>
  17898. <elementProp name="downloadable[link][0][file][0][file]" elementType="HTTPArgument">
  17899. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17900. <stringProp name="Argument.value">${original_file}</stringProp>
  17901. <stringProp name="Argument.metadata">=</stringProp>
  17902. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17903. <stringProp name="Argument.name">downloadable[link][0][file][0][file]</stringProp>
  17904. <stringProp name="Argument.desc">false</stringProp>
  17905. </elementProp>
  17906. <elementProp name="downloadable[link][0][file][0][name]" elementType="HTTPArgument">
  17907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17908. <stringProp name="Argument.value">downloadable_original.txt</stringProp>
  17909. <stringProp name="Argument.metadata">=</stringProp>
  17910. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17911. <stringProp name="Argument.name">downloadable[link][0][file][0][name]</stringProp>
  17912. <stringProp name="Argument.desc">false</stringProp>
  17913. </elementProp>
  17914. <elementProp name="downloadable[link][0][file][0][size]" elementType="HTTPArgument">
  17915. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17916. <stringProp name="Argument.value">13</stringProp>
  17917. <stringProp name="Argument.metadata">=</stringProp>
  17918. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17919. <stringProp name="Argument.name">downloadable[link][0][file][0][size]</stringProp>
  17920. <stringProp name="Argument.desc">false</stringProp>
  17921. </elementProp>
  17922. <elementProp name="downloadable[link][0][file][0][status]" elementType="HTTPArgument">
  17923. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17924. <stringProp name="Argument.value">new</stringProp>
  17925. <stringProp name="Argument.metadata">=</stringProp>
  17926. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17927. <stringProp name="Argument.name">downloadable[link][0][file][0][status]</stringProp>
  17928. <stringProp name="Argument.desc">false</stringProp>
  17929. </elementProp>
  17930. <elementProp name="downloadable[link][0][is_shareable]" elementType="HTTPArgument">
  17931. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17932. <stringProp name="Argument.value">1</stringProp>
  17933. <stringProp name="Argument.metadata">=</stringProp>
  17934. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17935. <stringProp name="Argument.name">downloadable[link][0][is_shareable]</stringProp>
  17936. <stringProp name="Argument.desc">true</stringProp>
  17937. </elementProp>
  17938. <elementProp name="downloadable[link][0][is_unlimited]" elementType="HTTPArgument">
  17939. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17940. <stringProp name="Argument.value">0</stringProp>
  17941. <stringProp name="Argument.metadata">=</stringProp>
  17942. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17943. <stringProp name="Argument.name">downloadable[link][0][is_unlimited]</stringProp>
  17944. <stringProp name="Argument.desc">true</stringProp>
  17945. </elementProp>
  17946. <elementProp name="downloadable[link][0][link_url]" elementType="HTTPArgument">
  17947. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17948. <stringProp name="Argument.value"/>
  17949. <stringProp name="Argument.metadata">=</stringProp>
  17950. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17951. <stringProp name="Argument.name">downloadable[link][0][link_url]</stringProp>
  17952. <stringProp name="Argument.desc">true</stringProp>
  17953. </elementProp>
  17954. <elementProp name="downloadable[link][0][number_of_downloads]" elementType="HTTPArgument">
  17955. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17956. <stringProp name="Argument.value">0</stringProp>
  17957. <stringProp name="Argument.metadata">=</stringProp>
  17958. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17959. <stringProp name="Argument.name">downloadable[link][0][number_of_downloads]</stringProp>
  17960. <stringProp name="Argument.desc">false</stringProp>
  17961. </elementProp>
  17962. <elementProp name="downloadable[link][0][price]" elementType="HTTPArgument">
  17963. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17964. <stringProp name="Argument.value">120</stringProp>
  17965. <stringProp name="Argument.metadata">=</stringProp>
  17966. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17967. <stringProp name="Argument.name">downloadable[link][0][price]</stringProp>
  17968. <stringProp name="Argument.desc">false</stringProp>
  17969. </elementProp>
  17970. <elementProp name="downloadable[link][0][record_id]" elementType="HTTPArgument">
  17971. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17972. <stringProp name="Argument.value">0</stringProp>
  17973. <stringProp name="Argument.metadata">=</stringProp>
  17974. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17975. <stringProp name="Argument.name">downloadable[link][0][record_id]</stringProp>
  17976. <stringProp name="Argument.desc">false</stringProp>
  17977. </elementProp>
  17978. <elementProp name="downloadable[link][0][sample][type]" elementType="HTTPArgument">
  17979. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17980. <stringProp name="Argument.value">file</stringProp>
  17981. <stringProp name="Argument.metadata">=</stringProp>
  17982. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17983. <stringProp name="Argument.name">downloadable[link][0][sample][type]</stringProp>
  17984. <stringProp name="Argument.desc">true</stringProp>
  17985. </elementProp>
  17986. <elementProp name="downloadable[link][0][sample][url]" elementType="HTTPArgument">
  17987. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17988. <stringProp name="Argument.value"/>
  17989. <stringProp name="Argument.metadata">=</stringProp>
  17990. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17991. <stringProp name="Argument.name">downloadable[link][0][sample][url]</stringProp>
  17992. <stringProp name="Argument.desc">true</stringProp>
  17993. </elementProp>
  17994. <elementProp name="downloadable[link][0][sort_order]" elementType="HTTPArgument">
  17995. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  17996. <stringProp name="Argument.value">1</stringProp>
  17997. <stringProp name="Argument.metadata">=</stringProp>
  17998. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  17999. <stringProp name="Argument.name">downloadable[link][0][sort_order]</stringProp>
  18000. <stringProp name="Argument.desc">true</stringProp>
  18001. </elementProp>
  18002. <elementProp name="downloadable[link][0][title]" elementType="HTTPArgument">
  18003. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18004. <stringProp name="Argument.value">Original Link</stringProp>
  18005. <stringProp name="Argument.metadata">=</stringProp>
  18006. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18007. <stringProp name="Argument.name">downloadable[link][0][title]</stringProp>
  18008. <stringProp name="Argument.desc">true</stringProp>
  18009. </elementProp>
  18010. <elementProp name="downloadable[link][0][type]" elementType="HTTPArgument">
  18011. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18012. <stringProp name="Argument.value">file</stringProp>
  18013. <stringProp name="Argument.metadata">=</stringProp>
  18014. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18015. <stringProp name="Argument.name">downloadable[link][0][type]</stringProp>
  18016. <stringProp name="Argument.desc">true</stringProp>
  18017. </elementProp>
  18018. <elementProp name="downloadable[sample][0][file][0][file]" elementType="HTTPArgument">
  18019. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18020. <stringProp name="Argument.value">${sample_file}</stringProp>
  18021. <stringProp name="Argument.metadata">=</stringProp>
  18022. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18023. <stringProp name="Argument.name">downloadable[sample][0][file][0][file]</stringProp>
  18024. <stringProp name="Argument.desc">true</stringProp>
  18025. </elementProp>
  18026. <elementProp name="downloadable[sample][0][file][0][name]" elementType="HTTPArgument">
  18027. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18028. <stringProp name="Argument.value">downloadable_sample.txt</stringProp>
  18029. <stringProp name="Argument.metadata">=</stringProp>
  18030. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18031. <stringProp name="Argument.name">downloadable[sample][0][file][0][name]</stringProp>
  18032. <stringProp name="Argument.desc">true</stringProp>
  18033. </elementProp>
  18034. <elementProp name="downloadable[sample][0][file][0][size]" elementType="HTTPArgument">
  18035. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18036. <stringProp name="Argument.value">14</stringProp>
  18037. <stringProp name="Argument.metadata">=</stringProp>
  18038. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18039. <stringProp name="Argument.name">downloadable[sample][0][file][0][size]</stringProp>
  18040. <stringProp name="Argument.desc">true</stringProp>
  18041. </elementProp>
  18042. <elementProp name="downloadable[sample][0][file][0][status]" elementType="HTTPArgument">
  18043. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18044. <stringProp name="Argument.value">new</stringProp>
  18045. <stringProp name="Argument.metadata">=</stringProp>
  18046. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18047. <stringProp name="Argument.name">downloadable[sample][0][file][0][status]</stringProp>
  18048. <stringProp name="Argument.desc">true</stringProp>
  18049. </elementProp>
  18050. <elementProp name="downloadable[sample][0][record_id]" elementType="HTTPArgument">
  18051. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18052. <stringProp name="Argument.value">0</stringProp>
  18053. <stringProp name="Argument.metadata">=</stringProp>
  18054. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18055. <stringProp name="Argument.name">downloadable[sample][0][record_id]</stringProp>
  18056. <stringProp name="Argument.desc">true</stringProp>
  18057. </elementProp>
  18058. <elementProp name="downloadable[sample][0][sample_url]" elementType="HTTPArgument">
  18059. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18060. <stringProp name="Argument.value"/>
  18061. <stringProp name="Argument.metadata">=</stringProp>
  18062. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18063. <stringProp name="Argument.name">downloadable[sample][0][sample_url]</stringProp>
  18064. <stringProp name="Argument.desc">true</stringProp>
  18065. </elementProp>
  18066. <elementProp name="downloadable[sample][0][sort_order]" elementType="HTTPArgument">
  18067. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18068. <stringProp name="Argument.value">1</stringProp>
  18069. <stringProp name="Argument.metadata">=</stringProp>
  18070. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18071. <stringProp name="Argument.name">downloadable[sample][0][sort_order]</stringProp>
  18072. <stringProp name="Argument.desc">true</stringProp>
  18073. </elementProp>
  18074. <elementProp name="downloadable[sample][0][title]" elementType="HTTPArgument">
  18075. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18076. <stringProp name="Argument.value">Sample Link</stringProp>
  18077. <stringProp name="Argument.metadata">=</stringProp>
  18078. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18079. <stringProp name="Argument.name">downloadable[sample][0][title]</stringProp>
  18080. <stringProp name="Argument.desc">true</stringProp>
  18081. </elementProp>
  18082. <elementProp name="downloadable[sample][0][type]" elementType="HTTPArgument">
  18083. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18084. <stringProp name="Argument.value">file</stringProp>
  18085. <stringProp name="Argument.metadata">=</stringProp>
  18086. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18087. <stringProp name="Argument.name">downloadable[sample][0][type]</stringProp>
  18088. <stringProp name="Argument.desc">true</stringProp>
  18089. </elementProp>
  18090. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  18091. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18092. <stringProp name="Argument.value">1</stringProp>
  18093. <stringProp name="Argument.metadata">=</stringProp>
  18094. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18095. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  18096. <stringProp name="Argument.desc">false</stringProp>
  18097. </elementProp>
  18098. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  18099. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18100. <stringProp name="Argument.value">4</stringProp>
  18101. <stringProp name="Argument.metadata">=</stringProp>
  18102. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18103. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  18104. <stringProp name="Argument.desc">false</stringProp>
  18105. </elementProp>
  18106. <elementProp name="product[configurable_variation]" elementType="HTTPArgument">
  18107. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18108. <stringProp name="Argument.value"/>
  18109. <stringProp name="Argument.metadata">=</stringProp>
  18110. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18111. <stringProp name="Argument.name">product[configurable_variation]</stringProp>
  18112. <stringProp name="Argument.desc">false</stringProp>
  18113. </elementProp>
  18114. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  18115. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18116. <stringProp name="Argument.value">${related_product_id}</stringProp>
  18117. <stringProp name="Argument.metadata">=</stringProp>
  18118. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18119. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  18120. </elementProp>
  18121. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  18122. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18123. <stringProp name="Argument.value">1</stringProp>
  18124. <stringProp name="Argument.metadata">=</stringProp>
  18125. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18126. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  18127. </elementProp>
  18128. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  18129. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18130. <stringProp name="Argument.value">${related_product_id}</stringProp>
  18131. <stringProp name="Argument.metadata">=</stringProp>
  18132. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18133. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  18134. </elementProp>
  18135. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  18136. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18137. <stringProp name="Argument.value">1</stringProp>
  18138. <stringProp name="Argument.metadata">=</stringProp>
  18139. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18140. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  18141. </elementProp>
  18142. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  18143. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18144. <stringProp name="Argument.value">${related_product_id}</stringProp>
  18145. <stringProp name="Argument.metadata">=</stringProp>
  18146. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18147. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  18148. </elementProp>
  18149. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  18150. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18151. <stringProp name="Argument.value">1</stringProp>
  18152. <stringProp name="Argument.metadata">=</stringProp>
  18153. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18154. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  18155. </elementProp>
  18156. </collectionProp>
  18157. </elementProp>
  18158. <stringProp name="HTTPSampler.domain"/>
  18159. <stringProp name="HTTPSampler.port"/>
  18160. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  18161. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  18162. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  18163. <stringProp name="HTTPSampler.contentEncoding"/>
  18164. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/set/4/type/downloadable/back/edit/active_tab/product-details/</stringProp>
  18165. <stringProp name="HTTPSampler.method">POST</stringProp>
  18166. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  18167. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  18168. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  18169. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  18170. <boolProp name="HTTPSampler.monitor">false</boolProp>
  18171. <stringProp name="HTTPSampler.embedded_url_re"/>
  18172. </HTTPSamplerProxy>
  18173. <hashTree>
  18174. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  18175. <collectionProp name="Asserion.test_strings">
  18176. <stringProp name="-583471546">You saved the product</stringProp>
  18177. </collectionProp>
  18178. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  18179. <boolProp name="Assertion.assume_success">false</boolProp>
  18180. <intProp name="Assertion.test_type">2</intProp>
  18181. </ResponseAssertion>
  18182. <hashTree/>
  18183. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  18184. <collectionProp name="Asserion.test_strings">
  18185. <stringProp name="-1600986843">violation</stringProp>
  18186. </collectionProp>
  18187. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  18188. <boolProp name="Assertion.assume_success">false</boolProp>
  18189. <intProp name="Assertion.test_type">6</intProp>
  18190. </ResponseAssertion>
  18191. <hashTree/>
  18192. </hashTree>
  18193. </hashTree>
  18194. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Create Simple Product" enabled="true">
  18195. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/create_simple_product.jmx</stringProp>
  18196. </TestFragmentController>
  18197. <hashTree>
  18198. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Catalog Product" enabled="true">
  18199. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  18200. <collectionProp name="Arguments.arguments"/>
  18201. </elementProp>
  18202. <stringProp name="HTTPSampler.domain"/>
  18203. <stringProp name="HTTPSampler.port"/>
  18204. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  18205. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  18206. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  18207. <stringProp name="HTTPSampler.contentEncoding"/>
  18208. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/</stringProp>
  18209. <stringProp name="HTTPSampler.method">GET</stringProp>
  18210. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  18211. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  18212. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  18213. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  18214. <boolProp name="HTTPSampler.monitor">false</boolProp>
  18215. <stringProp name="HTTPSampler.embedded_url_re"/>
  18216. </HTTPSamplerProxy>
  18217. <hashTree>
  18218. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  18219. <collectionProp name="Asserion.test_strings">
  18220. <stringProp name="1509986340">records found</stringProp>
  18221. </collectionProp>
  18222. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  18223. <boolProp name="Assertion.assume_success">false</boolProp>
  18224. <intProp name="Assertion.test_type">2</intProp>
  18225. </ResponseAssertion>
  18226. <hashTree/>
  18227. </hashTree>
  18228. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Simple Product" enabled="true">
  18229. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  18230. <collectionProp name="Arguments.arguments"/>
  18231. </elementProp>
  18232. <stringProp name="HTTPSampler.domain"/>
  18233. <stringProp name="HTTPSampler.port"/>
  18234. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  18235. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  18236. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  18237. <stringProp name="HTTPSampler.contentEncoding"/>
  18238. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/new/set/4/type/simple/</stringProp>
  18239. <stringProp name="HTTPSampler.method">GET</stringProp>
  18240. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  18241. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  18242. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  18243. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  18244. <boolProp name="HTTPSampler.monitor">false</boolProp>
  18245. <stringProp name="HTTPSampler.embedded_url_re"/>
  18246. </HTTPSamplerProxy>
  18247. <hashTree>
  18248. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  18249. <collectionProp name="Asserion.test_strings">
  18250. <stringProp name="-144461265">New Product</stringProp>
  18251. </collectionProp>
  18252. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  18253. <boolProp name="Assertion.assume_success">false</boolProp>
  18254. <intProp name="Assertion.test_type">2</intProp>
  18255. </ResponseAssertion>
  18256. <hashTree/>
  18257. </hashTree>
  18258. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Simple Product Validate" enabled="true">
  18259. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  18260. <collectionProp name="Arguments.arguments">
  18261. <elementProp name="ajax" elementType="HTTPArgument">
  18262. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18263. <stringProp name="Argument.value">true</stringProp>
  18264. <stringProp name="Argument.metadata">=</stringProp>
  18265. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18266. <stringProp name="Argument.name">ajax</stringProp>
  18267. <stringProp name="Argument.desc">false</stringProp>
  18268. </elementProp>
  18269. <elementProp name="isAjax" elementType="HTTPArgument">
  18270. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18271. <stringProp name="Argument.value">true</stringProp>
  18272. <stringProp name="Argument.metadata">=</stringProp>
  18273. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18274. <stringProp name="Argument.name">isAjax</stringProp>
  18275. <stringProp name="Argument.desc">false</stringProp>
  18276. </elementProp>
  18277. <elementProp name="form_key" elementType="HTTPArgument">
  18278. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18279. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  18280. <stringProp name="Argument.metadata">=</stringProp>
  18281. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18282. <stringProp name="Argument.name">form_key</stringProp>
  18283. <stringProp name="Argument.desc">false</stringProp>
  18284. </elementProp>
  18285. <elementProp name="product[name]" elementType="HTTPArgument">
  18286. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18287. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  18288. <stringProp name="Argument.metadata">=</stringProp>
  18289. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18290. <stringProp name="Argument.name">product[name]</stringProp>
  18291. <stringProp name="Argument.desc">false</stringProp>
  18292. </elementProp>
  18293. <elementProp name="product[sku]" elementType="HTTPArgument">
  18294. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18295. <stringProp name="Argument.value">SKU ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  18296. <stringProp name="Argument.metadata">=</stringProp>
  18297. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18298. <stringProp name="Argument.name">product[sku]</stringProp>
  18299. <stringProp name="Argument.desc">false</stringProp>
  18300. </elementProp>
  18301. <elementProp name="product[price]" elementType="HTTPArgument">
  18302. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18303. <stringProp name="Argument.value">123</stringProp>
  18304. <stringProp name="Argument.metadata">=</stringProp>
  18305. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18306. <stringProp name="Argument.name">product[price]</stringProp>
  18307. </elementProp>
  18308. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  18309. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18310. <stringProp name="Argument.value">2</stringProp>
  18311. <stringProp name="Argument.metadata">=</stringProp>
  18312. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18313. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  18314. </elementProp>
  18315. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  18316. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18317. <stringProp name="Argument.value">111</stringProp>
  18318. <stringProp name="Argument.metadata">=</stringProp>
  18319. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18320. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  18321. </elementProp>
  18322. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  18323. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18324. <stringProp name="Argument.value">1</stringProp>
  18325. <stringProp name="Argument.metadata">=</stringProp>
  18326. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18327. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  18328. </elementProp>
  18329. <elementProp name="product[weight]" elementType="HTTPArgument">
  18330. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18331. <stringProp name="Argument.value">1.0000</stringProp>
  18332. <stringProp name="Argument.metadata">=</stringProp>
  18333. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18334. <stringProp name="Argument.name">product[weight]</stringProp>
  18335. </elementProp>
  18336. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  18337. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18338. <stringProp name="Argument.value">1</stringProp>
  18339. <stringProp name="Argument.metadata">=</stringProp>
  18340. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18341. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  18342. <stringProp name="Argument.desc">true</stringProp>
  18343. </elementProp>
  18344. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  18345. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18346. <stringProp name="Argument.value">2</stringProp>
  18347. <stringProp name="Argument.metadata">=</stringProp>
  18348. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18349. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  18350. </elementProp>
  18351. <elementProp name="product[description]" elementType="HTTPArgument">
  18352. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18353. <stringProp name="Argument.value">&lt;p&gt;Full simple product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  18354. <stringProp name="Argument.metadata">=</stringProp>
  18355. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18356. <stringProp name="Argument.name">product[description]</stringProp>
  18357. </elementProp>
  18358. <elementProp name="product[short_description]" elementType="HTTPArgument">
  18359. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18360. <stringProp name="Argument.value">&lt;p&gt;Short simple product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  18361. <stringProp name="Argument.metadata">=</stringProp>
  18362. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18363. <stringProp name="Argument.name">product[short_description]</stringProp>
  18364. </elementProp>
  18365. <elementProp name="product[status]" elementType="HTTPArgument">
  18366. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18367. <stringProp name="Argument.value">1</stringProp>
  18368. <stringProp name="Argument.metadata">=</stringProp>
  18369. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18370. <stringProp name="Argument.name">product[status]</stringProp>
  18371. </elementProp>
  18372. <elementProp name="product[image]" elementType="HTTPArgument">
  18373. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18374. <stringProp name="Argument.value"/>
  18375. <stringProp name="Argument.metadata">=</stringProp>
  18376. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18377. <stringProp name="Argument.name">product[image]</stringProp>
  18378. </elementProp>
  18379. <elementProp name="product[small_image]" elementType="HTTPArgument">
  18380. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18381. <stringProp name="Argument.value"/>
  18382. <stringProp name="Argument.metadata">=</stringProp>
  18383. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18384. <stringProp name="Argument.name">product[small_image]</stringProp>
  18385. </elementProp>
  18386. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  18387. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18388. <stringProp name="Argument.value"/>
  18389. <stringProp name="Argument.metadata">=</stringProp>
  18390. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18391. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  18392. </elementProp>
  18393. <elementProp name="product[url_key]" elementType="HTTPArgument">
  18394. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18395. <stringProp name="Argument.value">simple-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  18396. <stringProp name="Argument.metadata">=</stringProp>
  18397. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18398. <stringProp name="Argument.name">product[url_key]</stringProp>
  18399. </elementProp>
  18400. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  18401. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18402. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  18403. <stringProp name="Argument.metadata">=</stringProp>
  18404. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18405. <stringProp name="Argument.name">product[meta_title]</stringProp>
  18406. </elementProp>
  18407. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  18408. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18409. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  18410. <stringProp name="Argument.metadata">=</stringProp>
  18411. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18412. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  18413. </elementProp>
  18414. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  18415. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18416. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  18417. <stringProp name="Argument.metadata">=</stringProp>
  18418. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18419. <stringProp name="Argument.name">product[meta_description]</stringProp>
  18420. </elementProp>
  18421. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  18422. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18423. <stringProp name="Argument.value">1</stringProp>
  18424. <stringProp name="Argument.metadata">=</stringProp>
  18425. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18426. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  18427. </elementProp>
  18428. <elementProp name="product[special_price]" elementType="HTTPArgument">
  18429. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18430. <stringProp name="Argument.value">99</stringProp>
  18431. <stringProp name="Argument.metadata">=</stringProp>
  18432. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18433. <stringProp name="Argument.name">product[special_price]</stringProp>
  18434. </elementProp>
  18435. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  18436. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18437. <stringProp name="Argument.value">1</stringProp>
  18438. <stringProp name="Argument.metadata">=</stringProp>
  18439. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18440. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  18441. </elementProp>
  18442. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  18443. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18444. <stringProp name="Argument.value"/>
  18445. <stringProp name="Argument.metadata">=</stringProp>
  18446. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18447. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  18448. </elementProp>
  18449. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  18450. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18451. <stringProp name="Argument.value"/>
  18452. <stringProp name="Argument.metadata">=</stringProp>
  18453. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18454. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  18455. </elementProp>
  18456. <elementProp name="product[cost]" elementType="HTTPArgument">
  18457. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18458. <stringProp name="Argument.value"/>
  18459. <stringProp name="Argument.metadata">=</stringProp>
  18460. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18461. <stringProp name="Argument.name">product[cost]</stringProp>
  18462. </elementProp>
  18463. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  18464. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18465. <stringProp name="Argument.value">0</stringProp>
  18466. <stringProp name="Argument.metadata">=</stringProp>
  18467. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18468. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  18469. </elementProp>
  18470. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  18471. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18472. <stringProp name="Argument.value">32000</stringProp>
  18473. <stringProp name="Argument.metadata">=</stringProp>
  18474. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18475. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  18476. </elementProp>
  18477. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  18478. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18479. <stringProp name="Argument.value">100</stringProp>
  18480. <stringProp name="Argument.metadata">=</stringProp>
  18481. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18482. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  18483. </elementProp>
  18484. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  18485. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18486. <stringProp name="Argument.value">90</stringProp>
  18487. <stringProp name="Argument.metadata">=</stringProp>
  18488. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18489. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  18490. </elementProp>
  18491. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  18492. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18493. <stringProp name="Argument.value"/>
  18494. <stringProp name="Argument.metadata">=</stringProp>
  18495. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18496. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  18497. </elementProp>
  18498. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  18499. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18500. <stringProp name="Argument.value">0</stringProp>
  18501. <stringProp name="Argument.metadata">=</stringProp>
  18502. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18503. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  18504. </elementProp>
  18505. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  18506. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18507. <stringProp name="Argument.value">1</stringProp>
  18508. <stringProp name="Argument.metadata">=</stringProp>
  18509. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18510. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  18511. </elementProp>
  18512. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  18513. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18514. <stringProp name="Argument.value">101</stringProp>
  18515. <stringProp name="Argument.metadata">=</stringProp>
  18516. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18517. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  18518. </elementProp>
  18519. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  18520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18521. <stringProp name="Argument.value">99</stringProp>
  18522. <stringProp name="Argument.metadata">=</stringProp>
  18523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18524. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  18525. </elementProp>
  18526. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  18527. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18528. <stringProp name="Argument.value"/>
  18529. <stringProp name="Argument.metadata">=</stringProp>
  18530. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18531. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  18532. </elementProp>
  18533. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  18534. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18535. <stringProp name="Argument.value">1</stringProp>
  18536. <stringProp name="Argument.metadata">=</stringProp>
  18537. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18538. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  18539. </elementProp>
  18540. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  18541. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18542. <stringProp name="Argument.value">100500</stringProp>
  18543. <stringProp name="Argument.metadata">=</stringProp>
  18544. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18545. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  18546. </elementProp>
  18547. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  18548. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18549. <stringProp name="Argument.value">100500</stringProp>
  18550. <stringProp name="Argument.metadata">=</stringProp>
  18551. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18552. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  18553. </elementProp>
  18554. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  18555. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18556. <stringProp name="Argument.value">0</stringProp>
  18557. <stringProp name="Argument.metadata">=</stringProp>
  18558. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18559. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  18560. </elementProp>
  18561. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  18562. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18563. <stringProp name="Argument.value">1</stringProp>
  18564. <stringProp name="Argument.metadata">=</stringProp>
  18565. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18566. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  18567. </elementProp>
  18568. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  18569. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18570. <stringProp name="Argument.value">1</stringProp>
  18571. <stringProp name="Argument.metadata">=</stringProp>
  18572. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18573. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  18574. </elementProp>
  18575. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  18576. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18577. <stringProp name="Argument.value">1</stringProp>
  18578. <stringProp name="Argument.metadata">=</stringProp>
  18579. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18580. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  18581. </elementProp>
  18582. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  18583. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18584. <stringProp name="Argument.value">10000</stringProp>
  18585. <stringProp name="Argument.metadata">=</stringProp>
  18586. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18587. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  18588. </elementProp>
  18589. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  18590. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18591. <stringProp name="Argument.value">1</stringProp>
  18592. <stringProp name="Argument.metadata">=</stringProp>
  18593. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18594. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  18595. </elementProp>
  18596. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  18597. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18598. <stringProp name="Argument.value">0</stringProp>
  18599. <stringProp name="Argument.metadata">=</stringProp>
  18600. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18601. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  18602. </elementProp>
  18603. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  18604. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18605. <stringProp name="Argument.value">0</stringProp>
  18606. <stringProp name="Argument.metadata">=</stringProp>
  18607. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18608. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  18609. </elementProp>
  18610. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  18611. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18612. <stringProp name="Argument.value">0</stringProp>
  18613. <stringProp name="Argument.metadata">=</stringProp>
  18614. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18615. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  18616. </elementProp>
  18617. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  18618. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18619. <stringProp name="Argument.value">1</stringProp>
  18620. <stringProp name="Argument.metadata">=</stringProp>
  18621. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18622. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  18623. </elementProp>
  18624. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  18625. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18626. <stringProp name="Argument.value">1</stringProp>
  18627. <stringProp name="Argument.metadata">=</stringProp>
  18628. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18629. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  18630. </elementProp>
  18631. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  18632. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18633. <stringProp name="Argument.value">0</stringProp>
  18634. <stringProp name="Argument.metadata">=</stringProp>
  18635. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18636. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  18637. </elementProp>
  18638. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  18639. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18640. <stringProp name="Argument.value">0</stringProp>
  18641. <stringProp name="Argument.metadata">=</stringProp>
  18642. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18643. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  18644. </elementProp>
  18645. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  18646. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18647. <stringProp name="Argument.value">1</stringProp>
  18648. <stringProp name="Argument.metadata">=</stringProp>
  18649. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18650. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  18651. </elementProp>
  18652. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  18653. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18654. <stringProp name="Argument.value">1</stringProp>
  18655. <stringProp name="Argument.metadata">=</stringProp>
  18656. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18657. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  18658. </elementProp>
  18659. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  18660. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18661. <stringProp name="Argument.value"/>
  18662. <stringProp name="Argument.metadata">=</stringProp>
  18663. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18664. <stringProp name="Argument.name">product[custom_design]</stringProp>
  18665. </elementProp>
  18666. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  18667. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18668. <stringProp name="Argument.value"/>
  18669. <stringProp name="Argument.metadata">=</stringProp>
  18670. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18671. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  18672. </elementProp>
  18673. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  18674. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18675. <stringProp name="Argument.value"/>
  18676. <stringProp name="Argument.metadata">=</stringProp>
  18677. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18678. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  18679. </elementProp>
  18680. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  18681. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18682. <stringProp name="Argument.value"/>
  18683. <stringProp name="Argument.metadata">=</stringProp>
  18684. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18685. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  18686. </elementProp>
  18687. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  18688. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18689. <stringProp name="Argument.value"/>
  18690. <stringProp name="Argument.metadata">=</stringProp>
  18691. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18692. <stringProp name="Argument.name">product[page_layout]</stringProp>
  18693. </elementProp>
  18694. <elementProp name="product[options_container]" elementType="HTTPArgument">
  18695. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18696. <stringProp name="Argument.value">container2</stringProp>
  18697. <stringProp name="Argument.metadata">=</stringProp>
  18698. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18699. <stringProp name="Argument.name">product[options_container]</stringProp>
  18700. </elementProp>
  18701. <elementProp name="product[options][1][is_delete]" elementType="HTTPArgument">
  18702. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18703. <stringProp name="Argument.value"/>
  18704. <stringProp name="Argument.metadata">=</stringProp>
  18705. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18706. <stringProp name="Argument.name">product[options][1][is_delete]</stringProp>
  18707. <stringProp name="Argument.desc">false</stringProp>
  18708. </elementProp>
  18709. <elementProp name="product[options][1][is_require]" elementType="HTTPArgument">
  18710. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18711. <stringProp name="Argument.value">1</stringProp>
  18712. <stringProp name="Argument.metadata">=</stringProp>
  18713. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18714. <stringProp name="Argument.name">product[options][1][is_require]</stringProp>
  18715. <stringProp name="Argument.desc">false</stringProp>
  18716. </elementProp>
  18717. <elementProp name="product[options][1][previous_group]" elementType="HTTPArgument">
  18718. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18719. <stringProp name="Argument.value">select</stringProp>
  18720. <stringProp name="Argument.metadata">=</stringProp>
  18721. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18722. <stringProp name="Argument.name">product[options][1][previous_group]</stringProp>
  18723. <stringProp name="Argument.desc">false</stringProp>
  18724. </elementProp>
  18725. <elementProp name="product[options][1][previous_type]" elementType="HTTPArgument">
  18726. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18727. <stringProp name="Argument.value">drop_down</stringProp>
  18728. <stringProp name="Argument.metadata">=</stringProp>
  18729. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18730. <stringProp name="Argument.name">product[options][1][previous_type]</stringProp>
  18731. <stringProp name="Argument.desc">false</stringProp>
  18732. </elementProp>
  18733. <elementProp name="product[options][1][sort_order]" elementType="HTTPArgument">
  18734. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18735. <stringProp name="Argument.value">0</stringProp>
  18736. <stringProp name="Argument.metadata">=</stringProp>
  18737. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18738. <stringProp name="Argument.name">product[options][1][sort_order]</stringProp>
  18739. <stringProp name="Argument.desc">false</stringProp>
  18740. </elementProp>
  18741. <elementProp name="product[options][1][title]" elementType="HTTPArgument">
  18742. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18743. <stringProp name="Argument.value">Product Option Title One</stringProp>
  18744. <stringProp name="Argument.metadata">=</stringProp>
  18745. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18746. <stringProp name="Argument.name">product[options][1][title]</stringProp>
  18747. <stringProp name="Argument.desc">false</stringProp>
  18748. </elementProp>
  18749. <elementProp name="product[options][1][type]" elementType="HTTPArgument">
  18750. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18751. <stringProp name="Argument.value">drop_down</stringProp>
  18752. <stringProp name="Argument.metadata">=</stringProp>
  18753. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18754. <stringProp name="Argument.name">product[options][1][type]</stringProp>
  18755. <stringProp name="Argument.desc">false</stringProp>
  18756. </elementProp>
  18757. <elementProp name="product[options][1][values][1][is_delete]" elementType="HTTPArgument">
  18758. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18759. <stringProp name="Argument.value"/>
  18760. <stringProp name="Argument.metadata">=</stringProp>
  18761. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18762. <stringProp name="Argument.name">product[options][1][values][1][is_delete]</stringProp>
  18763. <stringProp name="Argument.desc">false</stringProp>
  18764. </elementProp>
  18765. <elementProp name="product[options][1][values][1][price]" elementType="HTTPArgument">
  18766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18767. <stringProp name="Argument.value">200</stringProp>
  18768. <stringProp name="Argument.metadata">=</stringProp>
  18769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18770. <stringProp name="Argument.name">product[options][1][values][1][price]</stringProp>
  18771. <stringProp name="Argument.desc">false</stringProp>
  18772. </elementProp>
  18773. <elementProp name="product[options][1][values][1][price_type]" elementType="HTTPArgument">
  18774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18775. <stringProp name="Argument.value">fixed</stringProp>
  18776. <stringProp name="Argument.metadata">=</stringProp>
  18777. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18778. <stringProp name="Argument.name">product[options][1][values][1][price_type]</stringProp>
  18779. <stringProp name="Argument.desc">false</stringProp>
  18780. </elementProp>
  18781. <elementProp name="product[options][1][values][1][sku]" elementType="HTTPArgument">
  18782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18783. <stringProp name="Argument.value">sku-one</stringProp>
  18784. <stringProp name="Argument.metadata">=</stringProp>
  18785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18786. <stringProp name="Argument.name">product[options][1][values][1][sku]</stringProp>
  18787. <stringProp name="Argument.desc">false</stringProp>
  18788. </elementProp>
  18789. <elementProp name="product[options][1][values][1][sort_order]" elementType="HTTPArgument">
  18790. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18791. <stringProp name="Argument.value">0</stringProp>
  18792. <stringProp name="Argument.metadata">=</stringProp>
  18793. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18794. <stringProp name="Argument.name">product[options][1][values][1][sort_order]</stringProp>
  18795. <stringProp name="Argument.desc">false</stringProp>
  18796. </elementProp>
  18797. <elementProp name="product[options][1][values][1][title]" elementType="HTTPArgument">
  18798. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18799. <stringProp name="Argument.value">Row Title</stringProp>
  18800. <stringProp name="Argument.metadata">=</stringProp>
  18801. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18802. <stringProp name="Argument.name">product[options][1][values][1][title]</stringProp>
  18803. <stringProp name="Argument.desc">false</stringProp>
  18804. </elementProp>
  18805. <elementProp name="product[options][2][is_delete]" elementType="HTTPArgument">
  18806. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18807. <stringProp name="Argument.value"/>
  18808. <stringProp name="Argument.metadata">=</stringProp>
  18809. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18810. <stringProp name="Argument.name">product[options][2][is_delete]</stringProp>
  18811. <stringProp name="Argument.desc">false</stringProp>
  18812. </elementProp>
  18813. <elementProp name="product[options][2][is_require]" elementType="HTTPArgument">
  18814. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18815. <stringProp name="Argument.value">1</stringProp>
  18816. <stringProp name="Argument.metadata">=</stringProp>
  18817. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18818. <stringProp name="Argument.name">product[options][2][is_require]</stringProp>
  18819. <stringProp name="Argument.desc">false</stringProp>
  18820. </elementProp>
  18821. <elementProp name="product[options][2][max_characters]" elementType="HTTPArgument">
  18822. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18823. <stringProp name="Argument.value">250</stringProp>
  18824. <stringProp name="Argument.metadata">=</stringProp>
  18825. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18826. <stringProp name="Argument.name">product[options][2][max_characters]</stringProp>
  18827. <stringProp name="Argument.desc">false</stringProp>
  18828. </elementProp>
  18829. <elementProp name="product[options][2][previous_group]" elementType="HTTPArgument">
  18830. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18831. <stringProp name="Argument.value">text</stringProp>
  18832. <stringProp name="Argument.metadata">=</stringProp>
  18833. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18834. <stringProp name="Argument.name">product[options][2][previous_group]</stringProp>
  18835. <stringProp name="Argument.desc">false</stringProp>
  18836. </elementProp>
  18837. <elementProp name="product[options][2][previous_type]" elementType="HTTPArgument">
  18838. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18839. <stringProp name="Argument.value">field</stringProp>
  18840. <stringProp name="Argument.metadata">=</stringProp>
  18841. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18842. <stringProp name="Argument.name">product[options][2][previous_type]</stringProp>
  18843. <stringProp name="Argument.desc">false</stringProp>
  18844. </elementProp>
  18845. <elementProp name="product[options][2][price]" elementType="HTTPArgument">
  18846. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18847. <stringProp name="Argument.value">500</stringProp>
  18848. <stringProp name="Argument.metadata">=</stringProp>
  18849. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18850. <stringProp name="Argument.name">product[options][2][price]</stringProp>
  18851. <stringProp name="Argument.desc">false</stringProp>
  18852. </elementProp>
  18853. <elementProp name="product[options][2][price_type]" elementType="HTTPArgument">
  18854. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18855. <stringProp name="Argument.value">fixed</stringProp>
  18856. <stringProp name="Argument.metadata">=</stringProp>
  18857. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18858. <stringProp name="Argument.name">product[options][2][price_type]</stringProp>
  18859. <stringProp name="Argument.desc">false</stringProp>
  18860. </elementProp>
  18861. <elementProp name="product[options][2][sku]" elementType="HTTPArgument">
  18862. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18863. <stringProp name="Argument.value">sku-two</stringProp>
  18864. <stringProp name="Argument.metadata">=</stringProp>
  18865. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18866. <stringProp name="Argument.name">product[options][2][sku]</stringProp>
  18867. <stringProp name="Argument.desc">false</stringProp>
  18868. </elementProp>
  18869. <elementProp name="product[options][2][sort_order]" elementType="HTTPArgument">
  18870. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18871. <stringProp name="Argument.value">1</stringProp>
  18872. <stringProp name="Argument.metadata">=</stringProp>
  18873. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18874. <stringProp name="Argument.name">product[options][2][sort_order]</stringProp>
  18875. <stringProp name="Argument.desc">false</stringProp>
  18876. </elementProp>
  18877. <elementProp name="product[options][2][title]" elementType="HTTPArgument">
  18878. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18879. <stringProp name="Argument.value">Field Title</stringProp>
  18880. <stringProp name="Argument.metadata">=</stringProp>
  18881. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18882. <stringProp name="Argument.name">product[options][2][title]</stringProp>
  18883. <stringProp name="Argument.desc">false</stringProp>
  18884. </elementProp>
  18885. <elementProp name="product[options][2][type]" elementType="HTTPArgument">
  18886. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18887. <stringProp name="Argument.value">field</stringProp>
  18888. <stringProp name="Argument.metadata">=</stringProp>
  18889. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18890. <stringProp name="Argument.name">product[options][2][type]</stringProp>
  18891. <stringProp name="Argument.desc">false</stringProp>
  18892. </elementProp>
  18893. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  18894. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18895. <stringProp name="Argument.value">1</stringProp>
  18896. <stringProp name="Argument.metadata">=</stringProp>
  18897. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18898. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  18899. <stringProp name="Argument.desc">true</stringProp>
  18900. </elementProp>
  18901. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  18902. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18903. <stringProp name="Argument.value">4</stringProp>
  18904. <stringProp name="Argument.metadata">=</stringProp>
  18905. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18906. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  18907. <stringProp name="Argument.desc">true</stringProp>
  18908. </elementProp>
  18909. <elementProp name="product[configurable_variation]" elementType="HTTPArgument">
  18910. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18911. <stringProp name="Argument.value"/>
  18912. <stringProp name="Argument.metadata">=</stringProp>
  18913. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18914. <stringProp name="Argument.name">product[configurable_variation]</stringProp>
  18915. <stringProp name="Argument.desc">true</stringProp>
  18916. </elementProp>
  18917. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  18918. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18919. <stringProp name="Argument.value">${related_product_id}</stringProp>
  18920. <stringProp name="Argument.metadata">=</stringProp>
  18921. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18922. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  18923. </elementProp>
  18924. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  18925. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18926. <stringProp name="Argument.value">1</stringProp>
  18927. <stringProp name="Argument.metadata">=</stringProp>
  18928. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18929. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  18930. </elementProp>
  18931. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  18932. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18933. <stringProp name="Argument.value">${related_product_id}</stringProp>
  18934. <stringProp name="Argument.metadata">=</stringProp>
  18935. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18936. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  18937. </elementProp>
  18938. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  18939. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18940. <stringProp name="Argument.value">1</stringProp>
  18941. <stringProp name="Argument.metadata">=</stringProp>
  18942. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18943. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  18944. </elementProp>
  18945. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  18946. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18947. <stringProp name="Argument.value">${related_product_id}</stringProp>
  18948. <stringProp name="Argument.metadata">=</stringProp>
  18949. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18950. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  18951. </elementProp>
  18952. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  18953. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18954. <stringProp name="Argument.value">1</stringProp>
  18955. <stringProp name="Argument.metadata">=</stringProp>
  18956. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18957. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  18958. </elementProp>
  18959. </collectionProp>
  18960. </elementProp>
  18961. <stringProp name="HTTPSampler.domain"/>
  18962. <stringProp name="HTTPSampler.port"/>
  18963. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  18964. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  18965. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  18966. <stringProp name="HTTPSampler.contentEncoding"/>
  18967. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/set/4/</stringProp>
  18968. <stringProp name="HTTPSampler.method">POST</stringProp>
  18969. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  18970. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  18971. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  18972. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  18973. <boolProp name="HTTPSampler.monitor">false</boolProp>
  18974. <stringProp name="HTTPSampler.embedded_url_re"/>
  18975. </HTTPSamplerProxy>
  18976. <hashTree>
  18977. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  18978. <collectionProp name="Asserion.test_strings">
  18979. <stringProp name="1853918323">{"error":false}</stringProp>
  18980. </collectionProp>
  18981. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  18982. <boolProp name="Assertion.assume_success">false</boolProp>
  18983. <intProp name="Assertion.test_type">2</intProp>
  18984. </ResponseAssertion>
  18985. <hashTree/>
  18986. </hashTree>
  18987. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Simple Product Save" enabled="true">
  18988. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  18989. <collectionProp name="Arguments.arguments">
  18990. <elementProp name="ajax" elementType="HTTPArgument">
  18991. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  18992. <stringProp name="Argument.value">true</stringProp>
  18993. <stringProp name="Argument.metadata">=</stringProp>
  18994. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  18995. <stringProp name="Argument.name">ajax</stringProp>
  18996. <stringProp name="Argument.desc">false</stringProp>
  18997. </elementProp>
  18998. <elementProp name="isAjax" elementType="HTTPArgument">
  18999. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19000. <stringProp name="Argument.value">true</stringProp>
  19001. <stringProp name="Argument.metadata">=</stringProp>
  19002. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19003. <stringProp name="Argument.name">isAjax</stringProp>
  19004. <stringProp name="Argument.desc">false</stringProp>
  19005. </elementProp>
  19006. <elementProp name="form_key" elementType="HTTPArgument">
  19007. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19008. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  19009. <stringProp name="Argument.metadata">=</stringProp>
  19010. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19011. <stringProp name="Argument.name">form_key</stringProp>
  19012. <stringProp name="Argument.desc">false</stringProp>
  19013. </elementProp>
  19014. <elementProp name="product[name]" elementType="HTTPArgument">
  19015. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19016. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  19017. <stringProp name="Argument.metadata">=</stringProp>
  19018. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19019. <stringProp name="Argument.name">product[name]</stringProp>
  19020. <stringProp name="Argument.desc">false</stringProp>
  19021. </elementProp>
  19022. <elementProp name="product[sku]" elementType="HTTPArgument">
  19023. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19024. <stringProp name="Argument.value">SKU ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  19025. <stringProp name="Argument.metadata">=</stringProp>
  19026. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19027. <stringProp name="Argument.name">product[sku]</stringProp>
  19028. <stringProp name="Argument.desc">false</stringProp>
  19029. </elementProp>
  19030. <elementProp name="product[price]" elementType="HTTPArgument">
  19031. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19032. <stringProp name="Argument.value">123</stringProp>
  19033. <stringProp name="Argument.metadata">=</stringProp>
  19034. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19035. <stringProp name="Argument.name">product[price]</stringProp>
  19036. </elementProp>
  19037. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  19038. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19039. <stringProp name="Argument.value">2</stringProp>
  19040. <stringProp name="Argument.metadata">=</stringProp>
  19041. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19042. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  19043. </elementProp>
  19044. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  19045. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19046. <stringProp name="Argument.value">111</stringProp>
  19047. <stringProp name="Argument.metadata">=</stringProp>
  19048. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19049. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  19050. </elementProp>
  19051. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  19052. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19053. <stringProp name="Argument.value">1</stringProp>
  19054. <stringProp name="Argument.metadata">=</stringProp>
  19055. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19056. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  19057. </elementProp>
  19058. <elementProp name="product[weight]" elementType="HTTPArgument">
  19059. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19060. <stringProp name="Argument.value">1.0000</stringProp>
  19061. <stringProp name="Argument.metadata">=</stringProp>
  19062. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19063. <stringProp name="Argument.name">product[weight]</stringProp>
  19064. </elementProp>
  19065. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  19066. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19067. <stringProp name="Argument.value">1</stringProp>
  19068. <stringProp name="Argument.metadata">=</stringProp>
  19069. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19070. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  19071. <stringProp name="Argument.desc">true</stringProp>
  19072. </elementProp>
  19073. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  19074. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19075. <stringProp name="Argument.value">2</stringProp>
  19076. <stringProp name="Argument.metadata">=</stringProp>
  19077. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19078. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  19079. </elementProp>
  19080. <elementProp name="product[description]" elementType="HTTPArgument">
  19081. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19082. <stringProp name="Argument.value">&lt;p&gt;Full simple product Description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  19083. <stringProp name="Argument.metadata">=</stringProp>
  19084. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19085. <stringProp name="Argument.name">product[description]</stringProp>
  19086. </elementProp>
  19087. <elementProp name="product[short_description]" elementType="HTTPArgument">
  19088. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19089. <stringProp name="Argument.value">&lt;p&gt;Short simple product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  19090. <stringProp name="Argument.metadata">=</stringProp>
  19091. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19092. <stringProp name="Argument.name">product[short_description]</stringProp>
  19093. </elementProp>
  19094. <elementProp name="product[status]" elementType="HTTPArgument">
  19095. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19096. <stringProp name="Argument.value">1</stringProp>
  19097. <stringProp name="Argument.metadata">=</stringProp>
  19098. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19099. <stringProp name="Argument.name">product[status]</stringProp>
  19100. </elementProp>
  19101. <elementProp name="product[image]" elementType="HTTPArgument">
  19102. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19103. <stringProp name="Argument.value"/>
  19104. <stringProp name="Argument.metadata">=</stringProp>
  19105. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19106. <stringProp name="Argument.name">product[image]</stringProp>
  19107. </elementProp>
  19108. <elementProp name="product[small_image]" elementType="HTTPArgument">
  19109. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19110. <stringProp name="Argument.value"/>
  19111. <stringProp name="Argument.metadata">=</stringProp>
  19112. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19113. <stringProp name="Argument.name">product[small_image]</stringProp>
  19114. </elementProp>
  19115. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  19116. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19117. <stringProp name="Argument.value"/>
  19118. <stringProp name="Argument.metadata">=</stringProp>
  19119. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19120. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  19121. </elementProp>
  19122. <elementProp name="product[url_key]" elementType="HTTPArgument">
  19123. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19124. <stringProp name="Argument.value">simple-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  19125. <stringProp name="Argument.metadata">=</stringProp>
  19126. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19127. <stringProp name="Argument.name">product[url_key]</stringProp>
  19128. </elementProp>
  19129. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  19130. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19131. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  19132. <stringProp name="Argument.metadata">=</stringProp>
  19133. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19134. <stringProp name="Argument.name">product[meta_title]</stringProp>
  19135. </elementProp>
  19136. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  19137. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19138. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  19139. <stringProp name="Argument.metadata">=</stringProp>
  19140. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19141. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  19142. </elementProp>
  19143. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  19144. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19145. <stringProp name="Argument.value">Simple Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  19146. <stringProp name="Argument.metadata">=</stringProp>
  19147. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19148. <stringProp name="Argument.name">product[meta_description]</stringProp>
  19149. </elementProp>
  19150. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  19151. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19152. <stringProp name="Argument.value">1</stringProp>
  19153. <stringProp name="Argument.metadata">=</stringProp>
  19154. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19155. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  19156. </elementProp>
  19157. <elementProp name="product[special_price]" elementType="HTTPArgument">
  19158. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19159. <stringProp name="Argument.value">99</stringProp>
  19160. <stringProp name="Argument.metadata">=</stringProp>
  19161. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19162. <stringProp name="Argument.name">product[special_price]</stringProp>
  19163. </elementProp>
  19164. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  19165. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19166. <stringProp name="Argument.value"/>
  19167. <stringProp name="Argument.metadata">=</stringProp>
  19168. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19169. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  19170. </elementProp>
  19171. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  19172. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19173. <stringProp name="Argument.value"/>
  19174. <stringProp name="Argument.metadata">=</stringProp>
  19175. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19176. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  19177. </elementProp>
  19178. <elementProp name="product[cost]" elementType="HTTPArgument">
  19179. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19180. <stringProp name="Argument.value"/>
  19181. <stringProp name="Argument.metadata">=</stringProp>
  19182. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19183. <stringProp name="Argument.name">product[cost]</stringProp>
  19184. </elementProp>
  19185. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  19186. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19187. <stringProp name="Argument.value">0</stringProp>
  19188. <stringProp name="Argument.metadata">=</stringProp>
  19189. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19190. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  19191. </elementProp>
  19192. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  19193. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19194. <stringProp name="Argument.value">32000</stringProp>
  19195. <stringProp name="Argument.metadata">=</stringProp>
  19196. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19197. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  19198. </elementProp>
  19199. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  19200. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19201. <stringProp name="Argument.value">100</stringProp>
  19202. <stringProp name="Argument.metadata">=</stringProp>
  19203. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19204. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  19205. </elementProp>
  19206. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  19207. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19208. <stringProp name="Argument.value">90</stringProp>
  19209. <stringProp name="Argument.metadata">=</stringProp>
  19210. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19211. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  19212. </elementProp>
  19213. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  19214. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19215. <stringProp name="Argument.value"/>
  19216. <stringProp name="Argument.metadata">=</stringProp>
  19217. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19218. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  19219. </elementProp>
  19220. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  19221. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19222. <stringProp name="Argument.value">0</stringProp>
  19223. <stringProp name="Argument.metadata">=</stringProp>
  19224. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19225. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  19226. </elementProp>
  19227. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  19228. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19229. <stringProp name="Argument.value">1</stringProp>
  19230. <stringProp name="Argument.metadata">=</stringProp>
  19231. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19232. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  19233. </elementProp>
  19234. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  19235. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19236. <stringProp name="Argument.value">101</stringProp>
  19237. <stringProp name="Argument.metadata">=</stringProp>
  19238. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19239. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  19240. </elementProp>
  19241. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  19242. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19243. <stringProp name="Argument.value">99</stringProp>
  19244. <stringProp name="Argument.metadata">=</stringProp>
  19245. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19246. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  19247. </elementProp>
  19248. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  19249. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19250. <stringProp name="Argument.value"/>
  19251. <stringProp name="Argument.metadata">=</stringProp>
  19252. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19253. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  19254. </elementProp>
  19255. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  19256. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19257. <stringProp name="Argument.value">1</stringProp>
  19258. <stringProp name="Argument.metadata">=</stringProp>
  19259. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19260. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  19261. </elementProp>
  19262. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  19263. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19264. <stringProp name="Argument.value">100500</stringProp>
  19265. <stringProp name="Argument.metadata">=</stringProp>
  19266. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19267. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  19268. </elementProp>
  19269. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  19270. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19271. <stringProp name="Argument.value">100500</stringProp>
  19272. <stringProp name="Argument.metadata">=</stringProp>
  19273. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19274. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  19275. </elementProp>
  19276. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  19277. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19278. <stringProp name="Argument.value">0</stringProp>
  19279. <stringProp name="Argument.metadata">=</stringProp>
  19280. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19281. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  19282. </elementProp>
  19283. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  19284. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19285. <stringProp name="Argument.value">1</stringProp>
  19286. <stringProp name="Argument.metadata">=</stringProp>
  19287. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19288. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  19289. </elementProp>
  19290. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  19291. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19292. <stringProp name="Argument.value">1</stringProp>
  19293. <stringProp name="Argument.metadata">=</stringProp>
  19294. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19295. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  19296. </elementProp>
  19297. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  19298. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19299. <stringProp name="Argument.value">1</stringProp>
  19300. <stringProp name="Argument.metadata">=</stringProp>
  19301. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19302. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  19303. </elementProp>
  19304. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  19305. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19306. <stringProp name="Argument.value">10000</stringProp>
  19307. <stringProp name="Argument.metadata">=</stringProp>
  19308. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19309. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  19310. </elementProp>
  19311. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  19312. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19313. <stringProp name="Argument.value">1</stringProp>
  19314. <stringProp name="Argument.metadata">=</stringProp>
  19315. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19316. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  19317. </elementProp>
  19318. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  19319. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19320. <stringProp name="Argument.value">0</stringProp>
  19321. <stringProp name="Argument.metadata">=</stringProp>
  19322. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19323. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  19324. </elementProp>
  19325. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  19326. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19327. <stringProp name="Argument.value">0</stringProp>
  19328. <stringProp name="Argument.metadata">=</stringProp>
  19329. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19330. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  19331. </elementProp>
  19332. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  19333. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19334. <stringProp name="Argument.value">0</stringProp>
  19335. <stringProp name="Argument.metadata">=</stringProp>
  19336. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19337. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  19338. </elementProp>
  19339. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  19340. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19341. <stringProp name="Argument.value">1</stringProp>
  19342. <stringProp name="Argument.metadata">=</stringProp>
  19343. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19344. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  19345. </elementProp>
  19346. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  19347. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19348. <stringProp name="Argument.value">1</stringProp>
  19349. <stringProp name="Argument.metadata">=</stringProp>
  19350. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19351. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  19352. </elementProp>
  19353. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  19354. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19355. <stringProp name="Argument.value">1</stringProp>
  19356. <stringProp name="Argument.metadata">=</stringProp>
  19357. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19358. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  19359. </elementProp>
  19360. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  19361. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19362. <stringProp name="Argument.value">0</stringProp>
  19363. <stringProp name="Argument.metadata">=</stringProp>
  19364. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19365. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  19366. </elementProp>
  19367. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  19368. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19369. <stringProp name="Argument.value">0</stringProp>
  19370. <stringProp name="Argument.metadata">=</stringProp>
  19371. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19372. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  19373. </elementProp>
  19374. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  19375. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19376. <stringProp name="Argument.value">1</stringProp>
  19377. <stringProp name="Argument.metadata">=</stringProp>
  19378. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19379. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  19380. </elementProp>
  19381. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  19382. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19383. <stringProp name="Argument.value">1</stringProp>
  19384. <stringProp name="Argument.metadata">=</stringProp>
  19385. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19386. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  19387. </elementProp>
  19388. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  19389. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19390. <stringProp name="Argument.value"/>
  19391. <stringProp name="Argument.metadata">=</stringProp>
  19392. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19393. <stringProp name="Argument.name">product[custom_design]</stringProp>
  19394. </elementProp>
  19395. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  19396. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19397. <stringProp name="Argument.value"/>
  19398. <stringProp name="Argument.metadata">=</stringProp>
  19399. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19400. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  19401. </elementProp>
  19402. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  19403. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19404. <stringProp name="Argument.value"/>
  19405. <stringProp name="Argument.metadata">=</stringProp>
  19406. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19407. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  19408. </elementProp>
  19409. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  19410. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19411. <stringProp name="Argument.value"/>
  19412. <stringProp name="Argument.metadata">=</stringProp>
  19413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19414. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  19415. </elementProp>
  19416. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  19417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19418. <stringProp name="Argument.value"/>
  19419. <stringProp name="Argument.metadata">=</stringProp>
  19420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19421. <stringProp name="Argument.name">product[page_layout]</stringProp>
  19422. </elementProp>
  19423. <elementProp name="product[options_container]" elementType="HTTPArgument">
  19424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19425. <stringProp name="Argument.value">container2</stringProp>
  19426. <stringProp name="Argument.metadata">=</stringProp>
  19427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19428. <stringProp name="Argument.name">product[options_container]</stringProp>
  19429. </elementProp>
  19430. <elementProp name="product[options][1][is_delete]" elementType="HTTPArgument">
  19431. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19432. <stringProp name="Argument.value"/>
  19433. <stringProp name="Argument.metadata">=</stringProp>
  19434. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19435. <stringProp name="Argument.name">product[options][1][is_delete]</stringProp>
  19436. <stringProp name="Argument.desc">true</stringProp>
  19437. </elementProp>
  19438. <elementProp name="product[options][1][is_require]" elementType="HTTPArgument">
  19439. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19440. <stringProp name="Argument.value">1</stringProp>
  19441. <stringProp name="Argument.metadata">=</stringProp>
  19442. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19443. <stringProp name="Argument.name">product[options][1][is_require]</stringProp>
  19444. </elementProp>
  19445. <elementProp name="product[options][1][previous_group]" elementType="HTTPArgument">
  19446. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19447. <stringProp name="Argument.value">select</stringProp>
  19448. <stringProp name="Argument.metadata">=</stringProp>
  19449. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19450. <stringProp name="Argument.name">product[options][1][previous_group]</stringProp>
  19451. <stringProp name="Argument.desc">false</stringProp>
  19452. </elementProp>
  19453. <elementProp name="product[options][1][previous_type]" elementType="HTTPArgument">
  19454. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19455. <stringProp name="Argument.value">drop_down</stringProp>
  19456. <stringProp name="Argument.metadata">=</stringProp>
  19457. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19458. <stringProp name="Argument.name">product[options][1][previous_type]</stringProp>
  19459. <stringProp name="Argument.desc">false</stringProp>
  19460. </elementProp>
  19461. <elementProp name="product[options][1][sort_order]" elementType="HTTPArgument">
  19462. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19463. <stringProp name="Argument.value">0</stringProp>
  19464. <stringProp name="Argument.metadata">=</stringProp>
  19465. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19466. <stringProp name="Argument.name">product[options][1][sort_order]</stringProp>
  19467. <stringProp name="Argument.desc">false</stringProp>
  19468. </elementProp>
  19469. <elementProp name="product[options][1][title]" elementType="HTTPArgument">
  19470. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19471. <stringProp name="Argument.value">Product Option Title One</stringProp>
  19472. <stringProp name="Argument.metadata">=</stringProp>
  19473. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19474. <stringProp name="Argument.name">product[options][1][title]</stringProp>
  19475. </elementProp>
  19476. <elementProp name="product[options][1][type]" elementType="HTTPArgument">
  19477. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19478. <stringProp name="Argument.value">drop_down</stringProp>
  19479. <stringProp name="Argument.metadata">=</stringProp>
  19480. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19481. <stringProp name="Argument.name">product[options][1][type]</stringProp>
  19482. </elementProp>
  19483. <elementProp name="product[options][1][values][1][is_delete]" elementType="HTTPArgument">
  19484. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19485. <stringProp name="Argument.value"/>
  19486. <stringProp name="Argument.metadata">=</stringProp>
  19487. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19488. <stringProp name="Argument.name">product[options][1][values][1][is_delete]</stringProp>
  19489. <stringProp name="Argument.desc">false</stringProp>
  19490. </elementProp>
  19491. <elementProp name="product[options][1][values][1][price]" elementType="HTTPArgument">
  19492. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19493. <stringProp name="Argument.value">200</stringProp>
  19494. <stringProp name="Argument.metadata">=</stringProp>
  19495. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19496. <stringProp name="Argument.name">product[options][1][values][1][price]</stringProp>
  19497. </elementProp>
  19498. <elementProp name="product[options][1][values][1][price_type]" elementType="HTTPArgument">
  19499. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19500. <stringProp name="Argument.value">fixed</stringProp>
  19501. <stringProp name="Argument.metadata">=</stringProp>
  19502. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19503. <stringProp name="Argument.name">product[options][1][values][1][price_type]</stringProp>
  19504. </elementProp>
  19505. <elementProp name="product[options][1][values][1][sku]" elementType="HTTPArgument">
  19506. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19507. <stringProp name="Argument.value">sku-one</stringProp>
  19508. <stringProp name="Argument.metadata">=</stringProp>
  19509. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19510. <stringProp name="Argument.name">product[options][1][values][1][sku]</stringProp>
  19511. </elementProp>
  19512. <elementProp name="product[options][1][values][1][sort_order]" elementType="HTTPArgument">
  19513. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19514. <stringProp name="Argument.value">0</stringProp>
  19515. <stringProp name="Argument.metadata">=</stringProp>
  19516. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19517. <stringProp name="Argument.name">product[options][1][values][1][sort_order]</stringProp>
  19518. </elementProp>
  19519. <elementProp name="product[options][1][values][1][title]" elementType="HTTPArgument">
  19520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19521. <stringProp name="Argument.value">Row Title</stringProp>
  19522. <stringProp name="Argument.metadata">=</stringProp>
  19523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19524. <stringProp name="Argument.name">product[options][1][values][1][title]</stringProp>
  19525. </elementProp>
  19526. <elementProp name="product[options][2][is_delete]" elementType="HTTPArgument">
  19527. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19528. <stringProp name="Argument.value"/>
  19529. <stringProp name="Argument.metadata">=</stringProp>
  19530. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19531. <stringProp name="Argument.name">product[options][2][is_delete]</stringProp>
  19532. <stringProp name="Argument.desc">false</stringProp>
  19533. </elementProp>
  19534. <elementProp name="product[options][2][is_require]" elementType="HTTPArgument">
  19535. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19536. <stringProp name="Argument.value">1</stringProp>
  19537. <stringProp name="Argument.metadata">=</stringProp>
  19538. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19539. <stringProp name="Argument.name">product[options][2][is_require]</stringProp>
  19540. </elementProp>
  19541. <elementProp name="product[options][2][max_characters]" elementType="HTTPArgument">
  19542. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19543. <stringProp name="Argument.value">250</stringProp>
  19544. <stringProp name="Argument.metadata">=</stringProp>
  19545. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19546. <stringProp name="Argument.name">product[options][2][max_characters]</stringProp>
  19547. </elementProp>
  19548. <elementProp name="product[options][2][previous_group]" elementType="HTTPArgument">
  19549. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19550. <stringProp name="Argument.value">text</stringProp>
  19551. <stringProp name="Argument.metadata">=</stringProp>
  19552. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19553. <stringProp name="Argument.name">product[options][2][previous_group]</stringProp>
  19554. </elementProp>
  19555. <elementProp name="product[options][2][previous_type]" elementType="HTTPArgument">
  19556. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19557. <stringProp name="Argument.value">field</stringProp>
  19558. <stringProp name="Argument.metadata">=</stringProp>
  19559. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19560. <stringProp name="Argument.name">product[options][2][previous_type]</stringProp>
  19561. </elementProp>
  19562. <elementProp name="product[options][2][price]" elementType="HTTPArgument">
  19563. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19564. <stringProp name="Argument.value">500</stringProp>
  19565. <stringProp name="Argument.metadata">=</stringProp>
  19566. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19567. <stringProp name="Argument.name">product[options][2][price]</stringProp>
  19568. </elementProp>
  19569. <elementProp name="product[options][2][price_type]" elementType="HTTPArgument">
  19570. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19571. <stringProp name="Argument.value">fixed</stringProp>
  19572. <stringProp name="Argument.metadata">=</stringProp>
  19573. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19574. <stringProp name="Argument.name">product[options][2][price_type]</stringProp>
  19575. </elementProp>
  19576. <elementProp name="product[options][2][sku]" elementType="HTTPArgument">
  19577. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19578. <stringProp name="Argument.value">sku-two</stringProp>
  19579. <stringProp name="Argument.metadata">=</stringProp>
  19580. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19581. <stringProp name="Argument.name">product[options][2][sku]</stringProp>
  19582. </elementProp>
  19583. <elementProp name="product[options][2][sort_order]" elementType="HTTPArgument">
  19584. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19585. <stringProp name="Argument.value">1</stringProp>
  19586. <stringProp name="Argument.metadata">=</stringProp>
  19587. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19588. <stringProp name="Argument.name">product[options][2][sort_order]</stringProp>
  19589. </elementProp>
  19590. <elementProp name="product[options][2][title]" elementType="HTTPArgument">
  19591. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19592. <stringProp name="Argument.value">Field Title</stringProp>
  19593. <stringProp name="Argument.metadata">=</stringProp>
  19594. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19595. <stringProp name="Argument.name">product[options][2][title]</stringProp>
  19596. </elementProp>
  19597. <elementProp name="product[options][2][type]" elementType="HTTPArgument">
  19598. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19599. <stringProp name="Argument.value">field</stringProp>
  19600. <stringProp name="Argument.metadata">=</stringProp>
  19601. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19602. <stringProp name="Argument.name">product[options][2][type]</stringProp>
  19603. </elementProp>
  19604. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  19605. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19606. <stringProp name="Argument.value">1</stringProp>
  19607. <stringProp name="Argument.metadata">=</stringProp>
  19608. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19609. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  19610. <stringProp name="Argument.desc">true</stringProp>
  19611. </elementProp>
  19612. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  19613. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19614. <stringProp name="Argument.value">4</stringProp>
  19615. <stringProp name="Argument.metadata">=</stringProp>
  19616. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19617. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  19618. <stringProp name="Argument.desc">true</stringProp>
  19619. </elementProp>
  19620. <elementProp name="product[configurable_variation]" elementType="HTTPArgument">
  19621. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19622. <stringProp name="Argument.value"/>
  19623. <stringProp name="Argument.metadata">=</stringProp>
  19624. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19625. <stringProp name="Argument.name">product[configurable_variation]</stringProp>
  19626. <stringProp name="Argument.desc">true</stringProp>
  19627. </elementProp>
  19628. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  19629. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19630. <stringProp name="Argument.value">${related_product_id}</stringProp>
  19631. <stringProp name="Argument.metadata">=</stringProp>
  19632. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19633. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  19634. </elementProp>
  19635. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  19636. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19637. <stringProp name="Argument.value">1</stringProp>
  19638. <stringProp name="Argument.metadata">=</stringProp>
  19639. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19640. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  19641. </elementProp>
  19642. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  19643. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19644. <stringProp name="Argument.value">${related_product_id}</stringProp>
  19645. <stringProp name="Argument.metadata">=</stringProp>
  19646. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19647. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  19648. </elementProp>
  19649. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  19650. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19651. <stringProp name="Argument.value">1</stringProp>
  19652. <stringProp name="Argument.metadata">=</stringProp>
  19653. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19654. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  19655. </elementProp>
  19656. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  19657. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19658. <stringProp name="Argument.value">${related_product_id}</stringProp>
  19659. <stringProp name="Argument.metadata">=</stringProp>
  19660. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19661. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  19662. </elementProp>
  19663. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  19664. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19665. <stringProp name="Argument.value">1</stringProp>
  19666. <stringProp name="Argument.metadata">=</stringProp>
  19667. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19668. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  19669. </elementProp>
  19670. </collectionProp>
  19671. </elementProp>
  19672. <stringProp name="HTTPSampler.domain"/>
  19673. <stringProp name="HTTPSampler.port"/>
  19674. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  19675. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  19676. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  19677. <stringProp name="HTTPSampler.contentEncoding"/>
  19678. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/set/4/type/simple/back/edit/active_tab/product-details/</stringProp>
  19679. <stringProp name="HTTPSampler.method">POST</stringProp>
  19680. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  19681. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  19682. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  19683. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  19684. <boolProp name="HTTPSampler.monitor">false</boolProp>
  19685. <stringProp name="HTTPSampler.embedded_url_re"/>
  19686. </HTTPSamplerProxy>
  19687. <hashTree>
  19688. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  19689. <collectionProp name="Asserion.test_strings">
  19690. <stringProp name="-583471546">You saved the product</stringProp>
  19691. </collectionProp>
  19692. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  19693. <boolProp name="Assertion.assume_success">false</boolProp>
  19694. <intProp name="Assertion.test_type">2</intProp>
  19695. </ResponseAssertion>
  19696. <hashTree/>
  19697. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  19698. <collectionProp name="Asserion.test_strings">
  19699. <stringProp name="-1600986843">violation</stringProp>
  19700. </collectionProp>
  19701. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  19702. <boolProp name="Assertion.assume_success">false</boolProp>
  19703. <intProp name="Assertion.test_type">6</intProp>
  19704. </ResponseAssertion>
  19705. <hashTree/>
  19706. </hashTree>
  19707. </hashTree>
  19708. </hashTree>
  19709. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  19710. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  19711. <collectionProp name="Arguments.arguments"/>
  19712. </elementProp>
  19713. <stringProp name="HTTPSampler.domain"/>
  19714. <stringProp name="HTTPSampler.port"/>
  19715. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  19716. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  19717. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  19718. <stringProp name="HTTPSampler.contentEncoding"/>
  19719. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  19720. <stringProp name="HTTPSampler.method">GET</stringProp>
  19721. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  19722. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  19723. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  19724. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  19725. <boolProp name="HTTPSampler.monitor">false</boolProp>
  19726. <stringProp name="HTTPSampler.embedded_url_re"/>
  19727. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  19728. <hashTree>
  19729. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  19730. <boolProp name="resetInterpreter">false</boolProp>
  19731. <stringProp name="parameters"/>
  19732. <stringProp name="filename"/>
  19733. <stringProp name="script">
  19734. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  19735. if (adminUsersDistribution == 1) {
  19736. adminUserList = props.get("adminUserList");
  19737. adminUserList.add(vars.get("admin_user"));
  19738. }
  19739. </stringProp>
  19740. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  19741. <hashTree/>
  19742. </hashTree>
  19743. </hashTree>
  19744. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Edit Product" enabled="true">
  19745. <intProp name="ThroughputController.style">1</intProp>
  19746. <boolProp name="ThroughputController.perThread">false</boolProp>
  19747. <intProp name="ThroughputController.maxThroughput">1</intProp>
  19748. <stringProp name="ThroughputController.percentThroughput">${adminProductEditingPercentage}</stringProp>
  19749. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  19750. <hashTree>
  19751. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  19752. <stringProp name="script">
  19753. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  19754. if (testLabel
  19755. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  19756. ) {
  19757. if (sampler.getName().indexOf(testLabel) == -1) {
  19758. sampler.setName(sampler.getName() + testLabel);
  19759. }
  19760. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  19761. sampler.setName("SetUp - " + sampler.getName());
  19762. }
  19763. </stringProp>
  19764. <stringProp name="scriptLanguage">javascript</stringProp>
  19765. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  19766. <hashTree/>
  19767. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  19768. <stringProp name="BeanShellSampler.query">
  19769. vars.put("testLabel", "Admin Edit Product");
  19770. </stringProp>
  19771. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  19772. </BeanShellSampler>
  19773. <hashTree/>
  19774. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  19775. <stringProp name="script">
  19776. function getFormKeyFromResponse()
  19777. {
  19778. var url = prev.getUrlAsString(),
  19779. responseCode = prev.getResponseCode(),
  19780. formKey = null;
  19781. searchPattern = /var FORM_KEY = '(.+)'/;
  19782. if (responseCode == "200" &amp;&amp; url) {
  19783. response = prev.getResponseDataAsString();
  19784. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  19785. }
  19786. return formKey;
  19787. }
  19788. formKey = vars.get("form_key_storage");
  19789. currentFormKey = getFormKeyFromResponse();
  19790. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  19791. vars.put("form_key_storage", currentFormKey);
  19792. }
  19793. </stringProp>
  19794. <stringProp name="scriptLanguage">javascript</stringProp>
  19795. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  19796. <hashTree/>
  19797. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  19798. <stringProp name="script">
  19799. formKey = vars.get("form_key_storage");
  19800. if (formKey
  19801. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  19802. &amp;&amp; sampler.getMethod() == "POST")
  19803. {
  19804. arguments = sampler.getArguments();
  19805. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  19806. {
  19807. argument = arguments.getArgument(i);
  19808. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  19809. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  19810. argument.setValue(formKey);
  19811. }
  19812. }
  19813. }
  19814. </stringProp>
  19815. <stringProp name="scriptLanguage">javascript</stringProp>
  19816. </JSR223PreProcessor>
  19817. <hashTree/>
  19818. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  19819. <collectionProp name="CookieManager.cookies"/>
  19820. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  19821. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  19822. <hashTree/>
  19823. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  19824. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  19825. </GenericController>
  19826. <hashTree>
  19827. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  19828. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  19829. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  19830. <hashTree>
  19831. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  19832. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  19833. <stringProp name="BeanShellSampler.query">
  19834. adminUserList = props.get("adminUserList");
  19835. adminUserListIterator = props.get("adminUserListIterator");
  19836. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  19837. if (adminUsersDistribution == 1) {
  19838. adminUser = adminUserList.poll();
  19839. } else {
  19840. if (!adminUserListIterator.hasNext()) {
  19841. adminUserListIterator = adminUserList.descendingIterator();
  19842. }
  19843. adminUser = adminUserListIterator.next();
  19844. }
  19845. if (adminUser == null) {
  19846. SampleResult.setResponseMessage("adminUser list is empty");
  19847. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  19848. IsSuccess=false;
  19849. SampleResult.setSuccessful(false);
  19850. SampleResult.setStopThread(true);
  19851. }
  19852. vars.put("admin_user", adminUser);
  19853. </stringProp>
  19854. <stringProp name="BeanShellSampler.filename"/>
  19855. <stringProp name="BeanShellSampler.parameters"/>
  19856. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  19857. </BeanShellSampler>
  19858. <hashTree/>
  19859. </hashTree>
  19860. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  19861. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  19862. <collectionProp name="Arguments.arguments"/>
  19863. </elementProp>
  19864. <stringProp name="HTTPSampler.domain"/>
  19865. <stringProp name="HTTPSampler.port"/>
  19866. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  19867. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  19868. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  19869. <stringProp name="HTTPSampler.contentEncoding"/>
  19870. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  19871. <stringProp name="HTTPSampler.method">GET</stringProp>
  19872. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  19873. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  19874. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  19875. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  19876. <boolProp name="HTTPSampler.monitor">false</boolProp>
  19877. <stringProp name="HTTPSampler.embedded_url_re"/>
  19878. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  19879. <hashTree>
  19880. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  19881. <collectionProp name="Asserion.test_strings">
  19882. <stringProp name="-1397214398">Welcome</stringProp>
  19883. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  19884. </collectionProp>
  19885. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  19886. <boolProp name="Assertion.assume_success">false</boolProp>
  19887. <intProp name="Assertion.test_type">2</intProp>
  19888. </ResponseAssertion>
  19889. <hashTree/>
  19890. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  19891. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  19892. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  19893. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  19894. <stringProp name="RegexExtractor.template">$1$</stringProp>
  19895. <stringProp name="RegexExtractor.default"/>
  19896. <stringProp name="RegexExtractor.match_number">1</stringProp>
  19897. </RegexExtractor>
  19898. <hashTree/>
  19899. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  19900. <collectionProp name="Asserion.test_strings">
  19901. <stringProp name="2845929">^.+$</stringProp>
  19902. </collectionProp>
  19903. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  19904. <boolProp name="Assertion.assume_success">false</boolProp>
  19905. <intProp name="Assertion.test_type">1</intProp>
  19906. <stringProp name="Assertion.scope">variable</stringProp>
  19907. <stringProp name="Scope.variable">admin_form_key</stringProp>
  19908. </ResponseAssertion>
  19909. <hashTree/>
  19910. </hashTree>
  19911. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  19912. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  19913. <collectionProp name="Arguments.arguments">
  19914. <elementProp name="dummy" elementType="HTTPArgument">
  19915. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19916. <stringProp name="Argument.value"/>
  19917. <stringProp name="Argument.metadata">=</stringProp>
  19918. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19919. <stringProp name="Argument.name">dummy</stringProp>
  19920. </elementProp>
  19921. <elementProp name="form_key" elementType="HTTPArgument">
  19922. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19923. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  19924. <stringProp name="Argument.metadata">=</stringProp>
  19925. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19926. <stringProp name="Argument.name">form_key</stringProp>
  19927. </elementProp>
  19928. <elementProp name="login[password]" elementType="HTTPArgument">
  19929. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19930. <stringProp name="Argument.value">${admin_password}</stringProp>
  19931. <stringProp name="Argument.metadata">=</stringProp>
  19932. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19933. <stringProp name="Argument.name">login[password]</stringProp>
  19934. </elementProp>
  19935. <elementProp name="login[username]" elementType="HTTPArgument">
  19936. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  19937. <stringProp name="Argument.value">${admin_user}</stringProp>
  19938. <stringProp name="Argument.metadata">=</stringProp>
  19939. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  19940. <stringProp name="Argument.name">login[username]</stringProp>
  19941. </elementProp>
  19942. </collectionProp>
  19943. </elementProp>
  19944. <stringProp name="HTTPSampler.domain"/>
  19945. <stringProp name="HTTPSampler.port"/>
  19946. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  19947. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  19948. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  19949. <stringProp name="HTTPSampler.contentEncoding"/>
  19950. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  19951. <stringProp name="HTTPSampler.method">POST</stringProp>
  19952. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  19953. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  19954. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  19955. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  19956. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  19957. <boolProp name="HTTPSampler.monitor">false</boolProp>
  19958. <stringProp name="HTTPSampler.embedded_url_re"/>
  19959. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  19960. </HTTPSamplerProxy>
  19961. <hashTree>
  19962. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  19963. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  19964. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  19965. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  19966. <stringProp name="RegexExtractor.template">$1$</stringProp>
  19967. <stringProp name="RegexExtractor.default"/>
  19968. <stringProp name="RegexExtractor.match_number">1</stringProp>
  19969. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  19970. <hashTree/>
  19971. </hashTree>
  19972. </hashTree>
  19973. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  19974. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  19975. </GenericController>
  19976. <hashTree>
  19977. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Edit Product" enabled="true"/>
  19978. <hashTree>
  19979. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Generate Unique Ids for each Thread" enabled="true">
  19980. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_edit_product/admin_edit_product_updated.jmx</stringProp>
  19981. <stringProp name="BeanShellSampler.query">import java.util.ArrayList;
  19982. import java.util.HashMap;
  19983. import java.util.Random;
  19984. try {
  19985. Random random = new Random();
  19986. if (${seedForRandom} &gt; 0) {
  19987. random.setSeed(${seedForRandom} + ${__threadNum});
  19988. }
  19989. simpleCount = props.get("simple_products_list_for_edit").size();
  19990. configCount = props.get("configurable_products_list_for_edit").size();
  19991. productCount = 0;
  19992. if (simpleCount &gt; configCount) {
  19993. productCount = configCount;
  19994. } else {
  19995. productCount = simpleCount;
  19996. }
  19997. int threadsNumber = ctx.getThreadGroup().getNumThreads();
  19998. if (threadsNumber == 0) {
  19999. threadsNumber = 1;
  20000. }
  20001. //Current thread number starts from 0
  20002. currentThreadNum = ctx.getThreadNum();
  20003. String siterator = vars.get("threadIterator_" + currentThreadNum.toString());
  20004. iterator = 0;
  20005. if(siterator == null){
  20006. vars.put("threadIterator_" + currentThreadNum.toString() , "0");
  20007. } else {
  20008. iterator = Integer.parseInt(siterator);
  20009. iterator ++;
  20010. vars.put("threadIterator_" + currentThreadNum.toString() , iterator.toString());
  20011. }
  20012. //Number of products for one thread
  20013. productClusterLength = productCount / threadsNumber;
  20014. if (iterator &gt;= productClusterLength) {
  20015. vars.put("threadIterator_" + currentThreadNum.toString(), "0");
  20016. iterator = 0;
  20017. }
  20018. //Index of the current product from the cluster
  20019. i = productClusterLength * currentThreadNum + iterator;
  20020. //ids of simple and configurable products to edit
  20021. vars.put("simple_product_id", props.get("simple_products_list_for_edit").get(i).get("id"));
  20022. vars.put("configurable_product_id", props.get("configurable_products_list_for_edit").get(i).get("id"));
  20023. //id of related product
  20024. do {
  20025. relatedIndex = random.nextInt(props.get("simple_products_list_for_edit").size());
  20026. } while(i == relatedIndex);
  20027. vars.put("related_product_id", props.get("simple_products_list_for_edit").get(relatedIndex).get("id"));
  20028. } catch (Exception ex) {
  20029. log.info("Script execution failed", ex);
  20030. }</stringProp>
  20031. <stringProp name="BeanShellSampler.filename"/>
  20032. <stringProp name="BeanShellSampler.parameters"/>
  20033. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  20034. </BeanShellSampler>
  20035. <hashTree/>
  20036. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Simple Product" enabled="true">
  20037. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  20038. <collectionProp name="Arguments.arguments"/>
  20039. </elementProp>
  20040. <stringProp name="HTTPSampler.domain"/>
  20041. <stringProp name="HTTPSampler.port"/>
  20042. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  20043. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  20044. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  20045. <stringProp name="HTTPSampler.contentEncoding"/>
  20046. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/edit/id/${simple_product_id}/</stringProp>
  20047. <stringProp name="HTTPSampler.method">GET</stringProp>
  20048. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  20049. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  20050. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  20051. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  20052. <boolProp name="HTTPSampler.monitor">false</boolProp>
  20053. <stringProp name="HTTPSampler.embedded_url_re"/>
  20054. </HTTPSamplerProxy>
  20055. <hashTree>
  20056. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  20057. <collectionProp name="Asserion.test_strings">
  20058. <stringProp name="1355179215">Product</stringProp>
  20059. </collectionProp>
  20060. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  20061. <boolProp name="Assertion.assume_success">false</boolProp>
  20062. <intProp name="Assertion.test_type">16</intProp>
  20063. </ResponseAssertion>
  20064. <hashTree/>
  20065. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract name" enabled="true">
  20066. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  20067. <stringProp name="RegexExtractor.refname">simple_product_name</stringProp>
  20068. <stringProp name="RegexExtractor.regex">,"name":"([^'"]+)",</stringProp>
  20069. <stringProp name="RegexExtractor.template">$1$</stringProp>
  20070. <stringProp name="RegexExtractor.default"/>
  20071. <stringProp name="RegexExtractor.match_number">1</stringProp>
  20072. </RegexExtractor>
  20073. <hashTree/>
  20074. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract sku" enabled="true">
  20075. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  20076. <stringProp name="RegexExtractor.refname">simple_product_sku</stringProp>
  20077. <stringProp name="RegexExtractor.regex">,"sku":"([^'"]+)",</stringProp>
  20078. <stringProp name="RegexExtractor.template">$1$</stringProp>
  20079. <stringProp name="RegexExtractor.default"/>
  20080. <stringProp name="RegexExtractor.match_number">1</stringProp>
  20081. </RegexExtractor>
  20082. <hashTree/>
  20083. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category" enabled="true">
  20084. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  20085. <stringProp name="RegexExtractor.refname">simple_product_category_id</stringProp>
  20086. <stringProp name="RegexExtractor.regex">,"category_ids":."(\d+)".</stringProp>
  20087. <stringProp name="RegexExtractor.template">$1$</stringProp>
  20088. <stringProp name="RegexExtractor.default"/>
  20089. <stringProp name="RegexExtractor.match_number">1</stringProp>
  20090. </RegexExtractor>
  20091. <hashTree/>
  20092. </hashTree>
  20093. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set updated values" enabled="true">
  20094. <stringProp name="TestPlan.comments">Passing arguments between threads</stringProp>
  20095. <stringProp name="BeanShellSampler.query">//Additional category to be added
  20096. import java.util.Random;
  20097. Random randomGenerator = new Random();
  20098. if (${seedForRandom} &gt; 0) {
  20099. randomGenerator.setSeed(${seedForRandom} + ${__threadNum});
  20100. }
  20101. int categoryId = Integer.parseInt(vars.get("simple_product_category_id"));
  20102. categoryList = props.get("admin_category_ids_list");
  20103. if (categoryList.size() &gt; 1) {
  20104. do {
  20105. int index = randomGenerator.nextInt(categoryList.size());
  20106. newCategoryId = categoryList.get(index);
  20107. } while (categoryId == newCategoryId);
  20108. vars.put("category_additional", newCategoryId.toString());
  20109. }
  20110. //New price
  20111. vars.put("price_new", "9999");
  20112. //New special price
  20113. vars.put("special_price_new", "8888");
  20114. //New quantity
  20115. vars.put("quantity_new", "100600");
  20116. </stringProp>
  20117. <stringProp name="BeanShellSampler.filename"/>
  20118. <stringProp name="BeanShellSampler.parameters"/>
  20119. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  20120. </BeanShellSampler>
  20121. <hashTree/>
  20122. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Simple Product Validate" enabled="true">
  20123. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  20124. <collectionProp name="Arguments.arguments">
  20125. <elementProp name="ajax" elementType="HTTPArgument">
  20126. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20127. <stringProp name="Argument.value">true</stringProp>
  20128. <stringProp name="Argument.metadata">=</stringProp>
  20129. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20130. <stringProp name="Argument.name">ajax</stringProp>
  20131. <stringProp name="Argument.desc">false</stringProp>
  20132. </elementProp>
  20133. <elementProp name="isAjax" elementType="HTTPArgument">
  20134. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20135. <stringProp name="Argument.value">true</stringProp>
  20136. <stringProp name="Argument.metadata">=</stringProp>
  20137. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20138. <stringProp name="Argument.name">isAjax</stringProp>
  20139. <stringProp name="Argument.desc">false</stringProp>
  20140. </elementProp>
  20141. <elementProp name="form_key" elementType="HTTPArgument">
  20142. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20143. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  20144. <stringProp name="Argument.metadata">=</stringProp>
  20145. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20146. <stringProp name="Argument.name">form_key</stringProp>
  20147. <stringProp name="Argument.desc">false</stringProp>
  20148. </elementProp>
  20149. <elementProp name="product[name]" elementType="HTTPArgument">
  20150. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20151. <stringProp name="Argument.value">${simple_product_name}</stringProp>
  20152. <stringProp name="Argument.metadata">=</stringProp>
  20153. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20154. <stringProp name="Argument.name">product[name]</stringProp>
  20155. <stringProp name="Argument.desc">false</stringProp>
  20156. </elementProp>
  20157. <elementProp name="product[sku]" elementType="HTTPArgument">
  20158. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20159. <stringProp name="Argument.value">${simple_product_sku}</stringProp>
  20160. <stringProp name="Argument.metadata">=</stringProp>
  20161. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20162. <stringProp name="Argument.name">product[sku]</stringProp>
  20163. <stringProp name="Argument.desc">false</stringProp>
  20164. </elementProp>
  20165. <elementProp name="product[price]" elementType="HTTPArgument">
  20166. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20167. <stringProp name="Argument.value">${price_new}</stringProp>
  20168. <stringProp name="Argument.metadata">=</stringProp>
  20169. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20170. <stringProp name="Argument.name">product[price]</stringProp>
  20171. <stringProp name="Argument.desc">false</stringProp>
  20172. </elementProp>
  20173. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  20174. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20175. <stringProp name="Argument.value">2</stringProp>
  20176. <stringProp name="Argument.metadata">=</stringProp>
  20177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20178. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  20179. <stringProp name="Argument.desc">false</stringProp>
  20180. </elementProp>
  20181. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  20182. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20183. <stringProp name="Argument.value">${quantity_new}</stringProp>
  20184. <stringProp name="Argument.metadata">=</stringProp>
  20185. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20186. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  20187. <stringProp name="Argument.desc">false</stringProp>
  20188. </elementProp>
  20189. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  20190. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20191. <stringProp name="Argument.value">1</stringProp>
  20192. <stringProp name="Argument.metadata">=</stringProp>
  20193. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20194. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  20195. <stringProp name="Argument.desc">false</stringProp>
  20196. </elementProp>
  20197. <elementProp name="product[weight]" elementType="HTTPArgument">
  20198. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20199. <stringProp name="Argument.value">1.0000</stringProp>
  20200. <stringProp name="Argument.metadata">=</stringProp>
  20201. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20202. <stringProp name="Argument.name">product[weight]</stringProp>
  20203. <stringProp name="Argument.desc">false</stringProp>
  20204. </elementProp>
  20205. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  20206. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20207. <stringProp name="Argument.value">1</stringProp>
  20208. <stringProp name="Argument.metadata">=</stringProp>
  20209. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20210. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  20211. <stringProp name="Argument.desc">false</stringProp>
  20212. </elementProp>
  20213. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  20214. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20215. <stringProp name="Argument.value">${simple_product_category_id}</stringProp>
  20216. <stringProp name="Argument.metadata">=</stringProp>
  20217. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20218. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  20219. <stringProp name="Argument.desc">false</stringProp>
  20220. </elementProp>
  20221. <elementProp name="product[description]" elementType="HTTPArgument">
  20222. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20223. <stringProp name="Argument.value">&lt;p&gt;Full simple product Description ${simple_product_id} Edited&lt;/p&gt;</stringProp>
  20224. <stringProp name="Argument.metadata">=</stringProp>
  20225. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20226. <stringProp name="Argument.name">product[description]</stringProp>
  20227. <stringProp name="Argument.desc">false</stringProp>
  20228. </elementProp>
  20229. <elementProp name="product[status]" elementType="HTTPArgument">
  20230. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20231. <stringProp name="Argument.value">1</stringProp>
  20232. <stringProp name="Argument.metadata">=</stringProp>
  20233. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20234. <stringProp name="Argument.name">product[status]</stringProp>
  20235. <stringProp name="Argument.desc">false</stringProp>
  20236. </elementProp>
  20237. <elementProp name="product[configurable_variations]" elementType="HTTPArgument">
  20238. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20239. <stringProp name="Argument.value"/>
  20240. <stringProp name="Argument.metadata">=</stringProp>
  20241. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20242. <stringProp name="Argument.name">product[configurable_variations]</stringProp>
  20243. <stringProp name="Argument.desc">false</stringProp>
  20244. </elementProp>
  20245. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  20246. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20247. <stringProp name="Argument.value">1</stringProp>
  20248. <stringProp name="Argument.metadata">=</stringProp>
  20249. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20250. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  20251. <stringProp name="Argument.desc">false</stringProp>
  20252. </elementProp>
  20253. <elementProp name="product[image]" elementType="HTTPArgument">
  20254. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20255. <stringProp name="Argument.value"/>
  20256. <stringProp name="Argument.metadata">=</stringProp>
  20257. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20258. <stringProp name="Argument.name">product[image]</stringProp>
  20259. <stringProp name="Argument.desc">false</stringProp>
  20260. </elementProp>
  20261. <elementProp name="product[small_image]" elementType="HTTPArgument">
  20262. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20263. <stringProp name="Argument.value"/>
  20264. <stringProp name="Argument.metadata">=</stringProp>
  20265. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20266. <stringProp name="Argument.name">product[small_image]</stringProp>
  20267. <stringProp name="Argument.desc">false</stringProp>
  20268. </elementProp>
  20269. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  20270. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20271. <stringProp name="Argument.value"/>
  20272. <stringProp name="Argument.metadata">=</stringProp>
  20273. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20274. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  20275. <stringProp name="Argument.desc">false</stringProp>
  20276. </elementProp>
  20277. <elementProp name="product[url_key]" elementType="HTTPArgument">
  20278. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20279. <stringProp name="Argument.value">${simple_product_name}</stringProp>
  20280. <stringProp name="Argument.metadata">=</stringProp>
  20281. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20282. <stringProp name="Argument.name">product[url_key]</stringProp>
  20283. <stringProp name="Argument.desc">false</stringProp>
  20284. </elementProp>
  20285. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  20286. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20287. <stringProp name="Argument.value">${simple_product_name} Meta Title Edited</stringProp>
  20288. <stringProp name="Argument.metadata">=</stringProp>
  20289. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20290. <stringProp name="Argument.name">product[meta_title]</stringProp>
  20291. <stringProp name="Argument.desc">false</stringProp>
  20292. </elementProp>
  20293. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  20294. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20295. <stringProp name="Argument.value">${simple_product_name} Meta Keyword Edited</stringProp>
  20296. <stringProp name="Argument.metadata">=</stringProp>
  20297. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20298. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  20299. <stringProp name="Argument.desc">false</stringProp>
  20300. </elementProp>
  20301. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  20302. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20303. <stringProp name="Argument.value">${simple_product_name} Meta Description Edited</stringProp>
  20304. <stringProp name="Argument.metadata">=</stringProp>
  20305. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20306. <stringProp name="Argument.name">product[meta_description]</stringProp>
  20307. <stringProp name="Argument.desc">false</stringProp>
  20308. </elementProp>
  20309. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  20310. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20311. <stringProp name="Argument.value">1</stringProp>
  20312. <stringProp name="Argument.metadata">=</stringProp>
  20313. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20314. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  20315. <stringProp name="Argument.desc">false</stringProp>
  20316. </elementProp>
  20317. <elementProp name="product[special_price]" elementType="HTTPArgument">
  20318. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20319. <stringProp name="Argument.value">${special_price_new}</stringProp>
  20320. <stringProp name="Argument.metadata">=</stringProp>
  20321. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20322. <stringProp name="Argument.name">product[special_price]</stringProp>
  20323. <stringProp name="Argument.desc">false</stringProp>
  20324. </elementProp>
  20325. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  20326. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20327. <stringProp name="Argument.value"/>
  20328. <stringProp name="Argument.metadata">=</stringProp>
  20329. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20330. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  20331. <stringProp name="Argument.desc">false</stringProp>
  20332. </elementProp>
  20333. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  20334. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20335. <stringProp name="Argument.value"/>
  20336. <stringProp name="Argument.metadata">=</stringProp>
  20337. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20338. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  20339. <stringProp name="Argument.desc">false</stringProp>
  20340. </elementProp>
  20341. <elementProp name="product[cost]" elementType="HTTPArgument">
  20342. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20343. <stringProp name="Argument.value"/>
  20344. <stringProp name="Argument.metadata">=</stringProp>
  20345. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20346. <stringProp name="Argument.name">product[cost]</stringProp>
  20347. <stringProp name="Argument.desc">false</stringProp>
  20348. </elementProp>
  20349. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  20350. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20351. <stringProp name="Argument.value">1</stringProp>
  20352. <stringProp name="Argument.metadata">=</stringProp>
  20353. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20354. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  20355. <stringProp name="Argument.desc">false</stringProp>
  20356. </elementProp>
  20357. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  20358. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20359. <stringProp name="Argument.value">${quantity_new}</stringProp>
  20360. <stringProp name="Argument.metadata">=</stringProp>
  20361. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20362. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  20363. <stringProp name="Argument.desc">false</stringProp>
  20364. </elementProp>
  20365. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  20366. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20367. <stringProp name="Argument.value">${quantity_new}</stringProp>
  20368. <stringProp name="Argument.metadata">=</stringProp>
  20369. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20370. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  20371. <stringProp name="Argument.desc">false</stringProp>
  20372. </elementProp>
  20373. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  20374. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20375. <stringProp name="Argument.value">0</stringProp>
  20376. <stringProp name="Argument.metadata">=</stringProp>
  20377. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20378. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  20379. <stringProp name="Argument.desc">false</stringProp>
  20380. </elementProp>
  20381. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  20382. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20383. <stringProp name="Argument.value">1</stringProp>
  20384. <stringProp name="Argument.metadata">=</stringProp>
  20385. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20386. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  20387. <stringProp name="Argument.desc">false</stringProp>
  20388. </elementProp>
  20389. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  20390. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20391. <stringProp name="Argument.value">1</stringProp>
  20392. <stringProp name="Argument.metadata">=</stringProp>
  20393. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20394. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  20395. <stringProp name="Argument.desc">false</stringProp>
  20396. </elementProp>
  20397. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  20398. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20399. <stringProp name="Argument.value">1</stringProp>
  20400. <stringProp name="Argument.metadata">=</stringProp>
  20401. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20402. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  20403. <stringProp name="Argument.desc">false</stringProp>
  20404. </elementProp>
  20405. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  20406. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20407. <stringProp name="Argument.value">10000</stringProp>
  20408. <stringProp name="Argument.metadata">=</stringProp>
  20409. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20410. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  20411. <stringProp name="Argument.desc">false</stringProp>
  20412. </elementProp>
  20413. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  20414. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20415. <stringProp name="Argument.value">1</stringProp>
  20416. <stringProp name="Argument.metadata">=</stringProp>
  20417. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20418. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  20419. <stringProp name="Argument.desc">false</stringProp>
  20420. </elementProp>
  20421. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  20422. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20423. <stringProp name="Argument.value">0</stringProp>
  20424. <stringProp name="Argument.metadata">=</stringProp>
  20425. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20426. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  20427. <stringProp name="Argument.desc">false</stringProp>
  20428. </elementProp>
  20429. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  20430. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20431. <stringProp name="Argument.value">0</stringProp>
  20432. <stringProp name="Argument.metadata">=</stringProp>
  20433. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20434. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  20435. <stringProp name="Argument.desc">false</stringProp>
  20436. </elementProp>
  20437. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  20438. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20439. <stringProp name="Argument.value">0</stringProp>
  20440. <stringProp name="Argument.metadata">=</stringProp>
  20441. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20442. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  20443. <stringProp name="Argument.desc">false</stringProp>
  20444. </elementProp>
  20445. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  20446. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20447. <stringProp name="Argument.value">1</stringProp>
  20448. <stringProp name="Argument.metadata">=</stringProp>
  20449. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20450. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  20451. <stringProp name="Argument.desc">false</stringProp>
  20452. </elementProp>
  20453. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  20454. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20455. <stringProp name="Argument.value">1</stringProp>
  20456. <stringProp name="Argument.metadata">=</stringProp>
  20457. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20458. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  20459. <stringProp name="Argument.desc">false</stringProp>
  20460. </elementProp>
  20461. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  20462. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20463. <stringProp name="Argument.value">1</stringProp>
  20464. <stringProp name="Argument.metadata">=</stringProp>
  20465. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20466. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  20467. <stringProp name="Argument.desc">false</stringProp>
  20468. </elementProp>
  20469. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  20470. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20471. <stringProp name="Argument.value">0</stringProp>
  20472. <stringProp name="Argument.metadata">=</stringProp>
  20473. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20474. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  20475. <stringProp name="Argument.desc">false</stringProp>
  20476. </elementProp>
  20477. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  20478. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20479. <stringProp name="Argument.value">0</stringProp>
  20480. <stringProp name="Argument.metadata">=</stringProp>
  20481. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20482. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  20483. <stringProp name="Argument.desc">false</stringProp>
  20484. </elementProp>
  20485. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  20486. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20487. <stringProp name="Argument.value">1</stringProp>
  20488. <stringProp name="Argument.metadata">=</stringProp>
  20489. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20490. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  20491. <stringProp name="Argument.desc">false</stringProp>
  20492. </elementProp>
  20493. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  20494. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20495. <stringProp name="Argument.value">1</stringProp>
  20496. <stringProp name="Argument.metadata">=</stringProp>
  20497. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20498. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  20499. <stringProp name="Argument.desc">false</stringProp>
  20500. </elementProp>
  20501. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  20502. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20503. <stringProp name="Argument.value"/>
  20504. <stringProp name="Argument.metadata">=</stringProp>
  20505. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20506. <stringProp name="Argument.name">product[custom_design]</stringProp>
  20507. <stringProp name="Argument.desc">false</stringProp>
  20508. </elementProp>
  20509. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  20510. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20511. <stringProp name="Argument.value"/>
  20512. <stringProp name="Argument.metadata">=</stringProp>
  20513. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20514. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  20515. <stringProp name="Argument.desc">false</stringProp>
  20516. </elementProp>
  20517. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  20518. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20519. <stringProp name="Argument.value"/>
  20520. <stringProp name="Argument.metadata">=</stringProp>
  20521. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20522. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  20523. <stringProp name="Argument.desc">false</stringProp>
  20524. </elementProp>
  20525. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  20526. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20527. <stringProp name="Argument.value"/>
  20528. <stringProp name="Argument.metadata">=</stringProp>
  20529. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20530. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  20531. <stringProp name="Argument.desc">false</stringProp>
  20532. </elementProp>
  20533. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  20534. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20535. <stringProp name="Argument.value"/>
  20536. <stringProp name="Argument.metadata">=</stringProp>
  20537. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20538. <stringProp name="Argument.name">product[page_layout]</stringProp>
  20539. <stringProp name="Argument.desc">false</stringProp>
  20540. </elementProp>
  20541. <elementProp name="product[options_container]" elementType="HTTPArgument">
  20542. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20543. <stringProp name="Argument.value">container2</stringProp>
  20544. <stringProp name="Argument.metadata">=</stringProp>
  20545. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20546. <stringProp name="Argument.name">product[options_container]</stringProp>
  20547. <stringProp name="Argument.desc">false</stringProp>
  20548. </elementProp>
  20549. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  20550. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20551. <stringProp name="Argument.value"/>
  20552. <stringProp name="Argument.metadata">=</stringProp>
  20553. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20554. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  20555. <stringProp name="Argument.desc">false</stringProp>
  20556. </elementProp>
  20557. </collectionProp>
  20558. </elementProp>
  20559. <stringProp name="HTTPSampler.domain"/>
  20560. <stringProp name="HTTPSampler.port"/>
  20561. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  20562. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  20563. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  20564. <stringProp name="HTTPSampler.contentEncoding"/>
  20565. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/id/${simple_product_id}/?isAjax=true</stringProp>
  20566. <stringProp name="HTTPSampler.method">POST</stringProp>
  20567. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  20568. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  20569. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  20570. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  20571. <boolProp name="HTTPSampler.monitor">false</boolProp>
  20572. <stringProp name="HTTPSampler.embedded_url_re"/>
  20573. </HTTPSamplerProxy>
  20574. <hashTree>
  20575. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  20576. <collectionProp name="Asserion.test_strings">
  20577. <stringProp name="1853918323">{"error":false}</stringProp>
  20578. </collectionProp>
  20579. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  20580. <boolProp name="Assertion.assume_success">false</boolProp>
  20581. <intProp name="Assertion.test_type">2</intProp>
  20582. </ResponseAssertion>
  20583. <hashTree/>
  20584. </hashTree>
  20585. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Simple Product Save" enabled="true">
  20586. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  20587. <collectionProp name="Arguments.arguments">
  20588. <elementProp name="ajax" elementType="HTTPArgument">
  20589. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20590. <stringProp name="Argument.value">true</stringProp>
  20591. <stringProp name="Argument.metadata">=</stringProp>
  20592. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20593. <stringProp name="Argument.name">ajax</stringProp>
  20594. <stringProp name="Argument.desc">false</stringProp>
  20595. </elementProp>
  20596. <elementProp name="isAjax" elementType="HTTPArgument">
  20597. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20598. <stringProp name="Argument.value">true</stringProp>
  20599. <stringProp name="Argument.metadata">=</stringProp>
  20600. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20601. <stringProp name="Argument.name">isAjax</stringProp>
  20602. <stringProp name="Argument.desc">false</stringProp>
  20603. </elementProp>
  20604. <elementProp name="form_key" elementType="HTTPArgument">
  20605. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20606. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  20607. <stringProp name="Argument.metadata">=</stringProp>
  20608. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20609. <stringProp name="Argument.name">form_key</stringProp>
  20610. <stringProp name="Argument.desc">false</stringProp>
  20611. </elementProp>
  20612. <elementProp name="product[name]" elementType="HTTPArgument">
  20613. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20614. <stringProp name="Argument.value">${simple_product_name}</stringProp>
  20615. <stringProp name="Argument.metadata">=</stringProp>
  20616. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20617. <stringProp name="Argument.name">product[name]</stringProp>
  20618. <stringProp name="Argument.desc">false</stringProp>
  20619. </elementProp>
  20620. <elementProp name="product[sku]" elementType="HTTPArgument">
  20621. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20622. <stringProp name="Argument.value">${simple_product_sku}</stringProp>
  20623. <stringProp name="Argument.metadata">=</stringProp>
  20624. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20625. <stringProp name="Argument.name">product[sku]</stringProp>
  20626. <stringProp name="Argument.desc">false</stringProp>
  20627. </elementProp>
  20628. <elementProp name="product[price]" elementType="HTTPArgument">
  20629. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20630. <stringProp name="Argument.value">${price_new}</stringProp>
  20631. <stringProp name="Argument.metadata">=</stringProp>
  20632. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20633. <stringProp name="Argument.name">product[price]</stringProp>
  20634. <stringProp name="Argument.desc">false</stringProp>
  20635. </elementProp>
  20636. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  20637. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20638. <stringProp name="Argument.value">2</stringProp>
  20639. <stringProp name="Argument.metadata">=</stringProp>
  20640. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20641. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  20642. <stringProp name="Argument.desc">false</stringProp>
  20643. </elementProp>
  20644. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  20645. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20646. <stringProp name="Argument.value">${quantity_new}</stringProp>
  20647. <stringProp name="Argument.metadata">=</stringProp>
  20648. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20649. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  20650. <stringProp name="Argument.desc">false</stringProp>
  20651. </elementProp>
  20652. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  20653. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20654. <stringProp name="Argument.value">1</stringProp>
  20655. <stringProp name="Argument.metadata">=</stringProp>
  20656. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20657. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  20658. <stringProp name="Argument.desc">false</stringProp>
  20659. </elementProp>
  20660. <elementProp name="product[weight]" elementType="HTTPArgument">
  20661. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20662. <stringProp name="Argument.value">1.0000</stringProp>
  20663. <stringProp name="Argument.metadata">=</stringProp>
  20664. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20665. <stringProp name="Argument.name">product[weight]</stringProp>
  20666. <stringProp name="Argument.desc">false</stringProp>
  20667. </elementProp>
  20668. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  20669. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20670. <stringProp name="Argument.value">1</stringProp>
  20671. <stringProp name="Argument.metadata">=</stringProp>
  20672. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20673. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  20674. <stringProp name="Argument.desc">false</stringProp>
  20675. </elementProp>
  20676. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  20677. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20678. <stringProp name="Argument.value">${simple_product_category_id}</stringProp>
  20679. <stringProp name="Argument.metadata">=</stringProp>
  20680. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20681. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  20682. <stringProp name="Argument.desc">false</stringProp>
  20683. </elementProp>
  20684. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  20685. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20686. <stringProp name="Argument.value">${category_additional}</stringProp>
  20687. <stringProp name="Argument.metadata">=</stringProp>
  20688. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20689. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  20690. </elementProp>
  20691. <elementProp name="product[description]" elementType="HTTPArgument">
  20692. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20693. <stringProp name="Argument.value">&lt;p&gt;Full simple product Description ${simple_product_id} Edited&lt;/p&gt;</stringProp>
  20694. <stringProp name="Argument.metadata">=</stringProp>
  20695. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20696. <stringProp name="Argument.name">product[description]</stringProp>
  20697. <stringProp name="Argument.desc">false</stringProp>
  20698. </elementProp>
  20699. <elementProp name="product[status]" elementType="HTTPArgument">
  20700. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20701. <stringProp name="Argument.value">1</stringProp>
  20702. <stringProp name="Argument.metadata">=</stringProp>
  20703. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20704. <stringProp name="Argument.name">product[status]</stringProp>
  20705. <stringProp name="Argument.desc">false</stringProp>
  20706. </elementProp>
  20707. <elementProp name="product[configurable_variations]" elementType="HTTPArgument">
  20708. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20709. <stringProp name="Argument.value"/>
  20710. <stringProp name="Argument.metadata">=</stringProp>
  20711. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20712. <stringProp name="Argument.name">product[configurable_variations]</stringProp>
  20713. <stringProp name="Argument.desc">false</stringProp>
  20714. </elementProp>
  20715. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  20716. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20717. <stringProp name="Argument.value">1</stringProp>
  20718. <stringProp name="Argument.metadata">=</stringProp>
  20719. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20720. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  20721. <stringProp name="Argument.desc">false</stringProp>
  20722. </elementProp>
  20723. <elementProp name="product[image]" elementType="HTTPArgument">
  20724. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20725. <stringProp name="Argument.value"/>
  20726. <stringProp name="Argument.metadata">=</stringProp>
  20727. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20728. <stringProp name="Argument.name">product[image]</stringProp>
  20729. <stringProp name="Argument.desc">false</stringProp>
  20730. </elementProp>
  20731. <elementProp name="product[small_image]" elementType="HTTPArgument">
  20732. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20733. <stringProp name="Argument.value"/>
  20734. <stringProp name="Argument.metadata">=</stringProp>
  20735. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20736. <stringProp name="Argument.name">product[small_image]</stringProp>
  20737. <stringProp name="Argument.desc">false</stringProp>
  20738. </elementProp>
  20739. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  20740. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20741. <stringProp name="Argument.value"/>
  20742. <stringProp name="Argument.metadata">=</stringProp>
  20743. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20744. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  20745. <stringProp name="Argument.desc">false</stringProp>
  20746. </elementProp>
  20747. <elementProp name="product[url_key]" elementType="HTTPArgument">
  20748. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20749. <stringProp name="Argument.value">${simple_product_name}</stringProp>
  20750. <stringProp name="Argument.metadata">=</stringProp>
  20751. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20752. <stringProp name="Argument.name">product[url_key]</stringProp>
  20753. <stringProp name="Argument.desc">false</stringProp>
  20754. </elementProp>
  20755. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  20756. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20757. <stringProp name="Argument.value">${simple_product_name} Meta Title Edited</stringProp>
  20758. <stringProp name="Argument.metadata">=</stringProp>
  20759. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20760. <stringProp name="Argument.name">product[meta_title]</stringProp>
  20761. <stringProp name="Argument.desc">false</stringProp>
  20762. </elementProp>
  20763. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  20764. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20765. <stringProp name="Argument.value">${simple_product_name} Meta Keyword Edited</stringProp>
  20766. <stringProp name="Argument.metadata">=</stringProp>
  20767. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20768. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  20769. <stringProp name="Argument.desc">false</stringProp>
  20770. </elementProp>
  20771. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  20772. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20773. <stringProp name="Argument.value">${simple_product_name} Meta Description Edited</stringProp>
  20774. <stringProp name="Argument.metadata">=</stringProp>
  20775. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20776. <stringProp name="Argument.name">product[meta_description]</stringProp>
  20777. <stringProp name="Argument.desc">false</stringProp>
  20778. </elementProp>
  20779. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  20780. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20781. <stringProp name="Argument.value">1</stringProp>
  20782. <stringProp name="Argument.metadata">=</stringProp>
  20783. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20784. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  20785. <stringProp name="Argument.desc">false</stringProp>
  20786. </elementProp>
  20787. <elementProp name="product[special_price]" elementType="HTTPArgument">
  20788. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20789. <stringProp name="Argument.value">${special_price_new}</stringProp>
  20790. <stringProp name="Argument.metadata">=</stringProp>
  20791. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20792. <stringProp name="Argument.name">product[special_price]</stringProp>
  20793. <stringProp name="Argument.desc">false</stringProp>
  20794. </elementProp>
  20795. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  20796. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20797. <stringProp name="Argument.value"/>
  20798. <stringProp name="Argument.metadata">=</stringProp>
  20799. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20800. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  20801. <stringProp name="Argument.desc">false</stringProp>
  20802. </elementProp>
  20803. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  20804. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20805. <stringProp name="Argument.value"/>
  20806. <stringProp name="Argument.metadata">=</stringProp>
  20807. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20808. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  20809. <stringProp name="Argument.desc">false</stringProp>
  20810. </elementProp>
  20811. <elementProp name="product[cost]" elementType="HTTPArgument">
  20812. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20813. <stringProp name="Argument.value"/>
  20814. <stringProp name="Argument.metadata">=</stringProp>
  20815. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20816. <stringProp name="Argument.name">product[cost]</stringProp>
  20817. <stringProp name="Argument.desc">false</stringProp>
  20818. </elementProp>
  20819. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  20820. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20821. <stringProp name="Argument.value">1</stringProp>
  20822. <stringProp name="Argument.metadata">=</stringProp>
  20823. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20824. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  20825. <stringProp name="Argument.desc">false</stringProp>
  20826. </elementProp>
  20827. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  20828. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20829. <stringProp name="Argument.value">${quantity_new}</stringProp>
  20830. <stringProp name="Argument.metadata">=</stringProp>
  20831. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20832. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  20833. <stringProp name="Argument.desc">false</stringProp>
  20834. </elementProp>
  20835. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  20836. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20837. <stringProp name="Argument.value">${quantity_new}</stringProp>
  20838. <stringProp name="Argument.metadata">=</stringProp>
  20839. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20840. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  20841. <stringProp name="Argument.desc">false</stringProp>
  20842. </elementProp>
  20843. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  20844. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20845. <stringProp name="Argument.value">0</stringProp>
  20846. <stringProp name="Argument.metadata">=</stringProp>
  20847. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20848. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  20849. <stringProp name="Argument.desc">false</stringProp>
  20850. </elementProp>
  20851. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  20852. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20853. <stringProp name="Argument.value">1</stringProp>
  20854. <stringProp name="Argument.metadata">=</stringProp>
  20855. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20856. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  20857. <stringProp name="Argument.desc">false</stringProp>
  20858. </elementProp>
  20859. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  20860. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20861. <stringProp name="Argument.value">1</stringProp>
  20862. <stringProp name="Argument.metadata">=</stringProp>
  20863. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20864. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  20865. <stringProp name="Argument.desc">false</stringProp>
  20866. </elementProp>
  20867. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  20868. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20869. <stringProp name="Argument.value">1</stringProp>
  20870. <stringProp name="Argument.metadata">=</stringProp>
  20871. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20872. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  20873. <stringProp name="Argument.desc">false</stringProp>
  20874. </elementProp>
  20875. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  20876. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20877. <stringProp name="Argument.value">10000</stringProp>
  20878. <stringProp name="Argument.metadata">=</stringProp>
  20879. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20880. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  20881. <stringProp name="Argument.desc">false</stringProp>
  20882. </elementProp>
  20883. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  20884. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20885. <stringProp name="Argument.value">1</stringProp>
  20886. <stringProp name="Argument.metadata">=</stringProp>
  20887. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20888. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  20889. <stringProp name="Argument.desc">false</stringProp>
  20890. </elementProp>
  20891. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  20892. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20893. <stringProp name="Argument.value">0</stringProp>
  20894. <stringProp name="Argument.metadata">=</stringProp>
  20895. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20896. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  20897. <stringProp name="Argument.desc">false</stringProp>
  20898. </elementProp>
  20899. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  20900. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20901. <stringProp name="Argument.value">0</stringProp>
  20902. <stringProp name="Argument.metadata">=</stringProp>
  20903. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20904. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  20905. <stringProp name="Argument.desc">false</stringProp>
  20906. </elementProp>
  20907. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  20908. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20909. <stringProp name="Argument.value">0</stringProp>
  20910. <stringProp name="Argument.metadata">=</stringProp>
  20911. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20912. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  20913. <stringProp name="Argument.desc">false</stringProp>
  20914. </elementProp>
  20915. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  20916. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20917. <stringProp name="Argument.value">1</stringProp>
  20918. <stringProp name="Argument.metadata">=</stringProp>
  20919. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20920. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  20921. <stringProp name="Argument.desc">false</stringProp>
  20922. </elementProp>
  20923. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  20924. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20925. <stringProp name="Argument.value">1</stringProp>
  20926. <stringProp name="Argument.metadata">=</stringProp>
  20927. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20928. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  20929. <stringProp name="Argument.desc">false</stringProp>
  20930. </elementProp>
  20931. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  20932. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20933. <stringProp name="Argument.value">1</stringProp>
  20934. <stringProp name="Argument.metadata">=</stringProp>
  20935. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20936. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  20937. <stringProp name="Argument.desc">false</stringProp>
  20938. </elementProp>
  20939. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  20940. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20941. <stringProp name="Argument.value">0</stringProp>
  20942. <stringProp name="Argument.metadata">=</stringProp>
  20943. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20944. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  20945. <stringProp name="Argument.desc">false</stringProp>
  20946. </elementProp>
  20947. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  20948. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20949. <stringProp name="Argument.value">0</stringProp>
  20950. <stringProp name="Argument.metadata">=</stringProp>
  20951. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20952. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  20953. <stringProp name="Argument.desc">false</stringProp>
  20954. </elementProp>
  20955. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  20956. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20957. <stringProp name="Argument.value">1</stringProp>
  20958. <stringProp name="Argument.metadata">=</stringProp>
  20959. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20960. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  20961. <stringProp name="Argument.desc">false</stringProp>
  20962. </elementProp>
  20963. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  20964. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20965. <stringProp name="Argument.value">1</stringProp>
  20966. <stringProp name="Argument.metadata">=</stringProp>
  20967. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20968. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  20969. <stringProp name="Argument.desc">false</stringProp>
  20970. </elementProp>
  20971. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  20972. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20973. <stringProp name="Argument.value"/>
  20974. <stringProp name="Argument.metadata">=</stringProp>
  20975. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20976. <stringProp name="Argument.name">product[custom_design]</stringProp>
  20977. <stringProp name="Argument.desc">false</stringProp>
  20978. </elementProp>
  20979. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  20980. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20981. <stringProp name="Argument.value"/>
  20982. <stringProp name="Argument.metadata">=</stringProp>
  20983. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20984. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  20985. <stringProp name="Argument.desc">false</stringProp>
  20986. </elementProp>
  20987. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  20988. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20989. <stringProp name="Argument.value"/>
  20990. <stringProp name="Argument.metadata">=</stringProp>
  20991. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  20992. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  20993. <stringProp name="Argument.desc">false</stringProp>
  20994. </elementProp>
  20995. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  20996. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  20997. <stringProp name="Argument.value"/>
  20998. <stringProp name="Argument.metadata">=</stringProp>
  20999. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21000. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  21001. <stringProp name="Argument.desc">false</stringProp>
  21002. </elementProp>
  21003. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  21004. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21005. <stringProp name="Argument.value"/>
  21006. <stringProp name="Argument.metadata">=</stringProp>
  21007. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21008. <stringProp name="Argument.name">product[page_layout]</stringProp>
  21009. <stringProp name="Argument.desc">false</stringProp>
  21010. </elementProp>
  21011. <elementProp name="product[options_container]" elementType="HTTPArgument">
  21012. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21013. <stringProp name="Argument.value">container2</stringProp>
  21014. <stringProp name="Argument.metadata">=</stringProp>
  21015. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21016. <stringProp name="Argument.name">product[options_container]</stringProp>
  21017. <stringProp name="Argument.desc">false</stringProp>
  21018. </elementProp>
  21019. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  21020. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21021. <stringProp name="Argument.value"/>
  21022. <stringProp name="Argument.metadata">=</stringProp>
  21023. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21024. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  21025. <stringProp name="Argument.desc">false</stringProp>
  21026. </elementProp>
  21027. </collectionProp>
  21028. </elementProp>
  21029. <stringProp name="HTTPSampler.domain"/>
  21030. <stringProp name="HTTPSampler.port"/>
  21031. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  21032. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  21033. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  21034. <stringProp name="HTTPSampler.contentEncoding"/>
  21035. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/id/${simple_product_id}/back/edit/active_tab/product-details/</stringProp>
  21036. <stringProp name="HTTPSampler.method">POST</stringProp>
  21037. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  21038. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  21039. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  21040. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  21041. <boolProp name="HTTPSampler.monitor">false</boolProp>
  21042. <stringProp name="HTTPSampler.embedded_url_re"/>
  21043. </HTTPSamplerProxy>
  21044. <hashTree>
  21045. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  21046. <collectionProp name="Asserion.test_strings">
  21047. <stringProp name="-583471546">You saved the product</stringProp>
  21048. </collectionProp>
  21049. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  21050. <boolProp name="Assertion.assume_success">false</boolProp>
  21051. <intProp name="Assertion.test_type">2</intProp>
  21052. </ResponseAssertion>
  21053. <hashTree/>
  21054. </hashTree>
  21055. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Configurable Product" enabled="true">
  21056. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  21057. <collectionProp name="Arguments.arguments"/>
  21058. </elementProp>
  21059. <stringProp name="HTTPSampler.domain"/>
  21060. <stringProp name="HTTPSampler.port"/>
  21061. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  21062. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  21063. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  21064. <stringProp name="HTTPSampler.contentEncoding"/>
  21065. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/edit/id/${configurable_product_id}/</stringProp>
  21066. <stringProp name="HTTPSampler.method">GET</stringProp>
  21067. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  21068. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  21069. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  21070. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  21071. <boolProp name="HTTPSampler.monitor">false</boolProp>
  21072. <stringProp name="HTTPSampler.embedded_url_re"/>
  21073. </HTTPSamplerProxy>
  21074. <hashTree>
  21075. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  21076. <collectionProp name="Asserion.test_strings">
  21077. <stringProp name="1355179215">Product</stringProp>
  21078. </collectionProp>
  21079. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  21080. <boolProp name="Assertion.assume_success">false</boolProp>
  21081. <intProp name="Assertion.test_type">16</intProp>
  21082. </ResponseAssertion>
  21083. <hashTree/>
  21084. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract name" enabled="true">
  21085. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21086. <stringProp name="RegexExtractor.refname">configurable_product_name</stringProp>
  21087. <stringProp name="RegexExtractor.regex">,"name":"([^'"]+)",</stringProp>
  21088. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21089. <stringProp name="RegexExtractor.default"/>
  21090. <stringProp name="RegexExtractor.match_number">1</stringProp>
  21091. </RegexExtractor>
  21092. <hashTree/>
  21093. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract sku" enabled="true">
  21094. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21095. <stringProp name="RegexExtractor.refname">configurable_product_sku</stringProp>
  21096. <stringProp name="RegexExtractor.regex">,"sku":"([^'"]+)",</stringProp>
  21097. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21098. <stringProp name="RegexExtractor.default"/>
  21099. <stringProp name="RegexExtractor.match_number">1</stringProp>
  21100. </RegexExtractor>
  21101. <hashTree/>
  21102. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category" enabled="true">
  21103. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21104. <stringProp name="RegexExtractor.refname">configurable_product_category_id</stringProp>
  21105. <stringProp name="RegexExtractor.regex">,"category_ids":."(\d+)"</stringProp>
  21106. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21107. <stringProp name="RegexExtractor.default"/>
  21108. <stringProp name="RegexExtractor.match_number">1</stringProp>
  21109. </RegexExtractor>
  21110. <hashTree/>
  21111. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract configurable attribute id" enabled="true">
  21112. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21113. <stringProp name="RegexExtractor.refname">configurable_attribute_id</stringProp>
  21114. <stringProp name="RegexExtractor.regex">,"configurable_variation":"([^'"]+)",</stringProp>
  21115. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21116. <stringProp name="RegexExtractor.default"/>
  21117. <stringProp name="RegexExtractor.match_number">1</stringProp>
  21118. <boolProp name="RegexExtractor.default_empty_value">true</boolProp>
  21119. </RegexExtractor>
  21120. <hashTree/>
  21121. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract configurable matrix" enabled="true">
  21122. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21123. <stringProp name="RegexExtractor.refname">configurable_matrix</stringProp>
  21124. <stringProp name="RegexExtractor.regex">"configurable-matrix":(\[.*?\])</stringProp>
  21125. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21126. <stringProp name="RegexExtractor.default"/>
  21127. <stringProp name="RegexExtractor.match_number">1</stringProp>
  21128. <boolProp name="RegexExtractor.default_empty_value">true</boolProp>
  21129. </RegexExtractor>
  21130. <hashTree/>
  21131. <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 associated products ids" enabled="true">
  21132. <stringProp name="VAR">associated_products_ids</stringProp>
  21133. <stringProp name="JSONPATH">$.[*].id</stringProp>
  21134. <stringProp name="DEFAULT"/>
  21135. <stringProp name="VARIABLE">configurable_matrix</stringProp>
  21136. <stringProp name="SUBJECT">VAR</stringProp>
  21137. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  21138. <hashTree/>
  21139. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract configurable product json" enabled="true">
  21140. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21141. <stringProp name="RegexExtractor.refname">configurable_product_data</stringProp>
  21142. <stringProp name="RegexExtractor.regex">(\{"product":.*?configurable_attributes_data.*?\})\s*&lt;</stringProp>
  21143. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21144. <stringProp name="RegexExtractor.default"/>
  21145. <stringProp name="RegexExtractor.match_number">1</stringProp>
  21146. </RegexExtractor>
  21147. <hashTree/>
  21148. <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 configurable attributes data" enabled="true">
  21149. <stringProp name="VAR">configurable_attributes_data</stringProp>
  21150. <stringProp name="JSONPATH">$.product.configurable_attributes_data</stringProp>
  21151. <stringProp name="DEFAULT"/>
  21152. <stringProp name="VARIABLE">configurable_product_data</stringProp>
  21153. <stringProp name="SUBJECT">VAR</stringProp>
  21154. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  21155. <hashTree/>
  21156. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract attribute ids" enabled="true">
  21157. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21158. <stringProp name="RegexExtractor.refname">configurable_attribute_ids</stringProp>
  21159. <stringProp name="RegexExtractor.regex">"attribute_id":"(\d+)"</stringProp>
  21160. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21161. <stringProp name="RegexExtractor.default"/>
  21162. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  21163. <stringProp name="Sample.scope">variable</stringProp>
  21164. <stringProp name="Scope.variable">configurable_attributes_data</stringProp>
  21165. </RegexExtractor>
  21166. <hashTree/>
  21167. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract attribute codes" enabled="true">
  21168. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21169. <stringProp name="RegexExtractor.refname">configurable_attribute_codes</stringProp>
  21170. <stringProp name="RegexExtractor.regex">"code":"(\w+)"</stringProp>
  21171. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21172. <stringProp name="RegexExtractor.default"/>
  21173. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  21174. <stringProp name="Sample.scope">variable</stringProp>
  21175. <stringProp name="Scope.variable">configurable_attributes_data</stringProp>
  21176. </RegexExtractor>
  21177. <hashTree/>
  21178. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract attribute labels" enabled="true">
  21179. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21180. <stringProp name="RegexExtractor.refname">configurable_attribute_labels</stringProp>
  21181. <stringProp name="RegexExtractor.regex">"label":"(.*?)"</stringProp>
  21182. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21183. <stringProp name="RegexExtractor.default"/>
  21184. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  21185. <stringProp name="Sample.scope">variable</stringProp>
  21186. <stringProp name="Scope.variable">configurable_attributes_data</stringProp>
  21187. </RegexExtractor>
  21188. <hashTree/>
  21189. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract attribute values" enabled="true">
  21190. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21191. <stringProp name="RegexExtractor.refname">configurable_attribute_values</stringProp>
  21192. <stringProp name="RegexExtractor.regex">"values":(\{(?:\}|.*?\}\}))</stringProp>
  21193. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21194. <stringProp name="RegexExtractor.default"/>
  21195. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  21196. <stringProp name="Sample.scope">variable</stringProp>
  21197. <stringProp name="Scope.variable">configurable_attributes_data</stringProp>
  21198. </RegexExtractor>
  21199. <hashTree/>
  21200. </hashTree>
  21201. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach configurable attribute id" enabled="true">
  21202. <stringProp name="ForeachController.inputVal">configurable_attribute_ids</stringProp>
  21203. <stringProp name="ForeachController.returnVal">configurable_attribute_id</stringProp>
  21204. <boolProp name="ForeachController.useSeparator">true</boolProp>
  21205. </ForeachController>
  21206. <hashTree>
  21207. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
  21208. <stringProp name="CounterConfig.start">1</stringProp>
  21209. <stringProp name="CounterConfig.end">${configurable_attribute_ids_matchNr}</stringProp>
  21210. <stringProp name="CounterConfig.incr">1</stringProp>
  21211. <stringProp name="CounterConfig.name">attribute_counter</stringProp>
  21212. <stringProp name="CounterConfig.format"/>
  21213. <boolProp name="CounterConfig.per_user">true</boolProp>
  21214. <boolProp name="CounterConfig.reset_on_tg_iteration">true</boolProp>
  21215. </CounterConfig>
  21216. <hashTree/>
  21217. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Process configurable attribute values" enabled="true">
  21218. <stringProp name="BeanShellSampler.query">return vars.get("configurable_attribute_values_" + vars.get("attribute_counter"));</stringProp>
  21219. <stringProp name="BeanShellSampler.filename"/>
  21220. <stringProp name="BeanShellSampler.parameters"/>
  21221. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  21222. </BeanShellSampler>
  21223. <hashTree>
  21224. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Exctract attribute values" enabled="true">
  21225. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  21226. <stringProp name="RegexExtractor.refname">attribute_${configurable_attribute_id}_values</stringProp>
  21227. <stringProp name="RegexExtractor.regex">"value_index":"(\d+)"</stringProp>
  21228. <stringProp name="RegexExtractor.template">$1$</stringProp>
  21229. <stringProp name="RegexExtractor.default"/>
  21230. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  21231. <stringProp name="Scope.variable">configurable_attribute_values_${attribute_counter}</stringProp>
  21232. </RegexExtractor>
  21233. <hashTree/>
  21234. </hashTree>
  21235. </hashTree>
  21236. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Configurable Product Validate" enabled="true">
  21237. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  21238. <collectionProp name="Arguments.arguments">
  21239. <elementProp name="isAjax" elementType="HTTPArgument">
  21240. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21241. <stringProp name="Argument.value">true</stringProp>
  21242. <stringProp name="Argument.metadata">=</stringProp>
  21243. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21244. <stringProp name="Argument.name">isAjax</stringProp>
  21245. <stringProp name="Argument.desc">false</stringProp>
  21246. </elementProp>
  21247. <elementProp name="form_key" elementType="HTTPArgument">
  21248. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21249. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  21250. <stringProp name="Argument.metadata">=</stringProp>
  21251. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21252. <stringProp name="Argument.name">form_key</stringProp>
  21253. <stringProp name="Argument.desc">false</stringProp>
  21254. </elementProp>
  21255. <elementProp name="product[name]" elementType="HTTPArgument">
  21256. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21257. <stringProp name="Argument.value">${configurable_product_name}</stringProp>
  21258. <stringProp name="Argument.metadata">=</stringProp>
  21259. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21260. <stringProp name="Argument.name">product[name]</stringProp>
  21261. <stringProp name="Argument.desc">false</stringProp>
  21262. </elementProp>
  21263. <elementProp name="product[sku]" elementType="HTTPArgument">
  21264. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21265. <stringProp name="Argument.value">${configurable_product_sku}</stringProp>
  21266. <stringProp name="Argument.metadata">=</stringProp>
  21267. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21268. <stringProp name="Argument.name">product[sku]</stringProp>
  21269. <stringProp name="Argument.desc">false</stringProp>
  21270. </elementProp>
  21271. <elementProp name="product[price]" elementType="HTTPArgument">
  21272. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21273. <stringProp name="Argument.value">${price_new}</stringProp>
  21274. <stringProp name="Argument.metadata">=</stringProp>
  21275. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21276. <stringProp name="Argument.name">product[price]</stringProp>
  21277. <stringProp name="Argument.desc">false</stringProp>
  21278. </elementProp>
  21279. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  21280. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21281. <stringProp name="Argument.value">2</stringProp>
  21282. <stringProp name="Argument.metadata">=</stringProp>
  21283. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21284. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  21285. <stringProp name="Argument.desc">false</stringProp>
  21286. </elementProp>
  21287. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  21288. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21289. <stringProp name="Argument.value">1</stringProp>
  21290. <stringProp name="Argument.metadata">=</stringProp>
  21291. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21292. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  21293. <stringProp name="Argument.desc">false</stringProp>
  21294. </elementProp>
  21295. <elementProp name="product[weight]" elementType="HTTPArgument">
  21296. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21297. <stringProp name="Argument.value">3</stringProp>
  21298. <stringProp name="Argument.metadata">=</stringProp>
  21299. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21300. <stringProp name="Argument.name">product[weight]</stringProp>
  21301. <stringProp name="Argument.desc">false</stringProp>
  21302. </elementProp>
  21303. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  21304. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21305. <stringProp name="Argument.value">${configurable_product_category_id}</stringProp>
  21306. <stringProp name="Argument.metadata">=</stringProp>
  21307. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21308. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  21309. <stringProp name="Argument.desc">false</stringProp>
  21310. </elementProp>
  21311. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  21312. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21313. <stringProp name="Argument.value">${category_additional}</stringProp>
  21314. <stringProp name="Argument.metadata">=</stringProp>
  21315. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21316. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  21317. <stringProp name="Argument.desc">false</stringProp>
  21318. </elementProp>
  21319. <elementProp name="product[description]" elementType="HTTPArgument">
  21320. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21321. <stringProp name="Argument.value">&lt;p&gt;Configurable product description ${configurable_product_id} Edited&lt;/p&gt;</stringProp>
  21322. <stringProp name="Argument.metadata">=</stringProp>
  21323. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21324. <stringProp name="Argument.name">product[description]</stringProp>
  21325. <stringProp name="Argument.desc">false</stringProp>
  21326. </elementProp>
  21327. <elementProp name="product[status]" elementType="HTTPArgument">
  21328. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21329. <stringProp name="Argument.value">1</stringProp>
  21330. <stringProp name="Argument.metadata">=</stringProp>
  21331. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21332. <stringProp name="Argument.name">product[status]</stringProp>
  21333. <stringProp name="Argument.desc">false</stringProp>
  21334. </elementProp>
  21335. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  21336. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21337. <stringProp name="Argument.value">${configurable_product_name} Meta Title Edited</stringProp>
  21338. <stringProp name="Argument.metadata">=</stringProp>
  21339. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21340. <stringProp name="Argument.name">product[meta_title]</stringProp>
  21341. <stringProp name="Argument.desc">false</stringProp>
  21342. </elementProp>
  21343. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  21344. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21345. <stringProp name="Argument.value">${configurable_product_name} Meta Keyword Edited</stringProp>
  21346. <stringProp name="Argument.metadata">=</stringProp>
  21347. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21348. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  21349. <stringProp name="Argument.desc">false</stringProp>
  21350. </elementProp>
  21351. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  21352. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21353. <stringProp name="Argument.value">${configurable_product_name} Meta Description Edited</stringProp>
  21354. <stringProp name="Argument.metadata">=</stringProp>
  21355. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21356. <stringProp name="Argument.name">product[meta_description]</stringProp>
  21357. <stringProp name="Argument.desc">false</stringProp>
  21358. </elementProp>
  21359. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  21360. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21361. <stringProp name="Argument.value">1</stringProp>
  21362. <stringProp name="Argument.metadata">=</stringProp>
  21363. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21364. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  21365. <stringProp name="Argument.desc">false</stringProp>
  21366. </elementProp>
  21367. <elementProp name="product[special_price]" elementType="HTTPArgument">
  21368. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21369. <stringProp name="Argument.value">${special_price_new}</stringProp>
  21370. <stringProp name="Argument.metadata">=</stringProp>
  21371. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21372. <stringProp name="Argument.name">product[special_price]</stringProp>
  21373. <stringProp name="Argument.desc">false</stringProp>
  21374. </elementProp>
  21375. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  21376. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21377. <stringProp name="Argument.value"/>
  21378. <stringProp name="Argument.metadata">=</stringProp>
  21379. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21380. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  21381. <stringProp name="Argument.desc">false</stringProp>
  21382. </elementProp>
  21383. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  21384. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21385. <stringProp name="Argument.value"/>
  21386. <stringProp name="Argument.metadata">=</stringProp>
  21387. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21388. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  21389. <stringProp name="Argument.desc">false</stringProp>
  21390. </elementProp>
  21391. <elementProp name="product[cost]" elementType="HTTPArgument">
  21392. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21393. <stringProp name="Argument.value"/>
  21394. <stringProp name="Argument.metadata">=</stringProp>
  21395. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21396. <stringProp name="Argument.name">product[cost]</stringProp>
  21397. <stringProp name="Argument.desc">false</stringProp>
  21398. </elementProp>
  21399. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  21400. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21401. <stringProp name="Argument.value">1</stringProp>
  21402. <stringProp name="Argument.metadata">=</stringProp>
  21403. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21404. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  21405. <stringProp name="Argument.desc">false</stringProp>
  21406. </elementProp>
  21407. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  21408. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21409. <stringProp name="Argument.value">0</stringProp>
  21410. <stringProp name="Argument.metadata">=</stringProp>
  21411. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21412. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  21413. <stringProp name="Argument.desc">false</stringProp>
  21414. </elementProp>
  21415. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  21416. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21417. <stringProp name="Argument.value">1</stringProp>
  21418. <stringProp name="Argument.metadata">=</stringProp>
  21419. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21420. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  21421. <stringProp name="Argument.desc">false</stringProp>
  21422. </elementProp>
  21423. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  21424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21425. <stringProp name="Argument.value">1</stringProp>
  21426. <stringProp name="Argument.metadata">=</stringProp>
  21427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21428. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  21429. <stringProp name="Argument.desc">false</stringProp>
  21430. </elementProp>
  21431. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  21432. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21433. <stringProp name="Argument.value">1</stringProp>
  21434. <stringProp name="Argument.metadata">=</stringProp>
  21435. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21436. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  21437. <stringProp name="Argument.desc">false</stringProp>
  21438. </elementProp>
  21439. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  21440. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21441. <stringProp name="Argument.value">1</stringProp>
  21442. <stringProp name="Argument.metadata">=</stringProp>
  21443. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21444. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  21445. <stringProp name="Argument.desc">false</stringProp>
  21446. </elementProp>
  21447. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  21448. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21449. <stringProp name="Argument.value">0</stringProp>
  21450. <stringProp name="Argument.metadata">=</stringProp>
  21451. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21452. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  21453. <stringProp name="Argument.desc">false</stringProp>
  21454. </elementProp>
  21455. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  21456. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21457. <stringProp name="Argument.value">0</stringProp>
  21458. <stringProp name="Argument.metadata">=</stringProp>
  21459. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21460. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  21461. <stringProp name="Argument.desc">false</stringProp>
  21462. </elementProp>
  21463. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  21464. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21465. <stringProp name="Argument.value">0</stringProp>
  21466. <stringProp name="Argument.metadata">=</stringProp>
  21467. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21468. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  21469. <stringProp name="Argument.desc">false</stringProp>
  21470. </elementProp>
  21471. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  21472. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21473. <stringProp name="Argument.value">1</stringProp>
  21474. <stringProp name="Argument.metadata">=</stringProp>
  21475. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21476. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  21477. <stringProp name="Argument.desc">false</stringProp>
  21478. </elementProp>
  21479. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  21480. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21481. <stringProp name="Argument.value">1</stringProp>
  21482. <stringProp name="Argument.metadata">=</stringProp>
  21483. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21484. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  21485. <stringProp name="Argument.desc">false</stringProp>
  21486. </elementProp>
  21487. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  21488. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21489. <stringProp name="Argument.value">1</stringProp>
  21490. <stringProp name="Argument.metadata">=</stringProp>
  21491. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21492. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  21493. <stringProp name="Argument.desc">false</stringProp>
  21494. </elementProp>
  21495. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  21496. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21497. <stringProp name="Argument.value">0</stringProp>
  21498. <stringProp name="Argument.metadata">=</stringProp>
  21499. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21500. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  21501. <stringProp name="Argument.desc">false</stringProp>
  21502. </elementProp>
  21503. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  21504. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21505. <stringProp name="Argument.value">0</stringProp>
  21506. <stringProp name="Argument.metadata">=</stringProp>
  21507. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21508. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  21509. <stringProp name="Argument.desc">false</stringProp>
  21510. </elementProp>
  21511. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  21512. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21513. <stringProp name="Argument.value">1</stringProp>
  21514. <stringProp name="Argument.metadata">=</stringProp>
  21515. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21516. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  21517. <stringProp name="Argument.desc">false</stringProp>
  21518. </elementProp>
  21519. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  21520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21521. <stringProp name="Argument.value">1</stringProp>
  21522. <stringProp name="Argument.metadata">=</stringProp>
  21523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21524. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  21525. <stringProp name="Argument.desc">false</stringProp>
  21526. </elementProp>
  21527. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  21528. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21529. <stringProp name="Argument.value"/>
  21530. <stringProp name="Argument.metadata">=</stringProp>
  21531. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21532. <stringProp name="Argument.name">product[custom_design]</stringProp>
  21533. <stringProp name="Argument.desc">false</stringProp>
  21534. </elementProp>
  21535. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  21536. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21537. <stringProp name="Argument.value"/>
  21538. <stringProp name="Argument.metadata">=</stringProp>
  21539. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21540. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  21541. <stringProp name="Argument.desc">false</stringProp>
  21542. </elementProp>
  21543. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  21544. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21545. <stringProp name="Argument.value"/>
  21546. <stringProp name="Argument.metadata">=</stringProp>
  21547. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21548. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  21549. <stringProp name="Argument.desc">false</stringProp>
  21550. </elementProp>
  21551. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  21552. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21553. <stringProp name="Argument.value"/>
  21554. <stringProp name="Argument.metadata">=</stringProp>
  21555. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21556. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  21557. <stringProp name="Argument.desc">false</stringProp>
  21558. </elementProp>
  21559. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  21560. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21561. <stringProp name="Argument.value"/>
  21562. <stringProp name="Argument.metadata">=</stringProp>
  21563. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21564. <stringProp name="Argument.name">product[page_layout]</stringProp>
  21565. <stringProp name="Argument.desc">false</stringProp>
  21566. </elementProp>
  21567. <elementProp name="product[options_container]" elementType="HTTPArgument">
  21568. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21569. <stringProp name="Argument.value">container2</stringProp>
  21570. <stringProp name="Argument.metadata">=</stringProp>
  21571. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21572. <stringProp name="Argument.name">product[options_container]</stringProp>
  21573. <stringProp name="Argument.desc">false</stringProp>
  21574. </elementProp>
  21575. <elementProp name="product[configurable_variation]" elementType="HTTPArgument">
  21576. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21577. <stringProp name="Argument.value">${configurable_attribute_id}</stringProp>
  21578. <stringProp name="Argument.metadata">=</stringProp>
  21579. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21580. <stringProp name="Argument.name">product[configurable_variation]</stringProp>
  21581. <stringProp name="Argument.desc">false</stringProp>
  21582. </elementProp>
  21583. <elementProp name="product[url_key]" elementType="HTTPArgument">
  21584. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21585. <stringProp name="Argument.value">${configurable_product_name}</stringProp>
  21586. <stringProp name="Argument.metadata">=</stringProp>
  21587. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21588. <stringProp name="Argument.name">product[url_key]</stringProp>
  21589. </elementProp>
  21590. <elementProp name="product[use_config_gift_message_available]" elementType="HTTPArgument">
  21591. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21592. <stringProp name="Argument.value">1</stringProp>
  21593. <stringProp name="Argument.metadata">=</stringProp>
  21594. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21595. <stringProp name="Argument.name">product[use_config_gift_message_available]</stringProp>
  21596. </elementProp>
  21597. <elementProp name="product[use_config_gift_wrapping_available]" elementType="HTTPArgument">
  21598. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21599. <stringProp name="Argument.value">1</stringProp>
  21600. <stringProp name="Argument.metadata">=</stringProp>
  21601. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21602. <stringProp name="Argument.name">product[use_config_gift_wrapping_available]</stringProp>
  21603. </elementProp>
  21604. <elementProp name="product[visibility]" elementType="HTTPArgument">
  21605. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21606. <stringProp name="Argument.value">4</stringProp>
  21607. <stringProp name="Argument.metadata">=</stringProp>
  21608. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21609. <stringProp name="Argument.name">product[visibility]</stringProp>
  21610. </elementProp>
  21611. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  21612. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21613. <stringProp name="Argument.value">1</stringProp>
  21614. <stringProp name="Argument.metadata">=</stringProp>
  21615. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21616. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  21617. <stringProp name="Argument.desc">true</stringProp>
  21618. </elementProp>
  21619. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  21620. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21621. <stringProp name="Argument.value">50</stringProp>
  21622. <stringProp name="Argument.metadata">=</stringProp>
  21623. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21624. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  21625. <stringProp name="Argument.desc">false</stringProp>
  21626. </elementProp>
  21627. <elementProp name="product[stock_data][type_id]" elementType="HTTPArgument">
  21628. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21629. <stringProp name="Argument.value">configurable</stringProp>
  21630. <stringProp name="Argument.metadata">=</stringProp>
  21631. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21632. <stringProp name="Argument.name">product[stock_data][type_id]</stringProp>
  21633. <stringProp name="Argument.desc">false</stringProp>
  21634. </elementProp>
  21635. </collectionProp>
  21636. </elementProp>
  21637. <stringProp name="HTTPSampler.domain"/>
  21638. <stringProp name="HTTPSampler.port"/>
  21639. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  21640. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  21641. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  21642. <stringProp name="HTTPSampler.contentEncoding"/>
  21643. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/id/${configurable_product_id}/</stringProp>
  21644. <stringProp name="HTTPSampler.method">POST</stringProp>
  21645. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  21646. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  21647. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  21648. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  21649. <boolProp name="HTTPSampler.monitor">false</boolProp>
  21650. <stringProp name="HTTPSampler.embedded_url_re"/>
  21651. </HTTPSamplerProxy>
  21652. <hashTree>
  21653. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="Configure product options" enabled="true">
  21654. <boolProp name="resetInterpreter">false</boolProp>
  21655. <stringProp name="parameters"/>
  21656. <stringProp name="filename"/>
  21657. <stringProp name="script">try {
  21658. int attributesCount = Integer.parseInt(vars.get("configurable_attribute_ids_matchNr"));
  21659. for (int i = 1; i &lt;= attributesCount; i++) {
  21660. attributeId = vars.get("configurable_attribute_ids_" + i.toString());
  21661. attributeCode = vars.get("configurable_attribute_codes_" + i.toString());
  21662. attributeLabel = vars.get("configurable_attribute_labels_" + i.toString());
  21663. ctx.getCurrentSampler().addArgument("attributes[" + (i - 1).toString() + "]", attributeId);
  21664. ctx.getCurrentSampler().addArgument("attribute_codes[" + (i - 1).toString() + "]", attributeCode);
  21665. ctx.getCurrentSampler().addArgument("product[" + attributeCode + "]", attributeId);
  21666. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][attribute_id]", attributeId);
  21667. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][position]", (i - 1).toString());
  21668. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][code]", attributeCode);
  21669. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][label]", attributeLabel);
  21670. int valuesCount = Integer.parseInt(vars.get("attribute_" + attributeId + "_values_matchNr"));
  21671. for (int j = 1; j &lt;= valuesCount; j++) {
  21672. attributeValue = vars.get("attribute_" + attributeId + "_values_" + j.toString());
  21673. ctx.getCurrentSampler().addArgument(
  21674. "product[configurable_attributes_data][" + attributeId + "][values][" + attributeValue + "][include]",
  21675. "1"
  21676. );
  21677. ctx.getCurrentSampler().addArgument(
  21678. "product[configurable_attributes_data][" + attributeId + "][values][" + attributeValue + "][value_index]",
  21679. attributeValue
  21680. );
  21681. }
  21682. }
  21683. ctx.getCurrentSampler().addArgument("associated_product_ids_serialized", vars.get("associated_products_ids").toString());
  21684. } catch (Exception e) {
  21685. log.error("error???", e);
  21686. }</stringProp>
  21687. </BeanShellPreProcessor>
  21688. <hashTree/>
  21689. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  21690. <collectionProp name="Asserion.test_strings">
  21691. <stringProp name="1853918323">{"error":false}</stringProp>
  21692. </collectionProp>
  21693. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  21694. <boolProp name="Assertion.assume_success">false</boolProp>
  21695. <intProp name="Assertion.test_type">2</intProp>
  21696. </ResponseAssertion>
  21697. <hashTree/>
  21698. </hashTree>
  21699. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Configurable Product Save" enabled="true">
  21700. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  21701. <collectionProp name="Arguments.arguments">
  21702. <elementProp name="ajax" elementType="HTTPArgument">
  21703. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21704. <stringProp name="Argument.value">true</stringProp>
  21705. <stringProp name="Argument.metadata">=</stringProp>
  21706. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21707. <stringProp name="Argument.name">ajax</stringProp>
  21708. <stringProp name="Argument.desc">false</stringProp>
  21709. </elementProp>
  21710. <elementProp name="isAjax" elementType="HTTPArgument">
  21711. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21712. <stringProp name="Argument.value">true</stringProp>
  21713. <stringProp name="Argument.metadata">=</stringProp>
  21714. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21715. <stringProp name="Argument.name">isAjax</stringProp>
  21716. <stringProp name="Argument.desc">false</stringProp>
  21717. </elementProp>
  21718. <elementProp name="form_key" elementType="HTTPArgument">
  21719. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21720. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  21721. <stringProp name="Argument.metadata">=</stringProp>
  21722. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21723. <stringProp name="Argument.name">form_key</stringProp>
  21724. <stringProp name="Argument.desc">false</stringProp>
  21725. </elementProp>
  21726. <elementProp name="product[name]" elementType="HTTPArgument">
  21727. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21728. <stringProp name="Argument.value">${configurable_product_name}</stringProp>
  21729. <stringProp name="Argument.metadata">=</stringProp>
  21730. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21731. <stringProp name="Argument.name">product[name]</stringProp>
  21732. <stringProp name="Argument.desc">false</stringProp>
  21733. </elementProp>
  21734. <elementProp name="product[sku]" elementType="HTTPArgument">
  21735. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21736. <stringProp name="Argument.value">${configurable_product_sku}</stringProp>
  21737. <stringProp name="Argument.metadata">=</stringProp>
  21738. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21739. <stringProp name="Argument.name">product[sku]</stringProp>
  21740. <stringProp name="Argument.desc">false</stringProp>
  21741. </elementProp>
  21742. <elementProp name="product[price]" elementType="HTTPArgument">
  21743. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21744. <stringProp name="Argument.value">${price_new}</stringProp>
  21745. <stringProp name="Argument.metadata">=</stringProp>
  21746. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21747. <stringProp name="Argument.name">product[price]</stringProp>
  21748. <stringProp name="Argument.desc">false</stringProp>
  21749. </elementProp>
  21750. <elementProp name="product[tax_class_id]admin" elementType="HTTPArgument">
  21751. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21752. <stringProp name="Argument.value">2</stringProp>
  21753. <stringProp name="Argument.metadata">=</stringProp>
  21754. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21755. <stringProp name="Argument.name">product[tax_class_id]admin</stringProp>
  21756. <stringProp name="Argument.desc">false</stringProp>
  21757. </elementProp>
  21758. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  21759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21760. <stringProp name="Argument.value">1</stringProp>
  21761. <stringProp name="Argument.metadata">=</stringProp>
  21762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21763. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  21764. <stringProp name="Argument.desc">false</stringProp>
  21765. </elementProp>
  21766. <elementProp name="product[weight]" elementType="HTTPArgument">
  21767. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21768. <stringProp name="Argument.value">3</stringProp>
  21769. <stringProp name="Argument.metadata">=</stringProp>
  21770. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21771. <stringProp name="Argument.name">product[weight]</stringProp>
  21772. <stringProp name="Argument.desc">false</stringProp>
  21773. </elementProp>
  21774. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  21775. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21776. <stringProp name="Argument.value">${configurable_product_category_id}</stringProp>
  21777. <stringProp name="Argument.metadata">=</stringProp>
  21778. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21779. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  21780. <stringProp name="Argument.desc">false</stringProp>
  21781. </elementProp>
  21782. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  21783. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21784. <stringProp name="Argument.value">${category_additional}</stringProp>
  21785. <stringProp name="Argument.metadata">=</stringProp>
  21786. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21787. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  21788. <stringProp name="Argument.desc">false</stringProp>
  21789. </elementProp>
  21790. <elementProp name="product[description]" elementType="HTTPArgument">
  21791. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21792. <stringProp name="Argument.value">&lt;p&gt;Configurable product description ${configurable_product_id} Edited&lt;/p&gt;</stringProp>
  21793. <stringProp name="Argument.metadata">=</stringProp>
  21794. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21795. <stringProp name="Argument.name">product[description]</stringProp>
  21796. <stringProp name="Argument.desc">false</stringProp>
  21797. </elementProp>
  21798. <elementProp name="product[status]" elementType="HTTPArgument">
  21799. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21800. <stringProp name="Argument.value">1</stringProp>
  21801. <stringProp name="Argument.metadata">=</stringProp>
  21802. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21803. <stringProp name="Argument.name">product[status]</stringProp>
  21804. <stringProp name="Argument.desc">false</stringProp>
  21805. </elementProp>
  21806. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  21807. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21808. <stringProp name="Argument.value">${configurable_product_name} Meta Title Edited</stringProp>
  21809. <stringProp name="Argument.metadata">=</stringProp>
  21810. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21811. <stringProp name="Argument.name">product[meta_title]</stringProp>
  21812. <stringProp name="Argument.desc">false</stringProp>
  21813. </elementProp>
  21814. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  21815. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21816. <stringProp name="Argument.value">${configurable_product_name} Meta Keyword Edited</stringProp>
  21817. <stringProp name="Argument.metadata">=</stringProp>
  21818. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21819. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  21820. <stringProp name="Argument.desc">false</stringProp>
  21821. </elementProp>
  21822. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  21823. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21824. <stringProp name="Argument.value">${configurable_product_name} Meta Description Edited</stringProp>
  21825. <stringProp name="Argument.metadata">=</stringProp>
  21826. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21827. <stringProp name="Argument.name">product[meta_description]</stringProp>
  21828. <stringProp name="Argument.desc">false</stringProp>
  21829. </elementProp>
  21830. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  21831. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21832. <stringProp name="Argument.value">1</stringProp>
  21833. <stringProp name="Argument.metadata">=</stringProp>
  21834. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21835. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  21836. <stringProp name="Argument.desc">false</stringProp>
  21837. </elementProp>
  21838. <elementProp name="product[special_price]" elementType="HTTPArgument">
  21839. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21840. <stringProp name="Argument.value">${special_price_new}</stringProp>
  21841. <stringProp name="Argument.metadata">=</stringProp>
  21842. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21843. <stringProp name="Argument.name">product[special_price]</stringProp>
  21844. <stringProp name="Argument.desc">false</stringProp>
  21845. </elementProp>
  21846. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  21847. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21848. <stringProp name="Argument.value"/>
  21849. <stringProp name="Argument.metadata">=</stringProp>
  21850. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21851. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  21852. <stringProp name="Argument.desc">false</stringProp>
  21853. </elementProp>
  21854. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  21855. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21856. <stringProp name="Argument.value"/>
  21857. <stringProp name="Argument.metadata">=</stringProp>
  21858. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21859. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  21860. <stringProp name="Argument.desc">false</stringProp>
  21861. </elementProp>
  21862. <elementProp name="product[cost]" elementType="HTTPArgument">
  21863. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21864. <stringProp name="Argument.value"/>
  21865. <stringProp name="Argument.metadata">=</stringProp>
  21866. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21867. <stringProp name="Argument.name">product[cost]</stringProp>
  21868. <stringProp name="Argument.desc">false</stringProp>
  21869. </elementProp>
  21870. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  21871. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21872. <stringProp name="Argument.value">1</stringProp>
  21873. <stringProp name="Argument.metadata">=</stringProp>
  21874. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21875. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  21876. <stringProp name="Argument.desc">false</stringProp>
  21877. </elementProp>
  21878. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  21879. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21880. <stringProp name="Argument.value">0</stringProp>
  21881. <stringProp name="Argument.metadata">=</stringProp>
  21882. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21883. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  21884. <stringProp name="Argument.desc">false</stringProp>
  21885. </elementProp>
  21886. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  21887. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21888. <stringProp name="Argument.value">1</stringProp>
  21889. <stringProp name="Argument.metadata">=</stringProp>
  21890. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21891. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  21892. <stringProp name="Argument.desc">false</stringProp>
  21893. </elementProp>
  21894. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  21895. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21896. <stringProp name="Argument.value">1</stringProp>
  21897. <stringProp name="Argument.metadata">=</stringProp>
  21898. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21899. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  21900. <stringProp name="Argument.desc">false</stringProp>
  21901. </elementProp>
  21902. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  21903. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21904. <stringProp name="Argument.value">1</stringProp>
  21905. <stringProp name="Argument.metadata">=</stringProp>
  21906. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21907. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  21908. <stringProp name="Argument.desc">false</stringProp>
  21909. </elementProp>
  21910. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  21911. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21912. <stringProp name="Argument.value">1</stringProp>
  21913. <stringProp name="Argument.metadata">=</stringProp>
  21914. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21915. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  21916. <stringProp name="Argument.desc">false</stringProp>
  21917. </elementProp>
  21918. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  21919. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21920. <stringProp name="Argument.value">0</stringProp>
  21921. <stringProp name="Argument.metadata">=</stringProp>
  21922. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21923. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  21924. <stringProp name="Argument.desc">false</stringProp>
  21925. </elementProp>
  21926. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  21927. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21928. <stringProp name="Argument.value">0</stringProp>
  21929. <stringProp name="Argument.metadata">=</stringProp>
  21930. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21931. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  21932. <stringProp name="Argument.desc">false</stringProp>
  21933. </elementProp>
  21934. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  21935. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21936. <stringProp name="Argument.value">0</stringProp>
  21937. <stringProp name="Argument.metadata">=</stringProp>
  21938. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21939. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  21940. <stringProp name="Argument.desc">false</stringProp>
  21941. </elementProp>
  21942. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  21943. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21944. <stringProp name="Argument.value">1</stringProp>
  21945. <stringProp name="Argument.metadata">=</stringProp>
  21946. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21947. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  21948. <stringProp name="Argument.desc">false</stringProp>
  21949. </elementProp>
  21950. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  21951. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21952. <stringProp name="Argument.value">1</stringProp>
  21953. <stringProp name="Argument.metadata">=</stringProp>
  21954. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21955. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  21956. <stringProp name="Argument.desc">false</stringProp>
  21957. </elementProp>
  21958. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  21959. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21960. <stringProp name="Argument.value">1</stringProp>
  21961. <stringProp name="Argument.metadata">=</stringProp>
  21962. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21963. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  21964. <stringProp name="Argument.desc">false</stringProp>
  21965. </elementProp>
  21966. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  21967. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21968. <stringProp name="Argument.value">0</stringProp>
  21969. <stringProp name="Argument.metadata">=</stringProp>
  21970. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21971. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  21972. <stringProp name="Argument.desc">false</stringProp>
  21973. </elementProp>
  21974. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  21975. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21976. <stringProp name="Argument.value">0</stringProp>
  21977. <stringProp name="Argument.metadata">=</stringProp>
  21978. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21979. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  21980. <stringProp name="Argument.desc">false</stringProp>
  21981. </elementProp>
  21982. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  21983. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21984. <stringProp name="Argument.value">1</stringProp>
  21985. <stringProp name="Argument.metadata">=</stringProp>
  21986. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21987. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  21988. <stringProp name="Argument.desc">false</stringProp>
  21989. </elementProp>
  21990. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  21991. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  21992. <stringProp name="Argument.value">1</stringProp>
  21993. <stringProp name="Argument.metadata">=</stringProp>
  21994. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  21995. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  21996. <stringProp name="Argument.desc">false</stringProp>
  21997. </elementProp>
  21998. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  21999. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22000. <stringProp name="Argument.value"/>
  22001. <stringProp name="Argument.metadata">=</stringProp>
  22002. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22003. <stringProp name="Argument.name">product[custom_design]</stringProp>
  22004. <stringProp name="Argument.desc">false</stringProp>
  22005. </elementProp>
  22006. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  22007. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22008. <stringProp name="Argument.value"/>
  22009. <stringProp name="Argument.metadata">=</stringProp>
  22010. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22011. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  22012. <stringProp name="Argument.desc">false</stringProp>
  22013. </elementProp>
  22014. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  22015. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22016. <stringProp name="Argument.value"/>
  22017. <stringProp name="Argument.metadata">=</stringProp>
  22018. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22019. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  22020. <stringProp name="Argument.desc">false</stringProp>
  22021. </elementProp>
  22022. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  22023. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22024. <stringProp name="Argument.value"/>
  22025. <stringProp name="Argument.metadata">=</stringProp>
  22026. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22027. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  22028. <stringProp name="Argument.desc">false</stringProp>
  22029. </elementProp>
  22030. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  22031. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22032. <stringProp name="Argument.value"/>
  22033. <stringProp name="Argument.metadata">=</stringProp>
  22034. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22035. <stringProp name="Argument.name">product[page_layout]</stringProp>
  22036. <stringProp name="Argument.desc">false</stringProp>
  22037. </elementProp>
  22038. <elementProp name="product[options_container]" elementType="HTTPArgument">
  22039. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22040. <stringProp name="Argument.value">container2</stringProp>
  22041. <stringProp name="Argument.metadata">=</stringProp>
  22042. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22043. <stringProp name="Argument.name">product[options_container]</stringProp>
  22044. <stringProp name="Argument.desc">false</stringProp>
  22045. </elementProp>
  22046. <elementProp name="product[configurable_variation]" elementType="HTTPArgument">
  22047. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22048. <stringProp name="Argument.value">${configurable_attribute_id}</stringProp>
  22049. <stringProp name="Argument.metadata">=</stringProp>
  22050. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22051. <stringProp name="Argument.name">product[configurable_variation]</stringProp>
  22052. <stringProp name="Argument.desc">false</stringProp>
  22053. </elementProp>
  22054. <elementProp name="product[url_key]" elementType="HTTPArgument">
  22055. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22056. <stringProp name="Argument.value">${configurable_product_name}</stringProp>
  22057. <stringProp name="Argument.metadata">=</stringProp>
  22058. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22059. <stringProp name="Argument.name">product[url_key]</stringProp>
  22060. </elementProp>
  22061. <elementProp name="product[use_config_gift_message_available]" elementType="HTTPArgument">
  22062. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22063. <stringProp name="Argument.value">1</stringProp>
  22064. <stringProp name="Argument.metadata">=</stringProp>
  22065. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22066. <stringProp name="Argument.name">product[use_config_gift_message_available]</stringProp>
  22067. </elementProp>
  22068. <elementProp name="product[use_config_gift_wrapping_available]" elementType="HTTPArgument">
  22069. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22070. <stringProp name="Argument.value">1</stringProp>
  22071. <stringProp name="Argument.metadata">=</stringProp>
  22072. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22073. <stringProp name="Argument.name">product[use_config_gift_wrapping_available]</stringProp>
  22074. </elementProp>
  22075. <elementProp name="product[visibility]" elementType="HTTPArgument">
  22076. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22077. <stringProp name="Argument.value">4</stringProp>
  22078. <stringProp name="Argument.metadata">=</stringProp>
  22079. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22080. <stringProp name="Argument.name">product[visibility]</stringProp>
  22081. </elementProp>
  22082. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  22083. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22084. <stringProp name="Argument.value">1</stringProp>
  22085. <stringProp name="Argument.metadata">=</stringProp>
  22086. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22087. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  22088. <stringProp name="Argument.desc">true</stringProp>
  22089. </elementProp>
  22090. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  22091. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22092. <stringProp name="Argument.value">50</stringProp>
  22093. <stringProp name="Argument.metadata">=</stringProp>
  22094. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22095. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  22096. <stringProp name="Argument.desc">false</stringProp>
  22097. </elementProp>
  22098. <elementProp name="product[stock_data][type_id]" elementType="HTTPArgument">
  22099. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22100. <stringProp name="Argument.value">configurable</stringProp>
  22101. <stringProp name="Argument.metadata">=</stringProp>
  22102. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22103. <stringProp name="Argument.name">product[stock_data][type_id]</stringProp>
  22104. <stringProp name="Argument.desc">false</stringProp>
  22105. </elementProp>
  22106. </collectionProp>
  22107. </elementProp>
  22108. <stringProp name="HTTPSampler.domain"/>
  22109. <stringProp name="HTTPSampler.port"/>
  22110. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22111. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22112. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22113. <stringProp name="HTTPSampler.contentEncoding"/>
  22114. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/id/${configurable_product_id}/back/edit/active_tab/product-details/</stringProp>
  22115. <stringProp name="HTTPSampler.method">POST</stringProp>
  22116. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22117. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22118. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22119. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22120. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22121. <stringProp name="HTTPSampler.embedded_url_re"/>
  22122. </HTTPSamplerProxy>
  22123. <hashTree>
  22124. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="Configure product options" enabled="true">
  22125. <boolProp name="resetInterpreter">false</boolProp>
  22126. <stringProp name="parameters"/>
  22127. <stringProp name="filename"/>
  22128. <stringProp name="script">try {
  22129. int attributesCount = Integer.parseInt(vars.get("configurable_attribute_ids_matchNr"));
  22130. for (int i = 1; i &lt;= attributesCount; i++) {
  22131. attributeId = vars.get("configurable_attribute_ids_" + i.toString());
  22132. attributeCode = vars.get("configurable_attribute_codes_" + i.toString());
  22133. attributeLabel = vars.get("configurable_attribute_labels_" + i.toString());
  22134. ctx.getCurrentSampler().addArgument("attributes[" + (i - 1).toString() + "]", attributeId);
  22135. ctx.getCurrentSampler().addArgument("attribute_codes[" + (i - 1).toString() + "]", attributeCode);
  22136. ctx.getCurrentSampler().addArgument("product[" + attributeCode + "]", attributeId);
  22137. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][attribute_id]", attributeId);
  22138. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][position]", (i - 1).toString());
  22139. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][code]", attributeCode);
  22140. ctx.getCurrentSampler().addArgument("product[configurable_attributes_data][" + attributeId + "][label]", attributeLabel);
  22141. int valuesCount = Integer.parseInt(vars.get("attribute_" + attributeId + "_values_matchNr"));
  22142. for (int j = 1; j &lt;= valuesCount; j++) {
  22143. attributeValue = vars.get("attribute_" + attributeId + "_values_" + j.toString());
  22144. ctx.getCurrentSampler().addArgument(
  22145. "product[configurable_attributes_data][" + attributeId + "][values][" + attributeValue + "][include]",
  22146. "1"
  22147. );
  22148. ctx.getCurrentSampler().addArgument(
  22149. "product[configurable_attributes_data][" + attributeId + "][values][" + attributeValue + "][value_index]",
  22150. attributeValue
  22151. );
  22152. }
  22153. }
  22154. ctx.getCurrentSampler().addArgument("associated_product_ids_serialized", vars.get("associated_products_ids").toString());
  22155. } catch (Exception e) {
  22156. log.error("error???", e);
  22157. }</stringProp>
  22158. </BeanShellPreProcessor>
  22159. <hashTree/>
  22160. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22161. <collectionProp name="Asserion.test_strings">
  22162. <stringProp name="-583471546">You saved the product</stringProp>
  22163. </collectionProp>
  22164. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22165. <boolProp name="Assertion.assume_success">false</boolProp>
  22166. <intProp name="Assertion.test_type">2</intProp>
  22167. <stringProp name="TestPlan.comments"> if have trouble see messages-message-error </stringProp>
  22168. </ResponseAssertion>
  22169. <hashTree/>
  22170. </hashTree>
  22171. </hashTree>
  22172. </hashTree>
  22173. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  22174. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22175. <collectionProp name="Arguments.arguments"/>
  22176. </elementProp>
  22177. <stringProp name="HTTPSampler.domain"/>
  22178. <stringProp name="HTTPSampler.port"/>
  22179. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22180. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22181. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22182. <stringProp name="HTTPSampler.contentEncoding"/>
  22183. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  22184. <stringProp name="HTTPSampler.method">GET</stringProp>
  22185. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22186. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22187. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22188. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22189. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22190. <stringProp name="HTTPSampler.embedded_url_re"/>
  22191. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  22192. <hashTree>
  22193. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  22194. <boolProp name="resetInterpreter">false</boolProp>
  22195. <stringProp name="parameters"/>
  22196. <stringProp name="filename"/>
  22197. <stringProp name="script">
  22198. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  22199. if (adminUsersDistribution == 1) {
  22200. adminUserList = props.get("adminUserList");
  22201. adminUserList.add(vars.get("admin_user"));
  22202. }
  22203. </stringProp>
  22204. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  22205. <hashTree/>
  22206. </hashTree>
  22207. </hashTree>
  22208. </hashTree>
  22209. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="CSR Pool" enabled="true">
  22210. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  22211. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  22212. <boolProp name="LoopController.continue_forever">false</boolProp>
  22213. <stringProp name="LoopController.loops">${loops}</stringProp>
  22214. </elementProp>
  22215. <stringProp name="ThreadGroup.num_threads">${csrPoolUsers}</stringProp>
  22216. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  22217. <longProp name="ThreadGroup.start_time">1505803944000</longProp>
  22218. <longProp name="ThreadGroup.end_time">1505803944000</longProp>
  22219. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  22220. <stringProp name="ThreadGroup.duration"/>
  22221. <stringProp name="ThreadGroup.delay"/>
  22222. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/thread_group.jmx</stringProp></ThreadGroup>
  22223. <hashTree>
  22224. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Returns Management" enabled="true">
  22225. <intProp name="ThroughputController.style">1</intProp>
  22226. <boolProp name="ThroughputController.perThread">false</boolProp>
  22227. <intProp name="ThroughputController.maxThroughput">1</intProp>
  22228. <stringProp name="ThroughputController.percentThroughput">${adminReturnsManagementPercentage}</stringProp>
  22229. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  22230. <hashTree>
  22231. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  22232. <stringProp name="script">
  22233. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  22234. if (testLabel
  22235. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  22236. ) {
  22237. if (sampler.getName().indexOf(testLabel) == -1) {
  22238. sampler.setName(sampler.getName() + testLabel);
  22239. }
  22240. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  22241. sampler.setName("SetUp - " + sampler.getName());
  22242. }
  22243. </stringProp>
  22244. <stringProp name="scriptLanguage">javascript</stringProp>
  22245. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  22246. <hashTree/>
  22247. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  22248. <stringProp name="BeanShellSampler.query">
  22249. vars.put("testLabel", "Admin Returns Management");
  22250. </stringProp>
  22251. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  22252. </BeanShellSampler>
  22253. <hashTree/>
  22254. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  22255. <stringProp name="script">
  22256. function getFormKeyFromResponse()
  22257. {
  22258. var url = prev.getUrlAsString(),
  22259. responseCode = prev.getResponseCode(),
  22260. formKey = null;
  22261. searchPattern = /var FORM_KEY = '(.+)'/;
  22262. if (responseCode == "200" &amp;&amp; url) {
  22263. response = prev.getResponseDataAsString();
  22264. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  22265. }
  22266. return formKey;
  22267. }
  22268. formKey = vars.get("form_key_storage");
  22269. currentFormKey = getFormKeyFromResponse();
  22270. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  22271. vars.put("form_key_storage", currentFormKey);
  22272. }
  22273. </stringProp>
  22274. <stringProp name="scriptLanguage">javascript</stringProp>
  22275. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  22276. <hashTree/>
  22277. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  22278. <stringProp name="script">
  22279. formKey = vars.get("form_key_storage");
  22280. if (formKey
  22281. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  22282. &amp;&amp; sampler.getMethod() == "POST")
  22283. {
  22284. arguments = sampler.getArguments();
  22285. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  22286. {
  22287. argument = arguments.getArgument(i);
  22288. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  22289. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  22290. argument.setValue(formKey);
  22291. }
  22292. }
  22293. }
  22294. </stringProp>
  22295. <stringProp name="scriptLanguage">javascript</stringProp>
  22296. </JSR223PreProcessor>
  22297. <hashTree/>
  22298. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  22299. <collectionProp name="CookieManager.cookies"/>
  22300. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  22301. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  22302. <hashTree/>
  22303. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  22304. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  22305. </GenericController>
  22306. <hashTree>
  22307. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  22308. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  22309. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  22310. <hashTree>
  22311. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  22312. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  22313. <stringProp name="BeanShellSampler.query">
  22314. adminUserList = props.get("adminUserList");
  22315. adminUserListIterator = props.get("adminUserListIterator");
  22316. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  22317. if (adminUsersDistribution == 1) {
  22318. adminUser = adminUserList.poll();
  22319. } else {
  22320. if (!adminUserListIterator.hasNext()) {
  22321. adminUserListIterator = adminUserList.descendingIterator();
  22322. }
  22323. adminUser = adminUserListIterator.next();
  22324. }
  22325. if (adminUser == null) {
  22326. SampleResult.setResponseMessage("adminUser list is empty");
  22327. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  22328. IsSuccess=false;
  22329. SampleResult.setSuccessful(false);
  22330. SampleResult.setStopThread(true);
  22331. }
  22332. vars.put("admin_user", adminUser);
  22333. </stringProp>
  22334. <stringProp name="BeanShellSampler.filename"/>
  22335. <stringProp name="BeanShellSampler.parameters"/>
  22336. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  22337. </BeanShellSampler>
  22338. <hashTree/>
  22339. </hashTree>
  22340. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  22341. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22342. <collectionProp name="Arguments.arguments"/>
  22343. </elementProp>
  22344. <stringProp name="HTTPSampler.domain"/>
  22345. <stringProp name="HTTPSampler.port"/>
  22346. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22347. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22348. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22349. <stringProp name="HTTPSampler.contentEncoding"/>
  22350. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  22351. <stringProp name="HTTPSampler.method">GET</stringProp>
  22352. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22353. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22354. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22355. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22356. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22357. <stringProp name="HTTPSampler.embedded_url_re"/>
  22358. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  22359. <hashTree>
  22360. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  22361. <collectionProp name="Asserion.test_strings">
  22362. <stringProp name="-1397214398">Welcome</stringProp>
  22363. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  22364. </collectionProp>
  22365. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22366. <boolProp name="Assertion.assume_success">false</boolProp>
  22367. <intProp name="Assertion.test_type">2</intProp>
  22368. </ResponseAssertion>
  22369. <hashTree/>
  22370. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  22371. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  22372. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  22373. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  22374. <stringProp name="RegexExtractor.template">$1$</stringProp>
  22375. <stringProp name="RegexExtractor.default"/>
  22376. <stringProp name="RegexExtractor.match_number">1</stringProp>
  22377. </RegexExtractor>
  22378. <hashTree/>
  22379. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  22380. <collectionProp name="Asserion.test_strings">
  22381. <stringProp name="2845929">^.+$</stringProp>
  22382. </collectionProp>
  22383. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22384. <boolProp name="Assertion.assume_success">false</boolProp>
  22385. <intProp name="Assertion.test_type">1</intProp>
  22386. <stringProp name="Assertion.scope">variable</stringProp>
  22387. <stringProp name="Scope.variable">admin_form_key</stringProp>
  22388. </ResponseAssertion>
  22389. <hashTree/>
  22390. </hashTree>
  22391. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  22392. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22393. <collectionProp name="Arguments.arguments">
  22394. <elementProp name="dummy" elementType="HTTPArgument">
  22395. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22396. <stringProp name="Argument.value"/>
  22397. <stringProp name="Argument.metadata">=</stringProp>
  22398. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22399. <stringProp name="Argument.name">dummy</stringProp>
  22400. </elementProp>
  22401. <elementProp name="form_key" elementType="HTTPArgument">
  22402. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22403. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  22404. <stringProp name="Argument.metadata">=</stringProp>
  22405. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22406. <stringProp name="Argument.name">form_key</stringProp>
  22407. </elementProp>
  22408. <elementProp name="login[password]" elementType="HTTPArgument">
  22409. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22410. <stringProp name="Argument.value">${admin_password}</stringProp>
  22411. <stringProp name="Argument.metadata">=</stringProp>
  22412. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22413. <stringProp name="Argument.name">login[password]</stringProp>
  22414. </elementProp>
  22415. <elementProp name="login[username]" elementType="HTTPArgument">
  22416. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22417. <stringProp name="Argument.value">${admin_user}</stringProp>
  22418. <stringProp name="Argument.metadata">=</stringProp>
  22419. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22420. <stringProp name="Argument.name">login[username]</stringProp>
  22421. </elementProp>
  22422. </collectionProp>
  22423. </elementProp>
  22424. <stringProp name="HTTPSampler.domain"/>
  22425. <stringProp name="HTTPSampler.port"/>
  22426. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22427. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22428. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22429. <stringProp name="HTTPSampler.contentEncoding"/>
  22430. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  22431. <stringProp name="HTTPSampler.method">POST</stringProp>
  22432. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22433. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22434. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22435. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22436. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  22437. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22438. <stringProp name="HTTPSampler.embedded_url_re"/>
  22439. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  22440. </HTTPSamplerProxy>
  22441. <hashTree>
  22442. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  22443. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  22444. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  22445. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  22446. <stringProp name="RegexExtractor.template">$1$</stringProp>
  22447. <stringProp name="RegexExtractor.default"/>
  22448. <stringProp name="RegexExtractor.match_number">1</stringProp>
  22449. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  22450. <hashTree/>
  22451. </hashTree>
  22452. </hashTree>
  22453. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  22454. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  22455. </GenericController>
  22456. <hashTree>
  22457. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Orders page" enabled="true">
  22458. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22459. <collectionProp name="Arguments.arguments"/>
  22460. </elementProp>
  22461. <stringProp name="HTTPSampler.domain"/>
  22462. <stringProp name="HTTPSampler.port"/>
  22463. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22464. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22465. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22466. <stringProp name="HTTPSampler.contentEncoding"/>
  22467. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order/</stringProp>
  22468. <stringProp name="HTTPSampler.method">GET</stringProp>
  22469. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22470. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22471. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22472. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22473. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22474. <stringProp name="HTTPSampler.embedded_url_re"/>
  22475. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/orders_page.jmx</stringProp></HTTPSamplerProxy>
  22476. <hashTree>
  22477. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22478. <collectionProp name="Asserion.test_strings">
  22479. <stringProp name="1204796042">Create New Order</stringProp>
  22480. </collectionProp>
  22481. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22482. <boolProp name="Assertion.assume_success">false</boolProp>
  22483. <intProp name="Assertion.test_type">2</intProp>
  22484. </ResponseAssertion>
  22485. <hashTree/>
  22486. </hashTree>
  22487. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Orders" enabled="true">
  22488. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22489. <collectionProp name="Arguments.arguments">
  22490. <elementProp name="namespace" elementType="HTTPArgument">
  22491. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22492. <stringProp name="Argument.value">sales_order_grid</stringProp>
  22493. <stringProp name="Argument.metadata">=</stringProp>
  22494. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22495. <stringProp name="Argument.name">namespace</stringProp>
  22496. </elementProp>
  22497. <elementProp name="search" elementType="HTTPArgument">
  22498. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22499. <stringProp name="Argument.value"/>
  22500. <stringProp name="Argument.metadata">=</stringProp>
  22501. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22502. <stringProp name="Argument.name">search</stringProp>
  22503. </elementProp>
  22504. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  22505. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22506. <stringProp name="Argument.value">true</stringProp>
  22507. <stringProp name="Argument.metadata">=</stringProp>
  22508. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22509. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  22510. </elementProp>
  22511. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  22512. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22513. <stringProp name="Argument.value">200</stringProp>
  22514. <stringProp name="Argument.metadata">=</stringProp>
  22515. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22516. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  22517. </elementProp>
  22518. <elementProp name="paging[current]" elementType="HTTPArgument">
  22519. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22520. <stringProp name="Argument.value">1</stringProp>
  22521. <stringProp name="Argument.metadata">=</stringProp>
  22522. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22523. <stringProp name="Argument.name">paging[current]</stringProp>
  22524. </elementProp>
  22525. <elementProp name="sorting[field]" elementType="HTTPArgument">
  22526. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22527. <stringProp name="Argument.value">increment_id</stringProp>
  22528. <stringProp name="Argument.metadata">=</stringProp>
  22529. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22530. <stringProp name="Argument.name">sorting[field]</stringProp>
  22531. </elementProp>
  22532. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  22533. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22534. <stringProp name="Argument.value">desc</stringProp>
  22535. <stringProp name="Argument.metadata">=</stringProp>
  22536. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22537. <stringProp name="Argument.name">sorting[direction]</stringProp>
  22538. </elementProp>
  22539. <elementProp name="isAjax" elementType="HTTPArgument">
  22540. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22541. <stringProp name="Argument.value">true</stringProp>
  22542. <stringProp name="Argument.metadata">=</stringProp>
  22543. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22544. <stringProp name="Argument.name">isAjax</stringProp>
  22545. </elementProp>
  22546. <elementProp name="form_key" elementType="HTTPArgument">
  22547. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22548. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  22549. <stringProp name="Argument.metadata">=</stringProp>
  22550. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22551. <stringProp name="Argument.name">form_key</stringProp>
  22552. <stringProp name="Argument.desc">false</stringProp>
  22553. </elementProp>
  22554. <elementProp name="filters[status]" elementType="HTTPArgument">
  22555. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22556. <stringProp name="Argument.value">pending</stringProp>
  22557. <stringProp name="Argument.metadata">=</stringProp>
  22558. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22559. <stringProp name="Argument.name">filters[status]</stringProp>
  22560. <stringProp name="Argument.desc">true</stringProp>
  22561. </elementProp>
  22562. <elementProp name="_" elementType="HTTPArgument">
  22563. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22564. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  22565. <stringProp name="Argument.metadata">=</stringProp>
  22566. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22567. <stringProp name="Argument.name">_</stringProp>
  22568. </elementProp>
  22569. </collectionProp>
  22570. </elementProp>
  22571. <stringProp name="HTTPSampler.domain"/>
  22572. <stringProp name="HTTPSampler.port"/>
  22573. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22574. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22575. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22576. <stringProp name="HTTPSampler.contentEncoding"/>
  22577. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  22578. <stringProp name="HTTPSampler.method">GET</stringProp>
  22579. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22580. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22581. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22582. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22583. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22584. <stringProp name="HTTPSampler.embedded_url_re"/>
  22585. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/open_orders.jmx</stringProp></HTTPSamplerProxy>
  22586. <hashTree>
  22587. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22588. <collectionProp name="Asserion.test_strings">
  22589. <stringProp name="1637639774">totalRecords</stringProp>
  22590. </collectionProp>
  22591. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22592. <boolProp name="Assertion.assume_success">false</boolProp>
  22593. <intProp name="Assertion.test_type">2</intProp>
  22594. </ResponseAssertion>
  22595. <hashTree/>
  22596. </hashTree>
  22597. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Pending Orders" enabled="true">
  22598. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22599. <collectionProp name="Arguments.arguments">
  22600. <elementProp name="form_key" elementType="HTTPArgument">
  22601. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22602. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  22603. <stringProp name="Argument.metadata">=</stringProp>
  22604. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22605. <stringProp name="Argument.name">form_key</stringProp>
  22606. </elementProp>
  22607. <elementProp name="namespace" elementType="HTTPArgument">
  22608. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22609. <stringProp name="Argument.value">sales_order_grid</stringProp>
  22610. <stringProp name="Argument.metadata">=</stringProp>
  22611. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22612. <stringProp name="Argument.name">namespace</stringProp>
  22613. <stringProp name="Argument.desc">true</stringProp>
  22614. </elementProp>
  22615. <elementProp name="search" elementType="HTTPArgument">
  22616. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22617. <stringProp name="Argument.value"/>
  22618. <stringProp name="Argument.metadata">=</stringProp>
  22619. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22620. <stringProp name="Argument.name">search</stringProp>
  22621. <stringProp name="Argument.desc">true</stringProp>
  22622. </elementProp>
  22623. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  22624. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22625. <stringProp name="Argument.value">true</stringProp>
  22626. <stringProp name="Argument.metadata">=</stringProp>
  22627. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22628. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  22629. <stringProp name="Argument.desc">true</stringProp>
  22630. </elementProp>
  22631. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  22632. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22633. <stringProp name="Argument.value">200</stringProp>
  22634. <stringProp name="Argument.metadata">=</stringProp>
  22635. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22636. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  22637. <stringProp name="Argument.desc">true</stringProp>
  22638. </elementProp>
  22639. <elementProp name="paging[current]" elementType="HTTPArgument">
  22640. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22641. <stringProp name="Argument.value">1</stringProp>
  22642. <stringProp name="Argument.metadata">=</stringProp>
  22643. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22644. <stringProp name="Argument.name">paging[current]</stringProp>
  22645. <stringProp name="Argument.desc">true</stringProp>
  22646. </elementProp>
  22647. <elementProp name="sorting[field]" elementType="HTTPArgument">
  22648. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22649. <stringProp name="Argument.value">increment_id</stringProp>
  22650. <stringProp name="Argument.metadata">=</stringProp>
  22651. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22652. <stringProp name="Argument.name">sorting[field]</stringProp>
  22653. <stringProp name="Argument.desc">true</stringProp>
  22654. </elementProp>
  22655. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  22656. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22657. <stringProp name="Argument.value">asc</stringProp>
  22658. <stringProp name="Argument.metadata">=</stringProp>
  22659. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22660. <stringProp name="Argument.name">sorting[direction]</stringProp>
  22661. <stringProp name="Argument.desc">true</stringProp>
  22662. </elementProp>
  22663. <elementProp name="isAjax" elementType="HTTPArgument">
  22664. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22665. <stringProp name="Argument.value">true</stringProp>
  22666. <stringProp name="Argument.metadata">=</stringProp>
  22667. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22668. <stringProp name="Argument.name">isAjax</stringProp>
  22669. <stringProp name="Argument.desc">true</stringProp>
  22670. </elementProp>
  22671. <elementProp name="filters[status]" elementType="HTTPArgument">
  22672. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22673. <stringProp name="Argument.value">pending</stringProp>
  22674. <stringProp name="Argument.metadata">=</stringProp>
  22675. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22676. <stringProp name="Argument.name">filters[status]</stringProp>
  22677. </elementProp>
  22678. <elementProp name="_" elementType="HTTPArgument">
  22679. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22680. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  22681. <stringProp name="Argument.metadata">=</stringProp>
  22682. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22683. <stringProp name="Argument.name">_</stringProp>
  22684. </elementProp>
  22685. </collectionProp>
  22686. </elementProp>
  22687. <stringProp name="HTTPSampler.domain"/>
  22688. <stringProp name="HTTPSampler.port"/>
  22689. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22690. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22691. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22692. <stringProp name="HTTPSampler.contentEncoding"/>
  22693. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  22694. <stringProp name="HTTPSampler.method">GET</stringProp>
  22695. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22696. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22697. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22698. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22699. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22700. <stringProp name="HTTPSampler.embedded_url_re"/>
  22701. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/search_orders.jmx</stringProp></HTTPSamplerProxy>
  22702. <hashTree>
  22703. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22704. <collectionProp name="Asserion.test_strings">
  22705. <stringProp name="1637639774">totalRecords</stringProp>
  22706. </collectionProp>
  22707. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22708. <boolProp name="Assertion.assume_success">false</boolProp>
  22709. <intProp name="Assertion.test_type">2</intProp>
  22710. </ResponseAssertion>
  22711. <hashTree/>
  22712. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract order numbers" enabled="true">
  22713. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  22714. <stringProp name="RegexExtractor.refname">order_numbers</stringProp>
  22715. <stringProp name="RegexExtractor.regex">\"increment_id\":\"(\d+)\"\,</stringProp>
  22716. <stringProp name="RegexExtractor.template">$1$</stringProp>
  22717. <stringProp name="RegexExtractor.default"/>
  22718. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  22719. <stringProp name="Scope.variable">simple_products</stringProp>
  22720. </RegexExtractor>
  22721. <hashTree/>
  22722. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract order ids" enabled="true">
  22723. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  22724. <stringProp name="RegexExtractor.refname">order_ids</stringProp>
  22725. <stringProp name="RegexExtractor.regex">\"entity_id\":\"(\d+)\"\,</stringProp>
  22726. <stringProp name="RegexExtractor.template">$1$</stringProp>
  22727. <stringProp name="RegexExtractor.default"/>
  22728. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  22729. <stringProp name="Scope.variable">simple_products</stringProp>
  22730. </RegexExtractor>
  22731. <hashTree/>
  22732. </hashTree>
  22733. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Generate Unique Ids for each Thread" enabled="true">
  22734. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/setup.jmx</stringProp>
  22735. <stringProp name="BeanShellSampler.query">
  22736. import java.util.ArrayList;
  22737. import java.util.HashMap;
  22738. import org.apache.jmeter.protocol.http.util.Base64Encoder;
  22739. import java.util.Random;
  22740. // get count of "order_numbers" variable defined in "Search Pending Orders Limit"
  22741. int ordersCount = Integer.parseInt(vars.get("order_numbers_matchNr"));
  22742. int clusterLength;
  22743. int threadsNumber = ctx.getThreadGroup().getNumThreads();
  22744. if (threadsNumber == 0) {
  22745. //Number of orders for one thread
  22746. clusterLength = ordersCount;
  22747. } else {
  22748. clusterLength = Math.round(ordersCount / threadsNumber);
  22749. if (clusterLength == 0) {
  22750. clusterLength = 1;
  22751. }
  22752. }
  22753. //Current thread number starts from 0
  22754. int currentThreadNum = ctx.getThreadNum();
  22755. //Index of the current product from the cluster
  22756. Random random = new Random();
  22757. if (${seedForRandom} &gt; 0) {
  22758. random.setSeed(${seedForRandom} + ${__threadNum});
  22759. }
  22760. int iterator = random.nextInt(clusterLength);
  22761. if (iterator == 0) {
  22762. iterator = 1;
  22763. }
  22764. int i = clusterLength * currentThreadNum + iterator;
  22765. orderNumber = vars.get("order_numbers_" + i.toString());
  22766. orderId = vars.get("order_ids_" + i.toString());
  22767. vars.put("order_number", orderNumber);
  22768. vars.put("order_id", orderId);
  22769. </stringProp>
  22770. <stringProp name="BeanShellSampler.filename"/>
  22771. <stringProp name="BeanShellSampler.parameters"/>
  22772. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  22773. </BeanShellSampler>
  22774. <hashTree/>
  22775. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Order" enabled="true">
  22776. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22777. <collectionProp name="Arguments.arguments"/>
  22778. </elementProp>
  22779. <stringProp name="HTTPSampler.domain"/>
  22780. <stringProp name="HTTPSampler.port"/>
  22781. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22782. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22783. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22784. <stringProp name="HTTPSampler.contentEncoding"/>
  22785. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order/view/order_id/${order_id}/</stringProp>
  22786. <stringProp name="HTTPSampler.method">GET</stringProp>
  22787. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22788. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22789. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22790. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22791. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22792. <stringProp name="HTTPSampler.embedded_url_re"/>
  22793. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/open_order.jmx</stringProp></HTTPSamplerProxy>
  22794. <hashTree>
  22795. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22796. <collectionProp name="Asserion.test_strings">
  22797. <stringProp name="2103620713">#${order_number}</stringProp>
  22798. </collectionProp>
  22799. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22800. <boolProp name="Assertion.assume_success">false</boolProp>
  22801. <intProp name="Assertion.test_type">2</intProp>
  22802. </ResponseAssertion>
  22803. <hashTree/>
  22804. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract order status" enabled="true">
  22805. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  22806. <stringProp name="RegexExtractor.refname">order_status</stringProp>
  22807. <stringProp name="RegexExtractor.regex">&lt;span id="order_status"&gt;([^&lt;]+)&lt;/span&gt;</stringProp>
  22808. <stringProp name="RegexExtractor.template">$1$</stringProp>
  22809. <stringProp name="RegexExtractor.default"/>
  22810. <stringProp name="RegexExtractor.match_number">1</stringProp>
  22811. <stringProp name="Scope.variable">simple_products</stringProp>
  22812. </RegexExtractor>
  22813. <hashTree/>
  22814. </hashTree>
  22815. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
  22816. <stringProp name="IfController.condition">"${order_status}" == "Pending"</stringProp>
  22817. <boolProp name="IfController.evaluateAll">false</boolProp>
  22818. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_edit_order/if_controller.jmx</stringProp></IfController>
  22819. <hashTree>
  22820. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Invoice Start" enabled="true">
  22821. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22822. <collectionProp name="Arguments.arguments"/>
  22823. </elementProp>
  22824. <stringProp name="HTTPSampler.domain"/>
  22825. <stringProp name="HTTPSampler.port"/>
  22826. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22827. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22828. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22829. <stringProp name="HTTPSampler.contentEncoding"/>
  22830. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_invoice/start/order_id/${order_id}/</stringProp>
  22831. <stringProp name="HTTPSampler.method">GET</stringProp>
  22832. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22833. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22834. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22835. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22836. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22837. <stringProp name="HTTPSampler.embedded_url_re"/>
  22838. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/invoice_start.jmx</stringProp></HTTPSamplerProxy>
  22839. <hashTree>
  22840. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22841. <collectionProp name="Asserion.test_strings">
  22842. <stringProp name="-1233850814">Invoice Totals</stringProp>
  22843. </collectionProp>
  22844. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22845. <boolProp name="Assertion.assume_success">false</boolProp>
  22846. <intProp name="Assertion.test_type">2</intProp>
  22847. </ResponseAssertion>
  22848. <hashTree/>
  22849. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract ordered items ids" enabled="true">
  22850. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  22851. <stringProp name="RegexExtractor.refname">item_ids</stringProp>
  22852. <stringProp name="RegexExtractor.regex">&lt;div id="order_item_(\d+)_title"\s*class="product-title"&gt;</stringProp>
  22853. <stringProp name="RegexExtractor.template">$1$</stringProp>
  22854. <stringProp name="RegexExtractor.default"/>
  22855. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  22856. <stringProp name="Scope.variable">simple_products</stringProp>
  22857. </RegexExtractor>
  22858. <hashTree/>
  22859. </hashTree>
  22860. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Invoice Submit" enabled="true">
  22861. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22862. <collectionProp name="Arguments.arguments">
  22863. <elementProp name="form_key" elementType="HTTPArgument">
  22864. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22865. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  22866. <stringProp name="Argument.metadata">=</stringProp>
  22867. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22868. <stringProp name="Argument.name">form_key</stringProp>
  22869. <stringProp name="Argument.desc">false</stringProp>
  22870. </elementProp>
  22871. <elementProp name="invoice[items][${item_ids_1}]" elementType="HTTPArgument">
  22872. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22873. <stringProp name="Argument.value">1</stringProp>
  22874. <stringProp name="Argument.metadata">=</stringProp>
  22875. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22876. <stringProp name="Argument.name">invoice[items][${item_ids_1}]</stringProp>
  22877. </elementProp>
  22878. <elementProp name="invoice[items][${item_ids_2}]" elementType="HTTPArgument">
  22879. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22880. <stringProp name="Argument.value">1</stringProp>
  22881. <stringProp name="Argument.metadata">=</stringProp>
  22882. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22883. <stringProp name="Argument.name">invoice[items][${item_ids_2}]</stringProp>
  22884. </elementProp>
  22885. <elementProp name="invoice[comment_text]" elementType="HTTPArgument">
  22886. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22887. <stringProp name="Argument.value">Invoiced</stringProp>
  22888. <stringProp name="Argument.metadata">=</stringProp>
  22889. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22890. <stringProp name="Argument.name">invoice[comment_text]</stringProp>
  22891. </elementProp>
  22892. </collectionProp>
  22893. </elementProp>
  22894. <stringProp name="HTTPSampler.domain"/>
  22895. <stringProp name="HTTPSampler.port"/>
  22896. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22897. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22898. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22899. <stringProp name="HTTPSampler.contentEncoding"/>
  22900. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_invoice/save/order_id/${order_id}/</stringProp>
  22901. <stringProp name="HTTPSampler.method">POST</stringProp>
  22902. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22903. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22904. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22905. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22906. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22907. <stringProp name="HTTPSampler.embedded_url_re"/>
  22908. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/invoice_submit.jmx</stringProp></HTTPSamplerProxy>
  22909. <hashTree>
  22910. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22911. <collectionProp name="Asserion.test_strings">
  22912. <stringProp name="1740524604">The invoice has been created</stringProp>
  22913. </collectionProp>
  22914. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22915. <boolProp name="Assertion.assume_success">false</boolProp>
  22916. <intProp name="Assertion.test_type">2</intProp>
  22917. </ResponseAssertion>
  22918. <hashTree/>
  22919. </hashTree>
  22920. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Credit Memo Start" enabled="true">
  22921. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22922. <collectionProp name="Arguments.arguments"/>
  22923. </elementProp>
  22924. <stringProp name="HTTPSampler.domain"/>
  22925. <stringProp name="HTTPSampler.port"/>
  22926. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  22927. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  22928. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  22929. <stringProp name="HTTPSampler.contentEncoding"/>
  22930. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_creditmemo/start/order_id/${order_id}/</stringProp>
  22931. <stringProp name="HTTPSampler.method">GET</stringProp>
  22932. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  22933. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  22934. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  22935. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  22936. <boolProp name="HTTPSampler.monitor">false</boolProp>
  22937. <stringProp name="HTTPSampler.embedded_url_re"/>
  22938. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/credit_memo_start.jmx</stringProp></HTTPSamplerProxy>
  22939. <hashTree>
  22940. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  22941. <collectionProp name="Asserion.test_strings">
  22942. <stringProp name="1382627322">New Memo</stringProp>
  22943. </collectionProp>
  22944. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  22945. <boolProp name="Assertion.assume_success">false</boolProp>
  22946. <intProp name="Assertion.test_type">2</intProp>
  22947. </ResponseAssertion>
  22948. <hashTree/>
  22949. </hashTree>
  22950. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Credit Memo Submit - Full Refund" enabled="true">
  22951. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  22952. <collectionProp name="Arguments.arguments">
  22953. <elementProp name="form_key" elementType="HTTPArgument">
  22954. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22955. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  22956. <stringProp name="Argument.metadata">=</stringProp>
  22957. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22958. <stringProp name="Argument.name">form_key</stringProp>
  22959. <stringProp name="Argument.desc">false</stringProp>
  22960. </elementProp>
  22961. <elementProp name="creditmemo[items][${item_ids_1}][qty]" elementType="HTTPArgument">
  22962. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22963. <stringProp name="Argument.value">1</stringProp>
  22964. <stringProp name="Argument.metadata">=</stringProp>
  22965. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22966. <stringProp name="Argument.name">creditmemo[items][${item_ids_1}][qty]</stringProp>
  22967. </elementProp>
  22968. <elementProp name="creditmemo[items][${item_ids_2}][qty]" elementType="HTTPArgument">
  22969. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22970. <stringProp name="Argument.value">1</stringProp>
  22971. <stringProp name="Argument.metadata">=</stringProp>
  22972. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22973. <stringProp name="Argument.name">creditmemo[items][${item_ids_2}][qty]</stringProp>
  22974. </elementProp>
  22975. <elementProp name="creditmemo[do_offline]" elementType="HTTPArgument">
  22976. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22977. <stringProp name="Argument.value">1</stringProp>
  22978. <stringProp name="Argument.metadata">=</stringProp>
  22979. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22980. <stringProp name="Argument.name">creditmemo[do_offline]</stringProp>
  22981. </elementProp>
  22982. <elementProp name="creditmemo[comment_text]" elementType="HTTPArgument">
  22983. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22984. <stringProp name="Argument.value">Credit Memo added</stringProp>
  22985. <stringProp name="Argument.metadata">=</stringProp>
  22986. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22987. <stringProp name="Argument.name">creditmemo[comment_text]</stringProp>
  22988. </elementProp>
  22989. <elementProp name="creditmemo[shipping_amount]" elementType="HTTPArgument">
  22990. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22991. <stringProp name="Argument.value">10</stringProp>
  22992. <stringProp name="Argument.metadata">=</stringProp>
  22993. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  22994. <stringProp name="Argument.name">creditmemo[shipping_amount]</stringProp>
  22995. </elementProp>
  22996. <elementProp name="creditmemo[adjustment_positive]" elementType="HTTPArgument">
  22997. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  22998. <stringProp name="Argument.value">0</stringProp>
  22999. <stringProp name="Argument.metadata">=</stringProp>
  23000. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23001. <stringProp name="Argument.name">creditmemo[adjustment_positive]</stringProp>
  23002. </elementProp>
  23003. <elementProp name="creditmemo[adjustment_negative]" elementType="HTTPArgument">
  23004. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23005. <stringProp name="Argument.value">0</stringProp>
  23006. <stringProp name="Argument.metadata">=</stringProp>
  23007. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23008. <stringProp name="Argument.name">creditmemo[adjustment_negative]</stringProp>
  23009. </elementProp>
  23010. </collectionProp>
  23011. </elementProp>
  23012. <stringProp name="HTTPSampler.domain"/>
  23013. <stringProp name="HTTPSampler.port"/>
  23014. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23015. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23016. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23017. <stringProp name="HTTPSampler.contentEncoding"/>
  23018. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_creditmemo/save/order_id/${order_id}/</stringProp>
  23019. <stringProp name="HTTPSampler.method">POST</stringProp>
  23020. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23021. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23022. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23023. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23024. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23025. <stringProp name="HTTPSampler.embedded_url_re"/>
  23026. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/credit_memo_full_refund.jmx</stringProp></HTTPSamplerProxy>
  23027. <hashTree>
  23028. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  23029. <collectionProp name="Asserion.test_strings">
  23030. <stringProp name="-515117447">You created the credit memo</stringProp>
  23031. </collectionProp>
  23032. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23033. <boolProp name="Assertion.assume_success">false</boolProp>
  23034. <intProp name="Assertion.test_type">2</intProp>
  23035. </ResponseAssertion>
  23036. <hashTree/>
  23037. </hashTree>
  23038. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Create/Process Returns - Pause" enabled="true">
  23039. <intProp name="ActionProcessor.action">1</intProp>
  23040. <intProp name="ActionProcessor.target">0</intProp>
  23041. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${adminCreateProcessReturnsDelay}*1000))}</stringProp>
  23042. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/pause.jmx</stringProp></TestAction>
  23043. <hashTree/>
  23044. </hashTree>
  23045. </hashTree>
  23046. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  23047. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23048. <collectionProp name="Arguments.arguments"/>
  23049. </elementProp>
  23050. <stringProp name="HTTPSampler.domain"/>
  23051. <stringProp name="HTTPSampler.port"/>
  23052. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23053. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23054. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23055. <stringProp name="HTTPSampler.contentEncoding"/>
  23056. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  23057. <stringProp name="HTTPSampler.method">GET</stringProp>
  23058. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23059. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23060. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23061. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23062. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23063. <stringProp name="HTTPSampler.embedded_url_re"/>
  23064. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  23065. <hashTree>
  23066. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  23067. <boolProp name="resetInterpreter">false</boolProp>
  23068. <stringProp name="parameters"/>
  23069. <stringProp name="filename"/>
  23070. <stringProp name="script">
  23071. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  23072. if (adminUsersDistribution == 1) {
  23073. adminUserList = props.get("adminUserList");
  23074. adminUserList.add(vars.get("admin_user"));
  23075. }
  23076. </stringProp>
  23077. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  23078. <hashTree/>
  23079. </hashTree>
  23080. </hashTree>
  23081. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Browse Customer Grid" enabled="true">
  23082. <intProp name="ThroughputController.style">1</intProp>
  23083. <boolProp name="ThroughputController.perThread">false</boolProp>
  23084. <intProp name="ThroughputController.maxThroughput">1</intProp>
  23085. <stringProp name="ThroughputController.percentThroughput">${browseCustomerGridPercentage}</stringProp>
  23086. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  23087. <hashTree>
  23088. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  23089. <stringProp name="script">
  23090. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  23091. if (testLabel
  23092. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  23093. ) {
  23094. if (sampler.getName().indexOf(testLabel) == -1) {
  23095. sampler.setName(sampler.getName() + testLabel);
  23096. }
  23097. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  23098. sampler.setName("SetUp - " + sampler.getName());
  23099. }
  23100. </stringProp>
  23101. <stringProp name="scriptLanguage">javascript</stringProp>
  23102. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  23103. <hashTree/>
  23104. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  23105. <stringProp name="BeanShellSampler.query">
  23106. vars.put("testLabel", "Browse Customer Grid");
  23107. </stringProp>
  23108. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  23109. </BeanShellSampler>
  23110. <hashTree/>
  23111. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  23112. <stringProp name="script">
  23113. function getFormKeyFromResponse()
  23114. {
  23115. var url = prev.getUrlAsString(),
  23116. responseCode = prev.getResponseCode(),
  23117. formKey = null;
  23118. searchPattern = /var FORM_KEY = '(.+)'/;
  23119. if (responseCode == "200" &amp;&amp; url) {
  23120. response = prev.getResponseDataAsString();
  23121. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  23122. }
  23123. return formKey;
  23124. }
  23125. formKey = vars.get("form_key_storage");
  23126. currentFormKey = getFormKeyFromResponse();
  23127. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  23128. vars.put("form_key_storage", currentFormKey);
  23129. }
  23130. </stringProp>
  23131. <stringProp name="scriptLanguage">javascript</stringProp>
  23132. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  23133. <hashTree/>
  23134. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  23135. <stringProp name="script">
  23136. formKey = vars.get("form_key_storage");
  23137. if (formKey
  23138. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  23139. &amp;&amp; sampler.getMethod() == "POST")
  23140. {
  23141. arguments = sampler.getArguments();
  23142. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  23143. {
  23144. argument = arguments.getArgument(i);
  23145. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  23146. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  23147. argument.setValue(formKey);
  23148. }
  23149. }
  23150. }
  23151. </stringProp>
  23152. <stringProp name="scriptLanguage">javascript</stringProp>
  23153. </JSR223PreProcessor>
  23154. <hashTree/>
  23155. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  23156. <collectionProp name="CookieManager.cookies"/>
  23157. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  23158. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  23159. <hashTree/>
  23160. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  23161. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  23162. </GenericController>
  23163. <hashTree>
  23164. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  23165. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  23166. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  23167. <hashTree>
  23168. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  23169. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  23170. <stringProp name="BeanShellSampler.query">
  23171. adminUserList = props.get("adminUserList");
  23172. adminUserListIterator = props.get("adminUserListIterator");
  23173. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  23174. if (adminUsersDistribution == 1) {
  23175. adminUser = adminUserList.poll();
  23176. } else {
  23177. if (!adminUserListIterator.hasNext()) {
  23178. adminUserListIterator = adminUserList.descendingIterator();
  23179. }
  23180. adminUser = adminUserListIterator.next();
  23181. }
  23182. if (adminUser == null) {
  23183. SampleResult.setResponseMessage("adminUser list is empty");
  23184. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  23185. IsSuccess=false;
  23186. SampleResult.setSuccessful(false);
  23187. SampleResult.setStopThread(true);
  23188. }
  23189. vars.put("admin_user", adminUser);
  23190. </stringProp>
  23191. <stringProp name="BeanShellSampler.filename"/>
  23192. <stringProp name="BeanShellSampler.parameters"/>
  23193. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  23194. </BeanShellSampler>
  23195. <hashTree/>
  23196. </hashTree>
  23197. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  23198. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23199. <collectionProp name="Arguments.arguments"/>
  23200. </elementProp>
  23201. <stringProp name="HTTPSampler.domain"/>
  23202. <stringProp name="HTTPSampler.port"/>
  23203. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23204. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23205. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23206. <stringProp name="HTTPSampler.contentEncoding"/>
  23207. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  23208. <stringProp name="HTTPSampler.method">GET</stringProp>
  23209. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23210. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23211. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23212. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23213. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23214. <stringProp name="HTTPSampler.embedded_url_re"/>
  23215. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  23216. <hashTree>
  23217. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  23218. <collectionProp name="Asserion.test_strings">
  23219. <stringProp name="-1397214398">Welcome</stringProp>
  23220. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  23221. </collectionProp>
  23222. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23223. <boolProp name="Assertion.assume_success">false</boolProp>
  23224. <intProp name="Assertion.test_type">2</intProp>
  23225. </ResponseAssertion>
  23226. <hashTree/>
  23227. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  23228. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  23229. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  23230. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  23231. <stringProp name="RegexExtractor.template">$1$</stringProp>
  23232. <stringProp name="RegexExtractor.default"/>
  23233. <stringProp name="RegexExtractor.match_number">1</stringProp>
  23234. </RegexExtractor>
  23235. <hashTree/>
  23236. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  23237. <collectionProp name="Asserion.test_strings">
  23238. <stringProp name="2845929">^.+$</stringProp>
  23239. </collectionProp>
  23240. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23241. <boolProp name="Assertion.assume_success">false</boolProp>
  23242. <intProp name="Assertion.test_type">1</intProp>
  23243. <stringProp name="Assertion.scope">variable</stringProp>
  23244. <stringProp name="Scope.variable">admin_form_key</stringProp>
  23245. </ResponseAssertion>
  23246. <hashTree/>
  23247. </hashTree>
  23248. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  23249. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23250. <collectionProp name="Arguments.arguments">
  23251. <elementProp name="dummy" elementType="HTTPArgument">
  23252. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23253. <stringProp name="Argument.value"/>
  23254. <stringProp name="Argument.metadata">=</stringProp>
  23255. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23256. <stringProp name="Argument.name">dummy</stringProp>
  23257. </elementProp>
  23258. <elementProp name="form_key" elementType="HTTPArgument">
  23259. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23260. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  23261. <stringProp name="Argument.metadata">=</stringProp>
  23262. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23263. <stringProp name="Argument.name">form_key</stringProp>
  23264. </elementProp>
  23265. <elementProp name="login[password]" elementType="HTTPArgument">
  23266. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23267. <stringProp name="Argument.value">${admin_password}</stringProp>
  23268. <stringProp name="Argument.metadata">=</stringProp>
  23269. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23270. <stringProp name="Argument.name">login[password]</stringProp>
  23271. </elementProp>
  23272. <elementProp name="login[username]" elementType="HTTPArgument">
  23273. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23274. <stringProp name="Argument.value">${admin_user}</stringProp>
  23275. <stringProp name="Argument.metadata">=</stringProp>
  23276. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23277. <stringProp name="Argument.name">login[username]</stringProp>
  23278. </elementProp>
  23279. </collectionProp>
  23280. </elementProp>
  23281. <stringProp name="HTTPSampler.domain"/>
  23282. <stringProp name="HTTPSampler.port"/>
  23283. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23284. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23285. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23286. <stringProp name="HTTPSampler.contentEncoding"/>
  23287. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  23288. <stringProp name="HTTPSampler.method">POST</stringProp>
  23289. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23290. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23291. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23292. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23293. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  23294. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23295. <stringProp name="HTTPSampler.embedded_url_re"/>
  23296. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  23297. </HTTPSamplerProxy>
  23298. <hashTree>
  23299. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  23300. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  23301. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  23302. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  23303. <stringProp name="RegexExtractor.template">$1$</stringProp>
  23304. <stringProp name="RegexExtractor.default"/>
  23305. <stringProp name="RegexExtractor.match_number">1</stringProp>
  23306. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  23307. <hashTree/>
  23308. </hashTree>
  23309. </hashTree>
  23310. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Set Arguments" enabled="true">
  23311. <stringProp name="script">
  23312. vars.put("gridEntityType" , "Customer");
  23313. pagesCount = parseInt(vars.get("customers_page_size")) || 20;
  23314. vars.put("grid_entity_page_size" , pagesCount);
  23315. vars.put("grid_namespace" , "customer_listing");
  23316. vars.put("grid_admin_browse_filter_text" , vars.get("admin_browse_customer_filter_text"));
  23317. vars.put("grid_filter_field", "name");
  23318. // set sort fields and sort directions
  23319. vars.put("grid_sort_field_1", "name");
  23320. vars.put("grid_sort_field_2", "group_id");
  23321. vars.put("grid_sort_field_3", "billing_country_id");
  23322. vars.put("grid_sort_order_1", "asc");
  23323. vars.put("grid_sort_order_2", "desc");
  23324. </stringProp>
  23325. <stringProp name="scriptLanguage">javascript</stringProp>
  23326. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_customers_grid/setup.jmx</stringProp></JSR223PostProcessor>
  23327. <hashTree/>
  23328. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  23329. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  23330. </GenericController>
  23331. <hashTree>
  23332. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Set ${gridEntityType} Pages Count" enabled="true">
  23333. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23334. <collectionProp name="Arguments.arguments">
  23335. <elementProp name="namespace" elementType="HTTPArgument">
  23336. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23337. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  23338. <stringProp name="Argument.metadata">=</stringProp>
  23339. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23340. <stringProp name="Argument.name">namespace</stringProp>
  23341. <stringProp name="Argument.desc">true</stringProp>
  23342. </elementProp>
  23343. <elementProp name="search" elementType="HTTPArgument">
  23344. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23345. <stringProp name="Argument.value"/>
  23346. <stringProp name="Argument.metadata">=</stringProp>
  23347. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23348. <stringProp name="Argument.name">search</stringProp>
  23349. <stringProp name="Argument.desc">true</stringProp>
  23350. </elementProp>
  23351. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  23352. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23353. <stringProp name="Argument.value">true</stringProp>
  23354. <stringProp name="Argument.metadata">=</stringProp>
  23355. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23356. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  23357. <stringProp name="Argument.desc">true</stringProp>
  23358. </elementProp>
  23359. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  23360. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23361. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  23362. <stringProp name="Argument.metadata">=</stringProp>
  23363. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23364. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  23365. <stringProp name="Argument.desc">true</stringProp>
  23366. </elementProp>
  23367. <elementProp name="paging[current]" elementType="HTTPArgument">
  23368. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23369. <stringProp name="Argument.value">1</stringProp>
  23370. <stringProp name="Argument.metadata">=</stringProp>
  23371. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23372. <stringProp name="Argument.name">paging[current]</stringProp>
  23373. <stringProp name="Argument.desc">true</stringProp>
  23374. </elementProp>
  23375. <elementProp name="sorting[field]" elementType="HTTPArgument">
  23376. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23377. <stringProp name="Argument.value">entity_id</stringProp>
  23378. <stringProp name="Argument.metadata">=</stringProp>
  23379. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23380. <stringProp name="Argument.name">sorting[field]</stringProp>
  23381. <stringProp name="Argument.desc">true</stringProp>
  23382. </elementProp>
  23383. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  23384. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23385. <stringProp name="Argument.value">asc</stringProp>
  23386. <stringProp name="Argument.metadata">=</stringProp>
  23387. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23388. <stringProp name="Argument.name">sorting[direction]</stringProp>
  23389. <stringProp name="Argument.desc">true</stringProp>
  23390. </elementProp>
  23391. <elementProp name="isAjax" elementType="HTTPArgument">
  23392. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23393. <stringProp name="Argument.value">true</stringProp>
  23394. <stringProp name="Argument.metadata">=</stringProp>
  23395. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23396. <stringProp name="Argument.name">isAjax</stringProp>
  23397. <stringProp name="Argument.desc">true</stringProp>
  23398. </elementProp>
  23399. </collectionProp>
  23400. </elementProp>
  23401. <stringProp name="HTTPSampler.domain"/>
  23402. <stringProp name="HTTPSampler.port"/>
  23403. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23404. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23405. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23406. <stringProp name="HTTPSampler.contentEncoding"/>
  23407. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  23408. <stringProp name="HTTPSampler.method">GET</stringProp>
  23409. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23410. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23411. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23412. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23413. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23414. <stringProp name="HTTPSampler.embedded_url_re"/>
  23415. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/set_pages_count.jmx</stringProp></HTTPSamplerProxy>
  23416. <hashTree>
  23417. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  23418. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  23419. <stringProp name="EXPECTED_VALUE">0</stringProp>
  23420. <boolProp name="JSONVALIDATION">true</boolProp>
  23421. <boolProp name="EXPECT_NULL">false</boolProp>
  23422. <boolProp name="INVERT">true</boolProp>
  23423. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  23424. <hashTree/>
  23425. <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 total records" enabled="true">
  23426. <stringProp name="VAR">entity_total_records</stringProp>
  23427. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  23428. <stringProp name="DEFAULT"/>
  23429. <stringProp name="VARIABLE"/>
  23430. <stringProp name="SUBJECT">BODY</stringProp>
  23431. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  23432. <hashTree/>
  23433. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Calculate ${gridEntityType} pages count" enabled="true">
  23434. <stringProp name="cacheKey"/>
  23435. <stringProp name="filename"/>
  23436. <stringProp name="parameters"/>
  23437. <stringProp name="script">
  23438. var pageSize = parseInt(vars.get("grid_entity_page_size")) || 20;
  23439. var totalsRecord = parseInt(vars.get("entity_total_records"));
  23440. var pageCount = Math.round(totalsRecord/pageSize);
  23441. vars.put("grid_pages_count", pageCount);
  23442. </stringProp>
  23443. <stringProp name="scriptLanguage">javascript</stringProp>
  23444. </JSR223PostProcessor>
  23445. <hashTree/>
  23446. </hashTree>
  23447. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Set ${gridEntityType} Filtered Pages Count" enabled="true">
  23448. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23449. <collectionProp name="Arguments.arguments">
  23450. <elementProp name="namespace" elementType="HTTPArgument">
  23451. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23452. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  23453. <stringProp name="Argument.metadata">=</stringProp>
  23454. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23455. <stringProp name="Argument.name">namespace</stringProp>
  23456. <stringProp name="Argument.desc">true</stringProp>
  23457. </elementProp>
  23458. <elementProp name="search" elementType="HTTPArgument">
  23459. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23460. <stringProp name="Argument.value"/>
  23461. <stringProp name="Argument.metadata">=</stringProp>
  23462. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23463. <stringProp name="Argument.name">search</stringProp>
  23464. <stringProp name="Argument.desc">true</stringProp>
  23465. </elementProp>
  23466. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  23467. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23468. <stringProp name="Argument.value">${grid_admin_browse_filter_text}</stringProp>
  23469. <stringProp name="Argument.metadata">=</stringProp>
  23470. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23471. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  23472. <stringProp name="Argument.desc">true</stringProp>
  23473. </elementProp>
  23474. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  23475. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23476. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  23477. <stringProp name="Argument.metadata">=</stringProp>
  23478. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23479. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  23480. <stringProp name="Argument.desc">true</stringProp>
  23481. </elementProp>
  23482. <elementProp name="paging[current]" elementType="HTTPArgument">
  23483. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23484. <stringProp name="Argument.value">1</stringProp>
  23485. <stringProp name="Argument.metadata">=</stringProp>
  23486. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23487. <stringProp name="Argument.name">paging[current]</stringProp>
  23488. <stringProp name="Argument.desc">true</stringProp>
  23489. </elementProp>
  23490. <elementProp name="sorting[field]" elementType="HTTPArgument">
  23491. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23492. <stringProp name="Argument.value">entity_id</stringProp>
  23493. <stringProp name="Argument.metadata">=</stringProp>
  23494. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23495. <stringProp name="Argument.name">sorting[field]</stringProp>
  23496. <stringProp name="Argument.desc">true</stringProp>
  23497. </elementProp>
  23498. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  23499. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23500. <stringProp name="Argument.value">asc</stringProp>
  23501. <stringProp name="Argument.metadata">=</stringProp>
  23502. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23503. <stringProp name="Argument.name">sorting[direction]</stringProp>
  23504. <stringProp name="Argument.desc">true</stringProp>
  23505. </elementProp>
  23506. <elementProp name="isAjax" elementType="HTTPArgument">
  23507. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23508. <stringProp name="Argument.value">true</stringProp>
  23509. <stringProp name="Argument.metadata">=</stringProp>
  23510. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23511. <stringProp name="Argument.name">isAjax</stringProp>
  23512. <stringProp name="Argument.desc">true</stringProp>
  23513. </elementProp>
  23514. </collectionProp>
  23515. </elementProp>
  23516. <stringProp name="HTTPSampler.domain"/>
  23517. <stringProp name="HTTPSampler.port"/>
  23518. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23519. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23520. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23521. <stringProp name="HTTPSampler.contentEncoding"/>
  23522. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  23523. <stringProp name="HTTPSampler.method">GET</stringProp>
  23524. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23525. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23526. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23527. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23528. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23529. <stringProp name="HTTPSampler.embedded_url_re"/>
  23530. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/set_filtered_pages_count.jmx</stringProp></HTTPSamplerProxy>
  23531. <hashTree>
  23532. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  23533. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  23534. <stringProp name="EXPECTED_VALUE">0</stringProp>
  23535. <boolProp name="JSONVALIDATION">true</boolProp>
  23536. <boolProp name="EXPECT_NULL">false</boolProp>
  23537. <boolProp name="INVERT">true</boolProp>
  23538. <boolProp name="ISREGEX">true</boolProp>
  23539. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  23540. <hashTree/>
  23541. <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 total records" enabled="true">
  23542. <stringProp name="VAR">entity_total_records</stringProp>
  23543. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  23544. <stringProp name="DEFAULT"/>
  23545. <stringProp name="VARIABLE"/>
  23546. <stringProp name="SUBJECT">BODY</stringProp>
  23547. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  23548. <hashTree/>
  23549. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="SetUp - Calculate ${gridEntityType} filtered pages count" enabled="true">
  23550. <stringProp name="parameters"/>
  23551. <stringProp name="filename"/>
  23552. <stringProp name="script">
  23553. var pageSize = parseInt(vars.get("grid_entity_page_size")) || 20;
  23554. var totalsRecord = parseInt(vars.get("entity_total_records"));
  23555. var pageCount = Math.round(totalsRecord/pageSize);
  23556. vars.put("grid_pages_count_filtered", pageCount);
  23557. </stringProp>
  23558. <stringProp name="scriptLanguage">javascript</stringProp>
  23559. </JSR223PostProcessor>
  23560. <hashTree/>
  23561. </hashTree>
  23562. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="SetUp - Select ${gridEntityType} Page Number" enabled="true">
  23563. <stringProp name="CounterConfig.start">1</stringProp>
  23564. <stringProp name="CounterConfig.end">${grid_pages_count}</stringProp>
  23565. <stringProp name="CounterConfig.incr">1</stringProp>
  23566. <stringProp name="CounterConfig.name">page_number</stringProp>
  23567. <stringProp name="CounterConfig.format"/>
  23568. <boolProp name="CounterConfig.per_user">true</boolProp>
  23569. <boolProp name="CounterConfig.reset_on_tg_iteration">false</boolProp>
  23570. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/select_page_number.jmx</stringProp></CounterConfig>
  23571. <hashTree/>
  23572. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View ${gridEntityType} page" enabled="true">
  23573. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23574. <collectionProp name="Arguments.arguments">
  23575. <elementProp name="namespace" elementType="HTTPArgument">
  23576. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23577. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  23578. <stringProp name="Argument.metadata">=</stringProp>
  23579. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23580. <stringProp name="Argument.name">namespace</stringProp>
  23581. <stringProp name="Argument.desc">true</stringProp>
  23582. </elementProp>
  23583. <elementProp name="search" elementType="HTTPArgument">
  23584. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23585. <stringProp name="Argument.value"/>
  23586. <stringProp name="Argument.metadata">=</stringProp>
  23587. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23588. <stringProp name="Argument.name">search</stringProp>
  23589. <stringProp name="Argument.desc">true</stringProp>
  23590. </elementProp>
  23591. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  23592. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23593. <stringProp name="Argument.value">true</stringProp>
  23594. <stringProp name="Argument.metadata">=</stringProp>
  23595. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23596. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  23597. <stringProp name="Argument.desc">true</stringProp>
  23598. </elementProp>
  23599. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  23600. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23601. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  23602. <stringProp name="Argument.metadata">=</stringProp>
  23603. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23604. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  23605. <stringProp name="Argument.desc">true</stringProp>
  23606. </elementProp>
  23607. <elementProp name="paging[current]" elementType="HTTPArgument">
  23608. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23609. <stringProp name="Argument.value">${page_number}</stringProp>
  23610. <stringProp name="Argument.metadata">=</stringProp>
  23611. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23612. <stringProp name="Argument.name">paging[current]</stringProp>
  23613. <stringProp name="Argument.desc">true</stringProp>
  23614. </elementProp>
  23615. <elementProp name="sorting[field]" elementType="HTTPArgument">
  23616. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23617. <stringProp name="Argument.value">entity_id</stringProp>
  23618. <stringProp name="Argument.metadata">=</stringProp>
  23619. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23620. <stringProp name="Argument.name">sorting[field]</stringProp>
  23621. <stringProp name="Argument.desc">true</stringProp>
  23622. </elementProp>
  23623. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  23624. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23625. <stringProp name="Argument.value">asc</stringProp>
  23626. <stringProp name="Argument.metadata">=</stringProp>
  23627. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23628. <stringProp name="Argument.name">sorting[direction]</stringProp>
  23629. <stringProp name="Argument.desc">true</stringProp>
  23630. </elementProp>
  23631. <elementProp name="isAjax" elementType="HTTPArgument">
  23632. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23633. <stringProp name="Argument.value">true</stringProp>
  23634. <stringProp name="Argument.metadata">=</stringProp>
  23635. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23636. <stringProp name="Argument.name">isAjax</stringProp>
  23637. <stringProp name="Argument.desc">true</stringProp>
  23638. </elementProp>
  23639. </collectionProp>
  23640. </elementProp>
  23641. <stringProp name="HTTPSampler.domain"/>
  23642. <stringProp name="HTTPSampler.port"/>
  23643. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23644. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23645. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23646. <stringProp name="HTTPSampler.contentEncoding"/>
  23647. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  23648. <stringProp name="HTTPSampler.method">GET</stringProp>
  23649. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23650. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23651. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23652. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23653. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23654. <stringProp name="HTTPSampler.embedded_url_re"/>
  23655. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/admin_browse_grid.jmx</stringProp></HTTPSamplerProxy>
  23656. <hashTree>
  23657. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  23658. <collectionProp name="Asserion.test_strings">
  23659. <stringProp name="1637639774">\"totalRecords\":[^0]\d*</stringProp>
  23660. </collectionProp>
  23661. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23662. <boolProp name="Assertion.assume_success">false</boolProp>
  23663. <intProp name="Assertion.test_type">2</intProp>
  23664. </ResponseAssertion>
  23665. <hashTree/>
  23666. </hashTree>
  23667. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="SetUp - Select Filtered ${gridEntityType} Page Number" enabled="true">
  23668. <stringProp name="CounterConfig.start">1</stringProp>
  23669. <stringProp name="CounterConfig.end">${grid_pages_count_filtered}</stringProp>
  23670. <stringProp name="CounterConfig.incr">1</stringProp>
  23671. <stringProp name="CounterConfig.name">page_number</stringProp>
  23672. <stringProp name="CounterConfig.format"/>
  23673. <boolProp name="CounterConfig.per_user">true</boolProp>
  23674. <boolProp name="CounterConfig.reset_on_tg_iteration">false</boolProp>
  23675. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/select_filtered_page_number.jmx</stringProp></CounterConfig>
  23676. <hashTree/>
  23677. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="View ${gridEntityType} page - Filtering + Sorting" enabled="true">
  23678. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_grid_browsing/admin_browse_grid_sort_and_filter.jmx</stringProp>
  23679. </TestFragmentController>
  23680. <hashTree>
  23681. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Sort Field Defined" enabled="true">
  23682. <stringProp name="ForeachController.inputVal">grid_sort_field</stringProp>
  23683. <stringProp name="ForeachController.returnVal">grid_sort_field</stringProp>
  23684. <boolProp name="ForeachController.useSeparator">true</boolProp>
  23685. <stringProp name="ForeachController.startIndex">0</stringProp>
  23686. <stringProp name="ForeachController.endIndex">3</stringProp>
  23687. </ForeachController>
  23688. <hashTree>
  23689. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Sort Order Defined" enabled="true">
  23690. <stringProp name="ForeachController.inputVal">grid_sort_order</stringProp>
  23691. <stringProp name="ForeachController.returnVal">grid_sort_order</stringProp>
  23692. <boolProp name="ForeachController.useSeparator">true</boolProp>
  23693. <stringProp name="ForeachController.startIndex">0</stringProp>
  23694. <stringProp name="ForeachController.endIndex">2</stringProp>
  23695. </ForeachController>
  23696. <hashTree>
  23697. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="View ${gridEntityType} page - Filtering + Sort By ${grid_sort_field} ${grid_sort_order}" enabled="true">
  23698. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23699. <collectionProp name="Arguments.arguments">
  23700. <elementProp name="namespace" elementType="HTTPArgument">
  23701. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23702. <stringProp name="Argument.value">${grid_namespace}</stringProp>
  23703. <stringProp name="Argument.metadata">=</stringProp>
  23704. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23705. <stringProp name="Argument.name">namespace</stringProp>
  23706. <stringProp name="Argument.desc">false</stringProp>
  23707. </elementProp>
  23708. <elementProp name="filters[${grid_filter_field}]" elementType="HTTPArgument">
  23709. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23710. <stringProp name="Argument.value">${grid_admin_browse_filter_text}</stringProp>
  23711. <stringProp name="Argument.metadata">=</stringProp>
  23712. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23713. <stringProp name="Argument.name">filters[${grid_filter_field}]</stringProp>
  23714. <stringProp name="Argument.desc">false</stringProp>
  23715. </elementProp>
  23716. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  23717. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23718. <stringProp name="Argument.value">true</stringProp>
  23719. <stringProp name="Argument.metadata">=</stringProp>
  23720. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23721. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  23722. <stringProp name="Argument.desc">false</stringProp>
  23723. </elementProp>
  23724. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  23725. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23726. <stringProp name="Argument.value">${grid_entity_page_size}</stringProp>
  23727. <stringProp name="Argument.metadata">=</stringProp>
  23728. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23729. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  23730. <stringProp name="Argument.desc">false</stringProp>
  23731. </elementProp>
  23732. <elementProp name="paging[current]" elementType="HTTPArgument">
  23733. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23734. <stringProp name="Argument.value">${page_number}</stringProp>
  23735. <stringProp name="Argument.metadata">=</stringProp>
  23736. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23737. <stringProp name="Argument.name">paging[current]</stringProp>
  23738. <stringProp name="Argument.desc">false</stringProp>
  23739. </elementProp>
  23740. <elementProp name="sorting[field]" elementType="HTTPArgument">
  23741. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23742. <stringProp name="Argument.value">${grid_sort_field}</stringProp>
  23743. <stringProp name="Argument.metadata">=</stringProp>
  23744. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23745. <stringProp name="Argument.name">sorting[field]</stringProp>
  23746. <stringProp name="Argument.desc">false</stringProp>
  23747. </elementProp>
  23748. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  23749. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23750. <stringProp name="Argument.value">${grid_sort_order}</stringProp>
  23751. <stringProp name="Argument.metadata">=</stringProp>
  23752. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23753. <stringProp name="Argument.name">sorting[direction]</stringProp>
  23754. <stringProp name="Argument.desc">false</stringProp>
  23755. </elementProp>
  23756. <elementProp name="isAjax" elementType="HTTPArgument">
  23757. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  23758. <stringProp name="Argument.value">true</stringProp>
  23759. <stringProp name="Argument.metadata">=</stringProp>
  23760. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  23761. <stringProp name="Argument.name">isAjax</stringProp>
  23762. <stringProp name="Argument.desc">false</stringProp>
  23763. </elementProp>
  23764. </collectionProp>
  23765. </elementProp>
  23766. <stringProp name="HTTPSampler.domain"/>
  23767. <stringProp name="HTTPSampler.port"/>
  23768. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23769. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23770. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23771. <stringProp name="HTTPSampler.contentEncoding"/>
  23772. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  23773. <stringProp name="HTTPSampler.method">GET</stringProp>
  23774. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23775. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23776. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23777. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23778. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23779. <stringProp name="HTTPSampler.embedded_url_re"/>
  23780. </HTTPSamplerProxy>
  23781. <hashTree>
  23782. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  23783. <collectionProp name="Asserion.test_strings">
  23784. <stringProp name="1637639774">\"totalRecords\":[^0]\d*</stringProp>
  23785. </collectionProp>
  23786. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23787. <boolProp name="Assertion.assume_success">false</boolProp>
  23788. <intProp name="Assertion.test_type">2</intProp>
  23789. </ResponseAssertion>
  23790. <hashTree/>
  23791. </hashTree>
  23792. </hashTree>
  23793. </hashTree>
  23794. </hashTree>
  23795. </hashTree>
  23796. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  23797. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23798. <collectionProp name="Arguments.arguments"/>
  23799. </elementProp>
  23800. <stringProp name="HTTPSampler.domain"/>
  23801. <stringProp name="HTTPSampler.port"/>
  23802. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23803. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23804. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23805. <stringProp name="HTTPSampler.contentEncoding"/>
  23806. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  23807. <stringProp name="HTTPSampler.method">GET</stringProp>
  23808. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23809. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23810. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23811. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23812. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23813. <stringProp name="HTTPSampler.embedded_url_re"/>
  23814. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  23815. <hashTree>
  23816. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  23817. <boolProp name="resetInterpreter">false</boolProp>
  23818. <stringProp name="parameters"/>
  23819. <stringProp name="filename"/>
  23820. <stringProp name="script">
  23821. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  23822. if (adminUsersDistribution == 1) {
  23823. adminUserList = props.get("adminUserList");
  23824. adminUserList.add(vars.get("admin_user"));
  23825. }
  23826. </stringProp>
  23827. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  23828. <hashTree/>
  23829. </hashTree>
  23830. </hashTree>
  23831. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Create Order" enabled="true">
  23832. <intProp name="ThroughputController.style">1</intProp>
  23833. <boolProp name="ThroughputController.perThread">false</boolProp>
  23834. <intProp name="ThroughputController.maxThroughput">1</intProp>
  23835. <stringProp name="ThroughputController.percentThroughput">${adminCreateOrderPercentage}</stringProp>
  23836. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  23837. <hashTree>
  23838. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  23839. <stringProp name="script">
  23840. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  23841. if (testLabel
  23842. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  23843. ) {
  23844. if (sampler.getName().indexOf(testLabel) == -1) {
  23845. sampler.setName(sampler.getName() + testLabel);
  23846. }
  23847. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  23848. sampler.setName("SetUp - " + sampler.getName());
  23849. }
  23850. </stringProp>
  23851. <stringProp name="scriptLanguage">javascript</stringProp>
  23852. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  23853. <hashTree/>
  23854. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  23855. <stringProp name="BeanShellSampler.query">
  23856. vars.put("testLabel", "Admin Create Order");
  23857. </stringProp>
  23858. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  23859. </BeanShellSampler>
  23860. <hashTree/>
  23861. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  23862. <stringProp name="script">
  23863. function getFormKeyFromResponse()
  23864. {
  23865. var url = prev.getUrlAsString(),
  23866. responseCode = prev.getResponseCode(),
  23867. formKey = null;
  23868. searchPattern = /var FORM_KEY = '(.+)'/;
  23869. if (responseCode == "200" &amp;&amp; url) {
  23870. response = prev.getResponseDataAsString();
  23871. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  23872. }
  23873. return formKey;
  23874. }
  23875. formKey = vars.get("form_key_storage");
  23876. currentFormKey = getFormKeyFromResponse();
  23877. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  23878. vars.put("form_key_storage", currentFormKey);
  23879. }
  23880. </stringProp>
  23881. <stringProp name="scriptLanguage">javascript</stringProp>
  23882. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  23883. <hashTree/>
  23884. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  23885. <stringProp name="script">
  23886. formKey = vars.get("form_key_storage");
  23887. if (formKey
  23888. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  23889. &amp;&amp; sampler.getMethod() == "POST")
  23890. {
  23891. arguments = sampler.getArguments();
  23892. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  23893. {
  23894. argument = arguments.getArgument(i);
  23895. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  23896. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  23897. argument.setValue(formKey);
  23898. }
  23899. }
  23900. }
  23901. </stringProp>
  23902. <stringProp name="scriptLanguage">javascript</stringProp>
  23903. </JSR223PreProcessor>
  23904. <hashTree/>
  23905. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  23906. <collectionProp name="CookieManager.cookies"/>
  23907. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  23908. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  23909. <hashTree/>
  23910. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  23911. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  23912. </GenericController>
  23913. <hashTree>
  23914. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  23915. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  23916. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  23917. <hashTree>
  23918. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  23919. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  23920. <stringProp name="BeanShellSampler.query">
  23921. adminUserList = props.get("adminUserList");
  23922. adminUserListIterator = props.get("adminUserListIterator");
  23923. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  23924. if (adminUsersDistribution == 1) {
  23925. adminUser = adminUserList.poll();
  23926. } else {
  23927. if (!adminUserListIterator.hasNext()) {
  23928. adminUserListIterator = adminUserList.descendingIterator();
  23929. }
  23930. adminUser = adminUserListIterator.next();
  23931. }
  23932. if (adminUser == null) {
  23933. SampleResult.setResponseMessage("adminUser list is empty");
  23934. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  23935. IsSuccess=false;
  23936. SampleResult.setSuccessful(false);
  23937. SampleResult.setStopThread(true);
  23938. }
  23939. vars.put("admin_user", adminUser);
  23940. </stringProp>
  23941. <stringProp name="BeanShellSampler.filename"/>
  23942. <stringProp name="BeanShellSampler.parameters"/>
  23943. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  23944. </BeanShellSampler>
  23945. <hashTree/>
  23946. </hashTree>
  23947. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  23948. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  23949. <collectionProp name="Arguments.arguments"/>
  23950. </elementProp>
  23951. <stringProp name="HTTPSampler.domain"/>
  23952. <stringProp name="HTTPSampler.port"/>
  23953. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  23954. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  23955. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  23956. <stringProp name="HTTPSampler.contentEncoding"/>
  23957. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  23958. <stringProp name="HTTPSampler.method">GET</stringProp>
  23959. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  23960. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  23961. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  23962. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  23963. <boolProp name="HTTPSampler.monitor">false</boolProp>
  23964. <stringProp name="HTTPSampler.embedded_url_re"/>
  23965. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  23966. <hashTree>
  23967. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  23968. <collectionProp name="Asserion.test_strings">
  23969. <stringProp name="-1397214398">Welcome</stringProp>
  23970. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  23971. </collectionProp>
  23972. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23973. <boolProp name="Assertion.assume_success">false</boolProp>
  23974. <intProp name="Assertion.test_type">2</intProp>
  23975. </ResponseAssertion>
  23976. <hashTree/>
  23977. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  23978. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  23979. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  23980. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  23981. <stringProp name="RegexExtractor.template">$1$</stringProp>
  23982. <stringProp name="RegexExtractor.default"/>
  23983. <stringProp name="RegexExtractor.match_number">1</stringProp>
  23984. </RegexExtractor>
  23985. <hashTree/>
  23986. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  23987. <collectionProp name="Asserion.test_strings">
  23988. <stringProp name="2845929">^.+$</stringProp>
  23989. </collectionProp>
  23990. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  23991. <boolProp name="Assertion.assume_success">false</boolProp>
  23992. <intProp name="Assertion.test_type">1</intProp>
  23993. <stringProp name="Assertion.scope">variable</stringProp>
  23994. <stringProp name="Scope.variable">admin_form_key</stringProp>
  23995. </ResponseAssertion>
  23996. <hashTree/>
  23997. </hashTree>
  23998. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  23999. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24000. <collectionProp name="Arguments.arguments">
  24001. <elementProp name="dummy" elementType="HTTPArgument">
  24002. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24003. <stringProp name="Argument.value"/>
  24004. <stringProp name="Argument.metadata">=</stringProp>
  24005. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24006. <stringProp name="Argument.name">dummy</stringProp>
  24007. </elementProp>
  24008. <elementProp name="form_key" elementType="HTTPArgument">
  24009. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24010. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  24011. <stringProp name="Argument.metadata">=</stringProp>
  24012. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24013. <stringProp name="Argument.name">form_key</stringProp>
  24014. </elementProp>
  24015. <elementProp name="login[password]" elementType="HTTPArgument">
  24016. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24017. <stringProp name="Argument.value">${admin_password}</stringProp>
  24018. <stringProp name="Argument.metadata">=</stringProp>
  24019. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24020. <stringProp name="Argument.name">login[password]</stringProp>
  24021. </elementProp>
  24022. <elementProp name="login[username]" elementType="HTTPArgument">
  24023. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24024. <stringProp name="Argument.value">${admin_user}</stringProp>
  24025. <stringProp name="Argument.metadata">=</stringProp>
  24026. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24027. <stringProp name="Argument.name">login[username]</stringProp>
  24028. </elementProp>
  24029. </collectionProp>
  24030. </elementProp>
  24031. <stringProp name="HTTPSampler.domain"/>
  24032. <stringProp name="HTTPSampler.port"/>
  24033. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24034. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24035. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24036. <stringProp name="HTTPSampler.contentEncoding"/>
  24037. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  24038. <stringProp name="HTTPSampler.method">POST</stringProp>
  24039. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24040. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24041. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24042. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24043. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  24044. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24045. <stringProp name="HTTPSampler.embedded_url_re"/>
  24046. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  24047. </HTTPSamplerProxy>
  24048. <hashTree>
  24049. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  24050. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  24051. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  24052. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  24053. <stringProp name="RegexExtractor.template">$1$</stringProp>
  24054. <stringProp name="RegexExtractor.default"/>
  24055. <stringProp name="RegexExtractor.match_number">1</stringProp>
  24056. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  24057. <hashTree/>
  24058. </hashTree>
  24059. </hashTree>
  24060. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  24061. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  24062. </GenericController>
  24063. <hashTree>
  24064. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Get region data" enabled="true">
  24065. <stringProp name="scriptLanguage">javascript</stringProp>
  24066. <stringProp name="parameters"/>
  24067. <stringProp name="filename"/>
  24068. <stringProp name="cacheKey"/>
  24069. <stringProp name="script">
  24070. vars.put("alabama_region_id", props.get("alabama_region_id"));
  24071. vars.put("california_region_id", props.get("california_region_id"));
  24072. </stringProp>
  24073. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_region_data.jmx</stringProp></JSR223PreProcessor>
  24074. <hashTree/>
  24075. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Create Order" enabled="true"/>
  24076. <hashTree>
  24077. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  24078. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_order/admin_create_order.jmx</stringProp>
  24079. <stringProp name="BeanShellSampler.query">import org.apache.jmeter.samplers.SampleResult;
  24080. import java.util.Random;
  24081. Random random = new Random();
  24082. if (${seedForRandom} &gt; 0) {
  24083. random.setSeed(${seedForRandom});
  24084. }
  24085. number = random.nextInt(props.get("simple_products_list").size());
  24086. simpleList = props.get("simple_products_list").get(number);
  24087. vars.put("simple_product_1_url_key", simpleList.get("url_key"));
  24088. vars.put("simple_product_1_name", simpleList.get("title"));
  24089. vars.put("simple_product_1_id", simpleList.get("id"));
  24090. do {
  24091. number1 = random.nextInt(props.get("simple_products_list").size());
  24092. } while(number == number1);
  24093. simpleList = props.get("simple_products_list").get(number1);
  24094. vars.put("simple_product_2_url_key", simpleList.get("url_key"));
  24095. vars.put("simple_product_2_name", simpleList.get("title"));
  24096. vars.put("simple_product_2_id", simpleList.get("id"));
  24097. number = random.nextInt(props.get("configurable_products_list").size());
  24098. configurableList = props.get("configurable_products_list").get(number);
  24099. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  24100. vars.put("configurable_product_1_name", configurableList.get("title"));
  24101. vars.put("configurable_product_1_id", configurableList.get("id"));
  24102. vars.put("configurable_product_1_sku", configurableList.get("sku"));
  24103. vars.put("configurable_attribute_id", configurableList.get("attribute_id"));
  24104. vars.put("configurable_option_id", configurableList.get("attribute_option_id"));
  24105. customers_index = 0;
  24106. if (!props.containsKey("customer_ids_index")) {
  24107. props.put("customer_ids_index", customers_index);
  24108. }
  24109. try {
  24110. customers_index = props.get("customer_ids_index");
  24111. customers_list = props.get("customer_ids_list");
  24112. if (customers_index == customers_list.size()) {
  24113. customers_index=0;
  24114. }
  24115. vars.put("customer_id", customers_list.get(customers_index));
  24116. props.put("customer_ids_index", ++customers_index);
  24117. }
  24118. catch (java.lang.Exception e) {
  24119. log.error("Caught Exception in 'Admin Create Order' thread.");
  24120. SampleResult.setStopThread(true);
  24121. }</stringProp>
  24122. <stringProp name="BeanShellSampler.filename"/>
  24123. <stringProp name="BeanShellSampler.parameters"/>
  24124. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  24125. </BeanShellSampler>
  24126. <hashTree/>
  24127. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Start Order" enabled="true">
  24128. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24129. <collectionProp name="Arguments.arguments"/>
  24130. </elementProp>
  24131. <stringProp name="HTTPSampler.domain"/>
  24132. <stringProp name="HTTPSampler.port"/>
  24133. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24134. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24135. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24136. <stringProp name="HTTPSampler.contentEncoding"/>
  24137. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_create/start/</stringProp>
  24138. <stringProp name="HTTPSampler.method">GET</stringProp>
  24139. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24140. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24141. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24142. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24143. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24144. <stringProp name="HTTPSampler.embedded_url_re"/>
  24145. <stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
  24146. </HTTPSamplerProxy>
  24147. <hashTree/>
  24148. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Get Configurable Product Options" enabled="true"/>
  24149. <hashTree>
  24150. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  24151. <collectionProp name="HeaderManager.headers">
  24152. <elementProp name="" elementType="Header">
  24153. <stringProp name="Header.name">Content-Type</stringProp>
  24154. <stringProp name="Header.value">application/json</stringProp>
  24155. </elementProp>
  24156. <elementProp name="" elementType="Header">
  24157. <stringProp name="Header.name">Accept</stringProp>
  24158. <stringProp name="Header.value">*/*</stringProp>
  24159. </elementProp>
  24160. </collectionProp>
  24161. </HeaderManager>
  24162. <hashTree/>
  24163. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  24164. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  24165. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  24166. <collectionProp name="Arguments.arguments">
  24167. <elementProp name="" elementType="HTTPArgument">
  24168. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  24169. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  24170. <stringProp name="Argument.metadata">=</stringProp>
  24171. </elementProp>
  24172. </collectionProp>
  24173. </elementProp>
  24174. <stringProp name="HTTPSampler.domain"/>
  24175. <stringProp name="HTTPSampler.port"/>
  24176. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24177. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24178. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24179. <stringProp name="HTTPSampler.contentEncoding"/>
  24180. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  24181. <stringProp name="HTTPSampler.method">POST</stringProp>
  24182. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24183. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24184. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24185. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24186. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24187. <stringProp name="HTTPSampler.embedded_url_re"/>
  24188. </HTTPSamplerProxy>
  24189. <hashTree>
  24190. <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">
  24191. <stringProp name="VAR">admin_token</stringProp>
  24192. <stringProp name="JSONPATH">$</stringProp>
  24193. <stringProp name="DEFAULT"/>
  24194. <stringProp name="VARIABLE"/>
  24195. <stringProp name="SUBJECT">BODY</stringProp>
  24196. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  24197. <hashTree/>
  24198. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  24199. <collectionProp name="Asserion.test_strings">
  24200. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  24201. </collectionProp>
  24202. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24203. <boolProp name="Assertion.assume_success">false</boolProp>
  24204. <intProp name="Assertion.test_type">1</intProp>
  24205. <stringProp name="Assertion.scope">variable</stringProp>
  24206. <stringProp name="Scope.variable">admin_token</stringProp>
  24207. </ResponseAssertion>
  24208. <hashTree/>
  24209. </hashTree>
  24210. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  24211. <collectionProp name="HeaderManager.headers">
  24212. <elementProp name="" elementType="Header">
  24213. <stringProp name="Header.name">Authorization</stringProp>
  24214. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  24215. </elementProp>
  24216. </collectionProp>
  24217. </HeaderManager>
  24218. <hashTree/>
  24219. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get Configurable Product Options" enabled="true">
  24220. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24221. <collectionProp name="Arguments.arguments"/>
  24222. </elementProp>
  24223. <stringProp name="HTTPSampler.domain"/>
  24224. <stringProp name="HTTPSampler.port"/>
  24225. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24226. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24227. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24228. <stringProp name="HTTPSampler.contentEncoding"/>
  24229. <stringProp name="HTTPSampler.path">${base_path}rest/V1/configurable-products/${configurable_product_1_sku}/options/all</stringProp>
  24230. <stringProp name="HTTPSampler.method">GET</stringProp>
  24231. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24232. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24233. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24234. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24235. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24236. <stringProp name="HTTPSampler.embedded_url_re"/>
  24237. </HTTPSamplerProxy>
  24238. <hashTree>
  24239. <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">
  24240. <stringProp name="VAR">attribute_ids</stringProp>
  24241. <stringProp name="JSONPATH">$.[*].attribute_id</stringProp>
  24242. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  24243. <stringProp name="VARIABLE"/>
  24244. <stringProp name="SUBJECT">BODY</stringProp>
  24245. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  24246. <hashTree/>
  24247. <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">
  24248. <stringProp name="VAR">option_values</stringProp>
  24249. <stringProp name="JSONPATH">$.[*].values[0].value_index</stringProp>
  24250. <stringProp name="DEFAULT">NO_VALUE</stringProp>
  24251. <stringProp name="VARIABLE"/>
  24252. <stringProp name="SUBJECT">BODY</stringProp>
  24253. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  24254. <hashTree/>
  24255. </hashTree>
  24256. </hashTree>
  24257. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Add Products" enabled="true">
  24258. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24259. <collectionProp name="Arguments.arguments">
  24260. <elementProp name="item[${simple_product_1_id}][qty]" elementType="HTTPArgument">
  24261. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24262. <stringProp name="Argument.name">item[${simple_product_1_id}][qty]</stringProp>
  24263. <stringProp name="Argument.value">1</stringProp>
  24264. <stringProp name="Argument.metadata">=</stringProp>
  24265. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24266. </elementProp>
  24267. <elementProp name="item[${simple_product_2_id}][qty]" elementType="HTTPArgument">
  24268. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24269. <stringProp name="Argument.name">item[${simple_product_2_id}][qty]</stringProp>
  24270. <stringProp name="Argument.value">1</stringProp>
  24271. <stringProp name="Argument.metadata">=</stringProp>
  24272. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24273. </elementProp>
  24274. <elementProp name="item[${configurable_product_1_id}][qty]" elementType="HTTPArgument">
  24275. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24276. <stringProp name="Argument.name">item[${configurable_product_1_id}][qty]</stringProp>
  24277. <stringProp name="Argument.value">1</stringProp>
  24278. <stringProp name="Argument.metadata">=</stringProp>
  24279. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24280. </elementProp>
  24281. <elementProp name="customer_id" elementType="HTTPArgument">
  24282. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24283. <stringProp name="Argument.name">customer_id</stringProp>
  24284. <stringProp name="Argument.value">${customer_id}</stringProp>
  24285. <stringProp name="Argument.metadata">=</stringProp>
  24286. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24287. </elementProp>
  24288. <elementProp name="store_id" elementType="HTTPArgument">
  24289. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24290. <stringProp name="Argument.name">store_id</stringProp>
  24291. <stringProp name="Argument.value">1</stringProp>
  24292. <stringProp name="Argument.metadata">=</stringProp>
  24293. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24294. </elementProp>
  24295. <elementProp name="currency_id" elementType="HTTPArgument">
  24296. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24297. <stringProp name="Argument.name">currency_id</stringProp>
  24298. <stringProp name="Argument.value"/>
  24299. <stringProp name="Argument.metadata">=</stringProp>
  24300. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24301. </elementProp>
  24302. <elementProp name="form_key" elementType="HTTPArgument">
  24303. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24304. <stringProp name="Argument.name">form_key</stringProp>
  24305. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  24306. <stringProp name="Argument.metadata">=</stringProp>
  24307. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24308. </elementProp>
  24309. <elementProp name="payment[method]" elementType="HTTPArgument">
  24310. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24311. <stringProp name="Argument.name">payment[method]</stringProp>
  24312. <stringProp name="Argument.value">checkmo</stringProp>
  24313. <stringProp name="Argument.metadata">=</stringProp>
  24314. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24315. </elementProp>
  24316. <elementProp name="reset_shipping" elementType="HTTPArgument">
  24317. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24318. <stringProp name="Argument.name">reset_shipping</stringProp>
  24319. <stringProp name="Argument.value">1</stringProp>
  24320. <stringProp name="Argument.metadata">=</stringProp>
  24321. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24322. </elementProp>
  24323. <elementProp name="json" elementType="HTTPArgument">
  24324. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24325. <stringProp name="Argument.name">json</stringProp>
  24326. <stringProp name="Argument.value">1</stringProp>
  24327. <stringProp name="Argument.metadata">=</stringProp>
  24328. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24329. </elementProp>
  24330. <elementProp name="as_js_varname" elementType="HTTPArgument">
  24331. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24332. <stringProp name="Argument.name">as_js_varname</stringProp>
  24333. <stringProp name="Argument.value">iFrameResponse</stringProp>
  24334. <stringProp name="Argument.metadata">=</stringProp>
  24335. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24336. </elementProp>
  24337. <elementProp name="form_key" elementType="HTTPArgument">
  24338. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24339. <stringProp name="Argument.name">form_key</stringProp>
  24340. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  24341. <stringProp name="Argument.metadata">=</stringProp>
  24342. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24343. </elementProp>
  24344. </collectionProp>
  24345. </elementProp>
  24346. <stringProp name="HTTPSampler.domain"/>
  24347. <stringProp name="HTTPSampler.port"/>
  24348. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24349. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24350. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24351. <stringProp name="HTTPSampler.contentEncoding"/>
  24352. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_create/loadBlock/block/search,items,shipping_method,totals,giftmessage,billing_method?isAjax=true</stringProp>
  24353. <stringProp name="HTTPSampler.method">POST</stringProp>
  24354. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24355. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24356. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24357. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24358. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24359. <stringProp name="HTTPSampler.embedded_url_re"/>
  24360. <stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
  24361. </HTTPSamplerProxy>
  24362. <hashTree>
  24363. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="Configure product options" enabled="true">
  24364. <boolProp name="resetInterpreter">false</boolProp>
  24365. <stringProp name="parameters"/>
  24366. <stringProp name="filename"/>
  24367. <stringProp name="script">try {
  24368. attribute_ids = vars.get("attribute_ids");
  24369. option_values = vars.get("option_values");
  24370. attribute_ids = attribute_ids.replace("[","").replace("]","").replace("\"", "");
  24371. option_values = option_values.replace("[","").replace("]","").replace("\"", "");
  24372. attribute_ids_array = attribute_ids.split(",");
  24373. option_values_array = option_values.split(",");
  24374. args = ctx.getCurrentSampler().getArguments();
  24375. it = args.iterator();
  24376. while (it.hasNext()) {
  24377. argument = it.next();
  24378. if (argument.getStringValue().contains("${")) {
  24379. args.removeArgument(argument.getName());
  24380. }
  24381. }
  24382. for (int i = 0; i &lt; attribute_ids_array.length; i++) {
  24383. ctx.getCurrentSampler().addArgument("item[" + vars.get("configurable_product_1_id") + "][super_attribute][" + attribute_ids_array[i] + "]", option_values_array[i]);
  24384. }
  24385. } catch (Exception e) {
  24386. log.error("error???", e);
  24387. }</stringProp>
  24388. </BeanShellPreProcessor>
  24389. <hashTree/>
  24390. </hashTree>
  24391. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Collect Shipping Rates" enabled="true">
  24392. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24393. <collectionProp name="Arguments.arguments">
  24394. <elementProp name="collect_shipping_rates" elementType="HTTPArgument">
  24395. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24396. <stringProp name="Argument.name">collect_shipping_rates</stringProp>
  24397. <stringProp name="Argument.value">1</stringProp>
  24398. <stringProp name="Argument.metadata">=</stringProp>
  24399. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24400. </elementProp>
  24401. <elementProp name="customer_id" elementType="HTTPArgument">
  24402. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24403. <stringProp name="Argument.name">customer_id</stringProp>
  24404. <stringProp name="Argument.value">${customer_id}</stringProp>
  24405. <stringProp name="Argument.metadata">=</stringProp>
  24406. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24407. </elementProp>
  24408. <elementProp name="store_id" elementType="HTTPArgument">
  24409. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24410. <stringProp name="Argument.name">store_id</stringProp>
  24411. <stringProp name="Argument.value">1</stringProp>
  24412. <stringProp name="Argument.metadata">=</stringProp>
  24413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24414. </elementProp>
  24415. <elementProp name="currency_id" elementType="HTTPArgument">
  24416. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24417. <stringProp name="Argument.name">currency_id</stringProp>
  24418. <stringProp name="Argument.value">false</stringProp>
  24419. <stringProp name="Argument.metadata">=</stringProp>
  24420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24421. </elementProp>
  24422. <elementProp name="form_key" elementType="HTTPArgument">
  24423. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24424. <stringProp name="Argument.name">form_key</stringProp>
  24425. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  24426. <stringProp name="Argument.metadata">=</stringProp>
  24427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24428. </elementProp>
  24429. <elementProp name="payment[method]" elementType="HTTPArgument">
  24430. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24431. <stringProp name="Argument.name">payment[method]</stringProp>
  24432. <stringProp name="Argument.value">checkmo</stringProp>
  24433. <stringProp name="Argument.metadata">=</stringProp>
  24434. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24435. </elementProp>
  24436. <elementProp name="json" elementType="HTTPArgument">
  24437. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24438. <stringProp name="Argument.name">json</stringProp>
  24439. <stringProp name="Argument.value">true</stringProp>
  24440. <stringProp name="Argument.metadata">=</stringProp>
  24441. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24442. </elementProp>
  24443. </collectionProp>
  24444. </elementProp>
  24445. <stringProp name="HTTPSampler.domain"/>
  24446. <stringProp name="HTTPSampler.port"/>
  24447. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24448. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24449. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24450. <stringProp name="HTTPSampler.contentEncoding"/>
  24451. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_create/loadBlock/block/shipping_method,totals?isAjax=true</stringProp>
  24452. <stringProp name="HTTPSampler.method">POST</stringProp>
  24453. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24454. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24455. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24456. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24457. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24458. <stringProp name="HTTPSampler.embedded_url_re"/>
  24459. </HTTPSamplerProxy>
  24460. <hashTree>
  24461. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Shipping Method" enabled="true">
  24462. <collectionProp name="Asserion.test_strings">
  24463. <stringProp name="-1987784558">shipping_method</stringProp>
  24464. <stringProp name="818779431">Flat Rate</stringProp>
  24465. </collectionProp>
  24466. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24467. <boolProp name="Assertion.assume_success">false</boolProp>
  24468. <intProp name="Assertion.test_type">2</intProp>
  24469. </ResponseAssertion>
  24470. <hashTree/>
  24471. </hashTree>
  24472. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Filled Order Page" enabled="true">
  24473. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24474. <collectionProp name="Arguments.arguments"/>
  24475. </elementProp>
  24476. <stringProp name="HTTPSampler.domain"/>
  24477. <stringProp name="HTTPSampler.port"/>
  24478. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24479. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24480. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24481. <stringProp name="HTTPSampler.contentEncoding"/>
  24482. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_create/index/</stringProp>
  24483. <stringProp name="HTTPSampler.method">GET</stringProp>
  24484. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24485. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24486. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24487. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  24488. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24489. <stringProp name="HTTPSampler.embedded_url_re"/>
  24490. <stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
  24491. </HTTPSamplerProxy>
  24492. <hashTree>
  24493. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Filled Order Page" enabled="true">
  24494. <collectionProp name="Asserion.test_strings">
  24495. <stringProp name="-37823069">Select from existing customer addresses</stringProp>
  24496. <stringProp name="-13185722">Submit Order</stringProp>
  24497. <stringProp name="-209419315">Items Ordered</stringProp>
  24498. </collectionProp>
  24499. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24500. <boolProp name="Assertion.assume_success">false</boolProp>
  24501. <intProp name="Assertion.test_type">2</intProp>
  24502. </ResponseAssertion>
  24503. <hashTree/>
  24504. </hashTree>
  24505. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Save Order" enabled="true">
  24506. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24507. <collectionProp name="Arguments.arguments">
  24508. <elementProp name="form_key" elementType="HTTPArgument">
  24509. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24510. <stringProp name="Argument.name">form_key</stringProp>
  24511. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  24512. <stringProp name="Argument.metadata">=</stringProp>
  24513. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24514. </elementProp>
  24515. <elementProp name="limit" elementType="HTTPArgument">
  24516. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24517. <stringProp name="Argument.name">limit</stringProp>
  24518. <stringProp name="Argument.value">20</stringProp>
  24519. <stringProp name="Argument.metadata">=</stringProp>
  24520. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24521. </elementProp>
  24522. <elementProp name="entity_id" elementType="HTTPArgument">
  24523. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24524. <stringProp name="Argument.name">entity_id</stringProp>
  24525. <stringProp name="Argument.value"/>
  24526. <stringProp name="Argument.metadata">=</stringProp>
  24527. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24528. </elementProp>
  24529. <elementProp name="name" elementType="HTTPArgument">
  24530. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24531. <stringProp name="Argument.name">name</stringProp>
  24532. <stringProp name="Argument.value"/>
  24533. <stringProp name="Argument.metadata">=</stringProp>
  24534. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24535. </elementProp>
  24536. <elementProp name="email" elementType="HTTPArgument">
  24537. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24538. <stringProp name="Argument.name">email</stringProp>
  24539. <stringProp name="Argument.value"/>
  24540. <stringProp name="Argument.metadata">=</stringProp>
  24541. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24542. </elementProp>
  24543. <elementProp name="Telephone" elementType="HTTPArgument">
  24544. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24545. <stringProp name="Argument.name">Telephone</stringProp>
  24546. <stringProp name="Argument.value"/>
  24547. <stringProp name="Argument.metadata">=</stringProp>
  24548. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24549. </elementProp>
  24550. <elementProp name="billing_postcode" elementType="HTTPArgument">
  24551. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24552. <stringProp name="Argument.name">billing_postcode</stringProp>
  24553. <stringProp name="Argument.value"/>
  24554. <stringProp name="Argument.metadata">=</stringProp>
  24555. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24556. </elementProp>
  24557. <elementProp name="billing_country_id" elementType="HTTPArgument">
  24558. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24559. <stringProp name="Argument.name">billing_country_id</stringProp>
  24560. <stringProp name="Argument.value"/>
  24561. <stringProp name="Argument.metadata">=</stringProp>
  24562. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24563. </elementProp>
  24564. <elementProp name="billing_regione" elementType="HTTPArgument">
  24565. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24566. <stringProp name="Argument.name">billing_regione</stringProp>
  24567. <stringProp name="Argument.value"/>
  24568. <stringProp name="Argument.metadata">=</stringProp>
  24569. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24570. </elementProp>
  24571. <elementProp name="store_name" elementType="HTTPArgument">
  24572. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24573. <stringProp name="Argument.name">store_name</stringProp>
  24574. <stringProp name="Argument.value"/>
  24575. <stringProp name="Argument.metadata">=</stringProp>
  24576. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24577. </elementProp>
  24578. <elementProp name="page" elementType="HTTPArgument">
  24579. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24580. <stringProp name="Argument.name">page</stringProp>
  24581. <stringProp name="Argument.value">1</stringProp>
  24582. <stringProp name="Argument.metadata">=</stringProp>
  24583. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24584. </elementProp>
  24585. <elementProp name="order[currency]" elementType="HTTPArgument">
  24586. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24587. <stringProp name="Argument.name">order[currency]</stringProp>
  24588. <stringProp name="Argument.value">USD</stringProp>
  24589. <stringProp name="Argument.metadata">=</stringProp>
  24590. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24591. </elementProp>
  24592. <elementProp name="sku" elementType="HTTPArgument">
  24593. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24594. <stringProp name="Argument.name">sku</stringProp>
  24595. <stringProp name="Argument.value"/>
  24596. <stringProp name="Argument.metadata">=</stringProp>
  24597. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24598. </elementProp>
  24599. <elementProp name="qty" elementType="HTTPArgument">
  24600. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24601. <stringProp name="Argument.name">qty</stringProp>
  24602. <stringProp name="Argument.value"/>
  24603. <stringProp name="Argument.metadata">=</stringProp>
  24604. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24605. </elementProp>
  24606. <elementProp name="limit" elementType="HTTPArgument">
  24607. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24608. <stringProp name="Argument.name">limit</stringProp>
  24609. <stringProp name="Argument.value">20</stringProp>
  24610. <stringProp name="Argument.metadata">=</stringProp>
  24611. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24612. </elementProp>
  24613. <elementProp name="entity_id" elementType="HTTPArgument">
  24614. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24615. <stringProp name="Argument.name">entity_id</stringProp>
  24616. <stringProp name="Argument.value"/>
  24617. <stringProp name="Argument.metadata">=</stringProp>
  24618. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24619. </elementProp>
  24620. <elementProp name="name" elementType="HTTPArgument">
  24621. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24622. <stringProp name="Argument.name">name</stringProp>
  24623. <stringProp name="Argument.value"/>
  24624. <stringProp name="Argument.metadata">=</stringProp>
  24625. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24626. </elementProp>
  24627. <elementProp name="sku" elementType="HTTPArgument">
  24628. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24629. <stringProp name="Argument.name">sku</stringProp>
  24630. <stringProp name="Argument.value"/>
  24631. <stringProp name="Argument.metadata">=</stringProp>
  24632. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24633. </elementProp>
  24634. <elementProp name="price[from]" elementType="HTTPArgument">
  24635. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24636. <stringProp name="Argument.name">price[from]</stringProp>
  24637. <stringProp name="Argument.value"/>
  24638. <stringProp name="Argument.metadata">=</stringProp>
  24639. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24640. </elementProp>
  24641. <elementProp name="price[to]" elementType="HTTPArgument">
  24642. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24643. <stringProp name="Argument.name">price[to]</stringProp>
  24644. <stringProp name="Argument.value"/>
  24645. <stringProp name="Argument.metadata">=</stringProp>
  24646. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24647. </elementProp>
  24648. <elementProp name="in_products" elementType="HTTPArgument">
  24649. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24650. <stringProp name="Argument.name">in_products</stringProp>
  24651. <stringProp name="Argument.value"/>
  24652. <stringProp name="Argument.metadata">=</stringProp>
  24653. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24654. </elementProp>
  24655. <elementProp name="page" elementType="HTTPArgument">
  24656. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24657. <stringProp name="Argument.name">page</stringProp>
  24658. <stringProp name="Argument.value">1</stringProp>
  24659. <stringProp name="Argument.metadata">=</stringProp>
  24660. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24661. </elementProp>
  24662. <elementProp name="coupon_code" elementType="HTTPArgument">
  24663. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24664. <stringProp name="Argument.name">coupon_code</stringProp>
  24665. <stringProp name="Argument.value"/>
  24666. <stringProp name="Argument.metadata">=</stringProp>
  24667. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24668. </elementProp>
  24669. <elementProp name="order[account][group_id]" elementType="HTTPArgument">
  24670. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24671. <stringProp name="Argument.name">order[account][group_id]</stringProp>
  24672. <stringProp name="Argument.value">1</stringProp>
  24673. <stringProp name="Argument.metadata">=</stringProp>
  24674. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24675. </elementProp>
  24676. <elementProp name="order[account][email]" elementType="HTTPArgument">
  24677. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24678. <stringProp name="Argument.name">order[account][email]</stringProp>
  24679. <stringProp name="Argument.value">user_${customer_id}@example.com</stringProp>
  24680. <stringProp name="Argument.metadata">=</stringProp>
  24681. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24682. </elementProp>
  24683. <elementProp name="order[billing_address][customer_address_id]" elementType="HTTPArgument">
  24684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24685. <stringProp name="Argument.name">order[billing_address][customer_address_id]</stringProp>
  24686. <stringProp name="Argument.value"/>
  24687. <stringProp name="Argument.metadata">=</stringProp>
  24688. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24689. </elementProp>
  24690. <elementProp name="order[billing_address][prefix]" elementType="HTTPArgument">
  24691. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24692. <stringProp name="Argument.name">order[billing_address][prefix]</stringProp>
  24693. <stringProp name="Argument.value"/>
  24694. <stringProp name="Argument.metadata">=</stringProp>
  24695. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24696. </elementProp>
  24697. <elementProp name="order[billing_address][firstname]" elementType="HTTPArgument">
  24698. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24699. <stringProp name="Argument.name">order[billing_address][firstname]</stringProp>
  24700. <stringProp name="Argument.value">Anthony</stringProp>
  24701. <stringProp name="Argument.metadata">=</stringProp>
  24702. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24703. </elementProp>
  24704. <elementProp name="order[billing_address][middlename]" elementType="HTTPArgument">
  24705. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24706. <stringProp name="Argument.name">order[billing_address][middlename]</stringProp>
  24707. <stringProp name="Argument.value"/>
  24708. <stringProp name="Argument.metadata">=</stringProp>
  24709. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24710. </elementProp>
  24711. <elementProp name="order[billing_address][lastname]" elementType="HTTPArgument">
  24712. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24713. <stringProp name="Argument.name">order[billing_address][lastname]</stringProp>
  24714. <stringProp name="Argument.value">Nealy</stringProp>
  24715. <stringProp name="Argument.metadata">=</stringProp>
  24716. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24717. </elementProp>
  24718. <elementProp name="order[billing_address][suffix]" elementType="HTTPArgument">
  24719. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24720. <stringProp name="Argument.name">order[billing_address][suffix]</stringProp>
  24721. <stringProp name="Argument.value"/>
  24722. <stringProp name="Argument.metadata">=</stringProp>
  24723. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24724. </elementProp>
  24725. <elementProp name="order[billing_address][company]" elementType="HTTPArgument">
  24726. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24727. <stringProp name="Argument.name">order[billing_address][company]</stringProp>
  24728. <stringProp name="Argument.value"/>
  24729. <stringProp name="Argument.metadata">=</stringProp>
  24730. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24731. </elementProp>
  24732. <elementProp name="order[billing_address][street][0]" elementType="HTTPArgument">
  24733. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24734. <stringProp name="Argument.name">order[billing_address][street][0]</stringProp>
  24735. <stringProp name="Argument.value">123 Freedom Blvd. #123</stringProp>
  24736. <stringProp name="Argument.metadata">=</stringProp>
  24737. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24738. </elementProp>
  24739. <elementProp name="order[billing_address][street][1]" elementType="HTTPArgument">
  24740. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24741. <stringProp name="Argument.name">order[billing_address][street][1]</stringProp>
  24742. <stringProp name="Argument.value"/>
  24743. <stringProp name="Argument.metadata">=</stringProp>
  24744. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24745. </elementProp>
  24746. <elementProp name="order[billing_address][city]" elementType="HTTPArgument">
  24747. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24748. <stringProp name="Argument.name">order[billing_address][city]</stringProp>
  24749. <stringProp name="Argument.value">Fayetteville</stringProp>
  24750. <stringProp name="Argument.metadata">=</stringProp>
  24751. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24752. </elementProp>
  24753. <elementProp name="order[billing_address][country_id]" elementType="HTTPArgument">
  24754. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24755. <stringProp name="Argument.name">order[billing_address][country_id]</stringProp>
  24756. <stringProp name="Argument.value">US</stringProp>
  24757. <stringProp name="Argument.metadata">=</stringProp>
  24758. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24759. </elementProp>
  24760. <elementProp name="order[billing_address][region]" elementType="HTTPArgument">
  24761. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24762. <stringProp name="Argument.name">order[billing_address][region]</stringProp>
  24763. <stringProp name="Argument.value"/>
  24764. <stringProp name="Argument.metadata">=</stringProp>
  24765. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24766. </elementProp>
  24767. <elementProp name="order[billing_address][region_id]" elementType="HTTPArgument">
  24768. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24769. <stringProp name="Argument.name">order[billing_address][region_id]</stringProp>
  24770. <stringProp name="Argument.value">${alabama_region_id}</stringProp>
  24771. <stringProp name="Argument.metadata">=</stringProp>
  24772. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24773. </elementProp>
  24774. <elementProp name="order[billing_address][postcode]" elementType="HTTPArgument">
  24775. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24776. <stringProp name="Argument.name">order[billing_address][postcode]</stringProp>
  24777. <stringProp name="Argument.value">123123</stringProp>
  24778. <stringProp name="Argument.metadata">=</stringProp>
  24779. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24780. </elementProp>
  24781. <elementProp name="order[billing_address][telephone]" elementType="HTTPArgument">
  24782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24783. <stringProp name="Argument.name">order[billing_address][telephone]</stringProp>
  24784. <stringProp name="Argument.value">022-333-4455</stringProp>
  24785. <stringProp name="Argument.metadata">=</stringProp>
  24786. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24787. </elementProp>
  24788. <elementProp name="order[billing_address][fax]" elementType="HTTPArgument">
  24789. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24790. <stringProp name="Argument.name">order[billing_address][fax]</stringProp>
  24791. <stringProp name="Argument.value"/>
  24792. <stringProp name="Argument.metadata">=</stringProp>
  24793. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24794. </elementProp>
  24795. <elementProp name="order[billing_address][vat_id]" elementType="HTTPArgument">
  24796. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24797. <stringProp name="Argument.name">order[billing_address][vat_id]</stringProp>
  24798. <stringProp name="Argument.value"/>
  24799. <stringProp name="Argument.metadata">=</stringProp>
  24800. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24801. </elementProp>
  24802. <elementProp name="shipping_same_as_billing" elementType="HTTPArgument">
  24803. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24804. <stringProp name="Argument.name">shipping_same_as_billing</stringProp>
  24805. <stringProp name="Argument.value">on</stringProp>
  24806. <stringProp name="Argument.metadata">=</stringProp>
  24807. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24808. </elementProp>
  24809. <elementProp name="payment[method]" elementType="HTTPArgument">
  24810. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24811. <stringProp name="Argument.name">payment[method]</stringProp>
  24812. <stringProp name="Argument.value">checkmo</stringProp>
  24813. <stringProp name="Argument.metadata">=</stringProp>
  24814. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24815. </elementProp>
  24816. <elementProp name="order[shipping_method]" elementType="HTTPArgument">
  24817. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24818. <stringProp name="Argument.name">order[shipping_method]</stringProp>
  24819. <stringProp name="Argument.value">flatrate_flatrate</stringProp>
  24820. <stringProp name="Argument.metadata">=</stringProp>
  24821. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24822. </elementProp>
  24823. <elementProp name="order[comment][customer_note]" elementType="HTTPArgument">
  24824. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24825. <stringProp name="Argument.name">order[comment][customer_note]</stringProp>
  24826. <stringProp name="Argument.value"/>
  24827. <stringProp name="Argument.metadata">=</stringProp>
  24828. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24829. </elementProp>
  24830. <elementProp name="order[comment][customer_note_notify]" elementType="HTTPArgument">
  24831. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24832. <stringProp name="Argument.name">order[comment][customer_note_notify]</stringProp>
  24833. <stringProp name="Argument.value">1</stringProp>
  24834. <stringProp name="Argument.metadata">=</stringProp>
  24835. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24836. </elementProp>
  24837. <elementProp name="order[send_confirmation]" elementType="HTTPArgument">
  24838. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24839. <stringProp name="Argument.name">order[send_confirmation]</stringProp>
  24840. <stringProp name="Argument.value">1</stringProp>
  24841. <stringProp name="Argument.metadata">=</stringProp>
  24842. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24843. </elementProp>
  24844. </collectionProp>
  24845. </elementProp>
  24846. <stringProp name="HTTPSampler.domain"/>
  24847. <stringProp name="HTTPSampler.port"/>
  24848. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24849. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24850. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24851. <stringProp name="HTTPSampler.contentEncoding"/>
  24852. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_create/save/</stringProp>
  24853. <stringProp name="HTTPSampler.method">POST</stringProp>
  24854. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  24855. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  24856. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  24857. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  24858. <boolProp name="HTTPSampler.monitor">false</boolProp>
  24859. <stringProp name="HTTPSampler.embedded_url_re"/>
  24860. <stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
  24861. </HTTPSamplerProxy>
  24862. <hashTree>
  24863. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Order Id" enabled="true">
  24864. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  24865. <stringProp name="RegexExtractor.refname">order_id</stringProp>
  24866. <stringProp name="RegexExtractor.regex">${host}${base_path}${admin_path}/sales/order/index/order_id/(\d+)/</stringProp>
  24867. <stringProp name="RegexExtractor.template">$1$</stringProp>
  24868. <stringProp name="RegexExtractor.default"/>
  24869. <stringProp name="RegexExtractor.match_number">1</stringProp>
  24870. </RegexExtractor>
  24871. <hashTree/>
  24872. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Order Item 1" enabled="true">
  24873. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  24874. <stringProp name="RegexExtractor.refname">order_item_1</stringProp>
  24875. <stringProp name="RegexExtractor.regex">order_item_(\d+)_title</stringProp>
  24876. <stringProp name="RegexExtractor.template">$1$</stringProp>
  24877. <stringProp name="RegexExtractor.default"/>
  24878. <stringProp name="RegexExtractor.match_number">1</stringProp>
  24879. </RegexExtractor>
  24880. <hashTree/>
  24881. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Order Item 2" enabled="true">
  24882. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  24883. <stringProp name="RegexExtractor.refname">order_item_2</stringProp>
  24884. <stringProp name="RegexExtractor.regex">order_item_(\d+)_title</stringProp>
  24885. <stringProp name="RegexExtractor.template">$1$</stringProp>
  24886. <stringProp name="RegexExtractor.default"/>
  24887. <stringProp name="RegexExtractor.match_number">2</stringProp>
  24888. </RegexExtractor>
  24889. <hashTree/>
  24890. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract Order Item 3" enabled="true">
  24891. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  24892. <stringProp name="RegexExtractor.refname">order_item_3</stringProp>
  24893. <stringProp name="RegexExtractor.regex">order_item_(\d+)_title</stringProp>
  24894. <stringProp name="RegexExtractor.template">$1$</stringProp>
  24895. <stringProp name="RegexExtractor.default"/>
  24896. <stringProp name="RegexExtractor.match_number">3</stringProp>
  24897. </RegexExtractor>
  24898. <hashTree/>
  24899. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Order Id" enabled="true">
  24900. <collectionProp name="Asserion.test_strings">
  24901. <stringProp name="89649215">^\d+$</stringProp>
  24902. </collectionProp>
  24903. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24904. <boolProp name="Assertion.assume_success">false</boolProp>
  24905. <intProp name="Assertion.test_type">1</intProp>
  24906. <stringProp name="Assertion.scope">variable</stringProp>
  24907. <stringProp name="Scope.variable">order_id</stringProp>
  24908. </ResponseAssertion>
  24909. <hashTree/>
  24910. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Order Item 1" enabled="true">
  24911. <collectionProp name="Asserion.test_strings">
  24912. <stringProp name="89649215">^\d+$</stringProp>
  24913. </collectionProp>
  24914. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24915. <boolProp name="Assertion.assume_success">false</boolProp>
  24916. <intProp name="Assertion.test_type">1</intProp>
  24917. <stringProp name="Assertion.scope">variable</stringProp>
  24918. <stringProp name="Scope.variable">order_item_1</stringProp>
  24919. </ResponseAssertion>
  24920. <hashTree/>
  24921. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Order Item 2" enabled="true">
  24922. <collectionProp name="Asserion.test_strings">
  24923. <stringProp name="89649215">^\d+$</stringProp>
  24924. </collectionProp>
  24925. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24926. <boolProp name="Assertion.assume_success">false</boolProp>
  24927. <intProp name="Assertion.test_type">1</intProp>
  24928. <stringProp name="Assertion.scope">variable</stringProp>
  24929. <stringProp name="Scope.variable">order_item_2</stringProp>
  24930. </ResponseAssertion>
  24931. <hashTree/>
  24932. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Order Item 3" enabled="true">
  24933. <collectionProp name="Asserion.test_strings">
  24934. <stringProp name="89649215">^\d+$</stringProp>
  24935. </collectionProp>
  24936. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24937. <boolProp name="Assertion.assume_success">false</boolProp>
  24938. <intProp name="Assertion.test_type">1</intProp>
  24939. <stringProp name="Assertion.scope">variable</stringProp>
  24940. <stringProp name="Scope.variable">order_item_3</stringProp>
  24941. </ResponseAssertion>
  24942. <hashTree/>
  24943. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Order Created" enabled="true">
  24944. <collectionProp name="Asserion.test_strings">
  24945. <stringProp name="563107624">You created the order.</stringProp>
  24946. </collectionProp>
  24947. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  24948. <boolProp name="Assertion.assume_success">false</boolProp>
  24949. <intProp name="Assertion.test_type">2</intProp>
  24950. </ResponseAssertion>
  24951. <hashTree/>
  24952. </hashTree>
  24953. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Save Invoice" enabled="true">
  24954. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  24955. <collectionProp name="Arguments.arguments">
  24956. <elementProp name="form_key" elementType="HTTPArgument">
  24957. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24958. <stringProp name="Argument.name">form_key</stringProp>
  24959. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  24960. <stringProp name="Argument.metadata">=</stringProp>
  24961. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24962. </elementProp>
  24963. <elementProp name="invoice[items][${order_item_1}]" elementType="HTTPArgument">
  24964. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24965. <stringProp name="Argument.name">invoice[items][${order_item_1}]</stringProp>
  24966. <stringProp name="Argument.value">1</stringProp>
  24967. <stringProp name="Argument.metadata">=</stringProp>
  24968. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24969. </elementProp>
  24970. <elementProp name="invoice[items][${order_item_2}]" elementType="HTTPArgument">
  24971. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24972. <stringProp name="Argument.name">invoice[items][${order_item_2}]</stringProp>
  24973. <stringProp name="Argument.value">1</stringProp>
  24974. <stringProp name="Argument.metadata">=</stringProp>
  24975. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24976. </elementProp>
  24977. <elementProp name="invoice[items][${order_item_3}]" elementType="HTTPArgument">
  24978. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24979. <stringProp name="Argument.name">invoice[items][${order_item_3}]</stringProp>
  24980. <stringProp name="Argument.value">1</stringProp>
  24981. <stringProp name="Argument.metadata">=</stringProp>
  24982. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24983. </elementProp>
  24984. <elementProp name="invoice[comment_text]" elementType="HTTPArgument">
  24985. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  24986. <stringProp name="Argument.name">invoice[comment_text]</stringProp>
  24987. <stringProp name="Argument.value"/>
  24988. <stringProp name="Argument.metadata">=</stringProp>
  24989. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  24990. </elementProp>
  24991. </collectionProp>
  24992. </elementProp>
  24993. <stringProp name="HTTPSampler.domain"/>
  24994. <stringProp name="HTTPSampler.port"/>
  24995. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  24996. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  24997. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  24998. <stringProp name="HTTPSampler.contentEncoding"/>
  24999. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_invoice/save/order_id/${order_id}/</stringProp>
  25000. <stringProp name="HTTPSampler.method">POST</stringProp>
  25001. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25002. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25003. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25004. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25005. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25006. <stringProp name="HTTPSampler.embedded_url_re"/>
  25007. <stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
  25008. </HTTPSamplerProxy>
  25009. <hashTree>
  25010. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Invoice Created" enabled="true">
  25011. <collectionProp name="Asserion.test_strings">
  25012. <stringProp name="-1878312078">The invoice has been created.</stringProp>
  25013. </collectionProp>
  25014. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25015. <boolProp name="Assertion.assume_success">false</boolProp>
  25016. <intProp name="Assertion.test_type">2</intProp>
  25017. </ResponseAssertion>
  25018. <hashTree/>
  25019. </hashTree>
  25020. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Save Shipment" enabled="true">
  25021. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  25022. <collectionProp name="Arguments.arguments">
  25023. <elementProp name="form_key" elementType="HTTPArgument">
  25024. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25025. <stringProp name="Argument.name">form_key</stringProp>
  25026. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  25027. <stringProp name="Argument.metadata">=</stringProp>
  25028. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25029. </elementProp>
  25030. <elementProp name="shipment[items][${order_item_1}]" elementType="HTTPArgument">
  25031. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25032. <stringProp name="Argument.name">shipment[items][${order_item_1}]</stringProp>
  25033. <stringProp name="Argument.value">1</stringProp>
  25034. <stringProp name="Argument.metadata">=</stringProp>
  25035. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25036. </elementProp>
  25037. <elementProp name="shipment[items][${order_item_2}]" elementType="HTTPArgument">
  25038. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25039. <stringProp name="Argument.name">shipment[items][${order_item_2}]</stringProp>
  25040. <stringProp name="Argument.value">1</stringProp>
  25041. <stringProp name="Argument.metadata">=</stringProp>
  25042. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25043. </elementProp>
  25044. <elementProp name="shipment[items][${order_item_3}]" elementType="HTTPArgument">
  25045. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25046. <stringProp name="Argument.name">shipment[items][${order_item_3}]</stringProp>
  25047. <stringProp name="Argument.value">1</stringProp>
  25048. <stringProp name="Argument.metadata">=</stringProp>
  25049. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25050. </elementProp>
  25051. <elementProp name="shipment[comment_text]" elementType="HTTPArgument">
  25052. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25053. <stringProp name="Argument.name">shipment[comment_text]</stringProp>
  25054. <stringProp name="Argument.value"/>
  25055. <stringProp name="Argument.metadata">=</stringProp>
  25056. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25057. </elementProp>
  25058. </collectionProp>
  25059. </elementProp>
  25060. <stringProp name="HTTPSampler.domain"/>
  25061. <stringProp name="HTTPSampler.port"/>
  25062. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25063. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25064. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25065. <stringProp name="HTTPSampler.contentEncoding"/>
  25066. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/order_shipment/save/order_id/${order_id}/</stringProp>
  25067. <stringProp name="HTTPSampler.method">POST</stringProp>
  25068. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25069. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25070. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25071. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25072. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25073. <stringProp name="HTTPSampler.embedded_url_re"/>
  25074. <stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
  25075. </HTTPSamplerProxy>
  25076. <hashTree>
  25077. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Shipment Created" enabled="true">
  25078. <collectionProp name="Asserion.test_strings">
  25079. <stringProp name="-348539683">The shipment has been created.</stringProp>
  25080. </collectionProp>
  25081. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25082. <boolProp name="Assertion.assume_success">false</boolProp>
  25083. <intProp name="Assertion.test_type">2</intProp>
  25084. </ResponseAssertion>
  25085. <hashTree/>
  25086. </hashTree>
  25087. </hashTree>
  25088. </hashTree>
  25089. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  25090. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  25091. <collectionProp name="Arguments.arguments"/>
  25092. </elementProp>
  25093. <stringProp name="HTTPSampler.domain"/>
  25094. <stringProp name="HTTPSampler.port"/>
  25095. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25096. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25097. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25098. <stringProp name="HTTPSampler.contentEncoding"/>
  25099. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  25100. <stringProp name="HTTPSampler.method">GET</stringProp>
  25101. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25102. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25103. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25104. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25105. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25106. <stringProp name="HTTPSampler.embedded_url_re"/>
  25107. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  25108. <hashTree>
  25109. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  25110. <boolProp name="resetInterpreter">false</boolProp>
  25111. <stringProp name="parameters"/>
  25112. <stringProp name="filename"/>
  25113. <stringProp name="script">
  25114. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  25115. if (adminUsersDistribution == 1) {
  25116. adminUserList = props.get("adminUserList");
  25117. adminUserList.add(vars.get("admin_user"));
  25118. }
  25119. </stringProp>
  25120. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  25121. <hashTree/>
  25122. </hashTree>
  25123. </hashTree>
  25124. </hashTree>
  25125. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="API" enabled="true">
  25126. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  25127. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  25128. <boolProp name="LoopController.continue_forever">false</boolProp>
  25129. <stringProp name="LoopController.loops">${loops}</stringProp>
  25130. </elementProp>
  25131. <stringProp name="ThreadGroup.num_threads">${apiPoolUsers}</stringProp>
  25132. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  25133. <longProp name="ThreadGroup.start_time">1505803944000</longProp>
  25134. <longProp name="ThreadGroup.end_time">1505803944000</longProp>
  25135. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  25136. <stringProp name="ThreadGroup.duration"/>
  25137. <stringProp name="ThreadGroup.delay"/>
  25138. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/thread_group.jmx</stringProp></ThreadGroup>
  25139. <hashTree>
  25140. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API" enabled="true">
  25141. <intProp name="ThroughputController.style">1</intProp>
  25142. <boolProp name="ThroughputController.perThread">false</boolProp>
  25143. <intProp name="ThroughputController.maxThroughput">1</intProp>
  25144. <stringProp name="ThroughputController.percentThroughput">${apiBasePercentage}</stringProp>
  25145. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  25146. <hashTree>
  25147. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  25148. <stringProp name="script">
  25149. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  25150. if (testLabel
  25151. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  25152. ) {
  25153. if (sampler.getName().indexOf(testLabel) == -1) {
  25154. sampler.setName(sampler.getName() + testLabel);
  25155. }
  25156. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  25157. sampler.setName("SetUp - " + sampler.getName());
  25158. }
  25159. </stringProp>
  25160. <stringProp name="scriptLanguage">javascript</stringProp>
  25161. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  25162. <hashTree/>
  25163. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  25164. <stringProp name="BeanShellSampler.query">
  25165. vars.put("testLabel", "API");
  25166. </stringProp>
  25167. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25168. </BeanShellSampler>
  25169. <hashTree/>
  25170. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  25171. <collectionProp name="HeaderManager.headers">
  25172. <elementProp name="" elementType="Header">
  25173. <stringProp name="Header.name">Content-Type</stringProp>
  25174. <stringProp name="Header.value">application/json</stringProp>
  25175. </elementProp>
  25176. <elementProp name="" elementType="Header">
  25177. <stringProp name="Header.name">Accept</stringProp>
  25178. <stringProp name="Header.value">*/*</stringProp>
  25179. </elementProp>
  25180. </collectionProp>
  25181. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager_before_token.jmx</stringProp></HeaderManager>
  25182. <hashTree/>
  25183. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  25184. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25185. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25186. <collectionProp name="Arguments.arguments">
  25187. <elementProp name="" elementType="HTTPArgument">
  25188. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25189. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  25190. <stringProp name="Argument.metadata">=</stringProp>
  25191. </elementProp>
  25192. </collectionProp>
  25193. </elementProp>
  25194. <stringProp name="HTTPSampler.domain"/>
  25195. <stringProp name="HTTPSampler.port"/>
  25196. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25197. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25198. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25199. <stringProp name="HTTPSampler.contentEncoding"/>
  25200. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  25201. <stringProp name="HTTPSampler.method">POST</stringProp>
  25202. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25203. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25204. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25205. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25206. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25207. <stringProp name="HTTPSampler.embedded_url_re"/>
  25208. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/admin_token_retrieval.jmx</stringProp></HTTPSamplerProxy>
  25209. <hashTree>
  25210. <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">
  25211. <stringProp name="VAR">admin_token</stringProp>
  25212. <stringProp name="JSONPATH">$</stringProp>
  25213. <stringProp name="DEFAULT"/>
  25214. <stringProp name="VARIABLE"/>
  25215. <stringProp name="SUBJECT">BODY</stringProp>
  25216. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  25217. <hashTree/>
  25218. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  25219. <collectionProp name="Asserion.test_strings">
  25220. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  25221. </collectionProp>
  25222. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25223. <boolProp name="Assertion.assume_success">false</boolProp>
  25224. <intProp name="Assertion.test_type">1</intProp>
  25225. <stringProp name="Assertion.scope">variable</stringProp>
  25226. <stringProp name="Scope.variable">admin_token</stringProp>
  25227. </ResponseAssertion>
  25228. <hashTree/>
  25229. </hashTree>
  25230. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  25231. <collectionProp name="HeaderManager.headers">
  25232. <elementProp name="" elementType="Header">
  25233. <stringProp name="Header.name">Authorization</stringProp>
  25234. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  25235. </elementProp>
  25236. </collectionProp>
  25237. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager.jmx</stringProp></HeaderManager>
  25238. <hashTree/>
  25239. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Create Customer" enabled="true">
  25240. <intProp name="ThroughputController.style">1</intProp>
  25241. <boolProp name="ThroughputController.perThread">false</boolProp>
  25242. <intProp name="ThroughputController.maxThroughput">1</intProp>
  25243. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  25244. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  25245. <hashTree>
  25246. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  25247. <stringProp name="script">
  25248. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  25249. if (testLabel
  25250. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  25251. ) {
  25252. if (sampler.getName().indexOf(testLabel) == -1) {
  25253. sampler.setName(sampler.getName() + testLabel);
  25254. }
  25255. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  25256. sampler.setName("SetUp - " + sampler.getName());
  25257. }
  25258. </stringProp>
  25259. <stringProp name="scriptLanguage">javascript</stringProp>
  25260. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  25261. <hashTree/>
  25262. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  25263. <stringProp name="BeanShellSampler.query">
  25264. vars.put("testLabel", "API Create Customer");
  25265. </stringProp>
  25266. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25267. </BeanShellSampler>
  25268. <hashTree/>
  25269. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create customer" enabled="true">
  25270. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25271. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25272. <collectionProp name="Arguments.arguments">
  25273. <elementProp name="" elementType="HTTPArgument">
  25274. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25275. <stringProp name="Argument.value">{&#xD;
  25276. "customer": {&#xD;
  25277. &#xD;
  25278. "email": "customer_${__time()}-${__threadNum}-${__Random(1,1000000)}@example.com",&#xD;
  25279. "firstname": "test_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  25280. "lastname": "Doe"&#xD;
  25281. },&#xD;
  25282. "password": "test@123"&#xD;
  25283. }</stringProp>
  25284. <stringProp name="Argument.metadata">=</stringProp>
  25285. </elementProp>
  25286. </collectionProp>
  25287. </elementProp>
  25288. <stringProp name="HTTPSampler.domain"/>
  25289. <stringProp name="HTTPSampler.port"/>
  25290. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25291. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25292. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25293. <stringProp name="HTTPSampler.contentEncoding"/>
  25294. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/customers</stringProp>
  25295. <stringProp name="HTTPSampler.method">POST</stringProp>
  25296. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25297. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25298. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25299. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25300. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25301. <stringProp name="HTTPSampler.embedded_url_re"/>
  25302. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_customer.jmx</stringProp></HTTPSamplerProxy>
  25303. <hashTree>
  25304. <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 customer id" enabled="true">
  25305. <stringProp name="VAR">customer_id</stringProp>
  25306. <stringProp name="JSONPATH">$.id</stringProp>
  25307. <stringProp name="DEFAULT"/>
  25308. <stringProp name="VARIABLE"/>
  25309. <stringProp name="SUBJECT">BODY</stringProp>
  25310. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  25311. <hashTree/>
  25312. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer id not null" enabled="true">
  25313. <collectionProp name="Asserion.test_strings">
  25314. <stringProp name="89649215">^\d+$</stringProp>
  25315. </collectionProp>
  25316. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25317. <boolProp name="Assertion.assume_success">false</boolProp>
  25318. <intProp name="Assertion.test_type">1</intProp>
  25319. <stringProp name="Assertion.scope">variable</stringProp>
  25320. <stringProp name="Scope.variable">customer_id</stringProp>
  25321. </ResponseAssertion>
  25322. <hashTree/>
  25323. </hashTree>
  25324. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check customer" enabled="true">
  25325. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  25326. <collectionProp name="Arguments.arguments"/>
  25327. </elementProp>
  25328. <stringProp name="HTTPSampler.domain"/>
  25329. <stringProp name="HTTPSampler.port"/>
  25330. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25331. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25332. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25333. <stringProp name="HTTPSampler.contentEncoding"/>
  25334. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/customers/${customer_id}</stringProp>
  25335. <stringProp name="HTTPSampler.method">GET</stringProp>
  25336. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25337. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25338. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25339. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25340. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25341. <stringProp name="HTTPSampler.embedded_url_re"/>
  25342. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/check_customer.jmx</stringProp></HTTPSamplerProxy>
  25343. <hashTree>
  25344. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  25345. <stringProp name="JSON_PATH">$.id</stringProp>
  25346. <stringProp name="EXPECTED_VALUE">${customer_id}</stringProp>
  25347. <boolProp name="JSONVALIDATION">true</boolProp>
  25348. <boolProp name="EXPECT_NULL">false</boolProp>
  25349. <boolProp name="INVERT">false</boolProp>
  25350. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  25351. <hashTree/>
  25352. </hashTree>
  25353. </hashTree>
  25354. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Catalog Browsing" enabled="true">
  25355. <intProp name="ThroughputController.style">1</intProp>
  25356. <boolProp name="ThroughputController.perThread">false</boolProp>
  25357. <intProp name="ThroughputController.maxThroughput">1</intProp>
  25358. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  25359. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  25360. <hashTree>
  25361. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  25362. <stringProp name="script">
  25363. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  25364. if (testLabel
  25365. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  25366. ) {
  25367. if (sampler.getName().indexOf(testLabel) == -1) {
  25368. sampler.setName(sampler.getName() + testLabel);
  25369. }
  25370. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  25371. sampler.setName("SetUp - " + sampler.getName());
  25372. }
  25373. </stringProp>
  25374. <stringProp name="scriptLanguage">javascript</stringProp>
  25375. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  25376. <hashTree/>
  25377. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  25378. <stringProp name="BeanShellSampler.query">
  25379. vars.put("testLabel", "API Catalog Browsing");
  25380. </stringProp>
  25381. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25382. </BeanShellSampler>
  25383. <hashTree/>
  25384. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get categories" enabled="true">
  25385. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  25386. <collectionProp name="Arguments.arguments"/>
  25387. </elementProp>
  25388. <stringProp name="HTTPSampler.domain"/>
  25389. <stringProp name="HTTPSampler.port"/>
  25390. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25391. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25392. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25393. <stringProp name="HTTPSampler.contentEncoding"/>
  25394. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/categories</stringProp>
  25395. <stringProp name="HTTPSampler.method">GET</stringProp>
  25396. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25397. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25398. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25399. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25400. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25401. <stringProp name="HTTPSampler.embedded_url_re"/>
  25402. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/get_categories.jmx</stringProp></HTTPSamplerProxy>
  25403. <hashTree>
  25404. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert results are present" enabled="true">
  25405. <collectionProp name="Asserion.test_strings">
  25406. <stringProp name="-1294635157">errors</stringProp>
  25407. </collectionProp>
  25408. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25409. <boolProp name="Assertion.assume_success">false</boolProp>
  25410. <intProp name="Assertion.test_type">6</intProp>
  25411. <stringProp name="Assertion.scope">variable</stringProp>
  25412. <stringProp name="Scope.variable"/>
  25413. </ResponseAssertion>
  25414. <hashTree/>
  25415. <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 search category id" enabled="true">
  25416. <stringProp name="VAR">search_category_id</stringProp>
  25417. <stringProp name="JSONPATH">$.id</stringProp>
  25418. <stringProp name="DEFAULT"/>
  25419. <stringProp name="VARIABLE"/>
  25420. <stringProp name="SUBJECT">BODY</stringProp>
  25421. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  25422. <hashTree/>
  25423. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert search category id is not null" enabled="true">
  25424. <collectionProp name="Asserion.test_strings">
  25425. <stringProp name="89649215">^\d+$</stringProp>
  25426. </collectionProp>
  25427. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25428. <boolProp name="Assertion.assume_success">false</boolProp>
  25429. <intProp name="Assertion.test_type">1</intProp>
  25430. <stringProp name="Assertion.scope">variable</stringProp>
  25431. <stringProp name="Scope.variable">search_category_id</stringProp>
  25432. </ResponseAssertion>
  25433. <hashTree/>
  25434. </hashTree>
  25435. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get category" enabled="true">
  25436. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  25437. <collectionProp name="Arguments.arguments"/>
  25438. </elementProp>
  25439. <stringProp name="HTTPSampler.domain"/>
  25440. <stringProp name="HTTPSampler.port"/>
  25441. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25442. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25443. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25444. <stringProp name="HTTPSampler.contentEncoding"/>
  25445. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/categories/${search_category_id}</stringProp>
  25446. <stringProp name="HTTPSampler.method">GET</stringProp>
  25447. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25448. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25449. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25450. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25451. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25452. <stringProp name="HTTPSampler.embedded_url_re"/>
  25453. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/get_category.jmx</stringProp></HTTPSamplerProxy>
  25454. <hashTree>
  25455. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert results are present" enabled="true">
  25456. <collectionProp name="Asserion.test_strings">
  25457. <stringProp name="-1294635157">errors</stringProp>
  25458. </collectionProp>
  25459. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25460. <boolProp name="Assertion.assume_success">false</boolProp>
  25461. <intProp name="Assertion.test_type">6</intProp>
  25462. <stringProp name="Assertion.scope">variable</stringProp>
  25463. <stringProp name="Scope.variable"/>
  25464. </ResponseAssertion>
  25465. <hashTree/>
  25466. </hashTree>
  25467. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get products" enabled="true">
  25468. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  25469. <collectionProp name="Arguments.arguments">
  25470. <elementProp name="searchCriteria[page_size]" elementType="HTTPArgument">
  25471. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25472. <stringProp name="Argument.value">20</stringProp>
  25473. <stringProp name="Argument.metadata">=</stringProp>
  25474. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25475. <stringProp name="Argument.name">searchCriteria[page_size]</stringProp>
  25476. <stringProp name="Argument.desc">true</stringProp>
  25477. </elementProp>
  25478. <elementProp name="searchCriteria[current_page]" elementType="HTTPArgument">
  25479. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25480. <stringProp name="Argument.value">1</stringProp>
  25481. <stringProp name="Argument.metadata">=</stringProp>
  25482. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25483. <stringProp name="Argument.name">searchCriteria[current_page]</stringProp>
  25484. <stringProp name="Argument.desc">true</stringProp>
  25485. </elementProp>
  25486. </collectionProp>
  25487. </elementProp>
  25488. <stringProp name="HTTPSampler.domain"/>
  25489. <stringProp name="HTTPSampler.port"/>
  25490. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25491. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25492. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25493. <stringProp name="HTTPSampler.contentEncoding"/>
  25494. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  25495. <stringProp name="HTTPSampler.method">GET</stringProp>
  25496. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25497. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25498. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25499. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25500. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25501. <stringProp name="HTTPSampler.embedded_url_re"/>
  25502. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/get_products.jmx</stringProp></HTTPSamplerProxy>
  25503. <hashTree>
  25504. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert results are present" enabled="true">
  25505. <collectionProp name="Asserion.test_strings">
  25506. <stringProp name="-1294635157">errors</stringProp>
  25507. </collectionProp>
  25508. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25509. <boolProp name="Assertion.assume_success">false</boolProp>
  25510. <intProp name="Assertion.test_type">6</intProp>
  25511. <stringProp name="Assertion.scope">variable</stringProp>
  25512. <stringProp name="Scope.variable"/>
  25513. </ResponseAssertion>
  25514. <hashTree/>
  25515. </hashTree>
  25516. </hashTree>
  25517. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Search" enabled="true">
  25518. <intProp name="ThroughputController.style">1</intProp>
  25519. <boolProp name="ThroughputController.perThread">false</boolProp>
  25520. <intProp name="ThroughputController.maxThroughput">1</intProp>
  25521. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  25522. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  25523. <hashTree>
  25524. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  25525. <stringProp name="script">
  25526. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  25527. if (testLabel
  25528. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  25529. ) {
  25530. if (sampler.getName().indexOf(testLabel) == -1) {
  25531. sampler.setName(sampler.getName() + testLabel);
  25532. }
  25533. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  25534. sampler.setName("SetUp - " + sampler.getName());
  25535. }
  25536. </stringProp>
  25537. <stringProp name="scriptLanguage">javascript</stringProp>
  25538. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  25539. <hashTree/>
  25540. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  25541. <stringProp name="BeanShellSampler.query">
  25542. vars.put("testLabel", "API Search");
  25543. </stringProp>
  25544. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25545. </BeanShellSampler>
  25546. <hashTree/>
  25547. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search for simple product on frontend" enabled="true">
  25548. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  25549. <collectionProp name="Arguments.arguments">
  25550. <elementProp name="searchCriteria[request_name]" elementType="HTTPArgument">
  25551. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25552. <stringProp name="Argument.value">quick_search_container</stringProp>
  25553. <stringProp name="Argument.metadata">=</stringProp>
  25554. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25555. <stringProp name="Argument.name">searchCriteria[request_name]</stringProp>
  25556. </elementProp>
  25557. <elementProp name="searchCriteria[filter_groups][0][filters][0][field]" elementType="HTTPArgument">
  25558. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25559. <stringProp name="Argument.value">search_term</stringProp>
  25560. <stringProp name="Argument.metadata">=</stringProp>
  25561. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25562. <stringProp name="Argument.name">searchCriteria[filter_groups][0][filters][0][field]</stringProp>
  25563. </elementProp>
  25564. <elementProp name="searchCriteria[filter_groups][0][filters][0][value]" elementType="HTTPArgument">
  25565. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25566. <stringProp name="Argument.value">Simple</stringProp>
  25567. <stringProp name="Argument.metadata">=</stringProp>
  25568. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25569. <stringProp name="Argument.name">searchCriteria[filter_groups][0][filters][0][value]</stringProp>
  25570. </elementProp>
  25571. <elementProp name="searchCriteria[page_size]" elementType="HTTPArgument">
  25572. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25573. <stringProp name="Argument.value">20</stringProp>
  25574. <stringProp name="Argument.metadata">=</stringProp>
  25575. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25576. <stringProp name="Argument.name">searchCriteria[page_size]</stringProp>
  25577. </elementProp>
  25578. <elementProp name="searchCriteria[current_page]" elementType="HTTPArgument">
  25579. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  25580. <stringProp name="Argument.value">1</stringProp>
  25581. <stringProp name="Argument.metadata">=</stringProp>
  25582. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  25583. <stringProp name="Argument.name">searchCriteria[current_page]</stringProp>
  25584. </elementProp>
  25585. </collectionProp>
  25586. </elementProp>
  25587. <stringProp name="HTTPSampler.domain"/>
  25588. <stringProp name="HTTPSampler.port"/>
  25589. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25590. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25591. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25592. <stringProp name="HTTPSampler.contentEncoding"/>
  25593. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/search</stringProp>
  25594. <stringProp name="HTTPSampler.method">GET</stringProp>
  25595. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25596. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25597. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25598. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25599. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25600. <stringProp name="HTTPSampler.embedded_url_re"/>
  25601. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/search_for_product_frontend.jmx</stringProp></HTTPSamplerProxy>
  25602. <hashTree>
  25603. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert results are present" enabled="true">
  25604. <stringProp name="JSON_PATH">$.total_count</stringProp>
  25605. <stringProp name="EXPECTED_VALUE">0</stringProp>
  25606. <boolProp name="JSONVALIDATION">true</boolProp>
  25607. <boolProp name="EXPECT_NULL">false</boolProp>
  25608. <boolProp name="INVERT">true</boolProp>
  25609. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  25610. <hashTree/>
  25611. <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 search product id" enabled="true">
  25612. <stringProp name="VAR">search_product_id</stringProp>
  25613. <stringProp name="JSONPATH">$.items[0].id</stringProp>
  25614. <stringProp name="DEFAULT"/>
  25615. <stringProp name="VARIABLE"/>
  25616. <stringProp name="SUBJECT">BODY</stringProp>
  25617. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  25618. <hashTree/>
  25619. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert search product id is not null" enabled="true">
  25620. <collectionProp name="Asserion.test_strings">
  25621. <stringProp name="89649215">^\d+$</stringProp>
  25622. </collectionProp>
  25623. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25624. <boolProp name="Assertion.assume_success">false</boolProp>
  25625. <intProp name="Assertion.test_type">1</intProp>
  25626. <stringProp name="Assertion.scope">variable</stringProp>
  25627. <stringProp name="Scope.variable">search_product_id</stringProp>
  25628. </ResponseAssertion>
  25629. <hashTree/>
  25630. </hashTree>
  25631. </hashTree>
  25632. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Checkout" enabled="true">
  25633. <intProp name="ThroughputController.style">1</intProp>
  25634. <boolProp name="ThroughputController.perThread">false</boolProp>
  25635. <intProp name="ThroughputController.maxThroughput">1</intProp>
  25636. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  25637. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  25638. <hashTree>
  25639. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  25640. <stringProp name="script">
  25641. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  25642. if (testLabel
  25643. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  25644. ) {
  25645. if (sampler.getName().indexOf(testLabel) == -1) {
  25646. sampler.setName(sampler.getName() + testLabel);
  25647. }
  25648. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  25649. sampler.setName("SetUp - " + sampler.getName());
  25650. }
  25651. </stringProp>
  25652. <stringProp name="scriptLanguage">javascript</stringProp>
  25653. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  25654. <hashTree/>
  25655. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  25656. <stringProp name="BeanShellSampler.query">
  25657. vars.put("testLabel", "API Checkout");
  25658. </stringProp>
  25659. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25660. </BeanShellSampler>
  25661. <hashTree/>
  25662. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Get region data" enabled="true">
  25663. <stringProp name="scriptLanguage">javascript</stringProp>
  25664. <stringProp name="parameters"/>
  25665. <stringProp name="filename"/>
  25666. <stringProp name="cacheKey"/>
  25667. <stringProp name="script">
  25668. vars.put("alabama_region_id", props.get("alabama_region_id"));
  25669. vars.put("california_region_id", props.get("california_region_id"));
  25670. </stringProp>
  25671. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/get_region_data.jmx</stringProp></JSR223PreProcessor>
  25672. <hashTree/>
  25673. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Init Random Generator" enabled="true">
  25674. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/init_random_generator_setup.jmx</stringProp>
  25675. <stringProp name="BeanShellSampler.query">
  25676. import java.util.Random;
  25677. Random random = new Random();
  25678. if (${seedForRandom} &gt; 0) {
  25679. random.setSeed(${seedForRandom} + ${__threadNum});
  25680. }
  25681. vars.putObject("randomIntGenerator", random);
  25682. </stringProp>
  25683. <stringProp name="BeanShellSampler.filename"/>
  25684. <stringProp name="BeanShellSampler.parameters"/>
  25685. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25686. </BeanShellSampler>
  25687. <hashTree/>
  25688. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Prepare Simple Product Data" enabled="true">
  25689. <stringProp name="BeanShellSampler.query">
  25690. import java.util.Random;
  25691. Random random = vars.getObject("randomIntGenerator");
  25692. number = random.nextInt(props.get("simple_products_list").size());
  25693. product = props.get("simple_products_list").get(number);
  25694. vars.put("product_url_key", product.get("url_key"));
  25695. vars.put("product_id", product.get("id"));
  25696. vars.put("product_name", product.get("title"));
  25697. vars.put("product_uenc", product.get("uenc"));
  25698. vars.put("product_sku", product.get("sku"));
  25699. </stringProp>
  25700. <stringProp name="BeanShellSampler.filename"/>
  25701. <stringProp name="BeanShellSampler.parameters"/>
  25702. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  25703. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/simple_products_setup.jmx</stringProp></BeanShellSampler>
  25704. <hashTree/>
  25705. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create quote" enabled="true">
  25706. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  25707. <collectionProp name="Arguments.arguments"/>
  25708. </elementProp>
  25709. <stringProp name="HTTPSampler.domain"/>
  25710. <stringProp name="HTTPSampler.port"/>
  25711. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25712. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25713. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25714. <stringProp name="HTTPSampler.contentEncoding"/>
  25715. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts</stringProp>
  25716. <stringProp name="HTTPSampler.method">POST</stringProp>
  25717. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25718. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25719. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25720. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25721. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25722. <stringProp name="HTTPSampler.embedded_url_re"/>
  25723. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_quote.jmx</stringProp></HTTPSamplerProxy>
  25724. <hashTree>
  25725. <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">
  25726. <stringProp name="VAR">quote_id</stringProp>
  25727. <stringProp name="JSONPATH">$</stringProp>
  25728. <stringProp name="DEFAULT"/>
  25729. <stringProp name="VARIABLE"/>
  25730. <stringProp name="SUBJECT">BODY</stringProp>
  25731. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  25732. <hashTree/>
  25733. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  25734. <collectionProp name="Asserion.test_strings">
  25735. <stringProp name="89649215">^\d+$</stringProp>
  25736. </collectionProp>
  25737. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25738. <boolProp name="Assertion.assume_success">false</boolProp>
  25739. <intProp name="Assertion.test_type">1</intProp>
  25740. <stringProp name="Assertion.scope">variable</stringProp>
  25741. <stringProp name="Scope.variable">quote_id</stringProp>
  25742. </ResponseAssertion>
  25743. <hashTree/>
  25744. </hashTree>
  25745. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Add product to quote" enabled="true">
  25746. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25747. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25748. <collectionProp name="Arguments.arguments">
  25749. <elementProp name="" elementType="HTTPArgument">
  25750. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25751. <stringProp name="Argument.value">{&#xD;
  25752. "cartItem": {&#xD;
  25753. "sku": "${product_sku}",&#xD;
  25754. "qty":"1",&#xD;
  25755. "quote_id":"${quote_id}"&#xD;
  25756. }&#xD;
  25757. }&#xD;
  25758. </stringProp>
  25759. <stringProp name="Argument.metadata">=</stringProp>
  25760. </elementProp>
  25761. </collectionProp>
  25762. </elementProp>
  25763. <stringProp name="HTTPSampler.domain"/>
  25764. <stringProp name="HTTPSampler.port"/>
  25765. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25766. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25767. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25768. <stringProp name="HTTPSampler.contentEncoding"/>
  25769. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/${quote_id}/items</stringProp>
  25770. <stringProp name="HTTPSampler.method">POST</stringProp>
  25771. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25772. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25773. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25774. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25775. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25776. <stringProp name="HTTPSampler.embedded_url_re"/>
  25777. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/add_product_to_quote_hardwired_sku.jmx</stringProp>
  25778. </HTTPSamplerProxy>
  25779. <hashTree>
  25780. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  25781. <stringProp name="JSON_PATH">$.sku</stringProp>
  25782. <stringProp name="EXPECTED_VALUE">${product_sku}</stringProp>
  25783. <boolProp name="JSONVALIDATION">true</boolProp>
  25784. <boolProp name="EXPECT_NULL">false</boolProp>
  25785. <boolProp name="INVERT">false</boolProp>
  25786. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  25787. <hashTree/>
  25788. </hashTree>
  25789. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check products in quote" enabled="true">
  25790. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  25791. <collectionProp name="Arguments.arguments"/>
  25792. </elementProp>
  25793. <stringProp name="HTTPSampler.domain"/>
  25794. <stringProp name="HTTPSampler.port"/>
  25795. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25796. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25797. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25798. <stringProp name="HTTPSampler.contentEncoding"/>
  25799. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/carts/${quote_id}/items</stringProp>
  25800. <stringProp name="HTTPSampler.method">GET</stringProp>
  25801. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25802. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25803. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25804. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25805. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25806. <stringProp name="HTTPSampler.embedded_url_re"/>
  25807. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/check_product_in_quote_hardwired_sku.jmx</stringProp></HTTPSamplerProxy>
  25808. <hashTree>
  25809. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  25810. <stringProp name="JSON_PATH">$[0].sku</stringProp>
  25811. <stringProp name="EXPECTED_VALUE">${product_sku}</stringProp>
  25812. <boolProp name="JSONVALIDATION">true</boolProp>
  25813. <boolProp name="EXPECT_NULL">false</boolProp>
  25814. <boolProp name="INVERT">false</boolProp>
  25815. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  25816. <hashTree/>
  25817. </hashTree>
  25818. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Guest Cart" enabled="true">
  25819. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25820. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25821. <collectionProp name="Arguments.arguments">
  25822. <elementProp name="" elementType="HTTPArgument">
  25823. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25824. <stringProp name="Argument.value">{&#xD;
  25825. "storeId": 1&#xD;
  25826. }</stringProp>
  25827. <stringProp name="Argument.metadata">=</stringProp>
  25828. </elementProp>
  25829. </collectionProp>
  25830. </elementProp>
  25831. <stringProp name="HTTPSampler.domain"/>
  25832. <stringProp name="HTTPSampler.port"/>
  25833. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25834. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25835. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25836. <stringProp name="HTTPSampler.contentEncoding"/>
  25837. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/</stringProp>
  25838. <stringProp name="HTTPSampler.method">POST</stringProp>
  25839. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25840. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25841. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25842. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25843. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25844. <stringProp name="HTTPSampler.embedded_url_re"/>
  25845. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_guest_cart.jmx</stringProp></HTTPSamplerProxy>
  25846. <hashTree>
  25847. <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">
  25848. <stringProp name="VAR">cart_id</stringProp>
  25849. <stringProp name="JSONPATH">$</stringProp>
  25850. <stringProp name="DEFAULT"/>
  25851. <stringProp name="VARIABLE"/>
  25852. <stringProp name="SUBJECT">BODY</stringProp>
  25853. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  25854. <hashTree/>
  25855. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Guest Cart Id extracted" enabled="true">
  25856. <collectionProp name="Asserion.test_strings">
  25857. <stringProp name="2845929">^.+$</stringProp>
  25858. </collectionProp>
  25859. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  25860. <boolProp name="Assertion.assume_success">false</boolProp>
  25861. <intProp name="Assertion.test_type">1</intProp>
  25862. <stringProp name="Assertion.scope">variable</stringProp>
  25863. <stringProp name="Scope.variable">cart_id</stringProp>
  25864. </ResponseAssertion>
  25865. <hashTree/>
  25866. </hashTree>
  25867. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Add product to Guest Cart" enabled="true">
  25868. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25869. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25870. <collectionProp name="Arguments.arguments">
  25871. <elementProp name="" elementType="HTTPArgument">
  25872. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25873. <stringProp name="Argument.value">{&#xD;
  25874. "cartItem": {&#xD;
  25875. "sku": "${product_sku}",&#xD;
  25876. "qty":"1",&#xD;
  25877. "quote_id":"${cart_id}"&#xD;
  25878. }&#xD;
  25879. }&#xD;
  25880. </stringProp>
  25881. <stringProp name="Argument.metadata">=</stringProp>
  25882. </elementProp>
  25883. </collectionProp>
  25884. </elementProp>
  25885. <stringProp name="HTTPSampler.domain"/>
  25886. <stringProp name="HTTPSampler.port"/>
  25887. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25888. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25889. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25890. <stringProp name="HTTPSampler.contentEncoding"/>
  25891. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/items</stringProp>
  25892. <stringProp name="HTTPSampler.method">POST</stringProp>
  25893. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25894. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25895. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25896. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25897. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25898. <stringProp name="HTTPSampler.embedded_url_re"/>
  25899. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/add_product_to_guest_cart_hardwired_sku.jmx</stringProp></HTTPSamplerProxy>
  25900. <hashTree>
  25901. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  25902. <stringProp name="JSON_PATH">$.quote_id</stringProp>
  25903. <stringProp name="EXPECTED_VALUE">^[a-z0-9-]+$</stringProp>
  25904. <boolProp name="JSONVALIDATION">true</boolProp>
  25905. <boolProp name="EXPECT_NULL">false</boolProp>
  25906. <boolProp name="INVERT">false</boolProp>
  25907. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  25908. <hashTree/>
  25909. </hashTree>
  25910. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Add Gift Message to Guest Cart" enabled="true">
  25911. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25912. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25913. <collectionProp name="Arguments.arguments">
  25914. <elementProp name="" elementType="HTTPArgument">
  25915. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25916. <stringProp name="Argument.value">{&#xD;
  25917. "sender": "John Doe",&#xD;
  25918. "recipient": "Jane Roe",&#xD;
  25919. "giftMessage": "Gift Message Text"&#xD;
  25920. }&#xD;
  25921. </stringProp>
  25922. <stringProp name="Argument.metadata">=</stringProp>
  25923. </elementProp>
  25924. </collectionProp>
  25925. </elementProp>
  25926. <stringProp name="HTTPSampler.domain"/>
  25927. <stringProp name="HTTPSampler.port"/>
  25928. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25929. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25930. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25931. <stringProp name="HTTPSampler.contentEncoding"/>
  25932. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/gift-message</stringProp>
  25933. <stringProp name="HTTPSampler.method">POST</stringProp>
  25934. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25935. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25936. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25937. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25938. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25939. <stringProp name="HTTPSampler.embedded_url_re"/>
  25940. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/add_gift_message_to_guest_cart.jmx</stringProp></HTTPSamplerProxy>
  25941. <hashTree>
  25942. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  25943. <stringProp name="JSON_PATH">$</stringProp>
  25944. <stringProp name="EXPECTED_VALUE">true</stringProp>
  25945. <boolProp name="JSONVALIDATION">true</boolProp>
  25946. <boolProp name="EXPECT_NULL">false</boolProp>
  25947. <boolProp name="INVERT">false</boolProp>
  25948. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  25949. <hashTree/>
  25950. </hashTree>
  25951. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Estimate Shipping Methods" enabled="true">
  25952. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  25953. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  25954. <collectionProp name="Arguments.arguments">
  25955. <elementProp name="" elementType="HTTPArgument">
  25956. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  25957. <stringProp name="Argument.value">{"address":{"country_id":"US","postcode":"95630"}}</stringProp>
  25958. <stringProp name="Argument.metadata">=</stringProp>
  25959. </elementProp>
  25960. </collectionProp>
  25961. </elementProp>
  25962. <stringProp name="HTTPSampler.domain"/>
  25963. <stringProp name="HTTPSampler.port"/>
  25964. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  25965. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  25966. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  25967. <stringProp name="HTTPSampler.contentEncoding"/>
  25968. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/estimate-shipping-methods</stringProp>
  25969. <stringProp name="HTTPSampler.method">POST</stringProp>
  25970. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  25971. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  25972. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  25973. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  25974. <boolProp name="HTTPSampler.monitor">false</boolProp>
  25975. <stringProp name="HTTPSampler.embedded_url_re"/>
  25976. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_estimate_shipping_methods_with_postal_code.jmx</stringProp></HTTPSamplerProxy>
  25977. <hashTree>
  25978. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  25979. <collectionProp name="HeaderManager.headers">
  25980. <elementProp name="" elementType="Header">
  25981. <stringProp name="Header.name">Referer</stringProp>
  25982. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  25983. </elementProp>
  25984. <elementProp name="Content-Type" elementType="Header">
  25985. <stringProp name="Header.name">Content-Type</stringProp>
  25986. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  25987. </elementProp>
  25988. <elementProp name="X-Requested-With" elementType="Header">
  25989. <stringProp name="Header.name">X-Requested-With</stringProp>
  25990. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  25991. </elementProp>
  25992. <elementProp name="Accept" elementType="Header">
  25993. <stringProp name="Header.name">Accept</stringProp>
  25994. <stringProp name="Header.value">application/json</stringProp>
  25995. </elementProp>
  25996. </collectionProp>
  25997. </HeaderManager>
  25998. <hashTree/>
  25999. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  26000. <collectionProp name="Asserion.test_strings">
  26001. <stringProp name="-1224567411">"available":true</stringProp>
  26002. </collectionProp>
  26003. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26004. <boolProp name="Assertion.assume_success">false</boolProp>
  26005. <intProp name="Assertion.test_type">2</intProp>
  26006. </ResponseAssertion>
  26007. <hashTree/>
  26008. </hashTree>
  26009. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Billing/Shipping Information" enabled="true">
  26010. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26011. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26012. <collectionProp name="Arguments.arguments">
  26013. <elementProp name="" elementType="HTTPArgument">
  26014. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  26015. <stringProp name="Argument.value">{"addressInformation":{"shipping_address":{"countryId":"US","regionId":"${california_region_id}","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>
  26016. <stringProp name="Argument.metadata">=</stringProp>
  26017. </elementProp>
  26018. </collectionProp>
  26019. </elementProp>
  26020. <stringProp name="HTTPSampler.domain"/>
  26021. <stringProp name="HTTPSampler.port"/>
  26022. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26023. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26024. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26025. <stringProp name="HTTPSampler.contentEncoding"/>
  26026. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/shipping-information</stringProp>
  26027. <stringProp name="HTTPSampler.method">POST</stringProp>
  26028. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26029. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26030. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26031. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26032. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26033. <stringProp name="HTTPSampler.embedded_url_re"/>
  26034. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/guest_checkout/checkout_billing_shipping_information.jmx</stringProp></HTTPSamplerProxy>
  26035. <hashTree>
  26036. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  26037. <collectionProp name="HeaderManager.headers">
  26038. <elementProp name="" elementType="Header">
  26039. <stringProp name="Header.name">Referer</stringProp>
  26040. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  26041. </elementProp>
  26042. <elementProp name="Content-Type" elementType="Header">
  26043. <stringProp name="Header.name">Content-Type</stringProp>
  26044. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  26045. </elementProp>
  26046. <elementProp name="X-Requested-With" elementType="Header">
  26047. <stringProp name="Header.name">X-Requested-With</stringProp>
  26048. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  26049. </elementProp>
  26050. <elementProp name="Accept" elementType="Header">
  26051. <stringProp name="Header.name">Accept</stringProp>
  26052. <stringProp name="Header.value">application/json</stringProp>
  26053. </elementProp>
  26054. </collectionProp>
  26055. </HeaderManager>
  26056. <hashTree/>
  26057. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  26058. <collectionProp name="Asserion.test_strings">
  26059. <stringProp name="-1494218646">{"payment_methods":</stringProp>
  26060. </collectionProp>
  26061. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26062. <boolProp name="Assertion.assume_success">false</boolProp>
  26063. <intProp name="Assertion.test_type">2</intProp>
  26064. </ResponseAssertion>
  26065. <hashTree/>
  26066. </hashTree>
  26067. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout Payment Info/Place Order" enabled="true">
  26068. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26069. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26070. <collectionProp name="Arguments.arguments">
  26071. <elementProp name="" elementType="HTTPArgument">
  26072. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  26073. <stringProp name="Argument.value">{"cartId":"${cart_id}","email":"test@example.com","paymentMethod":{"method":"checkmo","po_number":null,"additional_data":null},"billingAddress":{"countryId":"US","regionId":"${california_region_id}","regionCode":"CA","region":"California","street":["10441 Jefferson Blvd ste 200"],"company":"","telephone":"3109450345","fax":"","postcode":"90232","city":"Culver City","firstname":"Name","lastname":"Lastname","save_in_address_book":0}}</stringProp>
  26074. <stringProp name="Argument.metadata">=</stringProp>
  26075. </elementProp>
  26076. </collectionProp>
  26077. </elementProp>
  26078. <stringProp name="HTTPSampler.domain"/>
  26079. <stringProp name="HTTPSampler.port"/>
  26080. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26081. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26082. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26083. <stringProp name="HTTPSampler.contentEncoding"/>
  26084. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/guest-carts/${cart_id}/payment-information</stringProp>
  26085. <stringProp name="HTTPSampler.method">POST</stringProp>
  26086. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26087. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26088. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26089. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26090. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26091. <stringProp name="HTTPSampler.embedded_url_re"/>
  26092. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/checkout_payment_info_place_order.jmx</stringProp></HTTPSamplerProxy>
  26093. <hashTree>
  26094. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  26095. <collectionProp name="HeaderManager.headers">
  26096. <elementProp name="" elementType="Header">
  26097. <stringProp name="Header.name">Referer</stringProp>
  26098. <stringProp name="Header.value">${base_path}checkout/onepage/</stringProp>
  26099. </elementProp>
  26100. <elementProp name="Content-Type" elementType="Header">
  26101. <stringProp name="Header.name">Content-Type</stringProp>
  26102. <stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
  26103. </elementProp>
  26104. <elementProp name="X-Requested-With" elementType="Header">
  26105. <stringProp name="Header.name">X-Requested-With</stringProp>
  26106. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  26107. </elementProp>
  26108. <elementProp name="Accept" elementType="Header">
  26109. <stringProp name="Header.name">Accept</stringProp>
  26110. <stringProp name="Header.value">application/json</stringProp>
  26111. </elementProp>
  26112. </collectionProp>
  26113. </HeaderManager>
  26114. <hashTree/>
  26115. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  26116. <collectionProp name="Asserion.test_strings">
  26117. <stringProp name="-297987887">"[0-9]+"</stringProp>
  26118. </collectionProp>
  26119. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26120. <boolProp name="Assertion.assume_success">false</boolProp>
  26121. <intProp name="Assertion.test_type">2</intProp>
  26122. </ResponseAssertion>
  26123. <hashTree/>
  26124. <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">
  26125. <stringProp name="VAR">order_id</stringProp>
  26126. <stringProp name="JSONPATH">$</stringProp>
  26127. <stringProp name="DEFAULT"/>
  26128. <stringProp name="VARIABLE"/>
  26129. <stringProp name="SUBJECT">BODY</stringProp>
  26130. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26131. <hashTree/>
  26132. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  26133. <collectionProp name="Asserion.test_strings">
  26134. <stringProp name="89649215">^\d+$</stringProp>
  26135. </collectionProp>
  26136. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26137. <boolProp name="Assertion.assume_success">false</boolProp>
  26138. <intProp name="Assertion.test_type">1</intProp>
  26139. <stringProp name="Assertion.scope">variable</stringProp>
  26140. <stringProp name="Scope.variable">order_id</stringProp>
  26141. </ResponseAssertion>
  26142. <hashTree/>
  26143. </hashTree>
  26144. </hashTree>
  26145. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Product Management" enabled="true">
  26146. <intProp name="ThroughputController.style">1</intProp>
  26147. <boolProp name="ThroughputController.perThread">false</boolProp>
  26148. <intProp name="ThroughputController.maxThroughput">1</intProp>
  26149. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  26150. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  26151. <hashTree>
  26152. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  26153. <stringProp name="script">
  26154. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  26155. if (testLabel
  26156. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  26157. ) {
  26158. if (sampler.getName().indexOf(testLabel) == -1) {
  26159. sampler.setName(sampler.getName() + testLabel);
  26160. }
  26161. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  26162. sampler.setName("SetUp - " + sampler.getName());
  26163. }
  26164. </stringProp>
  26165. <stringProp name="scriptLanguage">javascript</stringProp>
  26166. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  26167. <hashTree/>
  26168. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  26169. <stringProp name="BeanShellSampler.query">
  26170. vars.put("testLabel", "API Product Management");
  26171. </stringProp>
  26172. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  26173. </BeanShellSampler>
  26174. <hashTree/>
  26175. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create product" enabled="true">
  26176. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26177. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26178. <collectionProp name="Arguments.arguments">
  26179. <elementProp name="" elementType="HTTPArgument">
  26180. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  26181. <stringProp name="Argument.value">{&#xD;
  26182. "product": {&#xD;
  26183. "sku": "psku-test-${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  26184. "name": "Product_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  26185. "attributeSetId": 4&#xD;
  26186. }&#xD;
  26187. }</stringProp>
  26188. <stringProp name="Argument.metadata">=</stringProp>
  26189. </elementProp>
  26190. </collectionProp>
  26191. </elementProp>
  26192. <stringProp name="HTTPSampler.domain"/>
  26193. <stringProp name="HTTPSampler.port"/>
  26194. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26195. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26196. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26197. <stringProp name="HTTPSampler.contentEncoding"/>
  26198. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  26199. <stringProp name="HTTPSampler.method">POST</stringProp>
  26200. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26201. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26202. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26203. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26204. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26205. <stringProp name="HTTPSampler.embedded_url_re"/>
  26206. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_product_no_custom_attributes.jmx</stringProp></HTTPSamplerProxy>
  26207. <hashTree>
  26208. <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 product id" enabled="true">
  26209. <stringProp name="VAR">simple_product_id</stringProp>
  26210. <stringProp name="JSONPATH">$.id</stringProp>
  26211. <stringProp name="DEFAULT"/>
  26212. <stringProp name="VARIABLE"/>
  26213. <stringProp name="SUBJECT">BODY</stringProp>
  26214. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26215. <hashTree/>
  26216. <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 product sku" enabled="true">
  26217. <stringProp name="VAR">simple_product_sku</stringProp>
  26218. <stringProp name="JSONPATH">$.sku</stringProp>
  26219. <stringProp name="DEFAULT"/>
  26220. <stringProp name="VARIABLE"/>
  26221. <stringProp name="SUBJECT">BODY</stringProp>
  26222. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26223. <hashTree/>
  26224. <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 stock item id" enabled="true">
  26225. <stringProp name="VAR">simple_stock_item_id</stringProp>
  26226. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  26227. <stringProp name="DEFAULT"/>
  26228. <stringProp name="VARIABLE"/>
  26229. <stringProp name="SUBJECT">BODY</stringProp>
  26230. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26231. <hashTree/>
  26232. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  26233. <collectionProp name="Asserion.test_strings">
  26234. <stringProp name="89649215">^\d+$</stringProp>
  26235. </collectionProp>
  26236. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26237. <boolProp name="Assertion.assume_success">false</boolProp>
  26238. <intProp name="Assertion.test_type">1</intProp>
  26239. <stringProp name="Assertion.scope">variable</stringProp>
  26240. <stringProp name="Scope.variable">simple_product_id</stringProp>
  26241. </ResponseAssertion>
  26242. <hashTree/>
  26243. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  26244. <collectionProp name="Asserion.test_strings">
  26245. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  26246. </collectionProp>
  26247. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26248. <boolProp name="Assertion.assume_success">false</boolProp>
  26249. <intProp name="Assertion.test_type">1</intProp>
  26250. <stringProp name="Assertion.scope">variable</stringProp>
  26251. <stringProp name="Scope.variable">simple_product_sku</stringProp>
  26252. </ResponseAssertion>
  26253. <hashTree/>
  26254. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  26255. <collectionProp name="Asserion.test_strings">
  26256. <stringProp name="89649215">^\d+$</stringProp>
  26257. </collectionProp>
  26258. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26259. <boolProp name="Assertion.assume_success">false</boolProp>
  26260. <intProp name="Assertion.test_type">1</intProp>
  26261. <stringProp name="Assertion.scope">variable</stringProp>
  26262. <stringProp name="Scope.variable">simple_stock_item_id</stringProp>
  26263. </ResponseAssertion>
  26264. <hashTree/>
  26265. </hashTree>
  26266. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Update product stock info" enabled="true">
  26267. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26268. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26269. <collectionProp name="Arguments.arguments">
  26270. <elementProp name="" elementType="HTTPArgument">
  26271. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  26272. <stringProp name="Argument.value">{&#xD;
  26273. "stock_item": { &#xD;
  26274. "manage_stock": 1, &#xD;
  26275. "is_in_stock": 1,&#xD;
  26276. "qty": ${simple_product_id}&#xD;
  26277. }&#xD;
  26278. }</stringProp>
  26279. <stringProp name="Argument.metadata">=</stringProp>
  26280. </elementProp>
  26281. </collectionProp>
  26282. </elementProp>
  26283. <stringProp name="HTTPSampler.domain"/>
  26284. <stringProp name="HTTPSampler.port"/>
  26285. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26286. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26287. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26288. <stringProp name="HTTPSampler.contentEncoding"/>
  26289. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${simple_product_sku}/stockItems/${simple_stock_item_id}</stringProp>
  26290. <stringProp name="HTTPSampler.method">PUT</stringProp>
  26291. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26292. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26293. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26294. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26295. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26296. <stringProp name="HTTPSampler.embedded_url_re"/>
  26297. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/update_product_stock_info.jmx</stringProp></HTTPSamplerProxy>
  26298. <hashTree>
  26299. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  26300. <stringProp name="JSON_PATH">$</stringProp>
  26301. <stringProp name="EXPECTED_VALUE">${simple_stock_item_id}</stringProp>
  26302. <boolProp name="JSONVALIDATION">true</boolProp>
  26303. <boolProp name="EXPECT_NULL">false</boolProp>
  26304. <boolProp name="INVERT">false</boolProp>
  26305. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26306. <hashTree/>
  26307. </hashTree>
  26308. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check product" enabled="true">
  26309. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26310. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26311. <collectionProp name="Arguments.arguments">
  26312. <elementProp name="" elementType="HTTPArgument">
  26313. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26314. <stringProp name="Argument.value"/>
  26315. <stringProp name="Argument.metadata">=</stringProp>
  26316. </elementProp>
  26317. </collectionProp>
  26318. </elementProp>
  26319. <stringProp name="HTTPSampler.domain"/>
  26320. <stringProp name="HTTPSampler.port"/>
  26321. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26322. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26323. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26324. <stringProp name="HTTPSampler.contentEncoding"/>
  26325. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${simple_product_sku}</stringProp>
  26326. <stringProp name="HTTPSampler.method">GET</stringProp>
  26327. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26328. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26329. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26330. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26331. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26332. <stringProp name="HTTPSampler.embedded_url_re"/>
  26333. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/check_product.jmx</stringProp></HTTPSamplerProxy>
  26334. <hashTree>
  26335. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert product sku" enabled="true">
  26336. <stringProp name="JSON_PATH">$.sku</stringProp>
  26337. <stringProp name="EXPECTED_VALUE">${simple_product_sku}</stringProp>
  26338. <boolProp name="JSONVALIDATION">true</boolProp>
  26339. <boolProp name="EXPECT_NULL">false</boolProp>
  26340. <boolProp name="INVERT">false</boolProp>
  26341. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26342. <hashTree/>
  26343. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert product id" enabled="true">
  26344. <stringProp name="JSON_PATH">$.id</stringProp>
  26345. <stringProp name="EXPECTED_VALUE">${simple_product_id}</stringProp>
  26346. <boolProp name="JSONVALIDATION">true</boolProp>
  26347. <boolProp name="EXPECT_NULL">false</boolProp>
  26348. <boolProp name="INVERT">false</boolProp>
  26349. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26350. <hashTree/>
  26351. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert stock item id" enabled="true">
  26352. <stringProp name="JSON_PATH">$.extension_attributes.stock_item.item_id</stringProp>
  26353. <stringProp name="EXPECTED_VALUE">${simple_stock_item_id}</stringProp>
  26354. <boolProp name="JSONVALIDATION">true</boolProp>
  26355. <boolProp name="EXPECT_NULL">false</boolProp>
  26356. <boolProp name="INVERT">false</boolProp>
  26357. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26358. <hashTree/>
  26359. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert updated quantity" enabled="true">
  26360. <stringProp name="JSON_PATH">$.extension_attributes.stock_item.qty</stringProp>
  26361. <stringProp name="EXPECTED_VALUE">${simple_product_id}</stringProp>
  26362. <boolProp name="JSONVALIDATION">true</boolProp>
  26363. <boolProp name="EXPECT_NULL">false</boolProp>
  26364. <boolProp name="INVERT">false</boolProp>
  26365. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26366. <hashTree/>
  26367. </hashTree>
  26368. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create product with extensible data objects" enabled="true">
  26369. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26370. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26371. <collectionProp name="Arguments.arguments">
  26372. <elementProp name="" elementType="HTTPArgument">
  26373. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  26374. <stringProp name="Argument.value">{&#xD;
  26375. "product": {&#xD;
  26376. "sku": "apsku-test-${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  26377. "name": "Extensible_Product_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  26378. "visibility": "4",&#xD;
  26379. "type_id": "simple",&#xD;
  26380. "price": "3.62",&#xD;
  26381. "status": "1",&#xD;
  26382. "attribute_set_id": "4",&#xD;
  26383. "custom_attributes": [&#xD;
  26384. {&#xD;
  26385. "attribute_code": "cost",&#xD;
  26386. "value": ""&#xD;
  26387. },&#xD;
  26388. {&#xD;
  26389. "attribute_code": "description",&#xD;
  26390. "value": "Description"&#xD;
  26391. }&#xD;
  26392. ],&#xD;
  26393. "extension_attributes":{&#xD;
  26394. "stock_item":{&#xD;
  26395. "manage_stock": 1, &#xD;
  26396. "is_in_stock": 1,&#xD;
  26397. "qty":"100"&#xD;
  26398. }&#xD;
  26399. } ,&#xD;
  26400. "media_gallery_entries":&#xD;
  26401. [{&#xD;
  26402. "id": null,&#xD;
  26403. "label":"test_label_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  26404. "position":1,&#xD;
  26405. "disabled":0,&#xD;
  26406. "media_type":"image",&#xD;
  26407. "types":["image"],&#xD;
  26408. "content":{&#xD;
  26409. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  26410. "type": "image/jpeg",&#xD;
  26411. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  26412. }&#xD;
  26413. }&#xD;
  26414. ]&#xD;
  26415. }&#xD;
  26416. }</stringProp>
  26417. <stringProp name="Argument.metadata">=</stringProp>
  26418. </elementProp>
  26419. </collectionProp>
  26420. </elementProp>
  26421. <stringProp name="HTTPSampler.domain"/>
  26422. <stringProp name="HTTPSampler.port"/>
  26423. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26424. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26425. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26426. <stringProp name="HTTPSampler.contentEncoding"/>
  26427. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  26428. <stringProp name="HTTPSampler.method">POST</stringProp>
  26429. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26430. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26431. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26432. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26433. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26434. <stringProp name="HTTPSampler.embedded_url_re"/>
  26435. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_product_with_extensible_data_objects.jmx</stringProp></HTTPSamplerProxy>
  26436. <hashTree>
  26437. <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 product id" enabled="true">
  26438. <stringProp name="VAR">simple_product_id</stringProp>
  26439. <stringProp name="JSONPATH">$.id</stringProp>
  26440. <stringProp name="DEFAULT"/>
  26441. <stringProp name="VARIABLE"/>
  26442. <stringProp name="SUBJECT">BODY</stringProp>
  26443. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26444. <hashTree/>
  26445. <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 product sku" enabled="true">
  26446. <stringProp name="VAR">simple_product_sku</stringProp>
  26447. <stringProp name="JSONPATH">$.sku</stringProp>
  26448. <stringProp name="DEFAULT"/>
  26449. <stringProp name="VARIABLE"/>
  26450. <stringProp name="SUBJECT">BODY</stringProp>
  26451. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26452. <hashTree/>
  26453. <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 stock item id" enabled="true">
  26454. <stringProp name="VAR">simple_stock_item_id</stringProp>
  26455. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  26456. <stringProp name="DEFAULT"/>
  26457. <stringProp name="VARIABLE"/>
  26458. <stringProp name="SUBJECT">BODY</stringProp>
  26459. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26460. <hashTree/>
  26461. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  26462. <collectionProp name="Asserion.test_strings">
  26463. <stringProp name="89649215">^\d+$</stringProp>
  26464. </collectionProp>
  26465. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26466. <boolProp name="Assertion.assume_success">false</boolProp>
  26467. <intProp name="Assertion.test_type">1</intProp>
  26468. <stringProp name="Assertion.scope">variable</stringProp>
  26469. <stringProp name="Scope.variable">simple_product_id</stringProp>
  26470. </ResponseAssertion>
  26471. <hashTree/>
  26472. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  26473. <collectionProp name="Asserion.test_strings">
  26474. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  26475. </collectionProp>
  26476. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26477. <boolProp name="Assertion.assume_success">false</boolProp>
  26478. <intProp name="Assertion.test_type">1</intProp>
  26479. <stringProp name="Assertion.scope">variable</stringProp>
  26480. <stringProp name="Scope.variable">simple_product_sku</stringProp>
  26481. </ResponseAssertion>
  26482. <hashTree/>
  26483. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  26484. <collectionProp name="Asserion.test_strings">
  26485. <stringProp name="89649215">^\d+$</stringProp>
  26486. </collectionProp>
  26487. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26488. <boolProp name="Assertion.assume_success">false</boolProp>
  26489. <intProp name="Assertion.test_type">1</intProp>
  26490. <stringProp name="Assertion.scope">variable</stringProp>
  26491. <stringProp name="Scope.variable">simple_stock_item_id</stringProp>
  26492. </ResponseAssertion>
  26493. <hashTree/>
  26494. </hashTree>
  26495. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check product with extensible data objects" enabled="true">
  26496. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  26497. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  26498. <collectionProp name="Arguments.arguments">
  26499. <elementProp name="" elementType="HTTPArgument">
  26500. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26501. <stringProp name="Argument.value"/>
  26502. <stringProp name="Argument.metadata">=</stringProp>
  26503. </elementProp>
  26504. </collectionProp>
  26505. </elementProp>
  26506. <stringProp name="HTTPSampler.domain"/>
  26507. <stringProp name="HTTPSampler.port"/>
  26508. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26509. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26510. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26511. <stringProp name="HTTPSampler.contentEncoding"/>
  26512. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${simple_product_sku}</stringProp>
  26513. <stringProp name="HTTPSampler.method">GET</stringProp>
  26514. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26515. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26516. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26517. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26518. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26519. <stringProp name="HTTPSampler.embedded_url_re"/>
  26520. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/check_product_with_extensible_data_objects.jmx</stringProp></HTTPSamplerProxy>
  26521. <hashTree>
  26522. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert product sku" enabled="true">
  26523. <stringProp name="JSON_PATH">$.sku</stringProp>
  26524. <stringProp name="EXPECTED_VALUE">${simple_product_sku}</stringProp>
  26525. <boolProp name="JSONVALIDATION">true</boolProp>
  26526. <boolProp name="EXPECT_NULL">false</boolProp>
  26527. <boolProp name="INVERT">false</boolProp>
  26528. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26529. <hashTree/>
  26530. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert product id" enabled="true">
  26531. <stringProp name="JSON_PATH">$.id</stringProp>
  26532. <stringProp name="EXPECTED_VALUE">${simple_product_id}</stringProp>
  26533. <boolProp name="JSONVALIDATION">true</boolProp>
  26534. <boolProp name="EXPECT_NULL">false</boolProp>
  26535. <boolProp name="INVERT">false</boolProp>
  26536. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26537. <hashTree/>
  26538. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert stock item id" enabled="true">
  26539. <stringProp name="JSON_PATH">$.extension_attributes.stock_item.item_id</stringProp>
  26540. <stringProp name="EXPECTED_VALUE">${simple_stock_item_id}</stringProp>
  26541. <boolProp name="JSONVALIDATION">true</boolProp>
  26542. <boolProp name="EXPECT_NULL">false</boolProp>
  26543. <boolProp name="INVERT">false</boolProp>
  26544. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26545. <hashTree/>
  26546. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert updated quantity" enabled="true">
  26547. <stringProp name="JSON_PATH">$.extension_attributes.stock_item.qty</stringProp>
  26548. <stringProp name="EXPECTED_VALUE">100</stringProp>
  26549. <boolProp name="JSONVALIDATION">true</boolProp>
  26550. <boolProp name="EXPECT_NULL">false</boolProp>
  26551. <boolProp name="INVERT">false</boolProp>
  26552. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26553. <hashTree/>
  26554. </hashTree>
  26555. </hashTree>
  26556. </hashTree>
  26557. </hashTree>
  26558. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="One Thread Scenarios (Vulnerable to deadlocks)" enabled="true">
  26559. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  26560. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  26561. <boolProp name="LoopController.continue_forever">false</boolProp>
  26562. <stringProp name="LoopController.loops">${loops}</stringProp>
  26563. </elementProp>
  26564. <stringProp name="ThreadGroup.num_threads">${deadLocksPoolUsers}</stringProp>
  26565. <stringProp name="ThreadGroup.ramp_time">${ramp_period}</stringProp>
  26566. <longProp name="ThreadGroup.start_time">1505803944000</longProp>
  26567. <longProp name="ThreadGroup.end_time">1505803944000</longProp>
  26568. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  26569. <stringProp name="ThreadGroup.duration"/>
  26570. <stringProp name="ThreadGroup.delay"/>
  26571. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/thread_group.jmx</stringProp></ThreadGroup>
  26572. <hashTree>
  26573. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Product Grid Mass Actions" enabled="true">
  26574. <intProp name="ThroughputController.style">1</intProp>
  26575. <boolProp name="ThroughputController.perThread">false</boolProp>
  26576. <intProp name="ThroughputController.maxThroughput">1</intProp>
  26577. <stringProp name="ThroughputController.percentThroughput">${productGridMassActionPercentage}</stringProp>
  26578. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  26579. <hashTree>
  26580. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  26581. <stringProp name="script">
  26582. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  26583. if (testLabel
  26584. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  26585. ) {
  26586. if (sampler.getName().indexOf(testLabel) == -1) {
  26587. sampler.setName(sampler.getName() + testLabel);
  26588. }
  26589. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  26590. sampler.setName("SetUp - " + sampler.getName());
  26591. }
  26592. </stringProp>
  26593. <stringProp name="scriptLanguage">javascript</stringProp>
  26594. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  26595. <hashTree/>
  26596. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  26597. <stringProp name="BeanShellSampler.query">
  26598. vars.put("testLabel", "Product Grid Mass Actions");
  26599. </stringProp>
  26600. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  26601. </BeanShellSampler>
  26602. <hashTree/>
  26603. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  26604. <stringProp name="script">
  26605. function getFormKeyFromResponse()
  26606. {
  26607. var url = prev.getUrlAsString(),
  26608. responseCode = prev.getResponseCode(),
  26609. formKey = null;
  26610. searchPattern = /var FORM_KEY = '(.+)'/;
  26611. if (responseCode == "200" &amp;&amp; url) {
  26612. response = prev.getResponseDataAsString();
  26613. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  26614. }
  26615. return formKey;
  26616. }
  26617. formKey = vars.get("form_key_storage");
  26618. currentFormKey = getFormKeyFromResponse();
  26619. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  26620. vars.put("form_key_storage", currentFormKey);
  26621. }
  26622. </stringProp>
  26623. <stringProp name="scriptLanguage">javascript</stringProp>
  26624. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  26625. <hashTree/>
  26626. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  26627. <stringProp name="script">
  26628. formKey = vars.get("form_key_storage");
  26629. if (formKey
  26630. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  26631. &amp;&amp; sampler.getMethod() == "POST")
  26632. {
  26633. arguments = sampler.getArguments();
  26634. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  26635. {
  26636. argument = arguments.getArgument(i);
  26637. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  26638. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  26639. argument.setValue(formKey);
  26640. }
  26641. }
  26642. }
  26643. </stringProp>
  26644. <stringProp name="scriptLanguage">javascript</stringProp>
  26645. </JSR223PreProcessor>
  26646. <hashTree/>
  26647. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  26648. <collectionProp name="CookieManager.cookies"/>
  26649. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  26650. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  26651. <hashTree/>
  26652. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  26653. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  26654. </GenericController>
  26655. <hashTree>
  26656. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  26657. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  26658. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  26659. <hashTree>
  26660. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  26661. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  26662. <stringProp name="BeanShellSampler.query">
  26663. adminUserList = props.get("adminUserList");
  26664. adminUserListIterator = props.get("adminUserListIterator");
  26665. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  26666. if (adminUsersDistribution == 1) {
  26667. adminUser = adminUserList.poll();
  26668. } else {
  26669. if (!adminUserListIterator.hasNext()) {
  26670. adminUserListIterator = adminUserList.descendingIterator();
  26671. }
  26672. adminUser = adminUserListIterator.next();
  26673. }
  26674. if (adminUser == null) {
  26675. SampleResult.setResponseMessage("adminUser list is empty");
  26676. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  26677. IsSuccess=false;
  26678. SampleResult.setSuccessful(false);
  26679. SampleResult.setStopThread(true);
  26680. }
  26681. vars.put("admin_user", adminUser);
  26682. </stringProp>
  26683. <stringProp name="BeanShellSampler.filename"/>
  26684. <stringProp name="BeanShellSampler.parameters"/>
  26685. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  26686. </BeanShellSampler>
  26687. <hashTree/>
  26688. </hashTree>
  26689. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  26690. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  26691. <collectionProp name="Arguments.arguments"/>
  26692. </elementProp>
  26693. <stringProp name="HTTPSampler.domain"/>
  26694. <stringProp name="HTTPSampler.port"/>
  26695. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26696. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26697. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26698. <stringProp name="HTTPSampler.contentEncoding"/>
  26699. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  26700. <stringProp name="HTTPSampler.method">GET</stringProp>
  26701. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26702. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26703. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26704. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26705. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26706. <stringProp name="HTTPSampler.embedded_url_re"/>
  26707. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  26708. <hashTree>
  26709. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  26710. <collectionProp name="Asserion.test_strings">
  26711. <stringProp name="-1397214398">Welcome</stringProp>
  26712. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  26713. </collectionProp>
  26714. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26715. <boolProp name="Assertion.assume_success">false</boolProp>
  26716. <intProp name="Assertion.test_type">2</intProp>
  26717. </ResponseAssertion>
  26718. <hashTree/>
  26719. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  26720. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  26721. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  26722. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  26723. <stringProp name="RegexExtractor.template">$1$</stringProp>
  26724. <stringProp name="RegexExtractor.default"/>
  26725. <stringProp name="RegexExtractor.match_number">1</stringProp>
  26726. </RegexExtractor>
  26727. <hashTree/>
  26728. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  26729. <collectionProp name="Asserion.test_strings">
  26730. <stringProp name="2845929">^.+$</stringProp>
  26731. </collectionProp>
  26732. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  26733. <boolProp name="Assertion.assume_success">false</boolProp>
  26734. <intProp name="Assertion.test_type">1</intProp>
  26735. <stringProp name="Assertion.scope">variable</stringProp>
  26736. <stringProp name="Scope.variable">admin_form_key</stringProp>
  26737. </ResponseAssertion>
  26738. <hashTree/>
  26739. </hashTree>
  26740. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  26741. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  26742. <collectionProp name="Arguments.arguments">
  26743. <elementProp name="dummy" elementType="HTTPArgument">
  26744. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26745. <stringProp name="Argument.value"/>
  26746. <stringProp name="Argument.metadata">=</stringProp>
  26747. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26748. <stringProp name="Argument.name">dummy</stringProp>
  26749. </elementProp>
  26750. <elementProp name="form_key" elementType="HTTPArgument">
  26751. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26752. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  26753. <stringProp name="Argument.metadata">=</stringProp>
  26754. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26755. <stringProp name="Argument.name">form_key</stringProp>
  26756. </elementProp>
  26757. <elementProp name="login[password]" elementType="HTTPArgument">
  26758. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26759. <stringProp name="Argument.value">${admin_password}</stringProp>
  26760. <stringProp name="Argument.metadata">=</stringProp>
  26761. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26762. <stringProp name="Argument.name">login[password]</stringProp>
  26763. </elementProp>
  26764. <elementProp name="login[username]" elementType="HTTPArgument">
  26765. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26766. <stringProp name="Argument.value">${admin_user}</stringProp>
  26767. <stringProp name="Argument.metadata">=</stringProp>
  26768. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26769. <stringProp name="Argument.name">login[username]</stringProp>
  26770. </elementProp>
  26771. </collectionProp>
  26772. </elementProp>
  26773. <stringProp name="HTTPSampler.domain"/>
  26774. <stringProp name="HTTPSampler.port"/>
  26775. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26776. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26777. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26778. <stringProp name="HTTPSampler.contentEncoding"/>
  26779. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  26780. <stringProp name="HTTPSampler.method">POST</stringProp>
  26781. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26782. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26783. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26784. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26785. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  26786. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26787. <stringProp name="HTTPSampler.embedded_url_re"/>
  26788. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  26789. </HTTPSamplerProxy>
  26790. <hashTree>
  26791. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  26792. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  26793. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  26794. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  26795. <stringProp name="RegexExtractor.template">$1$</stringProp>
  26796. <stringProp name="RegexExtractor.default"/>
  26797. <stringProp name="RegexExtractor.match_number">1</stringProp>
  26798. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  26799. <hashTree/>
  26800. </hashTree>
  26801. </hashTree>
  26802. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  26803. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  26804. </GenericController>
  26805. <hashTree>
  26806. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Product Pages Count" enabled="true">
  26807. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  26808. <collectionProp name="Arguments.arguments">
  26809. <elementProp name="form_key" elementType="HTTPArgument">
  26810. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26811. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  26812. <stringProp name="Argument.metadata">=</stringProp>
  26813. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26814. <stringProp name="Argument.name">form_key</stringProp>
  26815. </elementProp>
  26816. <elementProp name="namespace" elementType="HTTPArgument">
  26817. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26818. <stringProp name="Argument.value">product_listing</stringProp>
  26819. <stringProp name="Argument.metadata">=</stringProp>
  26820. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26821. <stringProp name="Argument.name">namespace</stringProp>
  26822. <stringProp name="Argument.desc">true</stringProp>
  26823. </elementProp>
  26824. <elementProp name="search" elementType="HTTPArgument">
  26825. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26826. <stringProp name="Argument.value"/>
  26827. <stringProp name="Argument.metadata">=</stringProp>
  26828. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26829. <stringProp name="Argument.name">search</stringProp>
  26830. <stringProp name="Argument.desc">true</stringProp>
  26831. </elementProp>
  26832. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  26833. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26834. <stringProp name="Argument.value">true</stringProp>
  26835. <stringProp name="Argument.metadata">=</stringProp>
  26836. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26837. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  26838. <stringProp name="Argument.desc">true</stringProp>
  26839. </elementProp>
  26840. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  26841. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26842. <stringProp name="Argument.value">20</stringProp>
  26843. <stringProp name="Argument.metadata">=</stringProp>
  26844. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26845. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  26846. <stringProp name="Argument.desc">true</stringProp>
  26847. </elementProp>
  26848. <elementProp name="paging[current]" elementType="HTTPArgument">
  26849. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26850. <stringProp name="Argument.value">1</stringProp>
  26851. <stringProp name="Argument.metadata">=</stringProp>
  26852. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26853. <stringProp name="Argument.name">paging[current]</stringProp>
  26854. <stringProp name="Argument.desc">true</stringProp>
  26855. </elementProp>
  26856. <elementProp name="sorting[field]" elementType="HTTPArgument">
  26857. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26858. <stringProp name="Argument.value">entity_id</stringProp>
  26859. <stringProp name="Argument.metadata">=</stringProp>
  26860. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26861. <stringProp name="Argument.name">sorting[field]</stringProp>
  26862. <stringProp name="Argument.desc">true</stringProp>
  26863. </elementProp>
  26864. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  26865. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26866. <stringProp name="Argument.value">asc</stringProp>
  26867. <stringProp name="Argument.metadata">=</stringProp>
  26868. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26869. <stringProp name="Argument.name">sorting[direction]</stringProp>
  26870. <stringProp name="Argument.desc">true</stringProp>
  26871. </elementProp>
  26872. <elementProp name="isAjax" elementType="HTTPArgument">
  26873. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26874. <stringProp name="Argument.value">true</stringProp>
  26875. <stringProp name="Argument.metadata">=</stringProp>
  26876. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26877. <stringProp name="Argument.name">isAjax</stringProp>
  26878. <stringProp name="Argument.desc">true</stringProp>
  26879. </elementProp>
  26880. </collectionProp>
  26881. </elementProp>
  26882. <stringProp name="HTTPSampler.domain"/>
  26883. <stringProp name="HTTPSampler.port"/>
  26884. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  26885. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  26886. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  26887. <stringProp name="HTTPSampler.contentEncoding"/>
  26888. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  26889. <stringProp name="HTTPSampler.method">GET</stringProp>
  26890. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  26891. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  26892. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  26893. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  26894. <boolProp name="HTTPSampler.monitor">false</boolProp>
  26895. <stringProp name="HTTPSampler.embedded_url_re"/>
  26896. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_products_grid/get_product_pages_count.jmx</stringProp></HTTPSamplerProxy>
  26897. <hashTree>
  26898. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert total records is not 0" enabled="true">
  26899. <stringProp name="JSON_PATH">$.totalRecords</stringProp>
  26900. <stringProp name="EXPECTED_VALUE">0</stringProp>
  26901. <boolProp name="JSONVALIDATION">true</boolProp>
  26902. <boolProp name="EXPECT_NULL">false</boolProp>
  26903. <boolProp name="INVERT">true</boolProp>
  26904. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  26905. <hashTree/>
  26906. <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 total records" enabled="true">
  26907. <stringProp name="VAR">products_number</stringProp>
  26908. <stringProp name="JSONPATH">$.totalRecords</stringProp>
  26909. <stringProp name="DEFAULT"/>
  26910. <stringProp name="VARIABLE"/>
  26911. <stringProp name="SUBJECT">BODY</stringProp>
  26912. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  26913. <hashTree/>
  26914. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Calculate pages count" enabled="true">
  26915. <boolProp name="resetInterpreter">false</boolProp>
  26916. <stringProp name="parameters"/>
  26917. <stringProp name="filename"/>
  26918. <stringProp name="script">var productsPageSize = Integer.parseInt(vars.get("products_page_size"));
  26919. var productsTotal = Integer.parseInt(vars.get("products_number"));
  26920. var pageCountProducts = Math.round(productsTotal/productsPageSize);
  26921. vars.put("pages_count_product", String.valueOf(pageCountProducts));</stringProp>
  26922. </BeanShellPostProcessor>
  26923. <hashTree/>
  26924. </hashTree>
  26925. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  26926. <stringProp name="BeanShellSampler.query">
  26927. import java.util.Random;
  26928. Random random = new Random();
  26929. if (${seedForRandom} &gt; 0) {
  26930. random.setSeed(${seedForRandom});
  26931. }
  26932. var productsPageSize = Integer.parseInt(vars.get("products_page_size"));
  26933. var totalNumberOfPages = Integer.parseInt(vars.get("pages_count_product"));
  26934. // Randomly select a page.
  26935. var randomProductsPage = random.nextInt(totalNumberOfPages) + 1;
  26936. // Get the first and last product id on that page.
  26937. var lastProductIdOnPage = randomProductsPage * productsPageSize;
  26938. var firstProductIdOnPage = lastProductIdOnPage - productsPageSize + 1;
  26939. var randomProductId1 = Math.floor(random.nextInt(productsPageSize)) + firstProductIdOnPage;
  26940. var randomProductId2 = Math.floor(random.nextInt(productsPageSize)) + firstProductIdOnPage;
  26941. var randomProductId3 = Math.floor(random.nextInt(productsPageSize)) + firstProductIdOnPage;
  26942. vars.put("page_number", String.valueOf(randomProductsPage));
  26943. vars.put("productId1", String.valueOf(randomProductId1));
  26944. vars.put("productId2", String.valueOf(randomProductId2));
  26945. vars.put("productId3", String.valueOf(randomProductId3));
  26946. var randomQuantity = random.nextInt(1000) + 1;
  26947. var randomPrice = random.nextInt(500) + 10;
  26948. var randomVisibility = random.nextInt(4) + 1;
  26949. vars.put("quantity", String.valueOf(randomQuantity));
  26950. vars.put("price", String.valueOf(randomPrice));
  26951. vars.put("visibility", String.valueOf(randomVisibility));
  26952. </stringProp>
  26953. <stringProp name="BeanShellSampler.filename"/>
  26954. <stringProp name="BeanShellSampler.parameters"/>
  26955. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  26956. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_products_grid/products_grid_mass_actions/setup.jmx</stringProp></BeanShellSampler>
  26957. <hashTree/>
  26958. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Select Products and Update Attributes mass action" enabled="true">
  26959. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  26960. <collectionProp name="Arguments.arguments">
  26961. <elementProp name="form_key" elementType="HTTPArgument">
  26962. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26963. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  26964. <stringProp name="Argument.metadata">=</stringProp>
  26965. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26966. <stringProp name="Argument.name">form_key</stringProp>
  26967. <stringProp name="Argument.desc">true</stringProp>
  26968. </elementProp>
  26969. <elementProp name="namespace" elementType="HTTPArgument">
  26970. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26971. <stringProp name="Argument.value">product_listing</stringProp>
  26972. <stringProp name="Argument.metadata">=</stringProp>
  26973. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26974. <stringProp name="Argument.name">namespace</stringProp>
  26975. <stringProp name="Argument.desc">true</stringProp>
  26976. </elementProp>
  26977. <elementProp name="search" elementType="HTTPArgument">
  26978. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26979. <stringProp name="Argument.value"/>
  26980. <stringProp name="Argument.metadata">=</stringProp>
  26981. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26982. <stringProp name="Argument.name">search</stringProp>
  26983. <stringProp name="Argument.desc">true</stringProp>
  26984. </elementProp>
  26985. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  26986. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26987. <stringProp name="Argument.value">true</stringProp>
  26988. <stringProp name="Argument.metadata">=</stringProp>
  26989. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26990. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  26991. <stringProp name="Argument.desc">true</stringProp>
  26992. </elementProp>
  26993. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  26994. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  26995. <stringProp name="Argument.value">${products_page_size}</stringProp>
  26996. <stringProp name="Argument.metadata">=</stringProp>
  26997. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  26998. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  26999. <stringProp name="Argument.desc">true</stringProp>
  27000. </elementProp>
  27001. <elementProp name="paging[current]" elementType="HTTPArgument">
  27002. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27003. <stringProp name="Argument.value">${page_number}</stringProp>
  27004. <stringProp name="Argument.metadata">=</stringProp>
  27005. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27006. <stringProp name="Argument.name">paging[current]</stringProp>
  27007. <stringProp name="Argument.desc">true</stringProp>
  27008. </elementProp>
  27009. <elementProp name="sorting[field]" elementType="HTTPArgument">
  27010. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27011. <stringProp name="Argument.value">entity_id</stringProp>
  27012. <stringProp name="Argument.metadata">=</stringProp>
  27013. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27014. <stringProp name="Argument.name">sorting[field]</stringProp>
  27015. <stringProp name="Argument.desc">true</stringProp>
  27016. </elementProp>
  27017. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  27018. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27019. <stringProp name="Argument.value">asc</stringProp>
  27020. <stringProp name="Argument.metadata">=</stringProp>
  27021. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27022. <stringProp name="Argument.name">sorting[direction]</stringProp>
  27023. <stringProp name="Argument.desc">true</stringProp>
  27024. </elementProp>
  27025. <elementProp name="isAjax" elementType="HTTPArgument">
  27026. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27027. <stringProp name="Argument.value">true</stringProp>
  27028. <stringProp name="Argument.metadata">=</stringProp>
  27029. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27030. <stringProp name="Argument.name">isAjax</stringProp>
  27031. <stringProp name="Argument.desc">true</stringProp>
  27032. </elementProp>
  27033. </collectionProp>
  27034. </elementProp>
  27035. <stringProp name="HTTPSampler.domain"/>
  27036. <stringProp name="HTTPSampler.port"/>
  27037. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27038. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27039. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27040. <stringProp name="HTTPSampler.contentEncoding"/>
  27041. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  27042. <stringProp name="HTTPSampler.method">GET</stringProp>
  27043. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27044. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27045. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27046. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27047. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27048. <stringProp name="HTTPSampler.embedded_url_re"/>
  27049. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_products_grid/products_grid_mass_actions/display_grid.jmx</stringProp></HTTPSamplerProxy>
  27050. <hashTree>
  27051. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  27052. <collectionProp name="Asserion.test_strings">
  27053. <stringProp name="1637639774">totalRecords</stringProp>
  27054. </collectionProp>
  27055. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27056. <boolProp name="Assertion.assume_success">false</boolProp>
  27057. <intProp name="Assertion.test_type">2</intProp>
  27058. </ResponseAssertion>
  27059. <hashTree/>
  27060. </hashTree>
  27061. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Display Update Attributes" enabled="true">
  27062. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27063. <collectionProp name="Arguments.arguments">
  27064. <elementProp name="selected[0]" elementType="HTTPArgument">
  27065. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27066. <stringProp name="Argument.value">${productId1}</stringProp>
  27067. <stringProp name="Argument.metadata">=</stringProp>
  27068. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27069. <stringProp name="Argument.name">selected[0]</stringProp>
  27070. </elementProp>
  27071. <elementProp name="selected[1]" elementType="HTTPArgument">
  27072. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27073. <stringProp name="Argument.value">${productId2}</stringProp>
  27074. <stringProp name="Argument.metadata">=</stringProp>
  27075. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27076. <stringProp name="Argument.name">selected[1]</stringProp>
  27077. </elementProp>
  27078. <elementProp name="selected[2]" elementType="HTTPArgument">
  27079. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27080. <stringProp name="Argument.value">${productId3}</stringProp>
  27081. <stringProp name="Argument.metadata">=</stringProp>
  27082. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27083. <stringProp name="Argument.name">selected[2]</stringProp>
  27084. <stringProp name="Argument.desc">true</stringProp>
  27085. </elementProp>
  27086. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  27087. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27088. <stringProp name="Argument.value">true</stringProp>
  27089. <stringProp name="Argument.metadata">=</stringProp>
  27090. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27091. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  27092. <stringProp name="Argument.desc">false</stringProp>
  27093. </elementProp>
  27094. <elementProp name="form_key" elementType="HTTPArgument">
  27095. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27096. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  27097. <stringProp name="Argument.metadata">=</stringProp>
  27098. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27099. <stringProp name="Argument.name">form_key</stringProp>
  27100. <stringProp name="Argument.desc">false</stringProp>
  27101. </elementProp>
  27102. <elementProp name="namespace" elementType="HTTPArgument">
  27103. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27104. <stringProp name="Argument.value">product_listing</stringProp>
  27105. <stringProp name="Argument.metadata">=</stringProp>
  27106. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27107. <stringProp name="Argument.name">namespace</stringProp>
  27108. <stringProp name="Argument.desc">false</stringProp>
  27109. </elementProp>
  27110. </collectionProp>
  27111. </elementProp>
  27112. <stringProp name="HTTPSampler.domain"/>
  27113. <stringProp name="HTTPSampler.port"/>
  27114. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27115. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27116. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27117. <stringProp name="HTTPSampler.contentEncoding"/>
  27118. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product_action_attribute/edit</stringProp>
  27119. <stringProp name="HTTPSampler.method">GET</stringProp>
  27120. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27121. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27122. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27123. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27124. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27125. <stringProp name="HTTPSampler.embedded_url_re"/>
  27126. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_products_grid/products_grid_mass_actions/display_update_attributes.jmx</stringProp></HTTPSamplerProxy>
  27127. <hashTree>
  27128. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  27129. <collectionProp name="Asserion.test_strings">
  27130. <stringProp name="1862384910">Update Attributes</stringProp>
  27131. </collectionProp>
  27132. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27133. <boolProp name="Assertion.assume_success">false</boolProp>
  27134. <intProp name="Assertion.test_type">2</intProp>
  27135. </ResponseAssertion>
  27136. <hashTree/>
  27137. </hashTree>
  27138. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Validate Attributes" enabled="true">
  27139. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27140. <collectionProp name="Arguments.arguments">
  27141. <elementProp name="isAjax" elementType="HTTPArgument">
  27142. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27143. <stringProp name="Argument.value">true</stringProp>
  27144. <stringProp name="Argument.metadata">=</stringProp>
  27145. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27146. <stringProp name="Argument.name">isAjax</stringProp>
  27147. <stringProp name="Argument.desc">true</stringProp>
  27148. </elementProp>
  27149. <elementProp name="form_key" elementType="HTTPArgument">
  27150. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27151. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  27152. <stringProp name="Argument.metadata">=</stringProp>
  27153. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27154. <stringProp name="Argument.name">form_key</stringProp>
  27155. <stringProp name="Argument.desc">true</stringProp>
  27156. </elementProp>
  27157. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  27158. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27159. <stringProp name="Argument.value">1</stringProp>
  27160. <stringProp name="Argument.metadata">=</stringProp>
  27161. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27162. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  27163. <stringProp name="Argument.desc">true</stringProp>
  27164. </elementProp>
  27165. <elementProp name="product[use_config_gift_message_available]" elementType="HTTPArgument">
  27166. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27167. <stringProp name="Argument.value">1</stringProp>
  27168. <stringProp name="Argument.metadata">=</stringProp>
  27169. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27170. <stringProp name="Argument.name">product[use_config_gift_message_available]</stringProp>
  27171. <stringProp name="Argument.desc">true</stringProp>
  27172. </elementProp>
  27173. <elementProp name="product[use_config_gift_wrapping_available]" elementType="HTTPArgument">
  27174. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27175. <stringProp name="Argument.value">1</stringProp>
  27176. <stringProp name="Argument.metadata">=</stringProp>
  27177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27178. <stringProp name="Argument.name">product[use_config_gift_wrapping_available]</stringProp>
  27179. <stringProp name="Argument.desc">true</stringProp>
  27180. </elementProp>
  27181. <elementProp name="inventory[qty]" elementType="HTTPArgument">
  27182. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27183. <stringProp name="Argument.value">${quantity}</stringProp>
  27184. <stringProp name="Argument.metadata">=</stringProp>
  27185. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27186. <stringProp name="Argument.name">inventory[qty]</stringProp>
  27187. <stringProp name="Argument.desc">true</stringProp>
  27188. </elementProp>
  27189. <elementProp name="attributes[price]" elementType="HTTPArgument">
  27190. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27191. <stringProp name="Argument.value">${price}</stringProp>
  27192. <stringProp name="Argument.metadata">=</stringProp>
  27193. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27194. <stringProp name="Argument.name">attributes[price]</stringProp>
  27195. </elementProp>
  27196. <elementProp name="attributes[visibility]" elementType="HTTPArgument">
  27197. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27198. <stringProp name="Argument.value">${visibility}</stringProp>
  27199. <stringProp name="Argument.metadata">=</stringProp>
  27200. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27201. <stringProp name="Argument.name">attributes[visibility]</stringProp>
  27202. </elementProp>
  27203. </collectionProp>
  27204. </elementProp>
  27205. <stringProp name="HTTPSampler.domain"/>
  27206. <stringProp name="HTTPSampler.port"/>
  27207. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27208. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27209. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27210. <stringProp name="HTTPSampler.contentEncoding"/>
  27211. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product_action_attribute/validate</stringProp>
  27212. <stringProp name="HTTPSampler.method">POST</stringProp>
  27213. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27214. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27215. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27216. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27217. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27218. <stringProp name="HTTPSampler.embedded_url_re"/>
  27219. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_browse_products_grid/products_grid_mass_actions/change_attributes.jmx</stringProp></HTTPSamplerProxy>
  27220. <hashTree>
  27221. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  27222. <collectionProp name="Asserion.test_strings">
  27223. <stringProp name="1853918323">{"error":false}</stringProp>
  27224. </collectionProp>
  27225. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27226. <boolProp name="Assertion.assume_success">false</boolProp>
  27227. <intProp name="Assertion.test_type">2</intProp>
  27228. </ResponseAssertion>
  27229. <hashTree/>
  27230. </hashTree>
  27231. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Save Attributes" enabled="true">
  27232. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27233. <collectionProp name="Arguments.arguments">
  27234. <elementProp name="isAjax" elementType="HTTPArgument">
  27235. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27236. <stringProp name="Argument.value">true</stringProp>
  27237. <stringProp name="Argument.metadata">=</stringProp>
  27238. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27239. <stringProp name="Argument.name">isAjax</stringProp>
  27240. <stringProp name="Argument.desc">false</stringProp>
  27241. </elementProp>
  27242. <elementProp name="form_key" elementType="HTTPArgument">
  27243. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27244. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  27245. <stringProp name="Argument.metadata">=</stringProp>
  27246. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27247. <stringProp name="Argument.name">form_key</stringProp>
  27248. <stringProp name="Argument.desc">false</stringProp>
  27249. </elementProp>
  27250. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  27251. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27252. <stringProp name="Argument.value">1</stringProp>
  27253. <stringProp name="Argument.metadata">=</stringProp>
  27254. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27255. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  27256. <stringProp name="Argument.desc">true</stringProp>
  27257. </elementProp>
  27258. <elementProp name="product[use_config_gift_message_available]" elementType="HTTPArgument">
  27259. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27260. <stringProp name="Argument.value">1</stringProp>
  27261. <stringProp name="Argument.metadata">=</stringProp>
  27262. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27263. <stringProp name="Argument.name">product[use_config_gift_message_available]</stringProp>
  27264. </elementProp>
  27265. <elementProp name="product[use_config_gift_wrapping_available]" elementType="HTTPArgument">
  27266. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27267. <stringProp name="Argument.value">1</stringProp>
  27268. <stringProp name="Argument.metadata">=</stringProp>
  27269. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27270. <stringProp name="Argument.name">product[use_config_gift_wrapping_available]</stringProp>
  27271. <stringProp name="Argument.desc">true</stringProp>
  27272. </elementProp>
  27273. <elementProp name="inventory[qty]" elementType="HTTPArgument">
  27274. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27275. <stringProp name="Argument.value">${quantity}</stringProp>
  27276. <stringProp name="Argument.metadata">=</stringProp>
  27277. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27278. <stringProp name="Argument.name">inventory[qty]</stringProp>
  27279. </elementProp>
  27280. <elementProp name="toggle_qty" elementType="HTTPArgument">
  27281. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27282. <stringProp name="Argument.value">on</stringProp>
  27283. <stringProp name="Argument.metadata">=</stringProp>
  27284. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27285. <stringProp name="Argument.name">toggle_price</stringProp>
  27286. <stringProp name="Argument.desc">true</stringProp>
  27287. </elementProp>
  27288. <elementProp name="attributes[price]" elementType="HTTPArgument">
  27289. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27290. <stringProp name="Argument.value">${price}</stringProp>
  27291. <stringProp name="Argument.metadata">=</stringProp>
  27292. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27293. <stringProp name="Argument.name">attributes[price]</stringProp>
  27294. </elementProp>
  27295. <elementProp name="toggle_price" elementType="HTTPArgument">
  27296. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27297. <stringProp name="Argument.value">on</stringProp>
  27298. <stringProp name="Argument.metadata">=</stringProp>
  27299. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27300. <stringProp name="Argument.name">toggle_price</stringProp>
  27301. <stringProp name="Argument.desc">true</stringProp>
  27302. </elementProp>
  27303. <elementProp name="attributes[visibility]" elementType="HTTPArgument">
  27304. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27305. <stringProp name="Argument.value">${visibility}</stringProp>
  27306. <stringProp name="Argument.metadata">=</stringProp>
  27307. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27308. <stringProp name="Argument.name">attributes[visibility]</stringProp>
  27309. </elementProp>
  27310. <elementProp name="toggle_visibility" elementType="HTTPArgument">
  27311. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27312. <stringProp name="Argument.value">on</stringProp>
  27313. <stringProp name="Argument.metadata">=</stringProp>
  27314. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27315. <stringProp name="Argument.name">toggle_visibility</stringProp>
  27316. <stringProp name="Argument.desc">true</stringProp>
  27317. </elementProp>
  27318. </collectionProp>
  27319. </elementProp>
  27320. <stringProp name="HTTPSampler.domain"/>
  27321. <stringProp name="HTTPSampler.port"/>
  27322. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27323. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27324. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27325. <stringProp name="HTTPSampler.contentEncoding"/>
  27326. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product_action_attribute/save/store/0/active_tab/attributes</stringProp>
  27327. <stringProp name="HTTPSampler.method">POST</stringProp>
  27328. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27329. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27330. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27331. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  27332. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27333. <stringProp name="HTTPSampler.embedded_url_re"/>
  27334. </HTTPSamplerProxy>
  27335. <hashTree>
  27336. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  27337. <collectionProp name="Asserion.test_strings">
  27338. <stringProp name="1848809106">were updated.</stringProp>
  27339. </collectionProp>
  27340. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27341. <boolProp name="Assertion.assume_success">false</boolProp>
  27342. <intProp name="Assertion.test_type">2</intProp>
  27343. </ResponseAssertion>
  27344. <hashTree/>
  27345. </hashTree>
  27346. </hashTree>
  27347. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  27348. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27349. <collectionProp name="Arguments.arguments"/>
  27350. </elementProp>
  27351. <stringProp name="HTTPSampler.domain"/>
  27352. <stringProp name="HTTPSampler.port"/>
  27353. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27354. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27355. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27356. <stringProp name="HTTPSampler.contentEncoding"/>
  27357. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  27358. <stringProp name="HTTPSampler.method">GET</stringProp>
  27359. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27360. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27361. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27362. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27363. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27364. <stringProp name="HTTPSampler.embedded_url_re"/>
  27365. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  27366. <hashTree>
  27367. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  27368. <boolProp name="resetInterpreter">false</boolProp>
  27369. <stringProp name="parameters"/>
  27370. <stringProp name="filename"/>
  27371. <stringProp name="script">
  27372. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  27373. if (adminUsersDistribution == 1) {
  27374. adminUserList = props.get("adminUserList");
  27375. adminUserList.add(vars.get("admin_user"));
  27376. }
  27377. </stringProp>
  27378. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  27379. <hashTree/>
  27380. </hashTree>
  27381. </hashTree>
  27382. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Import Products" enabled="true">
  27383. <intProp name="ThroughputController.style">1</intProp>
  27384. <boolProp name="ThroughputController.perThread">false</boolProp>
  27385. <intProp name="ThroughputController.maxThroughput">1</intProp>
  27386. <stringProp name="ThroughputController.percentThroughput">${importProductsPercentage}</stringProp>
  27387. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  27388. <hashTree>
  27389. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  27390. <stringProp name="script">
  27391. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  27392. if (testLabel
  27393. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  27394. ) {
  27395. if (sampler.getName().indexOf(testLabel) == -1) {
  27396. sampler.setName(sampler.getName() + testLabel);
  27397. }
  27398. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  27399. sampler.setName("SetUp - " + sampler.getName());
  27400. }
  27401. </stringProp>
  27402. <stringProp name="scriptLanguage">javascript</stringProp>
  27403. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  27404. <hashTree/>
  27405. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  27406. <stringProp name="BeanShellSampler.query">
  27407. vars.put("testLabel", "Import Products");
  27408. </stringProp>
  27409. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  27410. </BeanShellSampler>
  27411. <hashTree/>
  27412. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  27413. <stringProp name="script">
  27414. function getFormKeyFromResponse()
  27415. {
  27416. var url = prev.getUrlAsString(),
  27417. responseCode = prev.getResponseCode(),
  27418. formKey = null;
  27419. searchPattern = /var FORM_KEY = '(.+)'/;
  27420. if (responseCode == "200" &amp;&amp; url) {
  27421. response = prev.getResponseDataAsString();
  27422. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  27423. }
  27424. return formKey;
  27425. }
  27426. formKey = vars.get("form_key_storage");
  27427. currentFormKey = getFormKeyFromResponse();
  27428. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  27429. vars.put("form_key_storage", currentFormKey);
  27430. }
  27431. </stringProp>
  27432. <stringProp name="scriptLanguage">javascript</stringProp>
  27433. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  27434. <hashTree/>
  27435. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  27436. <stringProp name="script">
  27437. formKey = vars.get("form_key_storage");
  27438. if (formKey
  27439. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  27440. &amp;&amp; sampler.getMethod() == "POST")
  27441. {
  27442. arguments = sampler.getArguments();
  27443. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  27444. {
  27445. argument = arguments.getArgument(i);
  27446. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  27447. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  27448. argument.setValue(formKey);
  27449. }
  27450. }
  27451. }
  27452. </stringProp>
  27453. <stringProp name="scriptLanguage">javascript</stringProp>
  27454. </JSR223PreProcessor>
  27455. <hashTree/>
  27456. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  27457. <collectionProp name="CookieManager.cookies"/>
  27458. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  27459. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  27460. <hashTree/>
  27461. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  27462. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  27463. </GenericController>
  27464. <hashTree>
  27465. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  27466. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  27467. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  27468. <hashTree>
  27469. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  27470. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  27471. <stringProp name="BeanShellSampler.query">
  27472. adminUserList = props.get("adminUserList");
  27473. adminUserListIterator = props.get("adminUserListIterator");
  27474. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  27475. if (adminUsersDistribution == 1) {
  27476. adminUser = adminUserList.poll();
  27477. } else {
  27478. if (!adminUserListIterator.hasNext()) {
  27479. adminUserListIterator = adminUserList.descendingIterator();
  27480. }
  27481. adminUser = adminUserListIterator.next();
  27482. }
  27483. if (adminUser == null) {
  27484. SampleResult.setResponseMessage("adminUser list is empty");
  27485. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  27486. IsSuccess=false;
  27487. SampleResult.setSuccessful(false);
  27488. SampleResult.setStopThread(true);
  27489. }
  27490. vars.put("admin_user", adminUser);
  27491. </stringProp>
  27492. <stringProp name="BeanShellSampler.filename"/>
  27493. <stringProp name="BeanShellSampler.parameters"/>
  27494. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  27495. </BeanShellSampler>
  27496. <hashTree/>
  27497. </hashTree>
  27498. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  27499. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27500. <collectionProp name="Arguments.arguments"/>
  27501. </elementProp>
  27502. <stringProp name="HTTPSampler.domain"/>
  27503. <stringProp name="HTTPSampler.port"/>
  27504. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27505. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27506. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27507. <stringProp name="HTTPSampler.contentEncoding"/>
  27508. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  27509. <stringProp name="HTTPSampler.method">GET</stringProp>
  27510. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27511. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27512. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27513. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27514. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27515. <stringProp name="HTTPSampler.embedded_url_re"/>
  27516. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  27517. <hashTree>
  27518. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  27519. <collectionProp name="Asserion.test_strings">
  27520. <stringProp name="-1397214398">Welcome</stringProp>
  27521. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  27522. </collectionProp>
  27523. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27524. <boolProp name="Assertion.assume_success">false</boolProp>
  27525. <intProp name="Assertion.test_type">2</intProp>
  27526. </ResponseAssertion>
  27527. <hashTree/>
  27528. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  27529. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  27530. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  27531. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  27532. <stringProp name="RegexExtractor.template">$1$</stringProp>
  27533. <stringProp name="RegexExtractor.default"/>
  27534. <stringProp name="RegexExtractor.match_number">1</stringProp>
  27535. </RegexExtractor>
  27536. <hashTree/>
  27537. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  27538. <collectionProp name="Asserion.test_strings">
  27539. <stringProp name="2845929">^.+$</stringProp>
  27540. </collectionProp>
  27541. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27542. <boolProp name="Assertion.assume_success">false</boolProp>
  27543. <intProp name="Assertion.test_type">1</intProp>
  27544. <stringProp name="Assertion.scope">variable</stringProp>
  27545. <stringProp name="Scope.variable">admin_form_key</stringProp>
  27546. </ResponseAssertion>
  27547. <hashTree/>
  27548. </hashTree>
  27549. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  27550. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27551. <collectionProp name="Arguments.arguments">
  27552. <elementProp name="dummy" elementType="HTTPArgument">
  27553. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27554. <stringProp name="Argument.value"/>
  27555. <stringProp name="Argument.metadata">=</stringProp>
  27556. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27557. <stringProp name="Argument.name">dummy</stringProp>
  27558. </elementProp>
  27559. <elementProp name="form_key" elementType="HTTPArgument">
  27560. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27561. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  27562. <stringProp name="Argument.metadata">=</stringProp>
  27563. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27564. <stringProp name="Argument.name">form_key</stringProp>
  27565. </elementProp>
  27566. <elementProp name="login[password]" elementType="HTTPArgument">
  27567. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27568. <stringProp name="Argument.value">${admin_password}</stringProp>
  27569. <stringProp name="Argument.metadata">=</stringProp>
  27570. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27571. <stringProp name="Argument.name">login[password]</stringProp>
  27572. </elementProp>
  27573. <elementProp name="login[username]" elementType="HTTPArgument">
  27574. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27575. <stringProp name="Argument.value">${admin_user}</stringProp>
  27576. <stringProp name="Argument.metadata">=</stringProp>
  27577. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27578. <stringProp name="Argument.name">login[username]</stringProp>
  27579. </elementProp>
  27580. </collectionProp>
  27581. </elementProp>
  27582. <stringProp name="HTTPSampler.domain"/>
  27583. <stringProp name="HTTPSampler.port"/>
  27584. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27585. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27586. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27587. <stringProp name="HTTPSampler.contentEncoding"/>
  27588. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  27589. <stringProp name="HTTPSampler.method">POST</stringProp>
  27590. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27591. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27592. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27593. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27594. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  27595. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27596. <stringProp name="HTTPSampler.embedded_url_re"/>
  27597. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  27598. </HTTPSamplerProxy>
  27599. <hashTree>
  27600. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  27601. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  27602. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  27603. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  27604. <stringProp name="RegexExtractor.template">$1$</stringProp>
  27605. <stringProp name="RegexExtractor.default"/>
  27606. <stringProp name="RegexExtractor.match_number">1</stringProp>
  27607. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  27608. <hashTree/>
  27609. </hashTree>
  27610. </hashTree>
  27611. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  27612. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  27613. </GenericController>
  27614. <hashTree>
  27615. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  27616. <stringProp name="BeanShellSampler.query">vars.put("entity", "catalog_product");
  27617. String behavior = "${adminImportProductBehavior}";
  27618. vars.put("adminImportBehavior", behavior);
  27619. String filepath = "${files_folder}${adminImportProductFilePath}";
  27620. vars.put("adminImportFilePath", filepath); </stringProp>
  27621. <stringProp name="BeanShellSampler.filename"/>
  27622. <stringProp name="BeanShellSampler.parameters"/>
  27623. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  27624. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/import_products/setup.jmx</stringProp></BeanShellSampler>
  27625. <hashTree/>
  27626. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Import Page" enabled="true">
  27627. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27628. <collectionProp name="Arguments.arguments"/>
  27629. </elementProp>
  27630. <stringProp name="HTTPSampler.domain"/>
  27631. <stringProp name="HTTPSampler.port"/>
  27632. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27633. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27634. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27635. <stringProp name="HTTPSampler.contentEncoding"/>
  27636. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/import/</stringProp>
  27637. <stringProp name="HTTPSampler.method">GET</stringProp>
  27638. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27639. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27640. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27641. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27642. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27643. <stringProp name="HTTPSampler.embedded_url_re"/>
  27644. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/import.jmx</stringProp></HTTPSamplerProxy>
  27645. <hashTree>
  27646. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  27647. <collectionProp name="Asserion.test_strings">
  27648. <stringProp name="1723813687">Import Settings</stringProp>
  27649. </collectionProp>
  27650. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27651. <boolProp name="Assertion.assume_success">false</boolProp>
  27652. <intProp name="Assertion.test_type">2</intProp>
  27653. </ResponseAssertion>
  27654. <hashTree/>
  27655. </hashTree>
  27656. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Import Validate" enabled="true">
  27657. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27658. <collectionProp name="Arguments.arguments">
  27659. <elementProp name="form_key" elementType="HTTPArgument">
  27660. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27661. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  27662. <stringProp name="Argument.metadata">=</stringProp>
  27663. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27664. <stringProp name="Argument.name">form_key</stringProp>
  27665. <stringProp name="Argument.desc">false</stringProp>
  27666. </elementProp>
  27667. <elementProp name="entity" elementType="HTTPArgument">
  27668. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27669. <stringProp name="Argument.value">${entity}</stringProp>
  27670. <stringProp name="Argument.metadata">=</stringProp>
  27671. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27672. <stringProp name="Argument.name">entity</stringProp>
  27673. </elementProp>
  27674. <elementProp name="behavior" elementType="HTTPArgument">
  27675. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27676. <stringProp name="Argument.value">${adminImportBehavior}</stringProp>
  27677. <stringProp name="Argument.metadata">=</stringProp>
  27678. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27679. <stringProp name="Argument.name">behavior</stringProp>
  27680. </elementProp>
  27681. <elementProp name="validation_strategy" elementType="HTTPArgument">
  27682. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27683. <stringProp name="Argument.value">validation-stop-on-errors</stringProp>
  27684. <stringProp name="Argument.metadata">=</stringProp>
  27685. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27686. <stringProp name="Argument.name">validation_strategy</stringProp>
  27687. </elementProp>
  27688. <elementProp name="allowed_error_count" elementType="HTTPArgument">
  27689. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27690. <stringProp name="Argument.value">10</stringProp>
  27691. <stringProp name="Argument.metadata">=</stringProp>
  27692. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27693. <stringProp name="Argument.name">allowed_error_count</stringProp>
  27694. </elementProp>
  27695. <elementProp name="_import_field_separator" elementType="HTTPArgument">
  27696. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27697. <stringProp name="Argument.value">,</stringProp>
  27698. <stringProp name="Argument.metadata">=</stringProp>
  27699. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27700. <stringProp name="Argument.name">_import_field_separator</stringProp>
  27701. </elementProp>
  27702. <elementProp name="_import_multiple_value_separator" elementType="HTTPArgument">
  27703. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27704. <stringProp name="Argument.value">,</stringProp>
  27705. <stringProp name="Argument.metadata">=</stringProp>
  27706. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27707. <stringProp name="Argument.name">_import_multiple_value_separator</stringProp>
  27708. </elementProp>
  27709. </collectionProp>
  27710. </elementProp>
  27711. <stringProp name="HTTPSampler.domain"/>
  27712. <stringProp name="HTTPSampler.port"/>
  27713. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27714. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27715. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27716. <stringProp name="HTTPSampler.contentEncoding"/>
  27717. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/import/validate</stringProp>
  27718. <stringProp name="HTTPSampler.method">POST</stringProp>
  27719. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27720. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27721. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27722. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27723. <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
  27724. <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
  27725. <collectionProp name="HTTPFileArgs.files">
  27726. <elementProp name="${adminImportFilePath}" elementType="HTTPFileArg">
  27727. <stringProp name="File.path">${adminImportFilePath}</stringProp>
  27728. <stringProp name="File.paramname">import_file</stringProp>
  27729. <stringProp name="File.mimetype">application/vnd.ms-excel</stringProp>
  27730. </elementProp>
  27731. </collectionProp>
  27732. </elementProp>
  27733. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27734. <stringProp name="HTTPSampler.embedded_url_re"/>
  27735. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/import_validate.jmx</stringProp></HTTPSamplerProxy>
  27736. <hashTree>
  27737. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  27738. <collectionProp name="Asserion.test_strings">
  27739. <stringProp name="37280142">File is valid! To start import process</stringProp>
  27740. </collectionProp>
  27741. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27742. <boolProp name="Assertion.assume_success">false</boolProp>
  27743. <intProp name="Assertion.test_type">16</intProp>
  27744. </ResponseAssertion>
  27745. <hashTree/>
  27746. </hashTree>
  27747. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Import Start" enabled="true">
  27748. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27749. <collectionProp name="Arguments.arguments">
  27750. <elementProp name="form_key" elementType="HTTPArgument">
  27751. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27752. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  27753. <stringProp name="Argument.metadata">=</stringProp>
  27754. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27755. <stringProp name="Argument.name">form_key</stringProp>
  27756. <stringProp name="Argument.desc">false</stringProp>
  27757. </elementProp>
  27758. <elementProp name="entity" elementType="HTTPArgument">
  27759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27760. <stringProp name="Argument.value">${entity}</stringProp>
  27761. <stringProp name="Argument.metadata">=</stringProp>
  27762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27763. <stringProp name="Argument.name">entity</stringProp>
  27764. </elementProp>
  27765. <elementProp name="behavior" elementType="HTTPArgument">
  27766. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27767. <stringProp name="Argument.value">${adminImportBehavior}</stringProp>
  27768. <stringProp name="Argument.metadata">=</stringProp>
  27769. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27770. <stringProp name="Argument.name">behavior</stringProp>
  27771. </elementProp>
  27772. <elementProp name="validation_strategy" elementType="HTTPArgument">
  27773. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27774. <stringProp name="Argument.value">validation-stop-on-errors</stringProp>
  27775. <stringProp name="Argument.metadata">=</stringProp>
  27776. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27777. <stringProp name="Argument.name">validation_strategy</stringProp>
  27778. <stringProp name="Argument.desc">false</stringProp>
  27779. </elementProp>
  27780. <elementProp name="allowed_error_count" elementType="HTTPArgument">
  27781. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27782. <stringProp name="Argument.value">10</stringProp>
  27783. <stringProp name="Argument.metadata">=</stringProp>
  27784. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27785. <stringProp name="Argument.name">allowed_error_count</stringProp>
  27786. <stringProp name="Argument.desc">false</stringProp>
  27787. </elementProp>
  27788. <elementProp name="_import_field_separator" elementType="HTTPArgument">
  27789. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27790. <stringProp name="Argument.value">,</stringProp>
  27791. <stringProp name="Argument.metadata">=</stringProp>
  27792. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27793. <stringProp name="Argument.name">_import_field_separator</stringProp>
  27794. <stringProp name="Argument.desc">false</stringProp>
  27795. </elementProp>
  27796. <elementProp name="_import_multiple_value_separator" elementType="HTTPArgument">
  27797. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  27798. <stringProp name="Argument.value">,</stringProp>
  27799. <stringProp name="Argument.metadata">=</stringProp>
  27800. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  27801. <stringProp name="Argument.name">_import_multiple_value_separator</stringProp>
  27802. <stringProp name="Argument.desc">false</stringProp>
  27803. </elementProp>
  27804. </collectionProp>
  27805. </elementProp>
  27806. <stringProp name="HTTPSampler.domain"/>
  27807. <stringProp name="HTTPSampler.port"/>
  27808. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27809. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27810. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27811. <stringProp name="HTTPSampler.contentEncoding"/>
  27812. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/import/start</stringProp>
  27813. <stringProp name="HTTPSampler.method">POST</stringProp>
  27814. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27815. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27816. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27817. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27818. <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
  27819. <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
  27820. <collectionProp name="HTTPFileArgs.files">
  27821. <elementProp name="${adminImportFilePath}" elementType="HTTPFileArg">
  27822. <stringProp name="File.path">${adminImportFilePath}</stringProp>
  27823. <stringProp name="File.paramname">import_file</stringProp>
  27824. <stringProp name="File.mimetype">application/vnd.ms-excel</stringProp>
  27825. </elementProp>
  27826. </collectionProp>
  27827. </elementProp>
  27828. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27829. <stringProp name="HTTPSampler.embedded_url_re"/>
  27830. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/import_save.jmx</stringProp></HTTPSamplerProxy>
  27831. <hashTree>
  27832. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  27833. <collectionProp name="Asserion.test_strings">
  27834. <stringProp name="-1731221824">Import successfully done</stringProp>
  27835. </collectionProp>
  27836. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  27837. <boolProp name="Assertion.assume_success">false</boolProp>
  27838. <intProp name="Assertion.test_type">16</intProp>
  27839. </ResponseAssertion>
  27840. <hashTree/>
  27841. </hashTree>
  27842. </hashTree>
  27843. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  27844. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27845. <collectionProp name="Arguments.arguments"/>
  27846. </elementProp>
  27847. <stringProp name="HTTPSampler.domain"/>
  27848. <stringProp name="HTTPSampler.port"/>
  27849. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  27850. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  27851. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  27852. <stringProp name="HTTPSampler.contentEncoding"/>
  27853. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  27854. <stringProp name="HTTPSampler.method">GET</stringProp>
  27855. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  27856. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  27857. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  27858. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  27859. <boolProp name="HTTPSampler.monitor">false</boolProp>
  27860. <stringProp name="HTTPSampler.embedded_url_re"/>
  27861. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  27862. <hashTree>
  27863. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  27864. <boolProp name="resetInterpreter">false</boolProp>
  27865. <stringProp name="parameters"/>
  27866. <stringProp name="filename"/>
  27867. <stringProp name="script">
  27868. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  27869. if (adminUsersDistribution == 1) {
  27870. adminUserList = props.get("adminUserList");
  27871. adminUserList.add(vars.get("admin_user"));
  27872. }
  27873. </stringProp>
  27874. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  27875. <hashTree/>
  27876. </hashTree>
  27877. </hashTree>
  27878. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Import Customers" enabled="true">
  27879. <intProp name="ThroughputController.style">1</intProp>
  27880. <boolProp name="ThroughputController.perThread">false</boolProp>
  27881. <intProp name="ThroughputController.maxThroughput">1</intProp>
  27882. <stringProp name="ThroughputController.percentThroughput">${importCustomersPercentage}</stringProp>
  27883. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  27884. <hashTree>
  27885. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  27886. <stringProp name="script">
  27887. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  27888. if (testLabel
  27889. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  27890. ) {
  27891. if (sampler.getName().indexOf(testLabel) == -1) {
  27892. sampler.setName(sampler.getName() + testLabel);
  27893. }
  27894. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  27895. sampler.setName("SetUp - " + sampler.getName());
  27896. }
  27897. </stringProp>
  27898. <stringProp name="scriptLanguage">javascript</stringProp>
  27899. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  27900. <hashTree/>
  27901. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  27902. <stringProp name="BeanShellSampler.query">
  27903. vars.put("testLabel", "Import Customers");
  27904. </stringProp>
  27905. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  27906. </BeanShellSampler>
  27907. <hashTree/>
  27908. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  27909. <stringProp name="script">
  27910. function getFormKeyFromResponse()
  27911. {
  27912. var url = prev.getUrlAsString(),
  27913. responseCode = prev.getResponseCode(),
  27914. formKey = null;
  27915. searchPattern = /var FORM_KEY = '(.+)'/;
  27916. if (responseCode == "200" &amp;&amp; url) {
  27917. response = prev.getResponseDataAsString();
  27918. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  27919. }
  27920. return formKey;
  27921. }
  27922. formKey = vars.get("form_key_storage");
  27923. currentFormKey = getFormKeyFromResponse();
  27924. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  27925. vars.put("form_key_storage", currentFormKey);
  27926. }
  27927. </stringProp>
  27928. <stringProp name="scriptLanguage">javascript</stringProp>
  27929. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  27930. <hashTree/>
  27931. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  27932. <stringProp name="script">
  27933. formKey = vars.get("form_key_storage");
  27934. if (formKey
  27935. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  27936. &amp;&amp; sampler.getMethod() == "POST")
  27937. {
  27938. arguments = sampler.getArguments();
  27939. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  27940. {
  27941. argument = arguments.getArgument(i);
  27942. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  27943. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  27944. argument.setValue(formKey);
  27945. }
  27946. }
  27947. }
  27948. </stringProp>
  27949. <stringProp name="scriptLanguage">javascript</stringProp>
  27950. </JSR223PreProcessor>
  27951. <hashTree/>
  27952. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  27953. <collectionProp name="CookieManager.cookies"/>
  27954. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  27955. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  27956. <hashTree/>
  27957. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  27958. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  27959. </GenericController>
  27960. <hashTree>
  27961. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  27962. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  27963. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  27964. <hashTree>
  27965. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  27966. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  27967. <stringProp name="BeanShellSampler.query">
  27968. adminUserList = props.get("adminUserList");
  27969. adminUserListIterator = props.get("adminUserListIterator");
  27970. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  27971. if (adminUsersDistribution == 1) {
  27972. adminUser = adminUserList.poll();
  27973. } else {
  27974. if (!adminUserListIterator.hasNext()) {
  27975. adminUserListIterator = adminUserList.descendingIterator();
  27976. }
  27977. adminUser = adminUserListIterator.next();
  27978. }
  27979. if (adminUser == null) {
  27980. SampleResult.setResponseMessage("adminUser list is empty");
  27981. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  27982. IsSuccess=false;
  27983. SampleResult.setSuccessful(false);
  27984. SampleResult.setStopThread(true);
  27985. }
  27986. vars.put("admin_user", adminUser);
  27987. </stringProp>
  27988. <stringProp name="BeanShellSampler.filename"/>
  27989. <stringProp name="BeanShellSampler.parameters"/>
  27990. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  27991. </BeanShellSampler>
  27992. <hashTree/>
  27993. </hashTree>
  27994. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  27995. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  27996. <collectionProp name="Arguments.arguments"/>
  27997. </elementProp>
  27998. <stringProp name="HTTPSampler.domain"/>
  27999. <stringProp name="HTTPSampler.port"/>
  28000. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28001. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28002. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28003. <stringProp name="HTTPSampler.contentEncoding"/>
  28004. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  28005. <stringProp name="HTTPSampler.method">GET</stringProp>
  28006. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28007. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28008. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28009. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28010. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28011. <stringProp name="HTTPSampler.embedded_url_re"/>
  28012. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  28013. <hashTree>
  28014. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  28015. <collectionProp name="Asserion.test_strings">
  28016. <stringProp name="-1397214398">Welcome</stringProp>
  28017. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  28018. </collectionProp>
  28019. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28020. <boolProp name="Assertion.assume_success">false</boolProp>
  28021. <intProp name="Assertion.test_type">2</intProp>
  28022. </ResponseAssertion>
  28023. <hashTree/>
  28024. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  28025. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  28026. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  28027. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  28028. <stringProp name="RegexExtractor.template">$1$</stringProp>
  28029. <stringProp name="RegexExtractor.default"/>
  28030. <stringProp name="RegexExtractor.match_number">1</stringProp>
  28031. </RegexExtractor>
  28032. <hashTree/>
  28033. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  28034. <collectionProp name="Asserion.test_strings">
  28035. <stringProp name="2845929">^.+$</stringProp>
  28036. </collectionProp>
  28037. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28038. <boolProp name="Assertion.assume_success">false</boolProp>
  28039. <intProp name="Assertion.test_type">1</intProp>
  28040. <stringProp name="Assertion.scope">variable</stringProp>
  28041. <stringProp name="Scope.variable">admin_form_key</stringProp>
  28042. </ResponseAssertion>
  28043. <hashTree/>
  28044. </hashTree>
  28045. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  28046. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28047. <collectionProp name="Arguments.arguments">
  28048. <elementProp name="dummy" elementType="HTTPArgument">
  28049. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28050. <stringProp name="Argument.value"/>
  28051. <stringProp name="Argument.metadata">=</stringProp>
  28052. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28053. <stringProp name="Argument.name">dummy</stringProp>
  28054. </elementProp>
  28055. <elementProp name="form_key" elementType="HTTPArgument">
  28056. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28057. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  28058. <stringProp name="Argument.metadata">=</stringProp>
  28059. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28060. <stringProp name="Argument.name">form_key</stringProp>
  28061. </elementProp>
  28062. <elementProp name="login[password]" elementType="HTTPArgument">
  28063. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28064. <stringProp name="Argument.value">${admin_password}</stringProp>
  28065. <stringProp name="Argument.metadata">=</stringProp>
  28066. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28067. <stringProp name="Argument.name">login[password]</stringProp>
  28068. </elementProp>
  28069. <elementProp name="login[username]" elementType="HTTPArgument">
  28070. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28071. <stringProp name="Argument.value">${admin_user}</stringProp>
  28072. <stringProp name="Argument.metadata">=</stringProp>
  28073. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28074. <stringProp name="Argument.name">login[username]</stringProp>
  28075. </elementProp>
  28076. </collectionProp>
  28077. </elementProp>
  28078. <stringProp name="HTTPSampler.domain"/>
  28079. <stringProp name="HTTPSampler.port"/>
  28080. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28081. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28082. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28083. <stringProp name="HTTPSampler.contentEncoding"/>
  28084. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  28085. <stringProp name="HTTPSampler.method">POST</stringProp>
  28086. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28087. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28088. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28089. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28090. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  28091. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28092. <stringProp name="HTTPSampler.embedded_url_re"/>
  28093. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  28094. </HTTPSamplerProxy>
  28095. <hashTree>
  28096. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  28097. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  28098. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  28099. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  28100. <stringProp name="RegexExtractor.template">$1$</stringProp>
  28101. <stringProp name="RegexExtractor.default"/>
  28102. <stringProp name="RegexExtractor.match_number">1</stringProp>
  28103. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  28104. <hashTree/>
  28105. </hashTree>
  28106. </hashTree>
  28107. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  28108. <stringProp name="BeanShellSampler.query">vars.put("entity", "customer");
  28109. String behavior = "${adminImportCustomerBehavior}";
  28110. vars.put("adminImportBehavior", behavior);
  28111. String filepath = "${files_folder}${adminImportCustomerFilePath}";
  28112. vars.put("adminImportFilePath", filepath); </stringProp>
  28113. <stringProp name="BeanShellSampler.filename"/>
  28114. <stringProp name="BeanShellSampler.parameters"/>
  28115. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  28116. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/import_customers/setup.jmx</stringProp></BeanShellSampler>
  28117. <hashTree/>
  28118. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  28119. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  28120. </GenericController>
  28121. <hashTree>
  28122. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Import Page" enabled="true">
  28123. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28124. <collectionProp name="Arguments.arguments"/>
  28125. </elementProp>
  28126. <stringProp name="HTTPSampler.domain"/>
  28127. <stringProp name="HTTPSampler.port"/>
  28128. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28129. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28130. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28131. <stringProp name="HTTPSampler.contentEncoding"/>
  28132. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/import/</stringProp>
  28133. <stringProp name="HTTPSampler.method">GET</stringProp>
  28134. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28135. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28136. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28137. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28138. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28139. <stringProp name="HTTPSampler.embedded_url_re"/>
  28140. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/import.jmx</stringProp></HTTPSamplerProxy>
  28141. <hashTree>
  28142. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  28143. <collectionProp name="Asserion.test_strings">
  28144. <stringProp name="1723813687">Import Settings</stringProp>
  28145. </collectionProp>
  28146. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28147. <boolProp name="Assertion.assume_success">false</boolProp>
  28148. <intProp name="Assertion.test_type">2</intProp>
  28149. </ResponseAssertion>
  28150. <hashTree/>
  28151. </hashTree>
  28152. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Import Validate" enabled="true">
  28153. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28154. <collectionProp name="Arguments.arguments">
  28155. <elementProp name="form_key" elementType="HTTPArgument">
  28156. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28157. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  28158. <stringProp name="Argument.metadata">=</stringProp>
  28159. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28160. <stringProp name="Argument.name">form_key</stringProp>
  28161. <stringProp name="Argument.desc">false</stringProp>
  28162. </elementProp>
  28163. <elementProp name="entity" elementType="HTTPArgument">
  28164. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28165. <stringProp name="Argument.value">${entity}</stringProp>
  28166. <stringProp name="Argument.metadata">=</stringProp>
  28167. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28168. <stringProp name="Argument.name">entity</stringProp>
  28169. </elementProp>
  28170. <elementProp name="behavior" elementType="HTTPArgument">
  28171. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28172. <stringProp name="Argument.value">${adminImportBehavior}</stringProp>
  28173. <stringProp name="Argument.metadata">=</stringProp>
  28174. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28175. <stringProp name="Argument.name">behavior</stringProp>
  28176. </elementProp>
  28177. <elementProp name="validation_strategy" elementType="HTTPArgument">
  28178. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28179. <stringProp name="Argument.value">validation-stop-on-errors</stringProp>
  28180. <stringProp name="Argument.metadata">=</stringProp>
  28181. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28182. <stringProp name="Argument.name">validation_strategy</stringProp>
  28183. </elementProp>
  28184. <elementProp name="allowed_error_count" elementType="HTTPArgument">
  28185. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28186. <stringProp name="Argument.value">10</stringProp>
  28187. <stringProp name="Argument.metadata">=</stringProp>
  28188. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28189. <stringProp name="Argument.name">allowed_error_count</stringProp>
  28190. </elementProp>
  28191. <elementProp name="_import_field_separator" elementType="HTTPArgument">
  28192. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28193. <stringProp name="Argument.value">,</stringProp>
  28194. <stringProp name="Argument.metadata">=</stringProp>
  28195. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28196. <stringProp name="Argument.name">_import_field_separator</stringProp>
  28197. </elementProp>
  28198. <elementProp name="_import_multiple_value_separator" elementType="HTTPArgument">
  28199. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28200. <stringProp name="Argument.value">,</stringProp>
  28201. <stringProp name="Argument.metadata">=</stringProp>
  28202. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28203. <stringProp name="Argument.name">_import_multiple_value_separator</stringProp>
  28204. </elementProp>
  28205. </collectionProp>
  28206. </elementProp>
  28207. <stringProp name="HTTPSampler.domain"/>
  28208. <stringProp name="HTTPSampler.port"/>
  28209. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28210. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28211. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28212. <stringProp name="HTTPSampler.contentEncoding"/>
  28213. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/import/validate</stringProp>
  28214. <stringProp name="HTTPSampler.method">POST</stringProp>
  28215. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28216. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28217. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28218. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28219. <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
  28220. <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
  28221. <collectionProp name="HTTPFileArgs.files">
  28222. <elementProp name="${adminImportFilePath}" elementType="HTTPFileArg">
  28223. <stringProp name="File.path">${adminImportFilePath}</stringProp>
  28224. <stringProp name="File.paramname">import_file</stringProp>
  28225. <stringProp name="File.mimetype">application/vnd.ms-excel</stringProp>
  28226. </elementProp>
  28227. </collectionProp>
  28228. </elementProp>
  28229. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28230. <stringProp name="HTTPSampler.embedded_url_re"/>
  28231. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/import_validate.jmx</stringProp></HTTPSamplerProxy>
  28232. <hashTree>
  28233. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  28234. <collectionProp name="Asserion.test_strings">
  28235. <stringProp name="37280142">File is valid! To start import process</stringProp>
  28236. </collectionProp>
  28237. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28238. <boolProp name="Assertion.assume_success">false</boolProp>
  28239. <intProp name="Assertion.test_type">16</intProp>
  28240. </ResponseAssertion>
  28241. <hashTree/>
  28242. </hashTree>
  28243. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Import Start" enabled="true">
  28244. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28245. <collectionProp name="Arguments.arguments">
  28246. <elementProp name="form_key" elementType="HTTPArgument">
  28247. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28248. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  28249. <stringProp name="Argument.metadata">=</stringProp>
  28250. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28251. <stringProp name="Argument.name">form_key</stringProp>
  28252. <stringProp name="Argument.desc">false</stringProp>
  28253. </elementProp>
  28254. <elementProp name="entity" elementType="HTTPArgument">
  28255. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28256. <stringProp name="Argument.value">${entity}</stringProp>
  28257. <stringProp name="Argument.metadata">=</stringProp>
  28258. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28259. <stringProp name="Argument.name">entity</stringProp>
  28260. </elementProp>
  28261. <elementProp name="behavior" elementType="HTTPArgument">
  28262. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28263. <stringProp name="Argument.value">${adminImportBehavior}</stringProp>
  28264. <stringProp name="Argument.metadata">=</stringProp>
  28265. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28266. <stringProp name="Argument.name">behavior</stringProp>
  28267. </elementProp>
  28268. <elementProp name="validation_strategy" elementType="HTTPArgument">
  28269. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28270. <stringProp name="Argument.value">validation-stop-on-errors</stringProp>
  28271. <stringProp name="Argument.metadata">=</stringProp>
  28272. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28273. <stringProp name="Argument.name">validation_strategy</stringProp>
  28274. <stringProp name="Argument.desc">false</stringProp>
  28275. </elementProp>
  28276. <elementProp name="allowed_error_count" elementType="HTTPArgument">
  28277. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28278. <stringProp name="Argument.value">10</stringProp>
  28279. <stringProp name="Argument.metadata">=</stringProp>
  28280. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28281. <stringProp name="Argument.name">allowed_error_count</stringProp>
  28282. <stringProp name="Argument.desc">false</stringProp>
  28283. </elementProp>
  28284. <elementProp name="_import_field_separator" elementType="HTTPArgument">
  28285. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28286. <stringProp name="Argument.value">,</stringProp>
  28287. <stringProp name="Argument.metadata">=</stringProp>
  28288. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28289. <stringProp name="Argument.name">_import_field_separator</stringProp>
  28290. <stringProp name="Argument.desc">false</stringProp>
  28291. </elementProp>
  28292. <elementProp name="_import_multiple_value_separator" elementType="HTTPArgument">
  28293. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28294. <stringProp name="Argument.value">,</stringProp>
  28295. <stringProp name="Argument.metadata">=</stringProp>
  28296. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28297. <stringProp name="Argument.name">_import_multiple_value_separator</stringProp>
  28298. <stringProp name="Argument.desc">false</stringProp>
  28299. </elementProp>
  28300. </collectionProp>
  28301. </elementProp>
  28302. <stringProp name="HTTPSampler.domain"/>
  28303. <stringProp name="HTTPSampler.port"/>
  28304. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28305. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28306. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28307. <stringProp name="HTTPSampler.contentEncoding"/>
  28308. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/import/start</stringProp>
  28309. <stringProp name="HTTPSampler.method">POST</stringProp>
  28310. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28311. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28312. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28313. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28314. <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
  28315. <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
  28316. <collectionProp name="HTTPFileArgs.files">
  28317. <elementProp name="${adminImportFilePath}" elementType="HTTPFileArg">
  28318. <stringProp name="File.path">${adminImportFilePath}</stringProp>
  28319. <stringProp name="File.paramname">import_file</stringProp>
  28320. <stringProp name="File.mimetype">application/vnd.ms-excel</stringProp>
  28321. </elementProp>
  28322. </collectionProp>
  28323. </elementProp>
  28324. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28325. <stringProp name="HTTPSampler.embedded_url_re"/>
  28326. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/import_save.jmx</stringProp></HTTPSamplerProxy>
  28327. <hashTree>
  28328. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  28329. <collectionProp name="Asserion.test_strings">
  28330. <stringProp name="-1731221824">Import successfully done</stringProp>
  28331. </collectionProp>
  28332. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28333. <boolProp name="Assertion.assume_success">false</boolProp>
  28334. <intProp name="Assertion.test_type">16</intProp>
  28335. </ResponseAssertion>
  28336. <hashTree/>
  28337. </hashTree>
  28338. </hashTree>
  28339. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  28340. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28341. <collectionProp name="Arguments.arguments"/>
  28342. </elementProp>
  28343. <stringProp name="HTTPSampler.domain"/>
  28344. <stringProp name="HTTPSampler.port"/>
  28345. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28346. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28347. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28348. <stringProp name="HTTPSampler.contentEncoding"/>
  28349. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  28350. <stringProp name="HTTPSampler.method">GET</stringProp>
  28351. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28352. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28353. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28354. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28355. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28356. <stringProp name="HTTPSampler.embedded_url_re"/>
  28357. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  28358. <hashTree>
  28359. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  28360. <boolProp name="resetInterpreter">false</boolProp>
  28361. <stringProp name="parameters"/>
  28362. <stringProp name="filename"/>
  28363. <stringProp name="script">
  28364. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  28365. if (adminUsersDistribution == 1) {
  28366. adminUserList = props.get("adminUserList");
  28367. adminUserList.add(vars.get("admin_user"));
  28368. }
  28369. </stringProp>
  28370. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  28371. <hashTree/>
  28372. </hashTree>
  28373. </hashTree>
  28374. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Export Products" enabled="true">
  28375. <intProp name="ThroughputController.style">1</intProp>
  28376. <boolProp name="ThroughputController.perThread">false</boolProp>
  28377. <intProp name="ThroughputController.maxThroughput">1</intProp>
  28378. <stringProp name="ThroughputController.percentThroughput">${exportProductsPercentage}</stringProp>
  28379. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  28380. <hashTree>
  28381. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  28382. <stringProp name="script">
  28383. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  28384. if (testLabel
  28385. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  28386. ) {
  28387. if (sampler.getName().indexOf(testLabel) == -1) {
  28388. sampler.setName(sampler.getName() + testLabel);
  28389. }
  28390. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  28391. sampler.setName("SetUp - " + sampler.getName());
  28392. }
  28393. </stringProp>
  28394. <stringProp name="scriptLanguage">javascript</stringProp>
  28395. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  28396. <hashTree/>
  28397. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  28398. <stringProp name="BeanShellSampler.query">
  28399. vars.put("testLabel", "Export Products");
  28400. </stringProp>
  28401. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  28402. </BeanShellSampler>
  28403. <hashTree/>
  28404. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  28405. <stringProp name="script">
  28406. function getFormKeyFromResponse()
  28407. {
  28408. var url = prev.getUrlAsString(),
  28409. responseCode = prev.getResponseCode(),
  28410. formKey = null;
  28411. searchPattern = /var FORM_KEY = '(.+)'/;
  28412. if (responseCode == "200" &amp;&amp; url) {
  28413. response = prev.getResponseDataAsString();
  28414. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  28415. }
  28416. return formKey;
  28417. }
  28418. formKey = vars.get("form_key_storage");
  28419. currentFormKey = getFormKeyFromResponse();
  28420. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  28421. vars.put("form_key_storage", currentFormKey);
  28422. }
  28423. </stringProp>
  28424. <stringProp name="scriptLanguage">javascript</stringProp>
  28425. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  28426. <hashTree/>
  28427. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  28428. <stringProp name="script">
  28429. formKey = vars.get("form_key_storage");
  28430. if (formKey
  28431. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  28432. &amp;&amp; sampler.getMethod() == "POST")
  28433. {
  28434. arguments = sampler.getArguments();
  28435. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  28436. {
  28437. argument = arguments.getArgument(i);
  28438. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  28439. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  28440. argument.setValue(formKey);
  28441. }
  28442. }
  28443. }
  28444. </stringProp>
  28445. <stringProp name="scriptLanguage">javascript</stringProp>
  28446. </JSR223PreProcessor>
  28447. <hashTree/>
  28448. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  28449. <collectionProp name="CookieManager.cookies"/>
  28450. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  28451. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  28452. <hashTree/>
  28453. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  28454. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  28455. </GenericController>
  28456. <hashTree>
  28457. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  28458. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  28459. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  28460. <hashTree>
  28461. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  28462. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  28463. <stringProp name="BeanShellSampler.query">
  28464. adminUserList = props.get("adminUserList");
  28465. adminUserListIterator = props.get("adminUserListIterator");
  28466. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  28467. if (adminUsersDistribution == 1) {
  28468. adminUser = adminUserList.poll();
  28469. } else {
  28470. if (!adminUserListIterator.hasNext()) {
  28471. adminUserListIterator = adminUserList.descendingIterator();
  28472. }
  28473. adminUser = adminUserListIterator.next();
  28474. }
  28475. if (adminUser == null) {
  28476. SampleResult.setResponseMessage("adminUser list is empty");
  28477. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  28478. IsSuccess=false;
  28479. SampleResult.setSuccessful(false);
  28480. SampleResult.setStopThread(true);
  28481. }
  28482. vars.put("admin_user", adminUser);
  28483. </stringProp>
  28484. <stringProp name="BeanShellSampler.filename"/>
  28485. <stringProp name="BeanShellSampler.parameters"/>
  28486. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  28487. </BeanShellSampler>
  28488. <hashTree/>
  28489. </hashTree>
  28490. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  28491. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28492. <collectionProp name="Arguments.arguments"/>
  28493. </elementProp>
  28494. <stringProp name="HTTPSampler.domain"/>
  28495. <stringProp name="HTTPSampler.port"/>
  28496. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28497. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28498. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28499. <stringProp name="HTTPSampler.contentEncoding"/>
  28500. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  28501. <stringProp name="HTTPSampler.method">GET</stringProp>
  28502. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28503. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28504. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28505. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28506. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28507. <stringProp name="HTTPSampler.embedded_url_re"/>
  28508. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  28509. <hashTree>
  28510. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  28511. <collectionProp name="Asserion.test_strings">
  28512. <stringProp name="-1397214398">Welcome</stringProp>
  28513. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  28514. </collectionProp>
  28515. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28516. <boolProp name="Assertion.assume_success">false</boolProp>
  28517. <intProp name="Assertion.test_type">2</intProp>
  28518. </ResponseAssertion>
  28519. <hashTree/>
  28520. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  28521. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  28522. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  28523. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  28524. <stringProp name="RegexExtractor.template">$1$</stringProp>
  28525. <stringProp name="RegexExtractor.default"/>
  28526. <stringProp name="RegexExtractor.match_number">1</stringProp>
  28527. </RegexExtractor>
  28528. <hashTree/>
  28529. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  28530. <collectionProp name="Asserion.test_strings">
  28531. <stringProp name="2845929">^.+$</stringProp>
  28532. </collectionProp>
  28533. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28534. <boolProp name="Assertion.assume_success">false</boolProp>
  28535. <intProp name="Assertion.test_type">1</intProp>
  28536. <stringProp name="Assertion.scope">variable</stringProp>
  28537. <stringProp name="Scope.variable">admin_form_key</stringProp>
  28538. </ResponseAssertion>
  28539. <hashTree/>
  28540. </hashTree>
  28541. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  28542. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28543. <collectionProp name="Arguments.arguments">
  28544. <elementProp name="dummy" elementType="HTTPArgument">
  28545. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28546. <stringProp name="Argument.value"/>
  28547. <stringProp name="Argument.metadata">=</stringProp>
  28548. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28549. <stringProp name="Argument.name">dummy</stringProp>
  28550. </elementProp>
  28551. <elementProp name="form_key" elementType="HTTPArgument">
  28552. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28553. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  28554. <stringProp name="Argument.metadata">=</stringProp>
  28555. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28556. <stringProp name="Argument.name">form_key</stringProp>
  28557. </elementProp>
  28558. <elementProp name="login[password]" elementType="HTTPArgument">
  28559. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28560. <stringProp name="Argument.value">${admin_password}</stringProp>
  28561. <stringProp name="Argument.metadata">=</stringProp>
  28562. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28563. <stringProp name="Argument.name">login[password]</stringProp>
  28564. </elementProp>
  28565. <elementProp name="login[username]" elementType="HTTPArgument">
  28566. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28567. <stringProp name="Argument.value">${admin_user}</stringProp>
  28568. <stringProp name="Argument.metadata">=</stringProp>
  28569. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28570. <stringProp name="Argument.name">login[username]</stringProp>
  28571. </elementProp>
  28572. </collectionProp>
  28573. </elementProp>
  28574. <stringProp name="HTTPSampler.domain"/>
  28575. <stringProp name="HTTPSampler.port"/>
  28576. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28577. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28578. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28579. <stringProp name="HTTPSampler.contentEncoding"/>
  28580. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  28581. <stringProp name="HTTPSampler.method">POST</stringProp>
  28582. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28583. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28584. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28585. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28586. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  28587. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28588. <stringProp name="HTTPSampler.embedded_url_re"/>
  28589. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  28590. </HTTPSamplerProxy>
  28591. <hashTree>
  28592. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  28593. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  28594. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  28595. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  28596. <stringProp name="RegexExtractor.template">$1$</stringProp>
  28597. <stringProp name="RegexExtractor.default"/>
  28598. <stringProp name="RegexExtractor.match_number">1</stringProp>
  28599. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  28600. <hashTree/>
  28601. </hashTree>
  28602. </hashTree>
  28603. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  28604. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  28605. </GenericController>
  28606. <hashTree>
  28607. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Export Page" enabled="true">
  28608. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28609. <collectionProp name="Arguments.arguments"/>
  28610. </elementProp>
  28611. <stringProp name="HTTPSampler.domain"/>
  28612. <stringProp name="HTTPSampler.port"/>
  28613. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  28614. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  28615. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  28616. <stringProp name="HTTPSampler.contentEncoding"/>
  28617. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/export/</stringProp>
  28618. <stringProp name="HTTPSampler.method">GET</stringProp>
  28619. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  28620. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  28621. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  28622. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  28623. <boolProp name="HTTPSampler.monitor">false</boolProp>
  28624. <stringProp name="HTTPSampler.embedded_url_re"/>
  28625. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/export.jmx</stringProp></HTTPSamplerProxy>
  28626. <hashTree>
  28627. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  28628. <collectionProp name="Asserion.test_strings">
  28629. <stringProp name="1723813687">Export Settings</stringProp>
  28630. </collectionProp>
  28631. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  28632. <boolProp name="Assertion.assume_success">false</boolProp>
  28633. <intProp name="Assertion.test_type">2</intProp>
  28634. </ResponseAssertion>
  28635. <hashTree/>
  28636. </hashTree>
  28637. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Export Products" enabled="true">
  28638. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  28639. <collectionProp name="Arguments.arguments">
  28640. <elementProp name="form_key" elementType="HTTPArgument">
  28641. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28642. <stringProp name="Argument.name">form_key</stringProp>
  28643. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  28644. <stringProp name="Argument.metadata">=</stringProp>
  28645. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28646. </elementProp>
  28647. <elementProp name="attribute_code" elementType="HTTPArgument">
  28648. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28649. <stringProp name="Argument.name">attribute_code</stringProp>
  28650. <stringProp name="Argument.value"/>
  28651. <stringProp name="Argument.metadata">=</stringProp>
  28652. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28653. </elementProp>
  28654. <elementProp name="export_filter[allow_message][]" elementType="HTTPArgument">
  28655. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28656. <stringProp name="Argument.name">export_filter[allow_message][]</stringProp>
  28657. <stringProp name="Argument.value">,</stringProp>
  28658. <stringProp name="Argument.metadata">=</stringProp>
  28659. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28660. </elementProp>
  28661. <elementProp name="export_filter[allow_open_amount]" elementType="HTTPArgument">
  28662. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28663. <stringProp name="Argument.name">export_filter[allow_open_amount]</stringProp>
  28664. <stringProp name="Argument.value"/>
  28665. <stringProp name="Argument.metadata">=</stringProp>
  28666. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28667. </elementProp>
  28668. <elementProp name="export_filter[category_ids]" elementType="HTTPArgument">
  28669. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28670. <stringProp name="Argument.name">export_filter[category_ids]</stringProp>
  28671. <stringProp name="Argument.value">24,25,26,27,28,29,30</stringProp>
  28672. <stringProp name="Argument.metadata">=</stringProp>
  28673. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28674. </elementProp>
  28675. <elementProp name="export_filter[configurable_variations]" elementType="HTTPArgument">
  28676. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28677. <stringProp name="Argument.name">export_filter[configurable_variations]</stringProp>
  28678. <stringProp name="Argument.value"/>
  28679. <stringProp name="Argument.metadata">=</stringProp>
  28680. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28681. </elementProp>
  28682. <elementProp name="export_filter[cost][]" elementType="HTTPArgument">
  28683. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28684. <stringProp name="Argument.name">export_filter[cost][]</stringProp>
  28685. <stringProp name="Argument.value">,</stringProp>
  28686. <stringProp name="Argument.metadata">=</stringProp>
  28687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28688. </elementProp>
  28689. <elementProp name="export_filter[country_of_manufacture]" elementType="HTTPArgument">
  28690. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28691. <stringProp name="Argument.name">export_filter[country_of_manufacture]</stringProp>
  28692. <stringProp name="Argument.value"/>
  28693. <stringProp name="Argument.metadata">=</stringProp>
  28694. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28695. </elementProp>
  28696. <elementProp name="export_filter[created_at]" elementType="HTTPArgument">
  28697. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28698. <stringProp name="Argument.name">export_filter[created_at]</stringProp>
  28699. <stringProp name="Argument.value"/>
  28700. <stringProp name="Argument.metadata">=</stringProp>
  28701. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28702. </elementProp>
  28703. <elementProp name="export_filter[custom_design]" elementType="HTTPArgument">
  28704. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28705. <stringProp name="Argument.name">export_filter[custom_design]</stringProp>
  28706. <stringProp name="Argument.value"/>
  28707. <stringProp name="Argument.metadata">=</stringProp>
  28708. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28709. </elementProp>
  28710. <elementProp name="export_filter[custom_design_from][]" elementType="HTTPArgument">
  28711. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28712. <stringProp name="Argument.name">export_filter[custom_design_from][]</stringProp>
  28713. <stringProp name="Argument.value">,</stringProp>
  28714. <stringProp name="Argument.metadata">=</stringProp>
  28715. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28716. </elementProp>
  28717. <elementProp name="export_filter[custom_design_to][]" elementType="HTTPArgument">
  28718. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28719. <stringProp name="Argument.name">export_filter[custom_design_to][]</stringProp>
  28720. <stringProp name="Argument.value">,</stringProp>
  28721. <stringProp name="Argument.metadata">=</stringProp>
  28722. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28723. </elementProp>
  28724. <elementProp name="export_filter[custom_layout_update]" elementType="HTTPArgument">
  28725. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28726. <stringProp name="Argument.name">export_filter[custom_layout_update]</stringProp>
  28727. <stringProp name="Argument.value"/>
  28728. <stringProp name="Argument.metadata">=</stringProp>
  28729. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28730. </elementProp>
  28731. <elementProp name="export_filter[description]" elementType="HTTPArgument">
  28732. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28733. <stringProp name="Argument.name">export_filter[description]</stringProp>
  28734. <stringProp name="Argument.value"/>
  28735. <stringProp name="Argument.metadata">=</stringProp>
  28736. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28737. </elementProp>
  28738. <elementProp name="export_filter[email_template]" elementType="HTTPArgument">
  28739. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28740. <stringProp name="Argument.name">export_filter[email_template]</stringProp>
  28741. <stringProp name="Argument.value"/>
  28742. <stringProp name="Argument.metadata">=</stringProp>
  28743. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28744. </elementProp>
  28745. <elementProp name="export_filter[gallery]" elementType="HTTPArgument">
  28746. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28747. <stringProp name="Argument.name">export_filter[gallery]</stringProp>
  28748. <stringProp name="Argument.value"/>
  28749. <stringProp name="Argument.metadata">=</stringProp>
  28750. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28751. </elementProp>
  28752. <elementProp name="export_filter[gift_message_available]" elementType="HTTPArgument">
  28753. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28754. <stringProp name="Argument.name">export_filter[gift_message_available]</stringProp>
  28755. <stringProp name="Argument.value"/>
  28756. <stringProp name="Argument.metadata">=</stringProp>
  28757. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28758. </elementProp>
  28759. <elementProp name="export_filter[gift_wrapping_available]" elementType="HTTPArgument">
  28760. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28761. <stringProp name="Argument.name">export_filter[gift_wrapping_available]</stringProp>
  28762. <stringProp name="Argument.value"/>
  28763. <stringProp name="Argument.metadata">=</stringProp>
  28764. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28765. </elementProp>
  28766. <elementProp name="export_filter[gift_wrapping_price][]" elementType="HTTPArgument">
  28767. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28768. <stringProp name="Argument.name">export_filter[gift_wrapping_price][]</stringProp>
  28769. <stringProp name="Argument.value">,</stringProp>
  28770. <stringProp name="Argument.metadata">=</stringProp>
  28771. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28772. </elementProp>
  28773. <elementProp name="export_filter[group_price][]" elementType="HTTPArgument">
  28774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28775. <stringProp name="Argument.name">export_filter[group_price][]</stringProp>
  28776. <stringProp name="Argument.value">,</stringProp>
  28777. <stringProp name="Argument.metadata">=</stringProp>
  28778. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28779. </elementProp>
  28780. <elementProp name="export_filter[has_options]" elementType="HTTPArgument">
  28781. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28782. <stringProp name="Argument.name">export_filter[has_options]</stringProp>
  28783. <stringProp name="Argument.value"/>
  28784. <stringProp name="Argument.metadata">=</stringProp>
  28785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28786. </elementProp>
  28787. <elementProp name="export_filter[image]" elementType="HTTPArgument">
  28788. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28789. <stringProp name="Argument.name">export_filter[image]</stringProp>
  28790. <stringProp name="Argument.value"/>
  28791. <stringProp name="Argument.metadata">=</stringProp>
  28792. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28793. </elementProp>
  28794. <elementProp name="export_filter[image_label]" elementType="HTTPArgument">
  28795. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28796. <stringProp name="Argument.name">export_filter[image_label]</stringProp>
  28797. <stringProp name="Argument.value"/>
  28798. <stringProp name="Argument.metadata">=</stringProp>
  28799. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28800. </elementProp>
  28801. <elementProp name="export_filter[is_redeemable][]" elementType="HTTPArgument">
  28802. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28803. <stringProp name="Argument.name">export_filter[is_redeemable][]</stringProp>
  28804. <stringProp name="Argument.value">,</stringProp>
  28805. <stringProp name="Argument.metadata">=</stringProp>
  28806. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28807. </elementProp>
  28808. <elementProp name="export_filter[is_returnable]" elementType="HTTPArgument">
  28809. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28810. <stringProp name="Argument.name">export_filter[is_returnable]</stringProp>
  28811. <stringProp name="Argument.value"/>
  28812. <stringProp name="Argument.metadata">=</stringProp>
  28813. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28814. </elementProp>
  28815. <elementProp name="export_filter[lifetime][]" elementType="HTTPArgument">
  28816. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28817. <stringProp name="Argument.name">export_filter[lifetime][]</stringProp>
  28818. <stringProp name="Argument.value">,</stringProp>
  28819. <stringProp name="Argument.metadata">=</stringProp>
  28820. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28821. </elementProp>
  28822. <elementProp name="export_filter[links_exist][]" elementType="HTTPArgument">
  28823. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28824. <stringProp name="Argument.name">export_filter[links_exist][]</stringProp>
  28825. <stringProp name="Argument.value">,</stringProp>
  28826. <stringProp name="Argument.metadata">=</stringProp>
  28827. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28828. </elementProp>
  28829. <elementProp name="export_filter[links_purchased_separately][]" elementType="HTTPArgument">
  28830. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28831. <stringProp name="Argument.name">export_filter[links_purchased_separately][]</stringProp>
  28832. <stringProp name="Argument.value">,</stringProp>
  28833. <stringProp name="Argument.metadata">=</stringProp>
  28834. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28835. </elementProp>
  28836. <elementProp name="export_filter[links_title]" elementType="HTTPArgument">
  28837. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28838. <stringProp name="Argument.name">export_filter[links_title]</stringProp>
  28839. <stringProp name="Argument.value"/>
  28840. <stringProp name="Argument.metadata">=</stringProp>
  28841. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28842. </elementProp>
  28843. <elementProp name="export_filter[media_gallery]" elementType="HTTPArgument">
  28844. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28845. <stringProp name="Argument.name">export_filter[media_gallery]</stringProp>
  28846. <stringProp name="Argument.value"/>
  28847. <stringProp name="Argument.metadata">=</stringProp>
  28848. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28849. </elementProp>
  28850. <elementProp name="export_filter[meta_description]" elementType="HTTPArgument">
  28851. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28852. <stringProp name="Argument.name">export_filter[meta_description]</stringProp>
  28853. <stringProp name="Argument.value"/>
  28854. <stringProp name="Argument.metadata">=</stringProp>
  28855. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28856. </elementProp>
  28857. <elementProp name="export_filter[meta_keyword]" elementType="HTTPArgument">
  28858. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28859. <stringProp name="Argument.name">export_filter[meta_keyword]</stringProp>
  28860. <stringProp name="Argument.value"/>
  28861. <stringProp name="Argument.metadata">=</stringProp>
  28862. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28863. </elementProp>
  28864. <elementProp name="export_filter[meta_title]" elementType="HTTPArgument">
  28865. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28866. <stringProp name="Argument.name">export_filter[meta_title]</stringProp>
  28867. <stringProp name="Argument.value"/>
  28868. <stringProp name="Argument.metadata">=</stringProp>
  28869. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28870. </elementProp>
  28871. <elementProp name="export_filter[minimal_price][]" elementType="HTTPArgument">
  28872. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28873. <stringProp name="Argument.name">export_filter[minimal_price][]</stringProp>
  28874. <stringProp name="Argument.value">,</stringProp>
  28875. <stringProp name="Argument.metadata">=</stringProp>
  28876. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28877. </elementProp>
  28878. <elementProp name="export_filter[msrp][]" elementType="HTTPArgument">
  28879. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28880. <stringProp name="Argument.name">export_filter[msrp][]</stringProp>
  28881. <stringProp name="Argument.value">,</stringProp>
  28882. <stringProp name="Argument.metadata">=</stringProp>
  28883. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28884. </elementProp>
  28885. <elementProp name="export_filter[msrp_display_actual_price_type]" elementType="HTTPArgument">
  28886. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28887. <stringProp name="Argument.name">export_filter[msrp_display_actual_price_type]</stringProp>
  28888. <stringProp name="Argument.value"/>
  28889. <stringProp name="Argument.metadata">=</stringProp>
  28890. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28891. </elementProp>
  28892. <elementProp name="export_filter[name]" elementType="HTTPArgument">
  28893. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28894. <stringProp name="Argument.name">export_filter[name]</stringProp>
  28895. <stringProp name="Argument.value"/>
  28896. <stringProp name="Argument.metadata">=</stringProp>
  28897. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28898. </elementProp>
  28899. <elementProp name="export_filter[news_from_date][]" elementType="HTTPArgument">
  28900. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28901. <stringProp name="Argument.name">export_filter[news_from_date][]</stringProp>
  28902. <stringProp name="Argument.value">,</stringProp>
  28903. <stringProp name="Argument.metadata">=</stringProp>
  28904. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28905. </elementProp>
  28906. <elementProp name="export_filter[news_to_date][]" elementType="HTTPArgument">
  28907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28908. <stringProp name="Argument.name">export_filter[news_to_date][]</stringProp>
  28909. <stringProp name="Argument.value">,</stringProp>
  28910. <stringProp name="Argument.metadata">=</stringProp>
  28911. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28912. </elementProp>
  28913. <elementProp name="export_filter[old_id][]" elementType="HTTPArgument">
  28914. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28915. <stringProp name="Argument.name">export_filter[old_id][]</stringProp>
  28916. <stringProp name="Argument.value">,</stringProp>
  28917. <stringProp name="Argument.metadata">=</stringProp>
  28918. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28919. </elementProp>
  28920. <elementProp name="export_filter[open_amount_max][]" elementType="HTTPArgument">
  28921. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28922. <stringProp name="Argument.name">export_filter[open_amount_max][]</stringProp>
  28923. <stringProp name="Argument.value">,</stringProp>
  28924. <stringProp name="Argument.metadata">=</stringProp>
  28925. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28926. </elementProp>
  28927. <elementProp name="export_filter[open_amount_min][]" elementType="HTTPArgument">
  28928. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28929. <stringProp name="Argument.name">export_filter[open_amount_min][]</stringProp>
  28930. <stringProp name="Argument.value">,</stringProp>
  28931. <stringProp name="Argument.metadata">=</stringProp>
  28932. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28933. </elementProp>
  28934. <elementProp name="export_filter[options_container]" elementType="HTTPArgument">
  28935. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28936. <stringProp name="Argument.name">export_filter[options_container]</stringProp>
  28937. <stringProp name="Argument.value"/>
  28938. <stringProp name="Argument.metadata">=</stringProp>
  28939. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28940. </elementProp>
  28941. <elementProp name="export_filter[page_layout]" elementType="HTTPArgument">
  28942. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28943. <stringProp name="Argument.name">export_filter[page_layout]</stringProp>
  28944. <stringProp name="Argument.value"/>
  28945. <stringProp name="Argument.metadata">=</stringProp>
  28946. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28947. </elementProp>
  28948. <elementProp name="export_filter[price][]" elementType="HTTPArgument">
  28949. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28950. <stringProp name="Argument.name">export_filter[price][]</stringProp>
  28951. <stringProp name="Argument.value">,</stringProp>
  28952. <stringProp name="Argument.metadata">=</stringProp>
  28953. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28954. </elementProp>
  28955. <elementProp name="export_filter[price_type][]" elementType="HTTPArgument">
  28956. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28957. <stringProp name="Argument.name">export_filter[price_type][]</stringProp>
  28958. <stringProp name="Argument.value">,</stringProp>
  28959. <stringProp name="Argument.metadata">=</stringProp>
  28960. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28961. </elementProp>
  28962. <elementProp name="export_filter[price_view]" elementType="HTTPArgument">
  28963. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28964. <stringProp name="Argument.name">export_filter[price_view]</stringProp>
  28965. <stringProp name="Argument.value"/>
  28966. <stringProp name="Argument.metadata">=</stringProp>
  28967. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28968. </elementProp>
  28969. <elementProp name="export_filter[quantity_and_stock_status]" elementType="HTTPArgument">
  28970. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28971. <stringProp name="Argument.name">export_filter[quantity_and_stock_status]</stringProp>
  28972. <stringProp name="Argument.value"/>
  28973. <stringProp name="Argument.metadata">=</stringProp>
  28974. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28975. </elementProp>
  28976. <elementProp name="export_filter[related_tgtr_position_behavior][]" elementType="HTTPArgument">
  28977. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28978. <stringProp name="Argument.name">export_filter[related_tgtr_position_behavior][]</stringProp>
  28979. <stringProp name="Argument.value">,</stringProp>
  28980. <stringProp name="Argument.metadata">=</stringProp>
  28981. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28982. </elementProp>
  28983. <elementProp name="export_filter[related_tgtr_position_limit][]" elementType="HTTPArgument">
  28984. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28985. <stringProp name="Argument.name">export_filter[related_tgtr_position_limit][]</stringProp>
  28986. <stringProp name="Argument.value">,</stringProp>
  28987. <stringProp name="Argument.metadata">=</stringProp>
  28988. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28989. </elementProp>
  28990. <elementProp name="export_filter[required_options]" elementType="HTTPArgument">
  28991. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28992. <stringProp name="Argument.name">export_filter[required_options]</stringProp>
  28993. <stringProp name="Argument.value"/>
  28994. <stringProp name="Argument.metadata">=</stringProp>
  28995. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  28996. </elementProp>
  28997. <elementProp name="export_filter[samples_title]" elementType="HTTPArgument">
  28998. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  28999. <stringProp name="Argument.name">export_filter[samples_title]</stringProp>
  29000. <stringProp name="Argument.value"/>
  29001. <stringProp name="Argument.metadata">=</stringProp>
  29002. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29003. </elementProp>
  29004. <elementProp name="export_filter[shipment_type][]" elementType="HTTPArgument">
  29005. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29006. <stringProp name="Argument.name">export_filter[shipment_type][]</stringProp>
  29007. <stringProp name="Argument.value">,</stringProp>
  29008. <stringProp name="Argument.metadata">=</stringProp>
  29009. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29010. </elementProp>
  29011. <elementProp name="export_filter[short_description]" elementType="HTTPArgument">
  29012. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29013. <stringProp name="Argument.name">export_filter[short_description]</stringProp>
  29014. <stringProp name="Argument.value"/>
  29015. <stringProp name="Argument.metadata">=</stringProp>
  29016. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29017. </elementProp>
  29018. <elementProp name="export_filter[sku]" elementType="HTTPArgument">
  29019. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29020. <stringProp name="Argument.name">export_filter[sku]</stringProp>
  29021. <stringProp name="Argument.value"/>
  29022. <stringProp name="Argument.metadata">=</stringProp>
  29023. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29024. </elementProp>
  29025. <elementProp name="export_filter[sku_type][]" elementType="HTTPArgument">
  29026. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29027. <stringProp name="Argument.name">export_filter[sku_type][]</stringProp>
  29028. <stringProp name="Argument.value">,</stringProp>
  29029. <stringProp name="Argument.metadata">=</stringProp>
  29030. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29031. </elementProp>
  29032. <elementProp name="export_filter[small_image]" elementType="HTTPArgument">
  29033. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29034. <stringProp name="Argument.name">export_filter[small_image]</stringProp>
  29035. <stringProp name="Argument.value"/>
  29036. <stringProp name="Argument.metadata">=</stringProp>
  29037. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29038. </elementProp>
  29039. <elementProp name="export_filter[small_image_label]" elementType="HTTPArgument">
  29040. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29041. <stringProp name="Argument.name">export_filter[small_image_label]</stringProp>
  29042. <stringProp name="Argument.value"/>
  29043. <stringProp name="Argument.metadata">=</stringProp>
  29044. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29045. </elementProp>
  29046. <elementProp name="export_filter[special_from_date][]" elementType="HTTPArgument">
  29047. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29048. <stringProp name="Argument.name">export_filter[special_from_date][]</stringProp>
  29049. <stringProp name="Argument.value">,</stringProp>
  29050. <stringProp name="Argument.metadata">=</stringProp>
  29051. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29052. </elementProp>
  29053. <elementProp name="export_filter[special_price][]" elementType="HTTPArgument">
  29054. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29055. <stringProp name="Argument.name">export_filter[special_price][]</stringProp>
  29056. <stringProp name="Argument.value">,</stringProp>
  29057. <stringProp name="Argument.metadata">=</stringProp>
  29058. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29059. </elementProp>
  29060. <elementProp name="export_filter[special_to_date][]" elementType="HTTPArgument">
  29061. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29062. <stringProp name="Argument.name">export_filter[special_to_date][]</stringProp>
  29063. <stringProp name="Argument.value">,</stringProp>
  29064. <stringProp name="Argument.metadata">=</stringProp>
  29065. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29066. </elementProp>
  29067. <elementProp name="export_filter[status]" elementType="HTTPArgument">
  29068. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29069. <stringProp name="Argument.name">export_filter[status]</stringProp>
  29070. <stringProp name="Argument.value"/>
  29071. <stringProp name="Argument.metadata">=</stringProp>
  29072. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29073. </elementProp>
  29074. <elementProp name="export_filter[tax_class_id]" elementType="HTTPArgument">
  29075. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29076. <stringProp name="Argument.name">export_filter[tax_class_id]</stringProp>
  29077. <stringProp name="Argument.value"/>
  29078. <stringProp name="Argument.metadata">=</stringProp>
  29079. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29080. </elementProp>
  29081. <elementProp name="export_filter[thumbnail]" elementType="HTTPArgument">
  29082. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29083. <stringProp name="Argument.name">export_filter[thumbnail]</stringProp>
  29084. <stringProp name="Argument.value"/>
  29085. <stringProp name="Argument.metadata">=</stringProp>
  29086. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29087. </elementProp>
  29088. <elementProp name="export_filter[thumbnail_label]" elementType="HTTPArgument">
  29089. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29090. <stringProp name="Argument.name">export_filter[thumbnail_label]</stringProp>
  29091. <stringProp name="Argument.value"/>
  29092. <stringProp name="Argument.metadata">=</stringProp>
  29093. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29094. </elementProp>
  29095. <elementProp name="export_filter[tier_price][]" elementType="HTTPArgument">
  29096. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29097. <stringProp name="Argument.name">export_filter[tier_price][]</stringProp>
  29098. <stringProp name="Argument.value">,</stringProp>
  29099. <stringProp name="Argument.metadata">=</stringProp>
  29100. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29101. </elementProp>
  29102. <elementProp name="export_filter[updated_at]" elementType="HTTPArgument">
  29103. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29104. <stringProp name="Argument.name">export_filter[updated_at]</stringProp>
  29105. <stringProp name="Argument.value"/>
  29106. <stringProp name="Argument.metadata">=</stringProp>
  29107. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29108. </elementProp>
  29109. <elementProp name="export_filter[upsell_tgtr_position_behavior][]" elementType="HTTPArgument">
  29110. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29111. <stringProp name="Argument.name">export_filter[upsell_tgtr_position_behavior][]</stringProp>
  29112. <stringProp name="Argument.value">,</stringProp>
  29113. <stringProp name="Argument.metadata">=</stringProp>
  29114. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29115. </elementProp>
  29116. <elementProp name="export_filter[upsell_tgtr_position_limit][]" elementType="HTTPArgument">
  29117. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29118. <stringProp name="Argument.name">export_filter[upsell_tgtr_position_limit][]</stringProp>
  29119. <stringProp name="Argument.value">,</stringProp>
  29120. <stringProp name="Argument.metadata">=</stringProp>
  29121. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29122. </elementProp>
  29123. <elementProp name="export_filter[url_key]" elementType="HTTPArgument">
  29124. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29125. <stringProp name="Argument.name">export_filter[url_key]</stringProp>
  29126. <stringProp name="Argument.value"/>
  29127. <stringProp name="Argument.metadata">=</stringProp>
  29128. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29129. </elementProp>
  29130. <elementProp name="export_filter[url_path]" elementType="HTTPArgument">
  29131. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29132. <stringProp name="Argument.name">export_filter[url_path]</stringProp>
  29133. <stringProp name="Argument.value"/>
  29134. <stringProp name="Argument.metadata">=</stringProp>
  29135. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29136. </elementProp>
  29137. <elementProp name="export_filter[use_config_allow_message][]" elementType="HTTPArgument">
  29138. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29139. <stringProp name="Argument.name">export_filter[use_config_allow_message][]</stringProp>
  29140. <stringProp name="Argument.value">,</stringProp>
  29141. <stringProp name="Argument.metadata">=</stringProp>
  29142. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29143. </elementProp>
  29144. <elementProp name="export_filter[use_config_email_template][]" elementType="HTTPArgument">
  29145. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29146. <stringProp name="Argument.name">export_filter[use_config_email_template][]</stringProp>
  29147. <stringProp name="Argument.value">,</stringProp>
  29148. <stringProp name="Argument.metadata">=</stringProp>
  29149. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29150. </elementProp>
  29151. <elementProp name="export_filter[use_config_is_redeemable][]" elementType="HTTPArgument">
  29152. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29153. <stringProp name="Argument.name">export_filter[use_config_is_redeemable][]</stringProp>
  29154. <stringProp name="Argument.value">,</stringProp>
  29155. <stringProp name="Argument.metadata">=</stringProp>
  29156. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29157. </elementProp>
  29158. <elementProp name="export_filter[use_config_lifetime][]" elementType="HTTPArgument">
  29159. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29160. <stringProp name="Argument.name">export_filter[use_config_lifetime][]</stringProp>
  29161. <stringProp name="Argument.value">,</stringProp>
  29162. <stringProp name="Argument.metadata">=</stringProp>
  29163. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29164. </elementProp>
  29165. <elementProp name="export_filter[visibility]" elementType="HTTPArgument">
  29166. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29167. <stringProp name="Argument.name">export_filter[visibility]</stringProp>
  29168. <stringProp name="Argument.value"/>
  29169. <stringProp name="Argument.metadata">=</stringProp>
  29170. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29171. </elementProp>
  29172. <elementProp name="export_filter[weight][]" elementType="HTTPArgument">
  29173. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29174. <stringProp name="Argument.name">export_filter[weight][]</stringProp>
  29175. <stringProp name="Argument.value">,</stringProp>
  29176. <stringProp name="Argument.metadata">=</stringProp>
  29177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29178. </elementProp>
  29179. <elementProp name="export_filter[weight_type][]" elementType="HTTPArgument">
  29180. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29181. <stringProp name="Argument.name">export_filter[weight_type][]</stringProp>
  29182. <stringProp name="Argument.value">,</stringProp>
  29183. <stringProp name="Argument.metadata">=</stringProp>
  29184. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29185. </elementProp>
  29186. <elementProp name="frontend_label" elementType="HTTPArgument">
  29187. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29188. <stringProp name="Argument.name">frontend_label</stringProp>
  29189. <stringProp name="Argument.value"/>
  29190. <stringProp name="Argument.metadata">=</stringProp>
  29191. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29192. </elementProp>
  29193. </collectionProp>
  29194. </elementProp>
  29195. <stringProp name="HTTPSampler.domain"/>
  29196. <stringProp name="HTTPSampler.port"/>
  29197. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29198. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29199. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29200. <stringProp name="HTTPSampler.contentEncoding"/>
  29201. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/export/export/entity/catalog_product/file_format/csv</stringProp>
  29202. <stringProp name="HTTPSampler.method">POST</stringProp>
  29203. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29204. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29205. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29206. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29207. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29208. <stringProp name="HTTPSampler.embedded_url_re"/>
  29209. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/export_products/export_products.jmx</stringProp></HTTPSamplerProxy>
  29210. <hashTree>
  29211. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  29212. <collectionProp name="Asserion.test_strings">
  29213. <stringProp name="-261088822">Simple Product 1</stringProp>
  29214. </collectionProp>
  29215. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  29216. <boolProp name="Assertion.assume_success">false</boolProp>
  29217. <intProp name="Assertion.test_type">16</intProp>
  29218. </ResponseAssertion>
  29219. <hashTree/>
  29220. </hashTree>
  29221. </hashTree>
  29222. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  29223. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29224. <collectionProp name="Arguments.arguments"/>
  29225. </elementProp>
  29226. <stringProp name="HTTPSampler.domain"/>
  29227. <stringProp name="HTTPSampler.port"/>
  29228. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29229. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29230. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29231. <stringProp name="HTTPSampler.contentEncoding"/>
  29232. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  29233. <stringProp name="HTTPSampler.method">GET</stringProp>
  29234. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29235. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29236. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29237. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29238. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29239. <stringProp name="HTTPSampler.embedded_url_re"/>
  29240. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  29241. <hashTree>
  29242. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  29243. <boolProp name="resetInterpreter">false</boolProp>
  29244. <stringProp name="parameters"/>
  29245. <stringProp name="filename"/>
  29246. <stringProp name="script">
  29247. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  29248. if (adminUsersDistribution == 1) {
  29249. adminUserList = props.get("adminUserList");
  29250. adminUserList.add(vars.get("admin_user"));
  29251. }
  29252. </stringProp>
  29253. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  29254. <hashTree/>
  29255. </hashTree>
  29256. </hashTree>
  29257. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Export Customers" enabled="true">
  29258. <intProp name="ThroughputController.style">1</intProp>
  29259. <boolProp name="ThroughputController.perThread">false</boolProp>
  29260. <intProp name="ThroughputController.maxThroughput">1</intProp>
  29261. <stringProp name="ThroughputController.percentThroughput">${exportCustomersPercentage}</stringProp>
  29262. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  29263. <hashTree>
  29264. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  29265. <stringProp name="script">
  29266. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  29267. if (testLabel
  29268. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  29269. ) {
  29270. if (sampler.getName().indexOf(testLabel) == -1) {
  29271. sampler.setName(sampler.getName() + testLabel);
  29272. }
  29273. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  29274. sampler.setName("SetUp - " + sampler.getName());
  29275. }
  29276. </stringProp>
  29277. <stringProp name="scriptLanguage">javascript</stringProp>
  29278. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  29279. <hashTree/>
  29280. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  29281. <stringProp name="BeanShellSampler.query">
  29282. vars.put("testLabel", "Export Customers");
  29283. </stringProp>
  29284. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  29285. </BeanShellSampler>
  29286. <hashTree/>
  29287. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  29288. <stringProp name="script">
  29289. function getFormKeyFromResponse()
  29290. {
  29291. var url = prev.getUrlAsString(),
  29292. responseCode = prev.getResponseCode(),
  29293. formKey = null;
  29294. searchPattern = /var FORM_KEY = '(.+)'/;
  29295. if (responseCode == "200" &amp;&amp; url) {
  29296. response = prev.getResponseDataAsString();
  29297. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  29298. }
  29299. return formKey;
  29300. }
  29301. formKey = vars.get("form_key_storage");
  29302. currentFormKey = getFormKeyFromResponse();
  29303. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  29304. vars.put("form_key_storage", currentFormKey);
  29305. }
  29306. </stringProp>
  29307. <stringProp name="scriptLanguage">javascript</stringProp>
  29308. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  29309. <hashTree/>
  29310. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  29311. <stringProp name="script">
  29312. formKey = vars.get("form_key_storage");
  29313. if (formKey
  29314. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  29315. &amp;&amp; sampler.getMethod() == "POST")
  29316. {
  29317. arguments = sampler.getArguments();
  29318. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  29319. {
  29320. argument = arguments.getArgument(i);
  29321. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  29322. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  29323. argument.setValue(formKey);
  29324. }
  29325. }
  29326. }
  29327. </stringProp>
  29328. <stringProp name="scriptLanguage">javascript</stringProp>
  29329. </JSR223PreProcessor>
  29330. <hashTree/>
  29331. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  29332. <collectionProp name="CookieManager.cookies"/>
  29333. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  29334. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  29335. <hashTree/>
  29336. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  29337. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  29338. </GenericController>
  29339. <hashTree>
  29340. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  29341. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  29342. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  29343. <hashTree>
  29344. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  29345. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  29346. <stringProp name="BeanShellSampler.query">
  29347. adminUserList = props.get("adminUserList");
  29348. adminUserListIterator = props.get("adminUserListIterator");
  29349. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  29350. if (adminUsersDistribution == 1) {
  29351. adminUser = adminUserList.poll();
  29352. } else {
  29353. if (!adminUserListIterator.hasNext()) {
  29354. adminUserListIterator = adminUserList.descendingIterator();
  29355. }
  29356. adminUser = adminUserListIterator.next();
  29357. }
  29358. if (adminUser == null) {
  29359. SampleResult.setResponseMessage("adminUser list is empty");
  29360. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  29361. IsSuccess=false;
  29362. SampleResult.setSuccessful(false);
  29363. SampleResult.setStopThread(true);
  29364. }
  29365. vars.put("admin_user", adminUser);
  29366. </stringProp>
  29367. <stringProp name="BeanShellSampler.filename"/>
  29368. <stringProp name="BeanShellSampler.parameters"/>
  29369. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  29370. </BeanShellSampler>
  29371. <hashTree/>
  29372. </hashTree>
  29373. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  29374. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29375. <collectionProp name="Arguments.arguments"/>
  29376. </elementProp>
  29377. <stringProp name="HTTPSampler.domain"/>
  29378. <stringProp name="HTTPSampler.port"/>
  29379. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29380. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29381. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29382. <stringProp name="HTTPSampler.contentEncoding"/>
  29383. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  29384. <stringProp name="HTTPSampler.method">GET</stringProp>
  29385. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29386. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29387. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29388. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29389. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29390. <stringProp name="HTTPSampler.embedded_url_re"/>
  29391. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  29392. <hashTree>
  29393. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  29394. <collectionProp name="Asserion.test_strings">
  29395. <stringProp name="-1397214398">Welcome</stringProp>
  29396. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  29397. </collectionProp>
  29398. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  29399. <boolProp name="Assertion.assume_success">false</boolProp>
  29400. <intProp name="Assertion.test_type">2</intProp>
  29401. </ResponseAssertion>
  29402. <hashTree/>
  29403. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  29404. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  29405. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  29406. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  29407. <stringProp name="RegexExtractor.template">$1$</stringProp>
  29408. <stringProp name="RegexExtractor.default"/>
  29409. <stringProp name="RegexExtractor.match_number">1</stringProp>
  29410. </RegexExtractor>
  29411. <hashTree/>
  29412. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  29413. <collectionProp name="Asserion.test_strings">
  29414. <stringProp name="2845929">^.+$</stringProp>
  29415. </collectionProp>
  29416. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  29417. <boolProp name="Assertion.assume_success">false</boolProp>
  29418. <intProp name="Assertion.test_type">1</intProp>
  29419. <stringProp name="Assertion.scope">variable</stringProp>
  29420. <stringProp name="Scope.variable">admin_form_key</stringProp>
  29421. </ResponseAssertion>
  29422. <hashTree/>
  29423. </hashTree>
  29424. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  29425. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29426. <collectionProp name="Arguments.arguments">
  29427. <elementProp name="dummy" elementType="HTTPArgument">
  29428. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29429. <stringProp name="Argument.value"/>
  29430. <stringProp name="Argument.metadata">=</stringProp>
  29431. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29432. <stringProp name="Argument.name">dummy</stringProp>
  29433. </elementProp>
  29434. <elementProp name="form_key" elementType="HTTPArgument">
  29435. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29436. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  29437. <stringProp name="Argument.metadata">=</stringProp>
  29438. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29439. <stringProp name="Argument.name">form_key</stringProp>
  29440. </elementProp>
  29441. <elementProp name="login[password]" elementType="HTTPArgument">
  29442. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29443. <stringProp name="Argument.value">${admin_password}</stringProp>
  29444. <stringProp name="Argument.metadata">=</stringProp>
  29445. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29446. <stringProp name="Argument.name">login[password]</stringProp>
  29447. </elementProp>
  29448. <elementProp name="login[username]" elementType="HTTPArgument">
  29449. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29450. <stringProp name="Argument.value">${admin_user}</stringProp>
  29451. <stringProp name="Argument.metadata">=</stringProp>
  29452. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29453. <stringProp name="Argument.name">login[username]</stringProp>
  29454. </elementProp>
  29455. </collectionProp>
  29456. </elementProp>
  29457. <stringProp name="HTTPSampler.domain"/>
  29458. <stringProp name="HTTPSampler.port"/>
  29459. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29460. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29461. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29462. <stringProp name="HTTPSampler.contentEncoding"/>
  29463. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  29464. <stringProp name="HTTPSampler.method">POST</stringProp>
  29465. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29466. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29467. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29468. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29469. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  29470. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29471. <stringProp name="HTTPSampler.embedded_url_re"/>
  29472. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  29473. </HTTPSamplerProxy>
  29474. <hashTree>
  29475. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  29476. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  29477. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  29478. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  29479. <stringProp name="RegexExtractor.template">$1$</stringProp>
  29480. <stringProp name="RegexExtractor.default"/>
  29481. <stringProp name="RegexExtractor.match_number">1</stringProp>
  29482. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  29483. <hashTree/>
  29484. </hashTree>
  29485. </hashTree>
  29486. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  29487. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  29488. </GenericController>
  29489. <hashTree>
  29490. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Export Page" enabled="true">
  29491. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29492. <collectionProp name="Arguments.arguments"/>
  29493. </elementProp>
  29494. <stringProp name="HTTPSampler.domain"/>
  29495. <stringProp name="HTTPSampler.port"/>
  29496. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29497. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29498. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29499. <stringProp name="HTTPSampler.contentEncoding"/>
  29500. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/export/</stringProp>
  29501. <stringProp name="HTTPSampler.method">GET</stringProp>
  29502. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29503. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29504. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29505. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29506. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29507. <stringProp name="HTTPSampler.embedded_url_re"/>
  29508. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/export.jmx</stringProp></HTTPSamplerProxy>
  29509. <hashTree>
  29510. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert success" enabled="true">
  29511. <collectionProp name="Asserion.test_strings">
  29512. <stringProp name="1723813687">Export Settings</stringProp>
  29513. </collectionProp>
  29514. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  29515. <boolProp name="Assertion.assume_success">false</boolProp>
  29516. <intProp name="Assertion.test_type">2</intProp>
  29517. </ResponseAssertion>
  29518. <hashTree/>
  29519. </hashTree>
  29520. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Export Customers" enabled="true">
  29521. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29522. <collectionProp name="Arguments.arguments">
  29523. <elementProp name="form_key" elementType="HTTPArgument">
  29524. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29525. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  29526. <stringProp name="Argument.metadata">=</stringProp>
  29527. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29528. <stringProp name="Argument.name">form_key</stringProp>
  29529. <stringProp name="Argument.desc">false</stringProp>
  29530. </elementProp>
  29531. <elementProp name="attribute_code" elementType="HTTPArgument">
  29532. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29533. <stringProp name="Argument.value"/>
  29534. <stringProp name="Argument.metadata">=</stringProp>
  29535. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29536. <stringProp name="Argument.name">attribute_code</stringProp>
  29537. <stringProp name="Argument.desc">true</stringProp>
  29538. </elementProp>
  29539. <elementProp name="export_filter[confirmation]" elementType="HTTPArgument">
  29540. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29541. <stringProp name="Argument.value"/>
  29542. <stringProp name="Argument.metadata">=</stringProp>
  29543. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29544. <stringProp name="Argument.name">export_filter[confirmation]</stringProp>
  29545. <stringProp name="Argument.desc">true</stringProp>
  29546. </elementProp>
  29547. <elementProp name="export_filter[created_at]" elementType="HTTPArgument">
  29548. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29549. <stringProp name="Argument.value"/>
  29550. <stringProp name="Argument.metadata">=</stringProp>
  29551. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29552. <stringProp name="Argument.name">export_filter[created_at]</stringProp>
  29553. <stringProp name="Argument.desc">true</stringProp>
  29554. </elementProp>
  29555. <elementProp name="export_filter[created_in]" elementType="HTTPArgument">
  29556. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29557. <stringProp name="Argument.value"/>
  29558. <stringProp name="Argument.metadata">=</stringProp>
  29559. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29560. <stringProp name="Argument.name">export_filter[created_in]</stringProp>
  29561. <stringProp name="Argument.desc">true</stringProp>
  29562. </elementProp>
  29563. <elementProp name="export_filter[default_billing][]" elementType="HTTPArgument">
  29564. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29565. <stringProp name="Argument.value">,</stringProp>
  29566. <stringProp name="Argument.metadata">=</stringProp>
  29567. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29568. <stringProp name="Argument.name">export_filter[default_billing][]</stringProp>
  29569. <stringProp name="Argument.desc">true</stringProp>
  29570. </elementProp>
  29571. <elementProp name="export_filter[default_shipping][]" elementType="HTTPArgument">
  29572. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29573. <stringProp name="Argument.value">,</stringProp>
  29574. <stringProp name="Argument.metadata">=</stringProp>
  29575. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29576. <stringProp name="Argument.name">export_filter[default_shipping][]</stringProp>
  29577. <stringProp name="Argument.desc">true</stringProp>
  29578. </elementProp>
  29579. <elementProp name="export_filter[disable_auto_group_change]" elementType="HTTPArgument">
  29580. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29581. <stringProp name="Argument.value"/>
  29582. <stringProp name="Argument.metadata">=</stringProp>
  29583. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29584. <stringProp name="Argument.name">export_filter[disable_auto_group_change]</stringProp>
  29585. <stringProp name="Argument.desc">true</stringProp>
  29586. </elementProp>
  29587. <elementProp name="export_filter[dob][]" elementType="HTTPArgument">
  29588. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29589. <stringProp name="Argument.value">,</stringProp>
  29590. <stringProp name="Argument.metadata">=</stringProp>
  29591. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29592. <stringProp name="Argument.name">export_filter[dob][]</stringProp>
  29593. <stringProp name="Argument.desc">true</stringProp>
  29594. </elementProp>
  29595. <elementProp name="export_filter[email]" elementType="HTTPArgument">
  29596. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29597. <stringProp name="Argument.value"/>
  29598. <stringProp name="Argument.metadata">=</stringProp>
  29599. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29600. <stringProp name="Argument.name">export_filter[email]</stringProp>
  29601. <stringProp name="Argument.desc">true</stringProp>
  29602. </elementProp>
  29603. <elementProp name="export_filter[firstname]" elementType="HTTPArgument">
  29604. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29605. <stringProp name="Argument.value"/>
  29606. <stringProp name="Argument.metadata">=</stringProp>
  29607. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29608. <stringProp name="Argument.name">export_filter[firstname]</stringProp>
  29609. <stringProp name="Argument.desc">true</stringProp>
  29610. </elementProp>
  29611. <elementProp name="export_filter[gender]" elementType="HTTPArgument">
  29612. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29613. <stringProp name="Argument.value"/>
  29614. <stringProp name="Argument.metadata">=</stringProp>
  29615. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29616. <stringProp name="Argument.name">export_filter[gender]</stringProp>
  29617. <stringProp name="Argument.desc">true</stringProp>
  29618. </elementProp>
  29619. <elementProp name="export_filter[group_id]" elementType="HTTPArgument">
  29620. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29621. <stringProp name="Argument.value"/>
  29622. <stringProp name="Argument.metadata">=</stringProp>
  29623. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29624. <stringProp name="Argument.name">export_filter[group_id]</stringProp>
  29625. <stringProp name="Argument.desc">true</stringProp>
  29626. </elementProp>
  29627. <elementProp name="export_filter[lastname]" elementType="HTTPArgument">
  29628. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29629. <stringProp name="Argument.value"/>
  29630. <stringProp name="Argument.metadata">=</stringProp>
  29631. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29632. <stringProp name="Argument.name">export_filter[lastname]</stringProp>
  29633. <stringProp name="Argument.desc">true</stringProp>
  29634. </elementProp>
  29635. <elementProp name="export_filter[middlename]" elementType="HTTPArgument">
  29636. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29637. <stringProp name="Argument.value"/>
  29638. <stringProp name="Argument.metadata">=</stringProp>
  29639. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29640. <stringProp name="Argument.name">export_filter[middlename]</stringProp>
  29641. <stringProp name="Argument.desc">true</stringProp>
  29642. </elementProp>
  29643. <elementProp name="export_filter[password_hash]" elementType="HTTPArgument">
  29644. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29645. <stringProp name="Argument.value"/>
  29646. <stringProp name="Argument.metadata">=</stringProp>
  29647. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29648. <stringProp name="Argument.name">export_filter[password_hash]</stringProp>
  29649. <stringProp name="Argument.desc">true</stringProp>
  29650. </elementProp>
  29651. <elementProp name="export_filter[prefix]" elementType="HTTPArgument">
  29652. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29653. <stringProp name="Argument.value"/>
  29654. <stringProp name="Argument.metadata">=</stringProp>
  29655. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29656. <stringProp name="Argument.name">export_filter[prefix]</stringProp>
  29657. <stringProp name="Argument.desc">true</stringProp>
  29658. </elementProp>
  29659. <elementProp name="export_filter[reward_update_notification][]" elementType="HTTPArgument">
  29660. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29661. <stringProp name="Argument.value">,</stringProp>
  29662. <stringProp name="Argument.metadata">=</stringProp>
  29663. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29664. <stringProp name="Argument.name">export_filter[reward_update_notification][]</stringProp>
  29665. <stringProp name="Argument.desc">true</stringProp>
  29666. </elementProp>
  29667. <elementProp name="export_filter[reward_warning_notification][]" elementType="HTTPArgument">
  29668. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29669. <stringProp name="Argument.value">,</stringProp>
  29670. <stringProp name="Argument.metadata">=</stringProp>
  29671. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29672. <stringProp name="Argument.name">export_filter[reward_warning_notification][]</stringProp>
  29673. <stringProp name="Argument.desc">true</stringProp>
  29674. </elementProp>
  29675. <elementProp name="export_filter[rp_token]" elementType="HTTPArgument">
  29676. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29677. <stringProp name="Argument.value"/>
  29678. <stringProp name="Argument.metadata">=</stringProp>
  29679. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29680. <stringProp name="Argument.name">export_filter[rp_token]</stringProp>
  29681. <stringProp name="Argument.desc">true</stringProp>
  29682. </elementProp>
  29683. <elementProp name="export_filter[rp_token_created_at][]" elementType="HTTPArgument">
  29684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29685. <stringProp name="Argument.value">,</stringProp>
  29686. <stringProp name="Argument.metadata">=</stringProp>
  29687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29688. <stringProp name="Argument.name">export_filter[rp_token_created_at][]</stringProp>
  29689. <stringProp name="Argument.desc">true</stringProp>
  29690. </elementProp>
  29691. <elementProp name="export_filter[store_id]" elementType="HTTPArgument">
  29692. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29693. <stringProp name="Argument.value"/>
  29694. <stringProp name="Argument.metadata">=</stringProp>
  29695. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29696. <stringProp name="Argument.name">export_filter[store_id]</stringProp>
  29697. <stringProp name="Argument.desc">true</stringProp>
  29698. </elementProp>
  29699. <elementProp name="export_filter[suffix]" elementType="HTTPArgument">
  29700. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29701. <stringProp name="Argument.value"/>
  29702. <stringProp name="Argument.metadata">=</stringProp>
  29703. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29704. <stringProp name="Argument.name">export_filter[suffix]</stringProp>
  29705. <stringProp name="Argument.desc">true</stringProp>
  29706. </elementProp>
  29707. <elementProp name="export_filter[taxvat]" elementType="HTTPArgument">
  29708. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29709. <stringProp name="Argument.value"/>
  29710. <stringProp name="Argument.metadata">=</stringProp>
  29711. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29712. <stringProp name="Argument.name">export_filter[taxvat]</stringProp>
  29713. <stringProp name="Argument.desc">true</stringProp>
  29714. </elementProp>
  29715. <elementProp name="export_filter[website_id]" elementType="HTTPArgument">
  29716. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29717. <stringProp name="Argument.value"/>
  29718. <stringProp name="Argument.metadata">=</stringProp>
  29719. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29720. <stringProp name="Argument.name">export_filter[website_id]</stringProp>
  29721. <stringProp name="Argument.desc">true</stringProp>
  29722. </elementProp>
  29723. <elementProp name="frontend_label" elementType="HTTPArgument">
  29724. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29725. <stringProp name="Argument.value"/>
  29726. <stringProp name="Argument.metadata">=</stringProp>
  29727. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29728. <stringProp name="Argument.name">frontend_label</stringProp>
  29729. <stringProp name="Argument.desc">true</stringProp>
  29730. </elementProp>
  29731. </collectionProp>
  29732. </elementProp>
  29733. <stringProp name="HTTPSampler.domain"/>
  29734. <stringProp name="HTTPSampler.port"/>
  29735. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29736. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29737. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29738. <stringProp name="HTTPSampler.contentEncoding"/>
  29739. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/export/export/entity/customer/file_format/csv</stringProp>
  29740. <stringProp name="HTTPSampler.method">POST</stringProp>
  29741. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29742. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29743. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29744. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29745. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29746. <stringProp name="HTTPSampler.embedded_url_re"/>
  29747. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/export_customers/export_customers.jmx</stringProp></HTTPSamplerProxy>
  29748. <hashTree>
  29749. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  29750. <collectionProp name="Asserion.test_strings">
  29751. <stringProp name="-2040454917">user_1@example.com</stringProp>
  29752. </collectionProp>
  29753. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  29754. <boolProp name="Assertion.assume_success">false</boolProp>
  29755. <intProp name="Assertion.test_type">16</intProp>
  29756. </ResponseAssertion>
  29757. <hashTree/>
  29758. </hashTree>
  29759. </hashTree>
  29760. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  29761. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29762. <collectionProp name="Arguments.arguments"/>
  29763. </elementProp>
  29764. <stringProp name="HTTPSampler.domain"/>
  29765. <stringProp name="HTTPSampler.port"/>
  29766. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29767. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29768. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29769. <stringProp name="HTTPSampler.contentEncoding"/>
  29770. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  29771. <stringProp name="HTTPSampler.method">GET</stringProp>
  29772. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29773. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29774. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29775. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29776. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29777. <stringProp name="HTTPSampler.embedded_url_re"/>
  29778. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  29779. <hashTree>
  29780. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  29781. <boolProp name="resetInterpreter">false</boolProp>
  29782. <stringProp name="parameters"/>
  29783. <stringProp name="filename"/>
  29784. <stringProp name="script">
  29785. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  29786. if (adminUsersDistribution == 1) {
  29787. adminUserList = props.get("adminUserList");
  29788. adminUserList.add(vars.get("admin_user"));
  29789. }
  29790. </stringProp>
  29791. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  29792. <hashTree/>
  29793. </hashTree>
  29794. </hashTree>
  29795. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API" enabled="true">
  29796. <intProp name="ThroughputController.style">1</intProp>
  29797. <boolProp name="ThroughputController.perThread">false</boolProp>
  29798. <intProp name="ThroughputController.maxThroughput">1</intProp>
  29799. <stringProp name="ThroughputController.percentThroughput">${apiBasePercentage}</stringProp>
  29800. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  29801. <hashTree>
  29802. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  29803. <stringProp name="script">
  29804. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  29805. if (testLabel
  29806. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  29807. ) {
  29808. if (sampler.getName().indexOf(testLabel) == -1) {
  29809. sampler.setName(sampler.getName() + testLabel);
  29810. }
  29811. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  29812. sampler.setName("SetUp - " + sampler.getName());
  29813. }
  29814. </stringProp>
  29815. <stringProp name="scriptLanguage">javascript</stringProp>
  29816. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  29817. <hashTree/>
  29818. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  29819. <stringProp name="BeanShellSampler.query">
  29820. vars.put("testLabel", "API");
  29821. </stringProp>
  29822. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  29823. </BeanShellSampler>
  29824. <hashTree/>
  29825. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  29826. <collectionProp name="HeaderManager.headers">
  29827. <elementProp name="" elementType="Header">
  29828. <stringProp name="Header.name">Content-Type</stringProp>
  29829. <stringProp name="Header.value">application/json</stringProp>
  29830. </elementProp>
  29831. <elementProp name="" elementType="Header">
  29832. <stringProp name="Header.name">Accept</stringProp>
  29833. <stringProp name="Header.value">*/*</stringProp>
  29834. </elementProp>
  29835. </collectionProp>
  29836. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager_before_token.jmx</stringProp></HeaderManager>
  29837. <hashTree/>
  29838. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  29839. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  29840. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  29841. <collectionProp name="Arguments.arguments">
  29842. <elementProp name="" elementType="HTTPArgument">
  29843. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  29844. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  29845. <stringProp name="Argument.metadata">=</stringProp>
  29846. </elementProp>
  29847. </collectionProp>
  29848. </elementProp>
  29849. <stringProp name="HTTPSampler.domain"/>
  29850. <stringProp name="HTTPSampler.port"/>
  29851. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29852. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29853. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29854. <stringProp name="HTTPSampler.contentEncoding"/>
  29855. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  29856. <stringProp name="HTTPSampler.method">POST</stringProp>
  29857. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29858. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29859. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29860. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29861. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29862. <stringProp name="HTTPSampler.embedded_url_re"/>
  29863. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/admin_token_retrieval.jmx</stringProp></HTTPSamplerProxy>
  29864. <hashTree>
  29865. <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">
  29866. <stringProp name="VAR">admin_token</stringProp>
  29867. <stringProp name="JSONPATH">$</stringProp>
  29868. <stringProp name="DEFAULT"/>
  29869. <stringProp name="VARIABLE"/>
  29870. <stringProp name="SUBJECT">BODY</stringProp>
  29871. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  29872. <hashTree/>
  29873. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  29874. <collectionProp name="Asserion.test_strings">
  29875. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  29876. </collectionProp>
  29877. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  29878. <boolProp name="Assertion.assume_success">false</boolProp>
  29879. <intProp name="Assertion.test_type">1</intProp>
  29880. <stringProp name="Assertion.scope">variable</stringProp>
  29881. <stringProp name="Scope.variable">admin_token</stringProp>
  29882. </ResponseAssertion>
  29883. <hashTree/>
  29884. </hashTree>
  29885. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  29886. <collectionProp name="HeaderManager.headers">
  29887. <elementProp name="" elementType="Header">
  29888. <stringProp name="Header.name">Authorization</stringProp>
  29889. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  29890. </elementProp>
  29891. </collectionProp>
  29892. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager.jmx</stringProp></HeaderManager>
  29893. <hashTree/>
  29894. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Process Orders" enabled="true">
  29895. <intProp name="ThroughputController.style">1</intProp>
  29896. <boolProp name="ThroughputController.perThread">false</boolProp>
  29897. <intProp name="ThroughputController.maxThroughput">1</intProp>
  29898. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  29899. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  29900. <hashTree>
  29901. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  29902. <stringProp name="script">
  29903. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  29904. if (testLabel
  29905. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  29906. ) {
  29907. if (sampler.getName().indexOf(testLabel) == -1) {
  29908. sampler.setName(sampler.getName() + testLabel);
  29909. }
  29910. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  29911. sampler.setName("SetUp - " + sampler.getName());
  29912. }
  29913. </stringProp>
  29914. <stringProp name="scriptLanguage">javascript</stringProp>
  29915. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  29916. <hashTree/>
  29917. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  29918. <stringProp name="BeanShellSampler.query">
  29919. vars.put("testLabel", "API Process Orders");
  29920. </stringProp>
  29921. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  29922. </BeanShellSampler>
  29923. <hashTree/>
  29924. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  29925. <stringProp name="BeanShellSampler.query">// Each thread gets an equal number of orders, based on how many orders are available.
  29926. int apiProcessOrders = Integer.parseInt("${apiProcessOrders}");
  29927. if (apiProcessOrders &gt; 0) {
  29928. ordersPerThread = apiProcessOrders;
  29929. } else {
  29930. ordersPerThread = 1;
  29931. }
  29932. threadNum = ${__threadNum};
  29933. vars.put("ordersPerThread", String.valueOf(ordersPerThread));
  29934. vars.put("threadNum", String.valueOf(threadNum));
  29935. </stringProp>
  29936. <stringProp name="BeanShellSampler.filename"/>
  29937. <stringProp name="BeanShellSampler.parameters"/>
  29938. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  29939. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/process_orders/setup.jmx</stringProp></BeanShellSampler>
  29940. <hashTree/>
  29941. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Orders" enabled="true">
  29942. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  29943. <collectionProp name="Arguments.arguments">
  29944. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  29945. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29946. <stringProp name="Argument.value">status</stringProp>
  29947. <stringProp name="Argument.metadata">=</stringProp>
  29948. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29949. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  29950. </elementProp>
  29951. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  29952. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29953. <stringProp name="Argument.value">Pending</stringProp>
  29954. <stringProp name="Argument.metadata">=</stringProp>
  29955. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29956. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  29957. </elementProp>
  29958. <elementProp name="searchCriteria[pageSize]" elementType="HTTPArgument">
  29959. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29960. <stringProp name="Argument.value">${ordersPerThread}</stringProp>
  29961. <stringProp name="Argument.metadata">=</stringProp>
  29962. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29963. <stringProp name="Argument.name">searchCriteria[pageSize]</stringProp>
  29964. </elementProp>
  29965. <elementProp name="searchCriteria[current_page]" elementType="HTTPArgument">
  29966. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  29967. <stringProp name="Argument.value">${threadNum}</stringProp>
  29968. <stringProp name="Argument.metadata">=</stringProp>
  29969. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  29970. <stringProp name="Argument.name">searchCriteria[current_page]</stringProp>
  29971. </elementProp>
  29972. </collectionProp>
  29973. </elementProp>
  29974. <stringProp name="HTTPSampler.domain"/>
  29975. <stringProp name="HTTPSampler.port"/>
  29976. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  29977. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  29978. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  29979. <stringProp name="HTTPSampler.contentEncoding"/>
  29980. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/orders</stringProp>
  29981. <stringProp name="HTTPSampler.method">GET</stringProp>
  29982. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  29983. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  29984. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  29985. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  29986. <boolProp name="HTTPSampler.monitor">false</boolProp>
  29987. <stringProp name="HTTPSampler.embedded_url_re"/>
  29988. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/process_orders/get_orders.jmx</stringProp></HTTPSamplerProxy>
  29989. <hashTree>
  29990. <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 entity ids" enabled="true">
  29991. <stringProp name="VAR">entity_ids</stringProp>
  29992. <stringProp name="JSONPATH">$.items[*].entity_id</stringProp>
  29993. <stringProp name="DEFAULT"/>
  29994. <stringProp name="VARIABLE"/>
  29995. <stringProp name="SUBJECT">BODY</stringProp>
  29996. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  29997. <hashTree/>
  29998. </hashTree>
  29999. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach Order" enabled="true">
  30000. <stringProp name="ForeachController.inputVal">entity_ids</stringProp>
  30001. <stringProp name="ForeachController.returnVal">order_id</stringProp>
  30002. <boolProp name="ForeachController.useSeparator">true</boolProp>
  30003. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/process_orders/for_each_order.jmx</stringProp></ForeachController>
  30004. <hashTree>
  30005. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Invoice" enabled="true">
  30006. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30007. <collectionProp name="Arguments.arguments"/>
  30008. </elementProp>
  30009. <stringProp name="HTTPSampler.domain"/>
  30010. <stringProp name="HTTPSampler.port"/>
  30011. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30012. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30013. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30014. <stringProp name="HTTPSampler.contentEncoding"/>
  30015. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/order/${order_id}/invoice</stringProp>
  30016. <stringProp name="HTTPSampler.method">POST</stringProp>
  30017. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30018. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30019. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30020. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30021. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30022. <stringProp name="HTTPSampler.embedded_url_re"/>
  30023. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/process_orders/create_invoice.jmx</stringProp></HTTPSamplerProxy>
  30024. <hashTree>
  30025. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  30026. <collectionProp name="Asserion.test_strings">
  30027. <stringProp name="34237953">"\d+"</stringProp>
  30028. </collectionProp>
  30029. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30030. <boolProp name="Assertion.assume_success">false</boolProp>
  30031. <intProp name="Assertion.test_type">2</intProp>
  30032. </ResponseAssertion>
  30033. <hashTree/>
  30034. </hashTree>
  30035. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Shipment" enabled="true">
  30036. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30037. <collectionProp name="Arguments.arguments"/>
  30038. </elementProp>
  30039. <stringProp name="HTTPSampler.domain"/>
  30040. <stringProp name="HTTPSampler.port"/>
  30041. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30042. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30043. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30044. <stringProp name="HTTPSampler.contentEncoding"/>
  30045. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/order/${order_id}/ship</stringProp>
  30046. <stringProp name="HTTPSampler.method">POST</stringProp>
  30047. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30048. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30049. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30050. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30051. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30052. <stringProp name="HTTPSampler.embedded_url_re"/>
  30053. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/process_orders/create_shipment.jmx</stringProp></HTTPSamplerProxy>
  30054. <hashTree>
  30055. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  30056. <collectionProp name="Asserion.test_strings">
  30057. <stringProp name="34237953">"\d+"</stringProp>
  30058. </collectionProp>
  30059. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30060. <boolProp name="Assertion.assume_success">false</boolProp>
  30061. <intProp name="Assertion.test_type">2</intProp>
  30062. </ResponseAssertion>
  30063. <hashTree/>
  30064. </hashTree>
  30065. </hashTree>
  30066. </hashTree>
  30067. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="API Product Attribute Management" enabled="true">
  30068. <intProp name="ThroughputController.style">1</intProp>
  30069. <boolProp name="ThroughputController.perThread">false</boolProp>
  30070. <intProp name="ThroughputController.maxThroughput">1</intProp>
  30071. <stringProp name="ThroughputController.percentThroughput">100</stringProp>
  30072. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  30073. <hashTree>
  30074. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  30075. <stringProp name="script">
  30076. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  30077. if (testLabel
  30078. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  30079. ) {
  30080. if (sampler.getName().indexOf(testLabel) == -1) {
  30081. sampler.setName(sampler.getName() + testLabel);
  30082. }
  30083. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  30084. sampler.setName("SetUp - " + sampler.getName());
  30085. }
  30086. </stringProp>
  30087. <stringProp name="scriptLanguage">javascript</stringProp>
  30088. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  30089. <hashTree/>
  30090. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  30091. <stringProp name="BeanShellSampler.query">
  30092. vars.put("testLabel", "API Product Attribute Management");
  30093. </stringProp>
  30094. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  30095. </BeanShellSampler>
  30096. <hashTree/>
  30097. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create attribute set" enabled="true">
  30098. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  30099. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  30100. <collectionProp name="Arguments.arguments">
  30101. <elementProp name="" elementType="HTTPArgument">
  30102. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  30103. <stringProp name="Argument.value">{&#xD;
  30104. "attributeSet": {&#xD;
  30105. "attribute_set_name": "new_attribute_set_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  30106. "sort_order": 500&#xD;
  30107. },&#xD;
  30108. "skeletonId": "4"&#xD;
  30109. }</stringProp>
  30110. <stringProp name="Argument.metadata">=</stringProp>
  30111. </elementProp>
  30112. </collectionProp>
  30113. </elementProp>
  30114. <stringProp name="HTTPSampler.domain"/>
  30115. <stringProp name="HTTPSampler.port"/>
  30116. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30117. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30118. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30119. <stringProp name="HTTPSampler.contentEncoding"/>
  30120. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attribute-sets/</stringProp>
  30121. <stringProp name="HTTPSampler.method">POST</stringProp>
  30122. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30123. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30124. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30125. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30126. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30127. <stringProp name="HTTPSampler.embedded_url_re"/>
  30128. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_attribute_set.jmx</stringProp></HTTPSamplerProxy>
  30129. <hashTree>
  30130. <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 attribute_set_id" enabled="true">
  30131. <stringProp name="VAR">attribute_set_id</stringProp>
  30132. <stringProp name="JSONPATH">$.attribute_set_id</stringProp>
  30133. <stringProp name="DEFAULT"/>
  30134. <stringProp name="VARIABLE"/>
  30135. <stringProp name="SUBJECT">BODY</stringProp>
  30136. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  30137. <hashTree/>
  30138. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert attribute_set_id not null" enabled="true">
  30139. <collectionProp name="Asserion.test_strings">
  30140. <stringProp name="89649215">^\d+$</stringProp>
  30141. </collectionProp>
  30142. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30143. <boolProp name="Assertion.assume_success">false</boolProp>
  30144. <intProp name="Assertion.test_type">1</intProp>
  30145. <stringProp name="Assertion.scope">variable</stringProp>
  30146. <stringProp name="Scope.variable">attribute_set_id</stringProp>
  30147. </ResponseAssertion>
  30148. <hashTree/>
  30149. </hashTree>
  30150. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create attribute group" enabled="true">
  30151. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  30152. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  30153. <collectionProp name="Arguments.arguments">
  30154. <elementProp name="" elementType="HTTPArgument">
  30155. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  30156. <stringProp name="Argument.value">{&#xD;
  30157. "group": {&#xD;
  30158. "attribute_group_name": "empty_attribute_group_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  30159. "attribute_set_id": ${attribute_set_id}&#xD;
  30160. }&#xD;
  30161. }</stringProp>
  30162. <stringProp name="Argument.metadata">=</stringProp>
  30163. </elementProp>
  30164. </collectionProp>
  30165. </elementProp>
  30166. <stringProp name="HTTPSampler.domain"/>
  30167. <stringProp name="HTTPSampler.port"/>
  30168. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30169. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30170. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30171. <stringProp name="HTTPSampler.contentEncoding"/>
  30172. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attribute-sets/groups</stringProp>
  30173. <stringProp name="HTTPSampler.method">POST</stringProp>
  30174. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30175. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30176. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30177. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30178. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30179. <stringProp name="HTTPSampler.embedded_url_re"/>
  30180. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_attribute_group.jmx</stringProp></HTTPSamplerProxy>
  30181. <hashTree>
  30182. <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 attribute_group_id" enabled="true">
  30183. <stringProp name="VAR">attribute_group_id</stringProp>
  30184. <stringProp name="JSONPATH">$.attribute_group_id</stringProp>
  30185. <stringProp name="DEFAULT"/>
  30186. <stringProp name="VARIABLE"/>
  30187. <stringProp name="SUBJECT">BODY</stringProp>
  30188. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  30189. <hashTree/>
  30190. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert attribute_group_id not null" enabled="true">
  30191. <collectionProp name="Asserion.test_strings">
  30192. <stringProp name="89649215">^\d+$</stringProp>
  30193. </collectionProp>
  30194. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30195. <boolProp name="Assertion.assume_success">false</boolProp>
  30196. <intProp name="Assertion.test_type">1</intProp>
  30197. <stringProp name="Assertion.scope">variable</stringProp>
  30198. <stringProp name="Scope.variable">attribute_set_id</stringProp>
  30199. </ResponseAssertion>
  30200. <hashTree/>
  30201. </hashTree>
  30202. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create attribute" enabled="true">
  30203. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  30204. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  30205. <collectionProp name="Arguments.arguments">
  30206. <elementProp name="" elementType="HTTPArgument">
  30207. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  30208. <stringProp name="Argument.value">{&#xD;
  30209. "attribute": {&#xD;
  30210. "attribute_code": "attr_code_${__time()}",&#xD;
  30211. "frontend_labels": [&#xD;
  30212. {&#xD;
  30213. "store_id": 0,&#xD;
  30214. "label": "front_lbl_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}"&#xD;
  30215. }&#xD;
  30216. ],&#xD;
  30217. "default_value": "default value",&#xD;
  30218. "frontend_input": "textarea",&#xD;
  30219. "is_required": 1&#xD;
  30220. }&#xD;
  30221. }</stringProp>
  30222. <stringProp name="Argument.metadata">=</stringProp>
  30223. </elementProp>
  30224. </collectionProp>
  30225. </elementProp>
  30226. <stringProp name="HTTPSampler.domain"/>
  30227. <stringProp name="HTTPSampler.port"/>
  30228. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30229. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30230. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30231. <stringProp name="HTTPSampler.contentEncoding"/>
  30232. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes/</stringProp>
  30233. <stringProp name="HTTPSampler.method">POST</stringProp>
  30234. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30235. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30236. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30237. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30238. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30239. <stringProp name="HTTPSampler.embedded_url_re"/>
  30240. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_attribute.jmx</stringProp></HTTPSamplerProxy>
  30241. <hashTree>
  30242. <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 attribute_id" enabled="true">
  30243. <stringProp name="VAR">attribute_id</stringProp>
  30244. <stringProp name="JSONPATH">$.attribute_id</stringProp>
  30245. <stringProp name="DEFAULT"/>
  30246. <stringProp name="VARIABLE"/>
  30247. <stringProp name="SUBJECT">BODY</stringProp>
  30248. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  30249. <hashTree/>
  30250. <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 attribute_code" enabled="true">
  30251. <stringProp name="VAR">attribute_code</stringProp>
  30252. <stringProp name="JSONPATH">$.attribute_code</stringProp>
  30253. <stringProp name="DEFAULT"/>
  30254. <stringProp name="VARIABLE"/>
  30255. <stringProp name="SUBJECT">BODY</stringProp>
  30256. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  30257. <hashTree/>
  30258. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert attribute_id not null" enabled="true">
  30259. <collectionProp name="Asserion.test_strings">
  30260. <stringProp name="89649215">^\d+$</stringProp>
  30261. </collectionProp>
  30262. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30263. <boolProp name="Assertion.assume_success">false</boolProp>
  30264. <intProp name="Assertion.test_type">1</intProp>
  30265. <stringProp name="Assertion.scope">variable</stringProp>
  30266. <stringProp name="Scope.variable">attribute_id</stringProp>
  30267. </ResponseAssertion>
  30268. <hashTree/>
  30269. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert attribute_code not null" enabled="true">
  30270. <collectionProp name="Asserion.test_strings">
  30271. <stringProp name="2131456825">^[a-z0-9-_]+$</stringProp>
  30272. </collectionProp>
  30273. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30274. <boolProp name="Assertion.assume_success">false</boolProp>
  30275. <intProp name="Assertion.test_type">1</intProp>
  30276. <stringProp name="Assertion.scope">variable</stringProp>
  30277. <stringProp name="Scope.variable">attribute_code</stringProp>
  30278. </ResponseAssertion>
  30279. <hashTree/>
  30280. </hashTree>
  30281. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Add attribute to attribute set" enabled="true">
  30282. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  30283. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  30284. <collectionProp name="Arguments.arguments">
  30285. <elementProp name="" elementType="HTTPArgument">
  30286. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  30287. <stringProp name="Argument.value">{&#xD;
  30288. "attributeSetId": "${attribute_set_id}",&#xD;
  30289. "attributeGroupId": "${attribute_group_id}",&#xD;
  30290. "attributeCode": "${attribute_code}",&#xD;
  30291. "sortOrder": 3&#xD;
  30292. }</stringProp>
  30293. <stringProp name="Argument.metadata">=</stringProp>
  30294. </elementProp>
  30295. </collectionProp>
  30296. </elementProp>
  30297. <stringProp name="HTTPSampler.domain"/>
  30298. <stringProp name="HTTPSampler.port"/>
  30299. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30300. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30301. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30302. <stringProp name="HTTPSampler.contentEncoding"/>
  30303. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attribute-sets/attributes</stringProp>
  30304. <stringProp name="HTTPSampler.method">POST</stringProp>
  30305. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30306. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30307. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30308. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30309. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30310. <stringProp name="HTTPSampler.embedded_url_re"/>
  30311. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/add_attribute_to_attribute_set.jmx</stringProp></HTTPSamplerProxy>
  30312. <hashTree>
  30313. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert response is not null" enabled="true">
  30314. <stringProp name="JSON_PATH">$</stringProp>
  30315. <stringProp name="EXPECTED_VALUE">(\d+)</stringProp>
  30316. <boolProp name="JSONVALIDATION">true</boolProp>
  30317. <boolProp name="EXPECT_NULL">false</boolProp>
  30318. <boolProp name="INVERT">false</boolProp>
  30319. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  30320. <hashTree/>
  30321. </hashTree>
  30322. </hashTree>
  30323. </hashTree>
  30324. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Category Management" enabled="true">
  30325. <intProp name="ThroughputController.style">1</intProp>
  30326. <boolProp name="ThroughputController.perThread">false</boolProp>
  30327. <intProp name="ThroughputController.maxThroughput">1</intProp>
  30328. <stringProp name="ThroughputController.percentThroughput">${adminCategoryManagementPercentage}</stringProp>
  30329. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  30330. <hashTree>
  30331. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  30332. <stringProp name="script">
  30333. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  30334. if (testLabel
  30335. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  30336. ) {
  30337. if (sampler.getName().indexOf(testLabel) == -1) {
  30338. sampler.setName(sampler.getName() + testLabel);
  30339. }
  30340. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  30341. sampler.setName("SetUp - " + sampler.getName());
  30342. }
  30343. </stringProp>
  30344. <stringProp name="scriptLanguage">javascript</stringProp>
  30345. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  30346. <hashTree/>
  30347. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  30348. <stringProp name="BeanShellSampler.query">
  30349. vars.put("testLabel", "Admin Category Management");
  30350. </stringProp>
  30351. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  30352. </BeanShellSampler>
  30353. <hashTree/>
  30354. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  30355. <stringProp name="script">
  30356. function getFormKeyFromResponse()
  30357. {
  30358. var url = prev.getUrlAsString(),
  30359. responseCode = prev.getResponseCode(),
  30360. formKey = null;
  30361. searchPattern = /var FORM_KEY = '(.+)'/;
  30362. if (responseCode == "200" &amp;&amp; url) {
  30363. response = prev.getResponseDataAsString();
  30364. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  30365. }
  30366. return formKey;
  30367. }
  30368. formKey = vars.get("form_key_storage");
  30369. currentFormKey = getFormKeyFromResponse();
  30370. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  30371. vars.put("form_key_storage", currentFormKey);
  30372. }
  30373. </stringProp>
  30374. <stringProp name="scriptLanguage">javascript</stringProp>
  30375. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  30376. <hashTree/>
  30377. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  30378. <stringProp name="script">
  30379. formKey = vars.get("form_key_storage");
  30380. if (formKey
  30381. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  30382. &amp;&amp; sampler.getMethod() == "POST")
  30383. {
  30384. arguments = sampler.getArguments();
  30385. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  30386. {
  30387. argument = arguments.getArgument(i);
  30388. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  30389. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  30390. argument.setValue(formKey);
  30391. }
  30392. }
  30393. }
  30394. </stringProp>
  30395. <stringProp name="scriptLanguage">javascript</stringProp>
  30396. </JSR223PreProcessor>
  30397. <hashTree/>
  30398. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  30399. <collectionProp name="CookieManager.cookies"/>
  30400. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  30401. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  30402. <hashTree/>
  30403. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  30404. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  30405. </GenericController>
  30406. <hashTree>
  30407. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  30408. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  30409. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  30410. <hashTree>
  30411. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  30412. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  30413. <stringProp name="BeanShellSampler.query">
  30414. adminUserList = props.get("adminUserList");
  30415. adminUserListIterator = props.get("adminUserListIterator");
  30416. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  30417. if (adminUsersDistribution == 1) {
  30418. adminUser = adminUserList.poll();
  30419. } else {
  30420. if (!adminUserListIterator.hasNext()) {
  30421. adminUserListIterator = adminUserList.descendingIterator();
  30422. }
  30423. adminUser = adminUserListIterator.next();
  30424. }
  30425. if (adminUser == null) {
  30426. SampleResult.setResponseMessage("adminUser list is empty");
  30427. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  30428. IsSuccess=false;
  30429. SampleResult.setSuccessful(false);
  30430. SampleResult.setStopThread(true);
  30431. }
  30432. vars.put("admin_user", adminUser);
  30433. </stringProp>
  30434. <stringProp name="BeanShellSampler.filename"/>
  30435. <stringProp name="BeanShellSampler.parameters"/>
  30436. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  30437. </BeanShellSampler>
  30438. <hashTree/>
  30439. </hashTree>
  30440. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  30441. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30442. <collectionProp name="Arguments.arguments"/>
  30443. </elementProp>
  30444. <stringProp name="HTTPSampler.domain"/>
  30445. <stringProp name="HTTPSampler.port"/>
  30446. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30447. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30448. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30449. <stringProp name="HTTPSampler.contentEncoding"/>
  30450. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  30451. <stringProp name="HTTPSampler.method">GET</stringProp>
  30452. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30453. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30454. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30455. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30456. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30457. <stringProp name="HTTPSampler.embedded_url_re"/>
  30458. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  30459. <hashTree>
  30460. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  30461. <collectionProp name="Asserion.test_strings">
  30462. <stringProp name="-1397214398">Welcome</stringProp>
  30463. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  30464. </collectionProp>
  30465. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30466. <boolProp name="Assertion.assume_success">false</boolProp>
  30467. <intProp name="Assertion.test_type">2</intProp>
  30468. </ResponseAssertion>
  30469. <hashTree/>
  30470. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  30471. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  30472. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  30473. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  30474. <stringProp name="RegexExtractor.template">$1$</stringProp>
  30475. <stringProp name="RegexExtractor.default"/>
  30476. <stringProp name="RegexExtractor.match_number">1</stringProp>
  30477. </RegexExtractor>
  30478. <hashTree/>
  30479. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  30480. <collectionProp name="Asserion.test_strings">
  30481. <stringProp name="2845929">^.+$</stringProp>
  30482. </collectionProp>
  30483. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30484. <boolProp name="Assertion.assume_success">false</boolProp>
  30485. <intProp name="Assertion.test_type">1</intProp>
  30486. <stringProp name="Assertion.scope">variable</stringProp>
  30487. <stringProp name="Scope.variable">admin_form_key</stringProp>
  30488. </ResponseAssertion>
  30489. <hashTree/>
  30490. </hashTree>
  30491. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  30492. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30493. <collectionProp name="Arguments.arguments">
  30494. <elementProp name="dummy" elementType="HTTPArgument">
  30495. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30496. <stringProp name="Argument.value"/>
  30497. <stringProp name="Argument.metadata">=</stringProp>
  30498. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30499. <stringProp name="Argument.name">dummy</stringProp>
  30500. </elementProp>
  30501. <elementProp name="form_key" elementType="HTTPArgument">
  30502. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30503. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  30504. <stringProp name="Argument.metadata">=</stringProp>
  30505. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30506. <stringProp name="Argument.name">form_key</stringProp>
  30507. </elementProp>
  30508. <elementProp name="login[password]" elementType="HTTPArgument">
  30509. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30510. <stringProp name="Argument.value">${admin_password}</stringProp>
  30511. <stringProp name="Argument.metadata">=</stringProp>
  30512. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30513. <stringProp name="Argument.name">login[password]</stringProp>
  30514. </elementProp>
  30515. <elementProp name="login[username]" elementType="HTTPArgument">
  30516. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30517. <stringProp name="Argument.value">${admin_user}</stringProp>
  30518. <stringProp name="Argument.metadata">=</stringProp>
  30519. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30520. <stringProp name="Argument.name">login[username]</stringProp>
  30521. </elementProp>
  30522. </collectionProp>
  30523. </elementProp>
  30524. <stringProp name="HTTPSampler.domain"/>
  30525. <stringProp name="HTTPSampler.port"/>
  30526. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30527. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30528. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30529. <stringProp name="HTTPSampler.contentEncoding"/>
  30530. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  30531. <stringProp name="HTTPSampler.method">POST</stringProp>
  30532. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30533. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30534. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30535. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30536. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  30537. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30538. <stringProp name="HTTPSampler.embedded_url_re"/>
  30539. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  30540. </HTTPSamplerProxy>
  30541. <hashTree>
  30542. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  30543. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  30544. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  30545. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  30546. <stringProp name="RegexExtractor.template">$1$</stringProp>
  30547. <stringProp name="RegexExtractor.default"/>
  30548. <stringProp name="RegexExtractor.match_number">1</stringProp>
  30549. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  30550. <hashTree/>
  30551. </hashTree>
  30552. </hashTree>
  30553. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  30554. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  30555. </GenericController>
  30556. <hashTree>
  30557. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Category Management" enabled="true">
  30558. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_category_management/admin_category_management.jmx</stringProp>
  30559. </TestFragmentController>
  30560. <hashTree>
  30561. <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="SetUp - Set Arguments" enabled="true">
  30562. <stringProp name="scriptLanguage">javascript</stringProp>
  30563. <stringProp name="parameters"/>
  30564. <stringProp name="filename"/>
  30565. <stringProp name="cacheKey"/>
  30566. <stringProp name="script">random = new java.util.Random();
  30567. if (${seedForRandom} &gt; 0) {
  30568. random.setSeed(${seedForRandom} + ${__threadNum});
  30569. }
  30570. /**
  30571. * Get unique ids for fix concurrent category saving
  30572. */
  30573. function getNextProductNumber(i) {
  30574. number = productsVariationsSize * ${__threadNum} - i;
  30575. if (number &gt;= productsSize) {
  30576. log.info("${testLabel}: capacity of product list is not enough for support all ${adminPoolUsers} threads");
  30577. return random.nextInt(productsSize);
  30578. }
  30579. return productsVariationsSize * ${__threadNum} - i;
  30580. }
  30581. var productsVariationsSize = 5,
  30582. productsSize = props.get("simple_products_list_for_edit").size();
  30583. for (i = 1; i&lt;= productsVariationsSize; i++) {
  30584. var productVariablePrefix = "simple_product_" + i + "_";
  30585. number = getNextProductNumber(i);
  30586. simpleList = props.get("simple_products_list_for_edit").get(number);
  30587. vars.put(productVariablePrefix + "url_key", simpleList.get("url_key"));
  30588. vars.put(productVariablePrefix + "id", simpleList.get("id"));
  30589. vars.put(productVariablePrefix + "name", simpleList.get("title"));
  30590. }
  30591. categoryIndex = random.nextInt(props.get("admin_category_ids_list").size());
  30592. vars.put("parent_category_id", props.get("admin_category_ids_list").get(categoryIndex));
  30593. do {
  30594. categoryIndexNew = random.nextInt(props.get("admin_category_ids_list").size());
  30595. } while(categoryIndex == categoryIndexNew);
  30596. vars.put("new_parent_category_id", props.get("admin_category_ids_list").get(categoryIndexNew));</stringProp>
  30597. </JSR223Sampler>
  30598. <hashTree/>
  30599. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Landing Page" enabled="true">
  30600. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30601. <collectionProp name="Arguments.arguments"/>
  30602. </elementProp>
  30603. <stringProp name="HTTPSampler.domain"/>
  30604. <stringProp name="HTTPSampler.port"/>
  30605. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30606. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30607. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30608. <stringProp name="HTTPSampler.contentEncoding"/>
  30609. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/</stringProp>
  30610. <stringProp name="HTTPSampler.method">GET</stringProp>
  30611. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30612. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30613. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30614. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30615. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30616. <stringProp name="HTTPSampler.embedded_url_re"/>
  30617. </HTTPSamplerProxy>
  30618. <hashTree>
  30619. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  30620. <collectionProp name="HeaderManager.headers">
  30621. <elementProp name="Accept-Language" elementType="Header">
  30622. <stringProp name="Header.name">Accept-Language</stringProp>
  30623. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  30624. </elementProp>
  30625. <elementProp name="Accept" elementType="Header">
  30626. <stringProp name="Header.name">Accept</stringProp>
  30627. <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  30628. </elementProp>
  30629. <elementProp name="User-Agent" elementType="Header">
  30630. <stringProp name="Header.name">User-Agent</stringProp>
  30631. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  30632. </elementProp>
  30633. <elementProp name="Accept-Encoding" elementType="Header">
  30634. <stringProp name="Header.name">Accept-Encoding</stringProp>
  30635. <stringProp name="Header.value">gzip, deflate</stringProp>
  30636. </elementProp>
  30637. </collectionProp>
  30638. </HeaderManager>
  30639. <hashTree/>
  30640. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  30641. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  30642. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  30643. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  30644. <stringProp name="RegexExtractor.template">$1$</stringProp>
  30645. <stringProp name="RegexExtractor.default"/>
  30646. <stringProp name="RegexExtractor.match_number">1</stringProp>
  30647. </RegexExtractor>
  30648. <hashTree/>
  30649. </hashTree>
  30650. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Select parent category" enabled="true">
  30651. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30652. <collectionProp name="Arguments.arguments"/>
  30653. </elementProp>
  30654. <stringProp name="HTTPSampler.domain"/>
  30655. <stringProp name="HTTPSampler.port"/>
  30656. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30657. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30658. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30659. <stringProp name="HTTPSampler.contentEncoding"/>
  30660. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/edit/id/${parent_category_id}/</stringProp>
  30661. <stringProp name="HTTPSampler.method">GET</stringProp>
  30662. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30663. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30664. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30665. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30666. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30667. <stringProp name="HTTPSampler.embedded_url_re"/>
  30668. </HTTPSamplerProxy>
  30669. <hashTree>
  30670. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  30671. <collectionProp name="HeaderManager.headers">
  30672. <elementProp name="Accept-Language" elementType="Header">
  30673. <stringProp name="Header.name">Accept-Language</stringProp>
  30674. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  30675. </elementProp>
  30676. <elementProp name="Accept" elementType="Header">
  30677. <stringProp name="Header.name">Accept</stringProp>
  30678. <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  30679. </elementProp>
  30680. <elementProp name="User-Agent" elementType="Header">
  30681. <stringProp name="Header.name">User-Agent</stringProp>
  30682. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  30683. </elementProp>
  30684. <elementProp name="Accept-Encoding" elementType="Header">
  30685. <stringProp name="Header.name">Accept-Encoding</stringProp>
  30686. <stringProp name="Header.value">gzip, deflate</stringProp>
  30687. </elementProp>
  30688. </collectionProp>
  30689. </HeaderManager>
  30690. <hashTree/>
  30691. </hashTree>
  30692. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open new category page" enabled="true">
  30693. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30694. <collectionProp name="Arguments.arguments"/>
  30695. </elementProp>
  30696. <stringProp name="HTTPSampler.domain"/>
  30697. <stringProp name="HTTPSampler.port"/>
  30698. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30699. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30700. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30701. <stringProp name="HTTPSampler.contentEncoding"/>
  30702. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/add/store/0/parent/${parent_category_id}</stringProp>
  30703. <stringProp name="HTTPSampler.method">GET</stringProp>
  30704. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30705. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30706. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30707. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30708. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30709. <stringProp name="HTTPSampler.embedded_url_re"/>
  30710. </HTTPSamplerProxy>
  30711. <hashTree>
  30712. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  30713. <collectionProp name="Asserion.test_strings">
  30714. <stringProp name="-1903925024">&lt;title&gt;New Category</stringProp>
  30715. </collectionProp>
  30716. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30717. <boolProp name="Assertion.assume_success">false</boolProp>
  30718. <intProp name="Assertion.test_type">2</intProp>
  30719. </ResponseAssertion>
  30720. <hashTree/>
  30721. </hashTree>
  30722. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create category" enabled="true">
  30723. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30724. <collectionProp name="Arguments.arguments">
  30725. <elementProp name="id" elementType="HTTPArgument">
  30726. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30727. <stringProp name="Argument.value"/>
  30728. <stringProp name="Argument.metadata">=</stringProp>
  30729. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30730. <stringProp name="Argument.name">id</stringProp>
  30731. </elementProp>
  30732. <elementProp name="parent" elementType="HTTPArgument">
  30733. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30734. <stringProp name="Argument.value">${parent_category_id}</stringProp>
  30735. <stringProp name="Argument.metadata">=</stringProp>
  30736. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30737. <stringProp name="Argument.name">parent</stringProp>
  30738. </elementProp>
  30739. <elementProp name="path" elementType="HTTPArgument">
  30740. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30741. <stringProp name="Argument.value"/>
  30742. <stringProp name="Argument.metadata">=</stringProp>
  30743. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30744. <stringProp name="Argument.name">path</stringProp>
  30745. </elementProp>
  30746. <elementProp name="store_id" elementType="HTTPArgument">
  30747. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30748. <stringProp name="Argument.value"/>
  30749. <stringProp name="Argument.metadata">=</stringProp>
  30750. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30751. <stringProp name="Argument.name">store_id</stringProp>
  30752. </elementProp>
  30753. <elementProp name="is_active" elementType="HTTPArgument">
  30754. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30755. <stringProp name="Argument.value">0</stringProp>
  30756. <stringProp name="Argument.metadata">=</stringProp>
  30757. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30758. <stringProp name="Argument.name">is_active</stringProp>
  30759. </elementProp>
  30760. <elementProp name="include_in_menu" elementType="HTTPArgument">
  30761. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30762. <stringProp name="Argument.value">0</stringProp>
  30763. <stringProp name="Argument.metadata">=</stringProp>
  30764. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30765. <stringProp name="Argument.name">include_in_menu</stringProp>
  30766. </elementProp>
  30767. <elementProp name="is_anchor" elementType="HTTPArgument">
  30768. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30769. <stringProp name="Argument.value">1</stringProp>
  30770. <stringProp name="Argument.metadata">=</stringProp>
  30771. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30772. <stringProp name="Argument.name">is_anchor</stringProp>
  30773. </elementProp>
  30774. <elementProp name="use_config[available_sort_by]" elementType="HTTPArgument">
  30775. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30776. <stringProp name="Argument.value">true</stringProp>
  30777. <stringProp name="Argument.metadata">=</stringProp>
  30778. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30779. <stringProp name="Argument.name">use_config[available_sort_by]</stringProp>
  30780. </elementProp>
  30781. <elementProp name="use_config[default_sort_by]" elementType="HTTPArgument">
  30782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30783. <stringProp name="Argument.value">true</stringProp>
  30784. <stringProp name="Argument.metadata">=</stringProp>
  30785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30786. <stringProp name="Argument.name">use_config[default_sort_by]</stringProp>
  30787. </elementProp>
  30788. <elementProp name="use_config[filter_price_range]" elementType="HTTPArgument">
  30789. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30790. <stringProp name="Argument.value">true</stringProp>
  30791. <stringProp name="Argument.metadata">=</stringProp>
  30792. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30793. <stringProp name="Argument.name">use_config[filter_price_range]</stringProp>
  30794. </elementProp>
  30795. <elementProp name="use_default[url_key]" elementType="HTTPArgument">
  30796. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30797. <stringProp name="Argument.value">false</stringProp>
  30798. <stringProp name="Argument.metadata">=</stringProp>
  30799. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30800. <stringProp name="Argument.name">use_default[url_key]</stringProp>
  30801. </elementProp>
  30802. <elementProp name="url_key_create_redirect" elementType="HTTPArgument">
  30803. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30804. <stringProp name="Argument.value">0</stringProp>
  30805. <stringProp name="Argument.metadata">=</stringProp>
  30806. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30807. <stringProp name="Argument.name">url_key_create_redirect</stringProp>
  30808. </elementProp>
  30809. <elementProp name="custom_use_parent_settings" elementType="HTTPArgument">
  30810. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30811. <stringProp name="Argument.value">0</stringProp>
  30812. <stringProp name="Argument.metadata">=</stringProp>
  30813. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30814. <stringProp name="Argument.name">custom_use_parent_settings</stringProp>
  30815. </elementProp>
  30816. <elementProp name="custom_apply_to_products" elementType="HTTPArgument">
  30817. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30818. <stringProp name="Argument.value">0</stringProp>
  30819. <stringProp name="Argument.metadata">=</stringProp>
  30820. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30821. <stringProp name="Argument.name">custom_apply_to_products</stringProp>
  30822. </elementProp>
  30823. <elementProp name="name" elementType="HTTPArgument">
  30824. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30825. <stringProp name="Argument.value">Admin Category Management ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  30826. <stringProp name="Argument.metadata">=</stringProp>
  30827. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30828. <stringProp name="Argument.name">name</stringProp>
  30829. </elementProp>
  30830. <elementProp name="url_key" elementType="HTTPArgument">
  30831. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30832. <stringProp name="Argument.value">admin-category-management-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  30833. <stringProp name="Argument.metadata">=</stringProp>
  30834. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30835. <stringProp name="Argument.name">url_key</stringProp>
  30836. </elementProp>
  30837. <elementProp name="meta_title" elementType="HTTPArgument">
  30838. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30839. <stringProp name="Argument.value"/>
  30840. <stringProp name="Argument.metadata">=</stringProp>
  30841. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30842. <stringProp name="Argument.name">meta_title</stringProp>
  30843. </elementProp>
  30844. <elementProp name="description" elementType="HTTPArgument">
  30845. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30846. <stringProp name="Argument.value"/>
  30847. <stringProp name="Argument.metadata">=</stringProp>
  30848. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30849. <stringProp name="Argument.name">description</stringProp>
  30850. </elementProp>
  30851. <elementProp name="display_mode" elementType="HTTPArgument">
  30852. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30853. <stringProp name="Argument.value">PRODUCTS</stringProp>
  30854. <stringProp name="Argument.metadata">=</stringProp>
  30855. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30856. <stringProp name="Argument.name">display_mode</stringProp>
  30857. </elementProp>
  30858. <elementProp name="default_sort_by" elementType="HTTPArgument">
  30859. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30860. <stringProp name="Argument.value">position</stringProp>
  30861. <stringProp name="Argument.metadata">=</stringProp>
  30862. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30863. <stringProp name="Argument.name">default_sort_by</stringProp>
  30864. </elementProp>
  30865. <elementProp name="meta_keywords" elementType="HTTPArgument">
  30866. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30867. <stringProp name="Argument.value"/>
  30868. <stringProp name="Argument.metadata">=</stringProp>
  30869. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30870. <stringProp name="Argument.name">meta_keywords</stringProp>
  30871. </elementProp>
  30872. <elementProp name="meta_description" elementType="HTTPArgument">
  30873. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30874. <stringProp name="Argument.value"/>
  30875. <stringProp name="Argument.metadata">=</stringProp>
  30876. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30877. <stringProp name="Argument.name">meta_description</stringProp>
  30878. </elementProp>
  30879. <elementProp name="custom_layout_update" elementType="HTTPArgument">
  30880. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30881. <stringProp name="Argument.value"/>
  30882. <stringProp name="Argument.metadata">=</stringProp>
  30883. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30884. <stringProp name="Argument.name">custom_layout_update</stringProp>
  30885. </elementProp>
  30886. <elementProp name="category_products" elementType="HTTPArgument">
  30887. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  30888. <stringProp name="Argument.value">{"${simple_product_1_id}":"","${simple_product_2_id}":"","${simple_product_3_id}":"","${simple_product_4_id}":"","${simple_product_5_id}":""}</stringProp>
  30889. <stringProp name="Argument.metadata">=</stringProp>
  30890. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30891. <stringProp name="Argument.name">category_products</stringProp>
  30892. </elementProp>
  30893. <elementProp name="form_key" elementType="HTTPArgument">
  30894. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  30895. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  30896. <stringProp name="Argument.metadata">=</stringProp>
  30897. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  30898. <stringProp name="Argument.name">form_key</stringProp>
  30899. </elementProp>
  30900. </collectionProp>
  30901. </elementProp>
  30902. <stringProp name="HTTPSampler.domain"/>
  30903. <stringProp name="HTTPSampler.port"/>
  30904. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30905. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30906. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30907. <stringProp name="HTTPSampler.contentEncoding"/>
  30908. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/save/</stringProp>
  30909. <stringProp name="HTTPSampler.method">POST</stringProp>
  30910. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30911. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30912. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30913. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30914. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30915. <stringProp name="HTTPSampler.embedded_url_re"/>
  30916. </HTTPSamplerProxy>
  30917. <hashTree>
  30918. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category id" enabled="true">
  30919. <stringProp name="RegexExtractor.useHeaders">URL</stringProp>
  30920. <stringProp name="RegexExtractor.refname">admin_category_id</stringProp>
  30921. <stringProp name="RegexExtractor.regex">/catalog/category/edit/id/(\d+)/</stringProp>
  30922. <stringProp name="RegexExtractor.template">$1$</stringProp>
  30923. <stringProp name="RegexExtractor.default"/>
  30924. <stringProp name="RegexExtractor.match_number">1</stringProp>
  30925. </RegexExtractor>
  30926. <hashTree/>
  30927. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category id" enabled="true">
  30928. <collectionProp name="Asserion.test_strings">
  30929. <stringProp name="89649215">^\d+$</stringProp>
  30930. </collectionProp>
  30931. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  30932. <boolProp name="Assertion.assume_success">false</boolProp>
  30933. <intProp name="Assertion.test_type">1</intProp>
  30934. <stringProp name="Assertion.scope">variable</stringProp>
  30935. <stringProp name="Scope.variable">admin_category_id</stringProp>
  30936. </ResponseAssertion>
  30937. <hashTree/>
  30938. </hashTree>
  30939. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Select created category" enabled="true">
  30940. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  30941. <collectionProp name="Arguments.arguments"/>
  30942. </elementProp>
  30943. <stringProp name="HTTPSampler.domain"/>
  30944. <stringProp name="HTTPSampler.port"/>
  30945. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  30946. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  30947. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  30948. <stringProp name="HTTPSampler.contentEncoding"/>
  30949. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/edit/id/${admin_category_id}/</stringProp>
  30950. <stringProp name="HTTPSampler.method">GET</stringProp>
  30951. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  30952. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  30953. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  30954. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  30955. <boolProp name="HTTPSampler.monitor">false</boolProp>
  30956. <stringProp name="HTTPSampler.embedded_url_re"/>
  30957. </HTTPSamplerProxy>
  30958. <hashTree>
  30959. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  30960. <collectionProp name="HeaderManager.headers">
  30961. <elementProp name="Accept-Language" elementType="Header">
  30962. <stringProp name="Header.name">Accept-Language</stringProp>
  30963. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  30964. </elementProp>
  30965. <elementProp name="Accept" elementType="Header">
  30966. <stringProp name="Header.name">Accept</stringProp>
  30967. <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  30968. </elementProp>
  30969. <elementProp name="User-Agent" elementType="Header">
  30970. <stringProp name="Header.name">User-Agent</stringProp>
  30971. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  30972. </elementProp>
  30973. <elementProp name="Accept-Encoding" elementType="Header">
  30974. <stringProp name="Header.name">Accept-Encoding</stringProp>
  30975. <stringProp name="Header.value">gzip, deflate</stringProp>
  30976. </elementProp>
  30977. </collectionProp>
  30978. </HeaderManager>
  30979. <hashTree/>
  30980. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category row id" enabled="true">
  30981. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  30982. <stringProp name="RegexExtractor.refname">admin_category_entity_id</stringProp>
  30983. <stringProp name="RegexExtractor.regex">"entity_id":"([^"]+)"</stringProp>
  30984. <stringProp name="RegexExtractor.template">$1$</stringProp>
  30985. <stringProp name="RegexExtractor.default"/>
  30986. <stringProp name="RegexExtractor.match_number">1</stringProp>
  30987. </RegexExtractor>
  30988. <hashTree/>
  30989. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category attribute set id" enabled="true">
  30990. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  30991. <stringProp name="RegexExtractor.refname">admin_category_attribute_set_id</stringProp>
  30992. <stringProp name="RegexExtractor.regex">"attribute_set_id":"([^"]+)"</stringProp>
  30993. <stringProp name="RegexExtractor.template">$1$</stringProp>
  30994. <stringProp name="RegexExtractor.default"/>
  30995. <stringProp name="RegexExtractor.match_number">1</stringProp>
  30996. </RegexExtractor>
  30997. <hashTree/>
  30998. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category parent Id" enabled="true">
  30999. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31000. <stringProp name="RegexExtractor.refname">admin_category_parent_id</stringProp>
  31001. <stringProp name="RegexExtractor.regex">"parent_id":"([^"]+)"</stringProp>
  31002. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31003. <stringProp name="RegexExtractor.default"/>
  31004. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31005. </RegexExtractor>
  31006. <hashTree/>
  31007. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category created at" enabled="true">
  31008. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31009. <stringProp name="RegexExtractor.refname">admin_category_created_at</stringProp>
  31010. <stringProp name="RegexExtractor.regex">"created_at":"([^"]+)"</stringProp>
  31011. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31012. <stringProp name="RegexExtractor.default"/>
  31013. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31014. </RegexExtractor>
  31015. <hashTree/>
  31016. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category updated at" enabled="true">
  31017. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31018. <stringProp name="RegexExtractor.refname">admin_category_updated_at</stringProp>
  31019. <stringProp name="RegexExtractor.regex">"updated_at":"([^"]+)"</stringProp>
  31020. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31021. <stringProp name="RegexExtractor.default"/>
  31022. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31023. </RegexExtractor>
  31024. <hashTree/>
  31025. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category path" enabled="true">
  31026. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31027. <stringProp name="RegexExtractor.refname">admin_category_path</stringProp>
  31028. <stringProp name="RegexExtractor.regex">"entity_id":(.+)"path":"([^\"]+)"</stringProp>
  31029. <stringProp name="RegexExtractor.template">$2$</stringProp>
  31030. <stringProp name="RegexExtractor.default"/>
  31031. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31032. </RegexExtractor>
  31033. <hashTree/>
  31034. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category level" enabled="true">
  31035. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31036. <stringProp name="RegexExtractor.refname">admin_category_level</stringProp>
  31037. <stringProp name="RegexExtractor.regex">"level":"([^"]+)"</stringProp>
  31038. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31039. <stringProp name="RegexExtractor.default"/>
  31040. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31041. </RegexExtractor>
  31042. <hashTree/>
  31043. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category name" enabled="true">
  31044. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31045. <stringProp name="RegexExtractor.refname">admin_category_name</stringProp>
  31046. <stringProp name="RegexExtractor.regex">"entity_id":(.+)"name":"([^"]+)"</stringProp>
  31047. <stringProp name="RegexExtractor.template">$2$</stringProp>
  31048. <stringProp name="RegexExtractor.default"/>
  31049. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31050. </RegexExtractor>
  31051. <hashTree/>
  31052. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category url key" enabled="true">
  31053. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31054. <stringProp name="RegexExtractor.refname">admin_category_url_key</stringProp>
  31055. <stringProp name="RegexExtractor.regex">"url_key":"([^"]+)"</stringProp>
  31056. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31057. <stringProp name="RegexExtractor.default"/>
  31058. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31059. </RegexExtractor>
  31060. <hashTree/>
  31061. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract category url path" enabled="true">
  31062. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31063. <stringProp name="RegexExtractor.refname">admin_category_url_path</stringProp>
  31064. <stringProp name="RegexExtractor.regex">"url_path":"([^"]+)"</stringProp>
  31065. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31066. <stringProp name="RegexExtractor.default"/>
  31067. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31068. </RegexExtractor>
  31069. <hashTree/>
  31070. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category row id" enabled="true">
  31071. <collectionProp name="Asserion.test_strings">
  31072. <stringProp name="89649215">^\d+$</stringProp>
  31073. </collectionProp>
  31074. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31075. <boolProp name="Assertion.assume_success">false</boolProp>
  31076. <intProp name="Assertion.test_type">1</intProp>
  31077. <stringProp name="Assertion.scope">variable</stringProp>
  31078. <stringProp name="Scope.variable">admin_category_entity_id</stringProp>
  31079. </ResponseAssertion>
  31080. <hashTree/>
  31081. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category attribute set id" enabled="true">
  31082. <collectionProp name="Asserion.test_strings">
  31083. <stringProp name="89649215">^\d+$</stringProp>
  31084. </collectionProp>
  31085. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31086. <boolProp name="Assertion.assume_success">false</boolProp>
  31087. <intProp name="Assertion.test_type">1</intProp>
  31088. <stringProp name="Assertion.scope">variable</stringProp>
  31089. <stringProp name="Scope.variable">admin_category_attribute_set_id</stringProp>
  31090. </ResponseAssertion>
  31091. <hashTree/>
  31092. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category parent id" enabled="true">
  31093. <collectionProp name="Asserion.test_strings">
  31094. <stringProp name="89649215">^\d+$</stringProp>
  31095. </collectionProp>
  31096. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31097. <boolProp name="Assertion.assume_success">false</boolProp>
  31098. <intProp name="Assertion.test_type">1</intProp>
  31099. <stringProp name="Assertion.scope">variable</stringProp>
  31100. <stringProp name="Scope.variable">admin_category_parent_id</stringProp>
  31101. </ResponseAssertion>
  31102. <hashTree/>
  31103. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category created at" enabled="true">
  31104. <collectionProp name="Asserion.test_strings">
  31105. <stringProp name="2845929">^.+$</stringProp>
  31106. </collectionProp>
  31107. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31108. <boolProp name="Assertion.assume_success">false</boolProp>
  31109. <intProp name="Assertion.test_type">1</intProp>
  31110. <stringProp name="Assertion.scope">variable</stringProp>
  31111. <stringProp name="Scope.variable">admin_category_created_at</stringProp>
  31112. </ResponseAssertion>
  31113. <hashTree/>
  31114. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category updated at" enabled="true">
  31115. <collectionProp name="Asserion.test_strings">
  31116. <stringProp name="2845929">^.+$</stringProp>
  31117. </collectionProp>
  31118. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31119. <boolProp name="Assertion.assume_success">false</boolProp>
  31120. <intProp name="Assertion.test_type">1</intProp>
  31121. <stringProp name="Assertion.scope">variable</stringProp>
  31122. <stringProp name="Scope.variable">admin_category_updated_at</stringProp>
  31123. </ResponseAssertion>
  31124. <hashTree/>
  31125. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category path" enabled="true">
  31126. <collectionProp name="Asserion.test_strings">
  31127. <stringProp name="59022110">^[\d\\\/]+$</stringProp>
  31128. </collectionProp>
  31129. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31130. <boolProp name="Assertion.assume_success">false</boolProp>
  31131. <intProp name="Assertion.test_type">1</intProp>
  31132. <stringProp name="Assertion.scope">variable</stringProp>
  31133. <stringProp name="Scope.variable">admin_category_path</stringProp>
  31134. </ResponseAssertion>
  31135. <hashTree/>
  31136. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category level" enabled="true">
  31137. <collectionProp name="Asserion.test_strings">
  31138. <stringProp name="89649215">^\d+$</stringProp>
  31139. </collectionProp>
  31140. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31141. <boolProp name="Assertion.assume_success">false</boolProp>
  31142. <intProp name="Assertion.test_type">1</intProp>
  31143. <stringProp name="Assertion.scope">variable</stringProp>
  31144. <stringProp name="Scope.variable">admin_category_level</stringProp>
  31145. </ResponseAssertion>
  31146. <hashTree/>
  31147. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category name" enabled="true">
  31148. <collectionProp name="Asserion.test_strings">
  31149. <stringProp name="2845929">^.+$</stringProp>
  31150. </collectionProp>
  31151. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31152. <boolProp name="Assertion.assume_success">false</boolProp>
  31153. <intProp name="Assertion.test_type">1</intProp>
  31154. <stringProp name="Assertion.scope">variable</stringProp>
  31155. <stringProp name="Scope.variable">admin_category_name</stringProp>
  31156. </ResponseAssertion>
  31157. <hashTree/>
  31158. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category url key" enabled="true">
  31159. <collectionProp name="Asserion.test_strings">
  31160. <stringProp name="2845929">^.+$</stringProp>
  31161. </collectionProp>
  31162. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31163. <boolProp name="Assertion.assume_success">false</boolProp>
  31164. <intProp name="Assertion.test_type">1</intProp>
  31165. <stringProp name="Assertion.scope">variable</stringProp>
  31166. <stringProp name="Scope.variable">admin_category_url_key</stringProp>
  31167. </ResponseAssertion>
  31168. <hashTree/>
  31169. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category url path" enabled="true">
  31170. <collectionProp name="Asserion.test_strings">
  31171. <stringProp name="2845929">^.+$</stringProp>
  31172. </collectionProp>
  31173. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31174. <boolProp name="Assertion.assume_success">false</boolProp>
  31175. <intProp name="Assertion.test_type">1</intProp>
  31176. <stringProp name="Assertion.scope">variable</stringProp>
  31177. <stringProp name="Scope.variable">admin_category_url_path</stringProp>
  31178. </ResponseAssertion>
  31179. <hashTree/>
  31180. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert products added" enabled="true">
  31181. <collectionProp name="Asserion.test_strings">
  31182. <stringProp name="417284990">${simple_product_1_name}</stringProp>
  31183. <stringProp name="1304788671">${simple_product_2_name}</stringProp>
  31184. <stringProp name="-2102674944">${simple_product_3_name}</stringProp>
  31185. <stringProp name="-1215171263">${simple_product_4_name}</stringProp>
  31186. <stringProp name="-327667582">${simple_product_5_name}</stringProp>
  31187. </collectionProp>
  31188. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31189. <boolProp name="Assertion.assume_success">false</boolProp>
  31190. <intProp name="Assertion.test_type">2</intProp>
  31191. </ResponseAssertion>
  31192. <hashTree/>
  31193. </hashTree>
  31194. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Move category" enabled="true">
  31195. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31196. <collectionProp name="Arguments.arguments">
  31197. <elementProp name="id" elementType="HTTPArgument">
  31198. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31199. <stringProp name="Argument.value">${admin_category_id}</stringProp>
  31200. <stringProp name="Argument.metadata">=</stringProp>
  31201. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31202. <stringProp name="Argument.name">id</stringProp>
  31203. </elementProp>
  31204. <elementProp name="form_key" elementType="HTTPArgument">
  31205. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31206. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  31207. <stringProp name="Argument.metadata">=</stringProp>
  31208. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31209. <stringProp name="Argument.name">form_key</stringProp>
  31210. </elementProp>
  31211. <elementProp name="point" elementType="HTTPArgument">
  31212. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31213. <stringProp name="Argument.value">append</stringProp>
  31214. <stringProp name="Argument.metadata">=</stringProp>
  31215. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31216. <stringProp name="Argument.name">point</stringProp>
  31217. </elementProp>
  31218. <elementProp name="pid" elementType="HTTPArgument">
  31219. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31220. <stringProp name="Argument.value">${new_parent_category_id}</stringProp>
  31221. <stringProp name="Argument.metadata">=</stringProp>
  31222. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31223. <stringProp name="Argument.name">pid</stringProp>
  31224. </elementProp>
  31225. <elementProp name="paid" elementType="HTTPArgument">
  31226. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31227. <stringProp name="Argument.value">${parent_category_id}</stringProp>
  31228. <stringProp name="Argument.metadata">=</stringProp>
  31229. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31230. <stringProp name="Argument.name">paid</stringProp>
  31231. </elementProp>
  31232. <elementProp name="aid" elementType="HTTPArgument">
  31233. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31234. <stringProp name="Argument.value">0</stringProp>
  31235. <stringProp name="Argument.metadata">=</stringProp>
  31236. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31237. <stringProp name="Argument.name">aid</stringProp>
  31238. </elementProp>
  31239. <elementProp name="isAjax" elementType="HTTPArgument">
  31240. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31241. <stringProp name="Argument.value">true</stringProp>
  31242. <stringProp name="Argument.metadata">=</stringProp>
  31243. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31244. <stringProp name="Argument.name">isAjax</stringProp>
  31245. </elementProp>
  31246. </collectionProp>
  31247. </elementProp>
  31248. <stringProp name="HTTPSampler.domain"/>
  31249. <stringProp name="HTTPSampler.port"/>
  31250. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31251. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31252. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31253. <stringProp name="HTTPSampler.contentEncoding"/>
  31254. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/move/</stringProp>
  31255. <stringProp name="HTTPSampler.method">POST</stringProp>
  31256. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31257. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31258. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31259. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31260. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31261. <stringProp name="HTTPSampler.embedded_url_re"/>
  31262. </HTTPSamplerProxy>
  31263. <hashTree/>
  31264. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete category" enabled="true">
  31265. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31266. <collectionProp name="Arguments.arguments">
  31267. <elementProp name="form_key" elementType="HTTPArgument">
  31268. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31269. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  31270. <stringProp name="Argument.metadata">=</stringProp>
  31271. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31272. <stringProp name="Argument.name">form_key</stringProp>
  31273. </elementProp>
  31274. </collectionProp>
  31275. </elementProp>
  31276. <stringProp name="HTTPSampler.domain"/>
  31277. <stringProp name="HTTPSampler.port"/>
  31278. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31279. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31280. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31281. <stringProp name="HTTPSampler.contentEncoding"/>
  31282. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/category/delete/id/${admin_category_id}/</stringProp>
  31283. <stringProp name="HTTPSampler.method">POST</stringProp>
  31284. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31285. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31286. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31287. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31288. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31289. <stringProp name="HTTPSampler.embedded_url_re"/>
  31290. </HTTPSamplerProxy>
  31291. <hashTree>
  31292. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert category deleted" enabled="true">
  31293. <collectionProp name="Asserion.test_strings">
  31294. <stringProp name="1277069529">You deleted the category.</stringProp>
  31295. </collectionProp>
  31296. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31297. <boolProp name="Assertion.assume_success">false</boolProp>
  31298. <intProp name="Assertion.test_type">2</intProp>
  31299. </ResponseAssertion>
  31300. <hashTree/>
  31301. </hashTree>
  31302. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Pause" enabled="true">
  31303. <intProp name="ActionProcessor.action">1</intProp>
  31304. <intProp name="ActionProcessor.target">0</intProp>
  31305. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${adminCategoryManagementDelay}*1000))}</stringProp>
  31306. </TestAction>
  31307. <hashTree/>
  31308. </hashTree>
  31309. </hashTree>
  31310. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  31311. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31312. <collectionProp name="Arguments.arguments"/>
  31313. </elementProp>
  31314. <stringProp name="HTTPSampler.domain"/>
  31315. <stringProp name="HTTPSampler.port"/>
  31316. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31317. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31318. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31319. <stringProp name="HTTPSampler.contentEncoding"/>
  31320. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  31321. <stringProp name="HTTPSampler.method">GET</stringProp>
  31322. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31323. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31324. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31325. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31326. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31327. <stringProp name="HTTPSampler.embedded_url_re"/>
  31328. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  31329. <hashTree>
  31330. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  31331. <boolProp name="resetInterpreter">false</boolProp>
  31332. <stringProp name="parameters"/>
  31333. <stringProp name="filename"/>
  31334. <stringProp name="script">
  31335. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  31336. if (adminUsersDistribution == 1) {
  31337. adminUserList = props.get("adminUserList");
  31338. adminUserList.add(vars.get("admin_user"));
  31339. }
  31340. </stringProp>
  31341. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  31342. <hashTree/>
  31343. </hashTree>
  31344. </hashTree>
  31345. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Promotion Rules" enabled="true">
  31346. <intProp name="ThroughputController.style">1</intProp>
  31347. <boolProp name="ThroughputController.perThread">false</boolProp>
  31348. <intProp name="ThroughputController.maxThroughput">1</intProp>
  31349. <stringProp name="ThroughputController.percentThroughput">${adminPromotionRulesPercentage}</stringProp>
  31350. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  31351. <hashTree>
  31352. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  31353. <stringProp name="script">
  31354. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  31355. if (testLabel
  31356. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  31357. ) {
  31358. if (sampler.getName().indexOf(testLabel) == -1) {
  31359. sampler.setName(sampler.getName() + testLabel);
  31360. }
  31361. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  31362. sampler.setName("SetUp - " + sampler.getName());
  31363. }
  31364. </stringProp>
  31365. <stringProp name="scriptLanguage">javascript</stringProp>
  31366. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  31367. <hashTree/>
  31368. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  31369. <stringProp name="BeanShellSampler.query">
  31370. vars.put("testLabel", "Admin Promotion Rules");
  31371. </stringProp>
  31372. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  31373. </BeanShellSampler>
  31374. <hashTree/>
  31375. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  31376. <stringProp name="script">
  31377. function getFormKeyFromResponse()
  31378. {
  31379. var url = prev.getUrlAsString(),
  31380. responseCode = prev.getResponseCode(),
  31381. formKey = null;
  31382. searchPattern = /var FORM_KEY = '(.+)'/;
  31383. if (responseCode == "200" &amp;&amp; url) {
  31384. response = prev.getResponseDataAsString();
  31385. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  31386. }
  31387. return formKey;
  31388. }
  31389. formKey = vars.get("form_key_storage");
  31390. currentFormKey = getFormKeyFromResponse();
  31391. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  31392. vars.put("form_key_storage", currentFormKey);
  31393. }
  31394. </stringProp>
  31395. <stringProp name="scriptLanguage">javascript</stringProp>
  31396. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  31397. <hashTree/>
  31398. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  31399. <stringProp name="script">
  31400. formKey = vars.get("form_key_storage");
  31401. if (formKey
  31402. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  31403. &amp;&amp; sampler.getMethod() == "POST")
  31404. {
  31405. arguments = sampler.getArguments();
  31406. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  31407. {
  31408. argument = arguments.getArgument(i);
  31409. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  31410. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  31411. argument.setValue(formKey);
  31412. }
  31413. }
  31414. }
  31415. </stringProp>
  31416. <stringProp name="scriptLanguage">javascript</stringProp>
  31417. </JSR223PreProcessor>
  31418. <hashTree/>
  31419. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  31420. <collectionProp name="CookieManager.cookies"/>
  31421. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  31422. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  31423. <hashTree/>
  31424. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  31425. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  31426. </GenericController>
  31427. <hashTree>
  31428. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  31429. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  31430. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  31431. <hashTree>
  31432. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  31433. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  31434. <stringProp name="BeanShellSampler.query">
  31435. adminUserList = props.get("adminUserList");
  31436. adminUserListIterator = props.get("adminUserListIterator");
  31437. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  31438. if (adminUsersDistribution == 1) {
  31439. adminUser = adminUserList.poll();
  31440. } else {
  31441. if (!adminUserListIterator.hasNext()) {
  31442. adminUserListIterator = adminUserList.descendingIterator();
  31443. }
  31444. adminUser = adminUserListIterator.next();
  31445. }
  31446. if (adminUser == null) {
  31447. SampleResult.setResponseMessage("adminUser list is empty");
  31448. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  31449. IsSuccess=false;
  31450. SampleResult.setSuccessful(false);
  31451. SampleResult.setStopThread(true);
  31452. }
  31453. vars.put("admin_user", adminUser);
  31454. </stringProp>
  31455. <stringProp name="BeanShellSampler.filename"/>
  31456. <stringProp name="BeanShellSampler.parameters"/>
  31457. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  31458. </BeanShellSampler>
  31459. <hashTree/>
  31460. </hashTree>
  31461. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  31462. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31463. <collectionProp name="Arguments.arguments"/>
  31464. </elementProp>
  31465. <stringProp name="HTTPSampler.domain"/>
  31466. <stringProp name="HTTPSampler.port"/>
  31467. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31468. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31469. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31470. <stringProp name="HTTPSampler.contentEncoding"/>
  31471. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  31472. <stringProp name="HTTPSampler.method">GET</stringProp>
  31473. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31474. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31475. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31476. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31477. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31478. <stringProp name="HTTPSampler.embedded_url_re"/>
  31479. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  31480. <hashTree>
  31481. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  31482. <collectionProp name="Asserion.test_strings">
  31483. <stringProp name="-1397214398">Welcome</stringProp>
  31484. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  31485. </collectionProp>
  31486. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31487. <boolProp name="Assertion.assume_success">false</boolProp>
  31488. <intProp name="Assertion.test_type">2</intProp>
  31489. </ResponseAssertion>
  31490. <hashTree/>
  31491. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  31492. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31493. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  31494. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  31495. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31496. <stringProp name="RegexExtractor.default"/>
  31497. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31498. </RegexExtractor>
  31499. <hashTree/>
  31500. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  31501. <collectionProp name="Asserion.test_strings">
  31502. <stringProp name="2845929">^.+$</stringProp>
  31503. </collectionProp>
  31504. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31505. <boolProp name="Assertion.assume_success">false</boolProp>
  31506. <intProp name="Assertion.test_type">1</intProp>
  31507. <stringProp name="Assertion.scope">variable</stringProp>
  31508. <stringProp name="Scope.variable">admin_form_key</stringProp>
  31509. </ResponseAssertion>
  31510. <hashTree/>
  31511. </hashTree>
  31512. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  31513. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31514. <collectionProp name="Arguments.arguments">
  31515. <elementProp name="dummy" elementType="HTTPArgument">
  31516. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31517. <stringProp name="Argument.value"/>
  31518. <stringProp name="Argument.metadata">=</stringProp>
  31519. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31520. <stringProp name="Argument.name">dummy</stringProp>
  31521. </elementProp>
  31522. <elementProp name="form_key" elementType="HTTPArgument">
  31523. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31524. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  31525. <stringProp name="Argument.metadata">=</stringProp>
  31526. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31527. <stringProp name="Argument.name">form_key</stringProp>
  31528. </elementProp>
  31529. <elementProp name="login[password]" elementType="HTTPArgument">
  31530. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31531. <stringProp name="Argument.value">${admin_password}</stringProp>
  31532. <stringProp name="Argument.metadata">=</stringProp>
  31533. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31534. <stringProp name="Argument.name">login[password]</stringProp>
  31535. </elementProp>
  31536. <elementProp name="login[username]" elementType="HTTPArgument">
  31537. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31538. <stringProp name="Argument.value">${admin_user}</stringProp>
  31539. <stringProp name="Argument.metadata">=</stringProp>
  31540. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31541. <stringProp name="Argument.name">login[username]</stringProp>
  31542. </elementProp>
  31543. </collectionProp>
  31544. </elementProp>
  31545. <stringProp name="HTTPSampler.domain"/>
  31546. <stringProp name="HTTPSampler.port"/>
  31547. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31548. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31549. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31550. <stringProp name="HTTPSampler.contentEncoding"/>
  31551. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  31552. <stringProp name="HTTPSampler.method">POST</stringProp>
  31553. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31554. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31555. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31556. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31557. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  31558. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31559. <stringProp name="HTTPSampler.embedded_url_re"/>
  31560. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  31561. </HTTPSamplerProxy>
  31562. <hashTree>
  31563. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  31564. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  31565. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  31566. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  31567. <stringProp name="RegexExtractor.template">$1$</stringProp>
  31568. <stringProp name="RegexExtractor.default"/>
  31569. <stringProp name="RegexExtractor.match_number">1</stringProp>
  31570. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  31571. <hashTree/>
  31572. </hashTree>
  31573. </hashTree>
  31574. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  31575. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  31576. </GenericController>
  31577. <hashTree>
  31578. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Promotions Management" enabled="true">
  31579. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_promotions_management/admin_promotions_management.jmx</stringProp>
  31580. </TestFragmentController>
  31581. <hashTree>
  31582. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Landing Page" enabled="true">
  31583. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31584. <collectionProp name="Arguments.arguments"/>
  31585. </elementProp>
  31586. <stringProp name="HTTPSampler.domain"/>
  31587. <stringProp name="HTTPSampler.port"/>
  31588. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31589. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31590. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31591. <stringProp name="HTTPSampler.contentEncoding"/>
  31592. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales_rule/promo_quote/</stringProp>
  31593. <stringProp name="HTTPSampler.method">GET</stringProp>
  31594. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31595. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31596. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31597. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31598. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31599. <stringProp name="HTTPSampler.embedded_url_re"/>
  31600. </HTTPSamplerProxy>
  31601. <hashTree/>
  31602. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create New" enabled="true">
  31603. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31604. <collectionProp name="Arguments.arguments"/>
  31605. </elementProp>
  31606. <stringProp name="HTTPSampler.domain"/>
  31607. <stringProp name="HTTPSampler.port"/>
  31608. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31609. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31610. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31611. <stringProp name="HTTPSampler.contentEncoding"/>
  31612. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales_rule/promo_quote/new</stringProp>
  31613. <stringProp name="HTTPSampler.method">GET</stringProp>
  31614. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31615. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31616. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31617. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31618. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31619. <stringProp name="HTTPSampler.embedded_url_re"/>
  31620. </HTTPSamplerProxy>
  31621. <hashTree/>
  31622. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create New Conditional" enabled="true">
  31623. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31624. <collectionProp name="Arguments.arguments">
  31625. <elementProp name="isAjax" elementType="HTTPArgument">
  31626. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31627. <stringProp name="Argument.value">true</stringProp>
  31628. <stringProp name="Argument.metadata">=</stringProp>
  31629. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31630. <stringProp name="Argument.name">isAjax</stringProp>
  31631. </elementProp>
  31632. <elementProp name="form_key" elementType="HTTPArgument">
  31633. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31634. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  31635. <stringProp name="Argument.metadata">=</stringProp>
  31636. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31637. <stringProp name="Argument.name">form_key</stringProp>
  31638. <stringProp name="Argument.desc">true</stringProp>
  31639. </elementProp>
  31640. <elementProp name="id" elementType="HTTPArgument">
  31641. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31642. <stringProp name="Argument.value">1--1</stringProp>
  31643. <stringProp name="Argument.metadata">=</stringProp>
  31644. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31645. <stringProp name="Argument.name">id</stringProp>
  31646. </elementProp>
  31647. <elementProp name="type" elementType="HTTPArgument">
  31648. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31649. <stringProp name="Argument.value">Magento\SalesRule\Model\Rule\Condition\Address|base_subtotal</stringProp>
  31650. <stringProp name="Argument.metadata">=</stringProp>
  31651. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31652. <stringProp name="Argument.name">type</stringProp>
  31653. </elementProp>
  31654. </collectionProp>
  31655. </elementProp>
  31656. <stringProp name="HTTPSampler.domain"/>
  31657. <stringProp name="HTTPSampler.port"/>
  31658. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31659. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31660. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31661. <stringProp name="HTTPSampler.contentEncoding"/>
  31662. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales_rule/promo_quote/newConditionHtml/form/sales_rule_formrule_conditions_fieldset_/form_namespace/sales_rule_form</stringProp>
  31663. <stringProp name="HTTPSampler.method">POST</stringProp>
  31664. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31665. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31666. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31667. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31668. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31669. <stringProp name="HTTPSampler.embedded_url_re"/>
  31670. </HTTPSamplerProxy>
  31671. <hashTree/>
  31672. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Save" enabled="true">
  31673. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31674. <collectionProp name="Arguments.arguments">
  31675. <elementProp name="name" elementType="HTTPArgument">
  31676. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31677. <stringProp name="Argument.value">Rule Name ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  31678. <stringProp name="Argument.metadata">=</stringProp>
  31679. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31680. <stringProp name="Argument.name">name</stringProp>
  31681. </elementProp>
  31682. <elementProp name="is_active" elementType="HTTPArgument">
  31683. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31684. <stringProp name="Argument.value">0</stringProp>
  31685. <stringProp name="Argument.metadata">=</stringProp>
  31686. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31687. <stringProp name="Argument.name">is_active</stringProp>
  31688. </elementProp>
  31689. <elementProp name="use_auto_generation" elementType="HTTPArgument">
  31690. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31691. <stringProp name="Argument.value">0</stringProp>
  31692. <stringProp name="Argument.metadata">=</stringProp>
  31693. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31694. <stringProp name="Argument.name">use_auto_generation</stringProp>
  31695. </elementProp>
  31696. <elementProp name="is_rss" elementType="HTTPArgument">
  31697. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31698. <stringProp name="Argument.value">1</stringProp>
  31699. <stringProp name="Argument.metadata">=</stringProp>
  31700. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31701. <stringProp name="Argument.name">is_rss</stringProp>
  31702. </elementProp>
  31703. <elementProp name="apply_to_shipping" elementType="HTTPArgument">
  31704. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31705. <stringProp name="Argument.value">0</stringProp>
  31706. <stringProp name="Argument.metadata">=</stringProp>
  31707. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31708. <stringProp name="Argument.name">apply_to_shipping</stringProp>
  31709. </elementProp>
  31710. <elementProp name="stop_rules_processing" elementType="HTTPArgument">
  31711. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31712. <stringProp name="Argument.value">0</stringProp>
  31713. <stringProp name="Argument.metadata">=</stringProp>
  31714. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31715. <stringProp name="Argument.name">stop_rules_processing</stringProp>
  31716. </elementProp>
  31717. <elementProp name="coupon_code" elementType="HTTPArgument">
  31718. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31719. <stringProp name="Argument.value"/>
  31720. <stringProp name="Argument.metadata">=</stringProp>
  31721. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31722. <stringProp name="Argument.name">coupon_code</stringProp>
  31723. </elementProp>
  31724. <elementProp name="uses_per_coupon" elementType="HTTPArgument">
  31725. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31726. <stringProp name="Argument.value"/>
  31727. <stringProp name="Argument.metadata">=</stringProp>
  31728. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31729. <stringProp name="Argument.name">uses_per_coupon</stringProp>
  31730. </elementProp>
  31731. <elementProp name="uses_per_customer" elementType="HTTPArgument">
  31732. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31733. <stringProp name="Argument.value"/>
  31734. <stringProp name="Argument.metadata">=</stringProp>
  31735. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31736. <stringProp name="Argument.name">uses_per_customer</stringProp>
  31737. </elementProp>
  31738. <elementProp name="sort_order" elementType="HTTPArgument">
  31739. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31740. <stringProp name="Argument.value"/>
  31741. <stringProp name="Argument.metadata">=</stringProp>
  31742. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31743. <stringProp name="Argument.name">sort_order</stringProp>
  31744. </elementProp>
  31745. <elementProp name="discount_amount" elementType="HTTPArgument">
  31746. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31747. <stringProp name="Argument.value">5</stringProp>
  31748. <stringProp name="Argument.metadata">=</stringProp>
  31749. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31750. <stringProp name="Argument.name">discount_amount</stringProp>
  31751. </elementProp>
  31752. <elementProp name="discount_qty" elementType="HTTPArgument">
  31753. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31754. <stringProp name="Argument.value">0</stringProp>
  31755. <stringProp name="Argument.metadata">=</stringProp>
  31756. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31757. <stringProp name="Argument.name">discount_qty</stringProp>
  31758. </elementProp>
  31759. <elementProp name="discount_step" elementType="HTTPArgument">
  31760. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31761. <stringProp name="Argument.value"/>
  31762. <stringProp name="Argument.metadata">=</stringProp>
  31763. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31764. <stringProp name="Argument.name">discount_step</stringProp>
  31765. </elementProp>
  31766. <elementProp name="reward_points_delta" elementType="HTTPArgument">
  31767. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31768. <stringProp name="Argument.value"/>
  31769. <stringProp name="Argument.metadata">=</stringProp>
  31770. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31771. <stringProp name="Argument.name">reward_points_delta</stringProp>
  31772. </elementProp>
  31773. <elementProp name="store_labels[0]" elementType="HTTPArgument">
  31774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31775. <stringProp name="Argument.value"/>
  31776. <stringProp name="Argument.metadata">=</stringProp>
  31777. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31778. <stringProp name="Argument.name">store_labels[0]</stringProp>
  31779. </elementProp>
  31780. <elementProp name="description" elementType="HTTPArgument">
  31781. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31782. <stringProp name="Argument.value">Rule Description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  31783. <stringProp name="Argument.metadata">=</stringProp>
  31784. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31785. <stringProp name="Argument.name">description</stringProp>
  31786. </elementProp>
  31787. <elementProp name="coupon_type" elementType="HTTPArgument">
  31788. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31789. <stringProp name="Argument.value">1</stringProp>
  31790. <stringProp name="Argument.metadata">=</stringProp>
  31791. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31792. <stringProp name="Argument.name">coupon_type</stringProp>
  31793. </elementProp>
  31794. <elementProp name="simple_action" elementType="HTTPArgument">
  31795. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31796. <stringProp name="Argument.value">cart_fixed</stringProp>
  31797. <stringProp name="Argument.metadata">=</stringProp>
  31798. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31799. <stringProp name="Argument.name">simple_action</stringProp>
  31800. </elementProp>
  31801. <elementProp name="website_ids[0]" elementType="HTTPArgument">
  31802. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31803. <stringProp name="Argument.value">1</stringProp>
  31804. <stringProp name="Argument.metadata">=</stringProp>
  31805. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31806. <stringProp name="Argument.name">website_ids[0]</stringProp>
  31807. </elementProp>
  31808. <elementProp name="customer_group_ids[0]" elementType="HTTPArgument">
  31809. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31810. <stringProp name="Argument.value">0</stringProp>
  31811. <stringProp name="Argument.metadata">=</stringProp>
  31812. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31813. <stringProp name="Argument.name">customer_group_ids[0]</stringProp>
  31814. </elementProp>
  31815. <elementProp name="from_date" elementType="HTTPArgument">
  31816. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31817. <stringProp name="Argument.value"/>
  31818. <stringProp name="Argument.metadata">=</stringProp>
  31819. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31820. <stringProp name="Argument.name">from_date</stringProp>
  31821. </elementProp>
  31822. <elementProp name="to_date" elementType="HTTPArgument">
  31823. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31824. <stringProp name="Argument.value"/>
  31825. <stringProp name="Argument.metadata">=</stringProp>
  31826. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31827. <stringProp name="Argument.name">to_date</stringProp>
  31828. </elementProp>
  31829. <elementProp name="rule[conditions][1][type]" elementType="HTTPArgument">
  31830. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31831. <stringProp name="Argument.value">Magento\SalesRule\Model\Rule\Condition\Combine</stringProp>
  31832. <stringProp name="Argument.metadata">=</stringProp>
  31833. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31834. <stringProp name="Argument.name">rule[conditions][1][type]</stringProp>
  31835. </elementProp>
  31836. <elementProp name="rule[conditions][1][aggregator]" elementType="HTTPArgument">
  31837. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31838. <stringProp name="Argument.value">all</stringProp>
  31839. <stringProp name="Argument.metadata">=</stringProp>
  31840. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31841. <stringProp name="Argument.name">rule[conditions][1][aggregator]</stringProp>
  31842. </elementProp>
  31843. <elementProp name="rule[conditions][1][value]" elementType="HTTPArgument">
  31844. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31845. <stringProp name="Argument.value">1</stringProp>
  31846. <stringProp name="Argument.metadata">=</stringProp>
  31847. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31848. <stringProp name="Argument.name">rule[conditions][1][value]</stringProp>
  31849. </elementProp>
  31850. <elementProp name="rule[conditions][1--1][type]" elementType="HTTPArgument">
  31851. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31852. <stringProp name="Argument.value">Magento\SalesRule\Model\Rule\Condition\Address</stringProp>
  31853. <stringProp name="Argument.metadata">=</stringProp>
  31854. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31855. <stringProp name="Argument.name">rule[conditions][1--1][type]</stringProp>
  31856. </elementProp>
  31857. <elementProp name="rule[conditions][1--1][attribute]" elementType="HTTPArgument">
  31858. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31859. <stringProp name="Argument.value">base_subtotal</stringProp>
  31860. <stringProp name="Argument.metadata">=</stringProp>
  31861. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31862. <stringProp name="Argument.name">rule[conditions][1--1][attribute]</stringProp>
  31863. </elementProp>
  31864. <elementProp name="rule[conditions][1--1][operator]" elementType="HTTPArgument">
  31865. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31866. <stringProp name="Argument.value">&gt;=</stringProp>
  31867. <stringProp name="Argument.metadata">=</stringProp>
  31868. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31869. <stringProp name="Argument.name">rule[conditions][1--1][operator]</stringProp>
  31870. </elementProp>
  31871. <elementProp name="rule[conditions][1--1][value]" elementType="HTTPArgument">
  31872. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31873. <stringProp name="Argument.value">100</stringProp>
  31874. <stringProp name="Argument.metadata">=</stringProp>
  31875. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31876. <stringProp name="Argument.name">rule[conditions][1--1][value]</stringProp>
  31877. </elementProp>
  31878. <elementProp name="rule[conditions][1][new_chlid]" elementType="HTTPArgument">
  31879. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31880. <stringProp name="Argument.value"/>
  31881. <stringProp name="Argument.metadata">=</stringProp>
  31882. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31883. <stringProp name="Argument.name">rule[conditions][1][new_chlid]</stringProp>
  31884. </elementProp>
  31885. <elementProp name="rule[actions][1][type]" elementType="HTTPArgument">
  31886. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31887. <stringProp name="Argument.value">Magento\SalesRule\Model\Rule\Condition\Product\Combine</stringProp>
  31888. <stringProp name="Argument.metadata">=</stringProp>
  31889. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31890. <stringProp name="Argument.name">rule[actions][1][type]</stringProp>
  31891. </elementProp>
  31892. <elementProp name="rule[actions][1][aggregator]" elementType="HTTPArgument">
  31893. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31894. <stringProp name="Argument.value">all</stringProp>
  31895. <stringProp name="Argument.metadata">=</stringProp>
  31896. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31897. <stringProp name="Argument.name">rule[actions][1][aggregator]</stringProp>
  31898. </elementProp>
  31899. <elementProp name="rule[actions][1][value]" elementType="HTTPArgument">
  31900. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31901. <stringProp name="Argument.value">1</stringProp>
  31902. <stringProp name="Argument.metadata">=</stringProp>
  31903. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31904. <stringProp name="Argument.name">rule[actions][1][value]</stringProp>
  31905. </elementProp>
  31906. <elementProp name="rule[actions][1][new_child]" elementType="HTTPArgument">
  31907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31908. <stringProp name="Argument.value"/>
  31909. <stringProp name="Argument.metadata">=</stringProp>
  31910. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31911. <stringProp name="Argument.name">rule[actions][1][new_child]</stringProp>
  31912. </elementProp>
  31913. <elementProp name="store_labels[1]" elementType="HTTPArgument">
  31914. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31915. <stringProp name="Argument.value"/>
  31916. <stringProp name="Argument.metadata">=</stringProp>
  31917. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31918. <stringProp name="Argument.name">store_labels[1]</stringProp>
  31919. </elementProp>
  31920. <elementProp name="store_labels[2]" elementType="HTTPArgument">
  31921. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31922. <stringProp name="Argument.value"/>
  31923. <stringProp name="Argument.metadata">=</stringProp>
  31924. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31925. <stringProp name="Argument.name">store_labels[2]</stringProp>
  31926. </elementProp>
  31927. <elementProp name="related_banners" elementType="HTTPArgument">
  31928. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31929. <stringProp name="Argument.value"/>
  31930. <stringProp name="Argument.metadata">=</stringProp>
  31931. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31932. <stringProp name="Argument.name">related_banners</stringProp>
  31933. </elementProp>
  31934. <elementProp name="form_key" elementType="HTTPArgument">
  31935. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  31936. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  31937. <stringProp name="Argument.metadata">=</stringProp>
  31938. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  31939. <stringProp name="Argument.name">form_key</stringProp>
  31940. </elementProp>
  31941. </collectionProp>
  31942. </elementProp>
  31943. <stringProp name="HTTPSampler.domain"/>
  31944. <stringProp name="HTTPSampler.port"/>
  31945. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31946. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31947. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31948. <stringProp name="HTTPSampler.contentEncoding"/>
  31949. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales_rule/promo_quote/save/</stringProp>
  31950. <stringProp name="HTTPSampler.method">POST</stringProp>
  31951. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31952. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31953. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31954. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31955. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31956. <stringProp name="HTTPSampler.embedded_url_re"/>
  31957. </HTTPSamplerProxy>
  31958. <hashTree>
  31959. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  31960. <collectionProp name="Asserion.test_strings">
  31961. <stringProp name="-396438583">You saved the rule.</stringProp>
  31962. </collectionProp>
  31963. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  31964. <boolProp name="Assertion.assume_success">false</boolProp>
  31965. <intProp name="Assertion.test_type">16</intProp>
  31966. </ResponseAssertion>
  31967. <hashTree/>
  31968. </hashTree>
  31969. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Pause" enabled="true">
  31970. <intProp name="ActionProcessor.action">1</intProp>
  31971. <intProp name="ActionProcessor.target">0</intProp>
  31972. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${adminPromotionsManagementDelay}*1000))}</stringProp>
  31973. </TestAction>
  31974. <hashTree/>
  31975. </hashTree>
  31976. </hashTree>
  31977. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  31978. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  31979. <collectionProp name="Arguments.arguments"/>
  31980. </elementProp>
  31981. <stringProp name="HTTPSampler.domain"/>
  31982. <stringProp name="HTTPSampler.port"/>
  31983. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  31984. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  31985. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  31986. <stringProp name="HTTPSampler.contentEncoding"/>
  31987. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  31988. <stringProp name="HTTPSampler.method">GET</stringProp>
  31989. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  31990. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  31991. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  31992. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  31993. <boolProp name="HTTPSampler.monitor">false</boolProp>
  31994. <stringProp name="HTTPSampler.embedded_url_re"/>
  31995. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  31996. <hashTree>
  31997. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  31998. <boolProp name="resetInterpreter">false</boolProp>
  31999. <stringProp name="parameters"/>
  32000. <stringProp name="filename"/>
  32001. <stringProp name="script">
  32002. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  32003. if (adminUsersDistribution == 1) {
  32004. adminUserList = props.get("adminUserList");
  32005. adminUserList.add(vars.get("admin_user"));
  32006. }
  32007. </stringProp>
  32008. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  32009. <hashTree/>
  32010. </hashTree>
  32011. </hashTree>
  32012. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Customer Management" enabled="true">
  32013. <intProp name="ThroughputController.style">1</intProp>
  32014. <boolProp name="ThroughputController.perThread">false</boolProp>
  32015. <intProp name="ThroughputController.maxThroughput">1</intProp>
  32016. <stringProp name="ThroughputController.percentThroughput">${adminCustomerManagementPercentage}</stringProp>
  32017. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  32018. <hashTree>
  32019. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  32020. <stringProp name="script">
  32021. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  32022. if (testLabel
  32023. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  32024. ) {
  32025. if (sampler.getName().indexOf(testLabel) == -1) {
  32026. sampler.setName(sampler.getName() + testLabel);
  32027. }
  32028. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  32029. sampler.setName("SetUp - " + sampler.getName());
  32030. }
  32031. </stringProp>
  32032. <stringProp name="scriptLanguage">javascript</stringProp>
  32033. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  32034. <hashTree/>
  32035. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  32036. <stringProp name="BeanShellSampler.query">
  32037. vars.put("testLabel", "Admin Customer Management");
  32038. </stringProp>
  32039. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  32040. </BeanShellSampler>
  32041. <hashTree/>
  32042. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  32043. <stringProp name="script">
  32044. function getFormKeyFromResponse()
  32045. {
  32046. var url = prev.getUrlAsString(),
  32047. responseCode = prev.getResponseCode(),
  32048. formKey = null;
  32049. searchPattern = /var FORM_KEY = '(.+)'/;
  32050. if (responseCode == "200" &amp;&amp; url) {
  32051. response = prev.getResponseDataAsString();
  32052. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  32053. }
  32054. return formKey;
  32055. }
  32056. formKey = vars.get("form_key_storage");
  32057. currentFormKey = getFormKeyFromResponse();
  32058. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  32059. vars.put("form_key_storage", currentFormKey);
  32060. }
  32061. </stringProp>
  32062. <stringProp name="scriptLanguage">javascript</stringProp>
  32063. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  32064. <hashTree/>
  32065. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  32066. <stringProp name="script">
  32067. formKey = vars.get("form_key_storage");
  32068. if (formKey
  32069. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  32070. &amp;&amp; sampler.getMethod() == "POST")
  32071. {
  32072. arguments = sampler.getArguments();
  32073. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  32074. {
  32075. argument = arguments.getArgument(i);
  32076. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  32077. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  32078. argument.setValue(formKey);
  32079. }
  32080. }
  32081. }
  32082. </stringProp>
  32083. <stringProp name="scriptLanguage">javascript</stringProp>
  32084. </JSR223PreProcessor>
  32085. <hashTree/>
  32086. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  32087. <collectionProp name="CookieManager.cookies"/>
  32088. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  32089. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  32090. <hashTree/>
  32091. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  32092. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  32093. </GenericController>
  32094. <hashTree>
  32095. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  32096. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  32097. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  32098. <hashTree>
  32099. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  32100. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  32101. <stringProp name="BeanShellSampler.query">
  32102. adminUserList = props.get("adminUserList");
  32103. adminUserListIterator = props.get("adminUserListIterator");
  32104. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  32105. if (adminUsersDistribution == 1) {
  32106. adminUser = adminUserList.poll();
  32107. } else {
  32108. if (!adminUserListIterator.hasNext()) {
  32109. adminUserListIterator = adminUserList.descendingIterator();
  32110. }
  32111. adminUser = adminUserListIterator.next();
  32112. }
  32113. if (adminUser == null) {
  32114. SampleResult.setResponseMessage("adminUser list is empty");
  32115. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  32116. IsSuccess=false;
  32117. SampleResult.setSuccessful(false);
  32118. SampleResult.setStopThread(true);
  32119. }
  32120. vars.put("admin_user", adminUser);
  32121. </stringProp>
  32122. <stringProp name="BeanShellSampler.filename"/>
  32123. <stringProp name="BeanShellSampler.parameters"/>
  32124. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  32125. </BeanShellSampler>
  32126. <hashTree/>
  32127. </hashTree>
  32128. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  32129. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  32130. <collectionProp name="Arguments.arguments"/>
  32131. </elementProp>
  32132. <stringProp name="HTTPSampler.domain"/>
  32133. <stringProp name="HTTPSampler.port"/>
  32134. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  32135. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  32136. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  32137. <stringProp name="HTTPSampler.contentEncoding"/>
  32138. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  32139. <stringProp name="HTTPSampler.method">GET</stringProp>
  32140. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  32141. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  32142. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  32143. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  32144. <boolProp name="HTTPSampler.monitor">false</boolProp>
  32145. <stringProp name="HTTPSampler.embedded_url_re"/>
  32146. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  32147. <hashTree>
  32148. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  32149. <collectionProp name="Asserion.test_strings">
  32150. <stringProp name="-1397214398">Welcome</stringProp>
  32151. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  32152. </collectionProp>
  32153. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32154. <boolProp name="Assertion.assume_success">false</boolProp>
  32155. <intProp name="Assertion.test_type">2</intProp>
  32156. </ResponseAssertion>
  32157. <hashTree/>
  32158. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  32159. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32160. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  32161. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  32162. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32163. <stringProp name="RegexExtractor.default"/>
  32164. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32165. </RegexExtractor>
  32166. <hashTree/>
  32167. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  32168. <collectionProp name="Asserion.test_strings">
  32169. <stringProp name="2845929">^.+$</stringProp>
  32170. </collectionProp>
  32171. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32172. <boolProp name="Assertion.assume_success">false</boolProp>
  32173. <intProp name="Assertion.test_type">1</intProp>
  32174. <stringProp name="Assertion.scope">variable</stringProp>
  32175. <stringProp name="Scope.variable">admin_form_key</stringProp>
  32176. </ResponseAssertion>
  32177. <hashTree/>
  32178. </hashTree>
  32179. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  32180. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  32181. <collectionProp name="Arguments.arguments">
  32182. <elementProp name="dummy" elementType="HTTPArgument">
  32183. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32184. <stringProp name="Argument.value"/>
  32185. <stringProp name="Argument.metadata">=</stringProp>
  32186. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32187. <stringProp name="Argument.name">dummy</stringProp>
  32188. </elementProp>
  32189. <elementProp name="form_key" elementType="HTTPArgument">
  32190. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32191. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  32192. <stringProp name="Argument.metadata">=</stringProp>
  32193. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32194. <stringProp name="Argument.name">form_key</stringProp>
  32195. </elementProp>
  32196. <elementProp name="login[password]" elementType="HTTPArgument">
  32197. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32198. <stringProp name="Argument.value">${admin_password}</stringProp>
  32199. <stringProp name="Argument.metadata">=</stringProp>
  32200. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32201. <stringProp name="Argument.name">login[password]</stringProp>
  32202. </elementProp>
  32203. <elementProp name="login[username]" elementType="HTTPArgument">
  32204. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32205. <stringProp name="Argument.value">${admin_user}</stringProp>
  32206. <stringProp name="Argument.metadata">=</stringProp>
  32207. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32208. <stringProp name="Argument.name">login[username]</stringProp>
  32209. </elementProp>
  32210. </collectionProp>
  32211. </elementProp>
  32212. <stringProp name="HTTPSampler.domain"/>
  32213. <stringProp name="HTTPSampler.port"/>
  32214. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  32215. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  32216. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  32217. <stringProp name="HTTPSampler.contentEncoding"/>
  32218. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  32219. <stringProp name="HTTPSampler.method">POST</stringProp>
  32220. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  32221. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  32222. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  32223. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  32224. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  32225. <boolProp name="HTTPSampler.monitor">false</boolProp>
  32226. <stringProp name="HTTPSampler.embedded_url_re"/>
  32227. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  32228. </HTTPSamplerProxy>
  32229. <hashTree>
  32230. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  32231. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32232. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  32233. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  32234. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32235. <stringProp name="RegexExtractor.default"/>
  32236. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32237. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  32238. <hashTree/>
  32239. </hashTree>
  32240. </hashTree>
  32241. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  32242. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  32243. </GenericController>
  32244. <hashTree>
  32245. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Customer Management" enabled="true">
  32246. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_customer_management/admin_customer_management.jmx</stringProp>
  32247. </TestFragmentController>
  32248. <hashTree>
  32249. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Landing Page" enabled="true">
  32250. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  32251. <collectionProp name="Arguments.arguments"/>
  32252. </elementProp>
  32253. <stringProp name="HTTPSampler.domain"/>
  32254. <stringProp name="HTTPSampler.port"/>
  32255. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  32256. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  32257. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  32258. <stringProp name="HTTPSampler.contentEncoding"/>
  32259. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/customer/index</stringProp>
  32260. <stringProp name="HTTPSampler.method">GET</stringProp>
  32261. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  32262. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  32263. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  32264. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  32265. <boolProp name="HTTPSampler.monitor">false</boolProp>
  32266. <stringProp name="HTTPSampler.embedded_url_re"/>
  32267. </HTTPSamplerProxy>
  32268. <hashTree>
  32269. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  32270. <collectionProp name="HeaderManager.headers">
  32271. <elementProp name="Accept-Language" elementType="Header">
  32272. <stringProp name="Header.name">Accept-Language</stringProp>
  32273. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  32274. </elementProp>
  32275. <elementProp name="Accept" elementType="Header">
  32276. <stringProp name="Header.name">Accept</stringProp>
  32277. <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  32278. </elementProp>
  32279. <elementProp name="User-Agent" elementType="Header">
  32280. <stringProp name="Header.name">User-Agent</stringProp>
  32281. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  32282. </elementProp>
  32283. <elementProp name="Accept-Encoding" elementType="Header">
  32284. <stringProp name="Header.name">Accept-Encoding</stringProp>
  32285. <stringProp name="Header.value">gzip, deflate</stringProp>
  32286. </elementProp>
  32287. </collectionProp>
  32288. </HeaderManager>
  32289. <hashTree/>
  32290. </hashTree>
  32291. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Render" enabled="true">
  32292. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  32293. <collectionProp name="Arguments.arguments">
  32294. <elementProp name="namespace" elementType="HTTPArgument">
  32295. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32296. <stringProp name="Argument.value">customer_listing</stringProp>
  32297. <stringProp name="Argument.metadata">=</stringProp>
  32298. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32299. <stringProp name="Argument.name">namespace</stringProp>
  32300. </elementProp>
  32301. <elementProp name="search" elementType="HTTPArgument">
  32302. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32303. <stringProp name="Argument.value"/>
  32304. <stringProp name="Argument.metadata">=</stringProp>
  32305. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32306. <stringProp name="Argument.name">search</stringProp>
  32307. </elementProp>
  32308. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  32309. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32310. <stringProp name="Argument.value">true</stringProp>
  32311. <stringProp name="Argument.metadata">=</stringProp>
  32312. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32313. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  32314. </elementProp>
  32315. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  32316. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32317. <stringProp name="Argument.value">20</stringProp>
  32318. <stringProp name="Argument.metadata">=</stringProp>
  32319. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32320. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  32321. </elementProp>
  32322. <elementProp name="paging[current]" elementType="HTTPArgument">
  32323. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32324. <stringProp name="Argument.value">1</stringProp>
  32325. <stringProp name="Argument.metadata">=</stringProp>
  32326. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32327. <stringProp name="Argument.name">paging[current]</stringProp>
  32328. </elementProp>
  32329. <elementProp name="sorting[field]" elementType="HTTPArgument">
  32330. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32331. <stringProp name="Argument.value">entity_id</stringProp>
  32332. <stringProp name="Argument.metadata">=</stringProp>
  32333. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32334. <stringProp name="Argument.name">sorting[field]</stringProp>
  32335. </elementProp>
  32336. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  32337. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32338. <stringProp name="Argument.value">asc</stringProp>
  32339. <stringProp name="Argument.metadata">=</stringProp>
  32340. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32341. <stringProp name="Argument.name">sorting[direction]</stringProp>
  32342. </elementProp>
  32343. <elementProp name="isAjax" elementType="HTTPArgument">
  32344. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32345. <stringProp name="Argument.value">true</stringProp>
  32346. <stringProp name="Argument.metadata">=</stringProp>
  32347. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32348. <stringProp name="Argument.name">isAjax</stringProp>
  32349. </elementProp>
  32350. </collectionProp>
  32351. </elementProp>
  32352. <stringProp name="HTTPSampler.domain"/>
  32353. <stringProp name="HTTPSampler.port"/>
  32354. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  32355. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  32356. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  32357. <stringProp name="HTTPSampler.contentEncoding"/>
  32358. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  32359. <stringProp name="HTTPSampler.method">GET</stringProp>
  32360. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  32361. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  32362. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  32363. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  32364. <boolProp name="HTTPSampler.monitor">false</boolProp>
  32365. <stringProp name="HTTPSampler.embedded_url_re"/>
  32366. </HTTPSamplerProxy>
  32367. <hashTree>
  32368. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  32369. <collectionProp name="HeaderManager.headers">
  32370. <elementProp name="" elementType="Header">
  32371. <stringProp name="Header.name">X-Requested-With</stringProp>
  32372. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  32373. </elementProp>
  32374. </collectionProp>
  32375. </HeaderManager>
  32376. <hashTree/>
  32377. </hashTree>
  32378. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Render" enabled="true">
  32379. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  32380. <collectionProp name="Arguments.arguments">
  32381. <elementProp name="namespace" elementType="HTTPArgument">
  32382. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32383. <stringProp name="Argument.value">customer_listing</stringProp>
  32384. <stringProp name="Argument.metadata">=</stringProp>
  32385. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32386. <stringProp name="Argument.name">namespace</stringProp>
  32387. </elementProp>
  32388. <elementProp name="search" elementType="HTTPArgument">
  32389. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32390. <stringProp name="Argument.value">Lastname</stringProp>
  32391. <stringProp name="Argument.metadata">=</stringProp>
  32392. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32393. <stringProp name="Argument.name">search</stringProp>
  32394. </elementProp>
  32395. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  32396. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32397. <stringProp name="Argument.value">true</stringProp>
  32398. <stringProp name="Argument.metadata">=</stringProp>
  32399. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32400. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  32401. </elementProp>
  32402. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  32403. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32404. <stringProp name="Argument.value">20</stringProp>
  32405. <stringProp name="Argument.metadata">=</stringProp>
  32406. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32407. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  32408. </elementProp>
  32409. <elementProp name="paging[current]" elementType="HTTPArgument">
  32410. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32411. <stringProp name="Argument.value">1</stringProp>
  32412. <stringProp name="Argument.metadata">=</stringProp>
  32413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32414. <stringProp name="Argument.name">paging[current]</stringProp>
  32415. </elementProp>
  32416. <elementProp name="sorting[field]" elementType="HTTPArgument">
  32417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32418. <stringProp name="Argument.value">entity_id</stringProp>
  32419. <stringProp name="Argument.metadata">=</stringProp>
  32420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32421. <stringProp name="Argument.name">sorting[field]</stringProp>
  32422. </elementProp>
  32423. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  32424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32425. <stringProp name="Argument.value">asc</stringProp>
  32426. <stringProp name="Argument.metadata">=</stringProp>
  32427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32428. <stringProp name="Argument.name">sorting[direction]</stringProp>
  32429. </elementProp>
  32430. <elementProp name="isAjax" elementType="HTTPArgument">
  32431. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  32432. <stringProp name="Argument.value">true</stringProp>
  32433. <stringProp name="Argument.metadata">=</stringProp>
  32434. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  32435. <stringProp name="Argument.name">isAjax</stringProp>
  32436. </elementProp>
  32437. </collectionProp>
  32438. </elementProp>
  32439. <stringProp name="HTTPSampler.domain"/>
  32440. <stringProp name="HTTPSampler.port"/>
  32441. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  32442. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  32443. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  32444. <stringProp name="HTTPSampler.contentEncoding"/>
  32445. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  32446. <stringProp name="HTTPSampler.method">GET</stringProp>
  32447. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  32448. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  32449. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  32450. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  32451. <boolProp name="HTTPSampler.monitor">false</boolProp>
  32452. <stringProp name="HTTPSampler.embedded_url_re"/>
  32453. </HTTPSamplerProxy>
  32454. <hashTree>
  32455. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  32456. <collectionProp name="HeaderManager.headers">
  32457. <elementProp name="" elementType="Header">
  32458. <stringProp name="Header.name">X-Requested-With</stringProp>
  32459. <stringProp name="Header.value">XMLHttpRequest</stringProp>
  32460. </elementProp>
  32461. </collectionProp>
  32462. </HeaderManager>
  32463. <hashTree/>
  32464. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer edit url" enabled="true">
  32465. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32466. <stringProp name="RegexExtractor.refname">customer_edit_url_path</stringProp>
  32467. <stringProp name="RegexExtractor.regex">actions":\{"edit":\{"href":"(?:http|https):\\/\\/(.*?)\\/customer\\/index\\/edit\\/id\\/(\d+)\\/",</stringProp>
  32468. <stringProp name="RegexExtractor.template">/customer/index/edit/id/$2$/</stringProp>
  32469. <stringProp name="RegexExtractor.default"/>
  32470. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32471. </RegexExtractor>
  32472. <hashTree/>
  32473. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer edit url" enabled="true">
  32474. <collectionProp name="Asserion.test_strings">
  32475. <stringProp name="2845929">^.+$</stringProp>
  32476. </collectionProp>
  32477. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32478. <boolProp name="Assertion.assume_success">false</boolProp>
  32479. <intProp name="Assertion.test_type">1</intProp>
  32480. <stringProp name="Assertion.scope">variable</stringProp>
  32481. <stringProp name="Scope.variable">customer_edit_url_path</stringProp>
  32482. </ResponseAssertion>
  32483. <hashTree/>
  32484. </hashTree>
  32485. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Customer" enabled="true">
  32486. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  32487. <collectionProp name="Arguments.arguments"/>
  32488. </elementProp>
  32489. <stringProp name="HTTPSampler.domain"/>
  32490. <stringProp name="HTTPSampler.port"/>
  32491. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  32492. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  32493. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  32494. <stringProp name="HTTPSampler.contentEncoding"/>
  32495. <stringProp name="HTTPSampler.path">${base_path}${admin_path}${customer_edit_url_path}</stringProp>
  32496. <stringProp name="HTTPSampler.method">GET</stringProp>
  32497. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  32498. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  32499. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  32500. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  32501. <boolProp name="HTTPSampler.monitor">false</boolProp>
  32502. <stringProp name="HTTPSampler.embedded_url_re"/>
  32503. </HTTPSamplerProxy>
  32504. <hashTree>
  32505. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert edit customer page" enabled="true">
  32506. <collectionProp name="Asserion.test_strings">
  32507. <stringProp name="-1422614550">Customer Information</stringProp>
  32508. </collectionProp>
  32509. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32510. <boolProp name="Assertion.assume_success">false</boolProp>
  32511. <intProp name="Assertion.test_type">2</intProp>
  32512. </ResponseAssertion>
  32513. <hashTree/>
  32514. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer entity_id" enabled="true">
  32515. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32516. <stringProp name="RegexExtractor.refname">admin_customer_entity_id</stringProp>
  32517. <stringProp name="RegexExtractor.regex">"entity_id":"(\d+)"</stringProp>
  32518. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32519. <stringProp name="RegexExtractor.default"/>
  32520. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32521. </RegexExtractor>
  32522. <hashTree/>
  32523. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract website_id" enabled="true">
  32524. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32525. <stringProp name="RegexExtractor.refname">admin_customer_website_id</stringProp>
  32526. <stringProp name="RegexExtractor.regex">"website_id":"(\d+)"</stringProp>
  32527. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32528. <stringProp name="RegexExtractor.default"/>
  32529. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32530. </RegexExtractor>
  32531. <hashTree/>
  32532. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer firstname" enabled="true">
  32533. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32534. <stringProp name="RegexExtractor.refname">admin_customer_firstname</stringProp>
  32535. <stringProp name="RegexExtractor.regex">"firstname":"([^"]+)"</stringProp>
  32536. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32537. <stringProp name="RegexExtractor.default"/>
  32538. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32539. </RegexExtractor>
  32540. <hashTree/>
  32541. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer lastname" enabled="true">
  32542. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32543. <stringProp name="RegexExtractor.refname">admin_customer_lastname</stringProp>
  32544. <stringProp name="RegexExtractor.regex">"lastname":"([^"]+)"</stringProp>
  32545. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32546. <stringProp name="RegexExtractor.default"/>
  32547. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32548. </RegexExtractor>
  32549. <hashTree/>
  32550. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract customer email" enabled="true">
  32551. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32552. <stringProp name="RegexExtractor.refname">admin_customer_email</stringProp>
  32553. <stringProp name="RegexExtractor.regex">"email":"([^\@]+@[^.]+.[^"]+)"</stringProp>
  32554. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32555. <stringProp name="RegexExtractor.default"/>
  32556. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32557. </RegexExtractor>
  32558. <hashTree/>
  32559. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract group_id" enabled="true">
  32560. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32561. <stringProp name="RegexExtractor.refname">admin_customer_group_id</stringProp>
  32562. <stringProp name="RegexExtractor.regex">"group_id":"(\d+)"</stringProp>
  32563. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32564. <stringProp name="RegexExtractor.default"/>
  32565. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32566. </RegexExtractor>
  32567. <hashTree/>
  32568. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract store_id" enabled="true">
  32569. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32570. <stringProp name="RegexExtractor.refname">admin_customer_store_id</stringProp>
  32571. <stringProp name="RegexExtractor.regex">"store_id":"(\d+)"</stringProp>
  32572. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32573. <stringProp name="RegexExtractor.default"/>
  32574. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32575. </RegexExtractor>
  32576. <hashTree/>
  32577. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extact created_at" enabled="true">
  32578. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32579. <stringProp name="RegexExtractor.refname">admin_customer_created_at</stringProp>
  32580. <stringProp name="RegexExtractor.regex">"created_at":"([^"]+)"</stringProp>
  32581. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32582. <stringProp name="RegexExtractor.default"/>
  32583. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32584. </RegexExtractor>
  32585. <hashTree/>
  32586. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract updated_at" enabled="true">
  32587. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32588. <stringProp name="RegexExtractor.refname">admin_customer_updated_at</stringProp>
  32589. <stringProp name="RegexExtractor.regex">"updated_at":"([^"]+)"</stringProp>
  32590. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32591. <stringProp name="RegexExtractor.default"/>
  32592. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32593. </RegexExtractor>
  32594. <hashTree/>
  32595. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract is_active" enabled="true">
  32596. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32597. <stringProp name="RegexExtractor.refname">admin_customer_is_active</stringProp>
  32598. <stringProp name="RegexExtractor.regex">"is_active":"(\d+)"</stringProp>
  32599. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32600. <stringProp name="RegexExtractor.default"/>
  32601. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32602. </RegexExtractor>
  32603. <hashTree/>
  32604. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract disable_auto_group_change" enabled="true">
  32605. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32606. <stringProp name="RegexExtractor.refname">admin_customer_disable_auto_group_change</stringProp>
  32607. <stringProp name="RegexExtractor.regex">"disable_auto_group_change":"(\d+)"</stringProp>
  32608. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32609. <stringProp name="RegexExtractor.default"/>
  32610. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32611. </RegexExtractor>
  32612. <hashTree/>
  32613. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract created_in" enabled="true">
  32614. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32615. <stringProp name="RegexExtractor.refname">admin_customer_created_in</stringProp>
  32616. <stringProp name="RegexExtractor.regex">"created_in":"([^"]+)"</stringProp>
  32617. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32618. <stringProp name="RegexExtractor.default"/>
  32619. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32620. </RegexExtractor>
  32621. <hashTree/>
  32622. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract dob" enabled="true">
  32623. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32624. <stringProp name="RegexExtractor.refname">admin_customer_dob</stringProp>
  32625. <stringProp name="RegexExtractor.regex">"dob":"(\d+)-(\d+)-(\d+)"</stringProp>
  32626. <stringProp name="RegexExtractor.template">$2$/$3$/$1$</stringProp>
  32627. <stringProp name="RegexExtractor.default"/>
  32628. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32629. </RegexExtractor>
  32630. <hashTree/>
  32631. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract default_billing" enabled="true">
  32632. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32633. <stringProp name="RegexExtractor.refname">admin_customer_default_billing</stringProp>
  32634. <stringProp name="RegexExtractor.regex">"default_billing":"(\d+)"</stringProp>
  32635. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32636. <stringProp name="RegexExtractor.default"/>
  32637. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32638. </RegexExtractor>
  32639. <hashTree/>
  32640. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract default_shipping" enabled="true">
  32641. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32642. <stringProp name="RegexExtractor.refname">admin_customer_default_shipping</stringProp>
  32643. <stringProp name="RegexExtractor.regex">"default_shipping":"(\d+)"</stringProp>
  32644. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32645. <stringProp name="RegexExtractor.default"/>
  32646. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32647. </RegexExtractor>
  32648. <hashTree/>
  32649. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract gender" enabled="true">
  32650. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32651. <stringProp name="RegexExtractor.refname">admin_customer_gender</stringProp>
  32652. <stringProp name="RegexExtractor.regex">"gender":"(\d+)"</stringProp>
  32653. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32654. <stringProp name="RegexExtractor.default"/>
  32655. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32656. </RegexExtractor>
  32657. <hashTree/>
  32658. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract failures_num" enabled="true">
  32659. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32660. <stringProp name="RegexExtractor.refname">admin_customer_failures_num</stringProp>
  32661. <stringProp name="RegexExtractor.regex">"failures_num":"(\d+)"</stringProp>
  32662. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32663. <stringProp name="RegexExtractor.default"/>
  32664. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32665. </RegexExtractor>
  32666. <hashTree/>
  32667. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_entity_id" enabled="true">
  32668. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32669. <stringProp name="RegexExtractor.refname">admin_customer_address_entity_id</stringProp>
  32670. <stringProp name="RegexExtractor.regex">_address":\{"entity_id":"(\d+)".+?"parent_id":"${admin_customer_entity_id}"</stringProp>
  32671. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32672. <stringProp name="RegexExtractor.default"/>
  32673. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32674. </RegexExtractor>
  32675. <hashTree/>
  32676. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_created_at" enabled="true">
  32677. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32678. <stringProp name="RegexExtractor.refname">admin_customer_address_created_at</stringProp>
  32679. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"created_at":"([^"]+)"</stringProp>
  32680. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32681. <stringProp name="RegexExtractor.default"/>
  32682. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32683. </RegexExtractor>
  32684. <hashTree/>
  32685. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_updated_at" enabled="true">
  32686. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32687. <stringProp name="RegexExtractor.refname">admin_customer_address_updated_at</stringProp>
  32688. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"updated_at":"([^"]+)"</stringProp>
  32689. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32690. <stringProp name="RegexExtractor.default"/>
  32691. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32692. </RegexExtractor>
  32693. <hashTree/>
  32694. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_is_active" enabled="true">
  32695. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32696. <stringProp name="RegexExtractor.refname">admin_customer_address_is_active</stringProp>
  32697. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"is_active":"(\d+)"</stringProp>
  32698. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32699. <stringProp name="RegexExtractor.default"/>
  32700. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32701. </RegexExtractor>
  32702. <hashTree/>
  32703. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_city" enabled="true">
  32704. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32705. <stringProp name="RegexExtractor.refname">admin_customer_address_city</stringProp>
  32706. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"city":"([^"]+)"</stringProp>
  32707. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32708. <stringProp name="RegexExtractor.default"/>
  32709. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32710. </RegexExtractor>
  32711. <hashTree/>
  32712. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_country_id" enabled="true">
  32713. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32714. <stringProp name="RegexExtractor.refname">admin_customer_address_country_id</stringProp>
  32715. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"country_id":"([^"]+)"</stringProp>
  32716. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32717. <stringProp name="RegexExtractor.default"/>
  32718. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32719. </RegexExtractor>
  32720. <hashTree/>
  32721. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_firstname" enabled="true">
  32722. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32723. <stringProp name="RegexExtractor.refname">admin_customer_address_firstname</stringProp>
  32724. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"firstname":"([^"]+)"</stringProp>
  32725. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32726. <stringProp name="RegexExtractor.default"/>
  32727. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32728. </RegexExtractor>
  32729. <hashTree/>
  32730. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_lastname" enabled="true">
  32731. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32732. <stringProp name="RegexExtractor.refname">admin_customer_address_lastname</stringProp>
  32733. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"lastname":"([^"]+)"</stringProp>
  32734. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32735. <stringProp name="RegexExtractor.default"/>
  32736. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32737. </RegexExtractor>
  32738. <hashTree/>
  32739. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_postcode" enabled="true">
  32740. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32741. <stringProp name="RegexExtractor.refname">admin_customer_address_postcode</stringProp>
  32742. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"postcode":"([^"]+)"</stringProp>
  32743. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32744. <stringProp name="RegexExtractor.default"/>
  32745. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32746. </RegexExtractor>
  32747. <hashTree/>
  32748. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_region" enabled="true">
  32749. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32750. <stringProp name="RegexExtractor.refname">admin_customer_address_region</stringProp>
  32751. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"region":"([^"]+)"</stringProp>
  32752. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32753. <stringProp name="RegexExtractor.default"/>
  32754. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32755. </RegexExtractor>
  32756. <hashTree/>
  32757. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_region_id" enabled="true">
  32758. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32759. <stringProp name="RegexExtractor.refname">admin_customer_address_region_id</stringProp>
  32760. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"region_id":"([^"]+)"</stringProp>
  32761. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32762. <stringProp name="RegexExtractor.default"/>
  32763. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32764. </RegexExtractor>
  32765. <hashTree/>
  32766. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address street" enabled="true">
  32767. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32768. <stringProp name="RegexExtractor.refname">admin_customer_address_street</stringProp>
  32769. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"street":\["([^"]+)"\]</stringProp>
  32770. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32771. <stringProp name="RegexExtractor.default"/>
  32772. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32773. </RegexExtractor>
  32774. <hashTree/>
  32775. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_telephone" enabled="true">
  32776. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32777. <stringProp name="RegexExtractor.refname">admin_customer_address_telephone</stringProp>
  32778. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"telephone":"([^"]+)"</stringProp>
  32779. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32780. <stringProp name="RegexExtractor.default"/>
  32781. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32782. </RegexExtractor>
  32783. <hashTree/>
  32784. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract address_customer_id" enabled="true">
  32785. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  32786. <stringProp name="RegexExtractor.refname">admin_customer_address_customer_id</stringProp>
  32787. <stringProp name="RegexExtractor.regex">_address":\{.+?"parent_id":"${admin_customer_entity_id}".+?"customer_id":"([^"]+)"</stringProp>
  32788. <stringProp name="RegexExtractor.template">$1$</stringProp>
  32789. <stringProp name="RegexExtractor.default"/>
  32790. <stringProp name="RegexExtractor.match_number">1</stringProp>
  32791. </RegexExtractor>
  32792. <hashTree/>
  32793. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer entity_id" enabled="true">
  32794. <collectionProp name="Asserion.test_strings">
  32795. <stringProp name="89649215">^\d+$</stringProp>
  32796. </collectionProp>
  32797. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32798. <boolProp name="Assertion.assume_success">false</boolProp>
  32799. <intProp name="Assertion.test_type">1</intProp>
  32800. <stringProp name="Assertion.scope">variable</stringProp>
  32801. <stringProp name="Scope.variable">admin_customer_entity_id</stringProp>
  32802. </ResponseAssertion>
  32803. <hashTree/>
  32804. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert website_id" enabled="true">
  32805. <collectionProp name="Asserion.test_strings">
  32806. <stringProp name="89649215">^\d+$</stringProp>
  32807. </collectionProp>
  32808. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32809. <boolProp name="Assertion.assume_success">false</boolProp>
  32810. <intProp name="Assertion.test_type">1</intProp>
  32811. <stringProp name="Assertion.scope">variable</stringProp>
  32812. <stringProp name="Scope.variable">admin_customer_website_id</stringProp>
  32813. </ResponseAssertion>
  32814. <hashTree/>
  32815. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer firstname" enabled="true">
  32816. <collectionProp name="Asserion.test_strings">
  32817. <stringProp name="2845929">^.+$</stringProp>
  32818. </collectionProp>
  32819. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32820. <boolProp name="Assertion.assume_success">false</boolProp>
  32821. <intProp name="Assertion.test_type">1</intProp>
  32822. <stringProp name="Assertion.scope">variable</stringProp>
  32823. <stringProp name="Scope.variable">admin_customer_firstname</stringProp>
  32824. </ResponseAssertion>
  32825. <hashTree/>
  32826. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer lastname" enabled="true">
  32827. <collectionProp name="Asserion.test_strings">
  32828. <stringProp name="2845929">^.+$</stringProp>
  32829. </collectionProp>
  32830. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32831. <boolProp name="Assertion.assume_success">false</boolProp>
  32832. <intProp name="Assertion.test_type">1</intProp>
  32833. <stringProp name="Assertion.scope">variable</stringProp>
  32834. <stringProp name="Scope.variable">admin_customer_lastname</stringProp>
  32835. </ResponseAssertion>
  32836. <hashTree/>
  32837. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer email" enabled="true">
  32838. <collectionProp name="Asserion.test_strings">
  32839. <stringProp name="2845929">^.+$</stringProp>
  32840. </collectionProp>
  32841. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32842. <boolProp name="Assertion.assume_success">false</boolProp>
  32843. <intProp name="Assertion.test_type">1</intProp>
  32844. <stringProp name="Assertion.scope">variable</stringProp>
  32845. <stringProp name="Scope.variable">admin_customer_email</stringProp>
  32846. </ResponseAssertion>
  32847. <hashTree/>
  32848. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer group_id" enabled="true">
  32849. <collectionProp name="Asserion.test_strings">
  32850. <stringProp name="89649215">^\d+$</stringProp>
  32851. </collectionProp>
  32852. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32853. <boolProp name="Assertion.assume_success">false</boolProp>
  32854. <intProp name="Assertion.test_type">1</intProp>
  32855. <stringProp name="Assertion.scope">variable</stringProp>
  32856. <stringProp name="Scope.variable">admin_customer_group_id</stringProp>
  32857. </ResponseAssertion>
  32858. <hashTree/>
  32859. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer store_id" enabled="true">
  32860. <collectionProp name="Asserion.test_strings">
  32861. <stringProp name="89649215">^\d+$</stringProp>
  32862. </collectionProp>
  32863. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32864. <boolProp name="Assertion.assume_success">false</boolProp>
  32865. <intProp name="Assertion.test_type">1</intProp>
  32866. <stringProp name="Assertion.scope">variable</stringProp>
  32867. <stringProp name="Scope.variable">admin_customer_store_id</stringProp>
  32868. </ResponseAssertion>
  32869. <hashTree/>
  32870. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer created_at" enabled="true">
  32871. <collectionProp name="Asserion.test_strings">
  32872. <stringProp name="2845929">^.+$</stringProp>
  32873. </collectionProp>
  32874. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32875. <boolProp name="Assertion.assume_success">false</boolProp>
  32876. <intProp name="Assertion.test_type">1</intProp>
  32877. <stringProp name="Assertion.scope">variable</stringProp>
  32878. <stringProp name="Scope.variable">admin_customer_created_at</stringProp>
  32879. </ResponseAssertion>
  32880. <hashTree/>
  32881. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer updated_at" enabled="true">
  32882. <collectionProp name="Asserion.test_strings">
  32883. <stringProp name="2845929">^.+$</stringProp>
  32884. </collectionProp>
  32885. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32886. <boolProp name="Assertion.assume_success">false</boolProp>
  32887. <intProp name="Assertion.test_type">1</intProp>
  32888. <stringProp name="Assertion.scope">variable</stringProp>
  32889. <stringProp name="Scope.variable">admin_customer_updated_at</stringProp>
  32890. </ResponseAssertion>
  32891. <hashTree/>
  32892. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer is_active" enabled="true">
  32893. <collectionProp name="Asserion.test_strings">
  32894. <stringProp name="89649215">^\d+$</stringProp>
  32895. </collectionProp>
  32896. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32897. <boolProp name="Assertion.assume_success">false</boolProp>
  32898. <intProp name="Assertion.test_type">1</intProp>
  32899. <stringProp name="Assertion.scope">variable</stringProp>
  32900. <stringProp name="Scope.variable">admin_customer_is_active</stringProp>
  32901. </ResponseAssertion>
  32902. <hashTree/>
  32903. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer disable_auto_group_change" enabled="true">
  32904. <collectionProp name="Asserion.test_strings">
  32905. <stringProp name="89649215">^\d+$</stringProp>
  32906. </collectionProp>
  32907. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32908. <boolProp name="Assertion.assume_success">false</boolProp>
  32909. <intProp name="Assertion.test_type">1</intProp>
  32910. <stringProp name="Assertion.scope">variable</stringProp>
  32911. <stringProp name="Scope.variable">admin_customer_disable_auto_group_change</stringProp>
  32912. </ResponseAssertion>
  32913. <hashTree/>
  32914. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer created_in" enabled="true">
  32915. <collectionProp name="Asserion.test_strings">
  32916. <stringProp name="2845929">^.+$</stringProp>
  32917. </collectionProp>
  32918. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32919. <boolProp name="Assertion.assume_success">false</boolProp>
  32920. <intProp name="Assertion.test_type">1</intProp>
  32921. <stringProp name="Assertion.scope">variable</stringProp>
  32922. <stringProp name="Scope.variable">admin_customer_created_in</stringProp>
  32923. </ResponseAssertion>
  32924. <hashTree/>
  32925. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer dob" enabled="true">
  32926. <collectionProp name="Asserion.test_strings">
  32927. <stringProp name="221072919">^\d+/\d+/\d+$</stringProp>
  32928. </collectionProp>
  32929. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32930. <boolProp name="Assertion.assume_success">false</boolProp>
  32931. <intProp name="Assertion.test_type">1</intProp>
  32932. <stringProp name="Assertion.scope">variable</stringProp>
  32933. <stringProp name="Scope.variable">admin_customer_dob</stringProp>
  32934. </ResponseAssertion>
  32935. <hashTree/>
  32936. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer default_billing" enabled="true">
  32937. <collectionProp name="Asserion.test_strings">
  32938. <stringProp name="89649215">^\d+$</stringProp>
  32939. </collectionProp>
  32940. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32941. <boolProp name="Assertion.assume_success">false</boolProp>
  32942. <intProp name="Assertion.test_type">1</intProp>
  32943. <stringProp name="Assertion.scope">variable</stringProp>
  32944. <stringProp name="Scope.variable">admin_customer_default_billing</stringProp>
  32945. </ResponseAssertion>
  32946. <hashTree/>
  32947. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer default_shipping" enabled="true">
  32948. <collectionProp name="Asserion.test_strings">
  32949. <stringProp name="89649215">^\d+$</stringProp>
  32950. </collectionProp>
  32951. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32952. <boolProp name="Assertion.assume_success">false</boolProp>
  32953. <intProp name="Assertion.test_type">1</intProp>
  32954. <stringProp name="Assertion.scope">variable</stringProp>
  32955. <stringProp name="Scope.variable">admin_customer_default_shipping</stringProp>
  32956. </ResponseAssertion>
  32957. <hashTree/>
  32958. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer gender" enabled="true">
  32959. <collectionProp name="Asserion.test_strings">
  32960. <stringProp name="89649215">^\d+$</stringProp>
  32961. </collectionProp>
  32962. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32963. <boolProp name="Assertion.assume_success">false</boolProp>
  32964. <intProp name="Assertion.test_type">1</intProp>
  32965. <stringProp name="Assertion.scope">variable</stringProp>
  32966. <stringProp name="Scope.variable">admin_customer_gender</stringProp>
  32967. </ResponseAssertion>
  32968. <hashTree/>
  32969. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer failures_num" enabled="true">
  32970. <collectionProp name="Asserion.test_strings">
  32971. <stringProp name="89649215">^\d+$</stringProp>
  32972. </collectionProp>
  32973. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32974. <boolProp name="Assertion.assume_success">false</boolProp>
  32975. <intProp name="Assertion.test_type">1</intProp>
  32976. <stringProp name="Assertion.scope">variable</stringProp>
  32977. <stringProp name="Scope.variable">admin_customer_failures_num</stringProp>
  32978. </ResponseAssertion>
  32979. <hashTree/>
  32980. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_entity_id" enabled="true">
  32981. <collectionProp name="Asserion.test_strings">
  32982. <stringProp name="89649215">^\d+$</stringProp>
  32983. </collectionProp>
  32984. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32985. <boolProp name="Assertion.assume_success">false</boolProp>
  32986. <intProp name="Assertion.test_type">1</intProp>
  32987. <stringProp name="Assertion.scope">variable</stringProp>
  32988. <stringProp name="Scope.variable">admin_customer_address_entity_id</stringProp>
  32989. </ResponseAssertion>
  32990. <hashTree/>
  32991. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_created_at" enabled="true">
  32992. <collectionProp name="Asserion.test_strings">
  32993. <stringProp name="2845929">^.+$</stringProp>
  32994. </collectionProp>
  32995. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  32996. <boolProp name="Assertion.assume_success">false</boolProp>
  32997. <intProp name="Assertion.test_type">1</intProp>
  32998. <stringProp name="Assertion.scope">variable</stringProp>
  32999. <stringProp name="Scope.variable">admin_customer_address_created_at</stringProp>
  33000. </ResponseAssertion>
  33001. <hashTree/>
  33002. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_updated_at" enabled="true">
  33003. <collectionProp name="Asserion.test_strings">
  33004. <stringProp name="2845929">^.+$</stringProp>
  33005. </collectionProp>
  33006. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33007. <boolProp name="Assertion.assume_success">false</boolProp>
  33008. <intProp name="Assertion.test_type">1</intProp>
  33009. <stringProp name="Assertion.scope">variable</stringProp>
  33010. <stringProp name="Scope.variable">admin_customer_address_updated_at</stringProp>
  33011. </ResponseAssertion>
  33012. <hashTree/>
  33013. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_is_active" enabled="true">
  33014. <collectionProp name="Asserion.test_strings">
  33015. <stringProp name="89649215">^\d+$</stringProp>
  33016. </collectionProp>
  33017. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33018. <boolProp name="Assertion.assume_success">false</boolProp>
  33019. <intProp name="Assertion.test_type">1</intProp>
  33020. <stringProp name="Assertion.scope">variable</stringProp>
  33021. <stringProp name="Scope.variable">admin_customer_address_is_active</stringProp>
  33022. </ResponseAssertion>
  33023. <hashTree/>
  33024. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_city" enabled="true">
  33025. <collectionProp name="Asserion.test_strings">
  33026. <stringProp name="2845929">^.+$</stringProp>
  33027. </collectionProp>
  33028. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33029. <boolProp name="Assertion.assume_success">false</boolProp>
  33030. <intProp name="Assertion.test_type">1</intProp>
  33031. <stringProp name="Assertion.scope">variable</stringProp>
  33032. <stringProp name="Scope.variable">admin_customer_address_city</stringProp>
  33033. </ResponseAssertion>
  33034. <hashTree/>
  33035. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_country_id" enabled="true">
  33036. <collectionProp name="Asserion.test_strings">
  33037. <stringProp name="2845929">^.+$</stringProp>
  33038. </collectionProp>
  33039. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33040. <boolProp name="Assertion.assume_success">false</boolProp>
  33041. <intProp name="Assertion.test_type">1</intProp>
  33042. <stringProp name="Assertion.scope">variable</stringProp>
  33043. <stringProp name="Scope.variable">admin_customer_address_country_id</stringProp>
  33044. </ResponseAssertion>
  33045. <hashTree/>
  33046. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_firstname" enabled="true">
  33047. <collectionProp name="Asserion.test_strings">
  33048. <stringProp name="2845929">^.+$</stringProp>
  33049. </collectionProp>
  33050. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33051. <boolProp name="Assertion.assume_success">false</boolProp>
  33052. <intProp name="Assertion.test_type">1</intProp>
  33053. <stringProp name="Assertion.scope">variable</stringProp>
  33054. <stringProp name="Scope.variable">admin_customer_address_firstname</stringProp>
  33055. </ResponseAssertion>
  33056. <hashTree/>
  33057. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_lastname" enabled="true">
  33058. <collectionProp name="Asserion.test_strings">
  33059. <stringProp name="2845929">^.+$</stringProp>
  33060. </collectionProp>
  33061. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33062. <boolProp name="Assertion.assume_success">false</boolProp>
  33063. <intProp name="Assertion.test_type">1</intProp>
  33064. <stringProp name="Assertion.scope">variable</stringProp>
  33065. <stringProp name="Scope.variable">admin_customer_address_lastname</stringProp>
  33066. </ResponseAssertion>
  33067. <hashTree/>
  33068. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_postcode" enabled="true">
  33069. <collectionProp name="Asserion.test_strings">
  33070. <stringProp name="2845929">^.+$</stringProp>
  33071. </collectionProp>
  33072. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33073. <boolProp name="Assertion.assume_success">false</boolProp>
  33074. <intProp name="Assertion.test_type">1</intProp>
  33075. <stringProp name="Assertion.scope">variable</stringProp>
  33076. <stringProp name="Scope.variable">admin_customer_address_postcode</stringProp>
  33077. </ResponseAssertion>
  33078. <hashTree/>
  33079. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_region" enabled="true">
  33080. <collectionProp name="Asserion.test_strings">
  33081. <stringProp name="2845929">^.+$</stringProp>
  33082. </collectionProp>
  33083. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33084. <boolProp name="Assertion.assume_success">false</boolProp>
  33085. <intProp name="Assertion.test_type">1</intProp>
  33086. <stringProp name="Assertion.scope">variable</stringProp>
  33087. <stringProp name="Scope.variable">admin_customer_address_region</stringProp>
  33088. </ResponseAssertion>
  33089. <hashTree/>
  33090. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_region_id" enabled="true">
  33091. <collectionProp name="Asserion.test_strings">
  33092. <stringProp name="89649215">^\d+$</stringProp>
  33093. </collectionProp>
  33094. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33095. <boolProp name="Assertion.assume_success">false</boolProp>
  33096. <intProp name="Assertion.test_type">1</intProp>
  33097. <stringProp name="Assertion.scope">variable</stringProp>
  33098. <stringProp name="Scope.variable">admin_customer_address_region_id</stringProp>
  33099. </ResponseAssertion>
  33100. <hashTree/>
  33101. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_street" enabled="true">
  33102. <collectionProp name="Asserion.test_strings">
  33103. <stringProp name="2845929">^.+$</stringProp>
  33104. </collectionProp>
  33105. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33106. <boolProp name="Assertion.assume_success">false</boolProp>
  33107. <intProp name="Assertion.test_type">1</intProp>
  33108. <stringProp name="Assertion.scope">variable</stringProp>
  33109. <stringProp name="Scope.variable">admin_customer_address_street</stringProp>
  33110. </ResponseAssertion>
  33111. <hashTree/>
  33112. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_telephone" enabled="true">
  33113. <collectionProp name="Asserion.test_strings">
  33114. <stringProp name="2845929">^.+$</stringProp>
  33115. </collectionProp>
  33116. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33117. <boolProp name="Assertion.assume_success">false</boolProp>
  33118. <intProp name="Assertion.test_type">1</intProp>
  33119. <stringProp name="Assertion.scope">variable</stringProp>
  33120. <stringProp name="Scope.variable">admin_customer_address_telephone</stringProp>
  33121. </ResponseAssertion>
  33122. <hashTree/>
  33123. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert address_customer_id" enabled="true">
  33124. <collectionProp name="Asserion.test_strings">
  33125. <stringProp name="89649215">^\d+$</stringProp>
  33126. </collectionProp>
  33127. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  33128. <boolProp name="Assertion.assume_success">false</boolProp>
  33129. <intProp name="Assertion.test_type">1</intProp>
  33130. <stringProp name="Assertion.scope">variable</stringProp>
  33131. <stringProp name="Scope.variable">admin_customer_address_customer_id</stringProp>
  33132. </ResponseAssertion>
  33133. <hashTree/>
  33134. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  33135. <collectionProp name="HeaderManager.headers">
  33136. <elementProp name="Accept-Language" elementType="Header">
  33137. <stringProp name="Header.name">Accept-Language</stringProp>
  33138. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  33139. </elementProp>
  33140. <elementProp name="Accept" elementType="Header">
  33141. <stringProp name="Header.name">Accept</stringProp>
  33142. <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  33143. </elementProp>
  33144. <elementProp name="User-Agent" elementType="Header">
  33145. <stringProp name="Header.name">User-Agent</stringProp>
  33146. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  33147. </elementProp>
  33148. <elementProp name="Accept-Encoding" elementType="Header">
  33149. <stringProp name="Header.name">Accept-Encoding</stringProp>
  33150. <stringProp name="Header.value">gzip, deflate</stringProp>
  33151. </elementProp>
  33152. </collectionProp>
  33153. </HeaderManager>
  33154. <hashTree/>
  33155. </hashTree>
  33156. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Customer Validate" enabled="true">
  33157. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  33158. <collectionProp name="Arguments.arguments">
  33159. <elementProp name="isAjax " elementType="HTTPArgument">
  33160. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33161. <stringProp name="Argument.value">true</stringProp>
  33162. <stringProp name="Argument.metadata">=</stringProp>
  33163. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33164. <stringProp name="Argument.name">isAjax </stringProp>
  33165. </elementProp>
  33166. <elementProp name="customer[entity_id]" elementType="HTTPArgument">
  33167. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33168. <stringProp name="Argument.value">${admin_customer_entity_id}</stringProp>
  33169. <stringProp name="Argument.metadata">=</stringProp>
  33170. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33171. <stringProp name="Argument.name">customer[entity_id]</stringProp>
  33172. </elementProp>
  33173. <elementProp name="customer[website_id]" elementType="HTTPArgument">
  33174. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33175. <stringProp name="Argument.value">${admin_customer_website_id}</stringProp>
  33176. <stringProp name="Argument.metadata">=</stringProp>
  33177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33178. <stringProp name="Argument.name">customer[website_id]</stringProp>
  33179. </elementProp>
  33180. <elementProp name="customer[email]" elementType="HTTPArgument">
  33181. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33182. <stringProp name="Argument.value">${admin_customer_email}</stringProp>
  33183. <stringProp name="Argument.metadata">=</stringProp>
  33184. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33185. <stringProp name="Argument.name">customer[email]</stringProp>
  33186. </elementProp>
  33187. <elementProp name="customer[group_id]" elementType="HTTPArgument">
  33188. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33189. <stringProp name="Argument.value">${admin_customer_group_id}</stringProp>
  33190. <stringProp name="Argument.metadata">=</stringProp>
  33191. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33192. <stringProp name="Argument.name">customer[group_id]</stringProp>
  33193. </elementProp>
  33194. <elementProp name="customer[store_id]" elementType="HTTPArgument">
  33195. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33196. <stringProp name="Argument.value">${admin_customer_store_id}</stringProp>
  33197. <stringProp name="Argument.metadata">=</stringProp>
  33198. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33199. <stringProp name="Argument.name">customer[store_id]</stringProp>
  33200. </elementProp>
  33201. <elementProp name="customer[created_at]" elementType="HTTPArgument">
  33202. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33203. <stringProp name="Argument.value">${admin_customer_created_at}</stringProp>
  33204. <stringProp name="Argument.metadata">=</stringProp>
  33205. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33206. <stringProp name="Argument.name">customer[created_at]</stringProp>
  33207. </elementProp>
  33208. <elementProp name="customer[updated_at]" elementType="HTTPArgument">
  33209. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33210. <stringProp name="Argument.value">${admin_customer_updated_at}</stringProp>
  33211. <stringProp name="Argument.metadata">=</stringProp>
  33212. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33213. <stringProp name="Argument.name">customer[updated_at]</stringProp>
  33214. </elementProp>
  33215. <elementProp name="customer[is_active]" elementType="HTTPArgument">
  33216. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33217. <stringProp name="Argument.value">${admin_customer_is_active}</stringProp>
  33218. <stringProp name="Argument.metadata">=</stringProp>
  33219. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33220. <stringProp name="Argument.name">customer[is_active]</stringProp>
  33221. </elementProp>
  33222. <elementProp name="customer[disable_auto_group_change]" elementType="HTTPArgument">
  33223. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33224. <stringProp name="Argument.value">${admin_customer_disable_auto_group_change}</stringProp>
  33225. <stringProp name="Argument.metadata">=</stringProp>
  33226. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33227. <stringProp name="Argument.name">customer[disable_auto_group_change]</stringProp>
  33228. </elementProp>
  33229. <elementProp name="customer[created_in]" elementType="HTTPArgument">
  33230. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33231. <stringProp name="Argument.value">${admin_customer_created_in}</stringProp>
  33232. <stringProp name="Argument.metadata">=</stringProp>
  33233. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33234. <stringProp name="Argument.name">customer[created_in]</stringProp>
  33235. </elementProp>
  33236. <elementProp name="customer[prefix]" elementType="HTTPArgument">
  33237. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33238. <stringProp name="Argument.value"/>
  33239. <stringProp name="Argument.metadata">=</stringProp>
  33240. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33241. <stringProp name="Argument.name">customer[prefix]</stringProp>
  33242. </elementProp>
  33243. <elementProp name="customer[firstname]" elementType="HTTPArgument">
  33244. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33245. <stringProp name="Argument.value">${admin_customer_firstname} 1</stringProp>
  33246. <stringProp name="Argument.metadata">=</stringProp>
  33247. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33248. <stringProp name="Argument.name">customer[firstname]</stringProp>
  33249. </elementProp>
  33250. <elementProp name="customer[middlename]" elementType="HTTPArgument">
  33251. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33252. <stringProp name="Argument.value"/>
  33253. <stringProp name="Argument.metadata">=</stringProp>
  33254. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33255. <stringProp name="Argument.name">customer[middlename]</stringProp>
  33256. </elementProp>
  33257. <elementProp name="customer[lastname]" elementType="HTTPArgument">
  33258. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33259. <stringProp name="Argument.value">${admin_customer_lastname} 1</stringProp>
  33260. <stringProp name="Argument.metadata">=</stringProp>
  33261. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33262. <stringProp name="Argument.name">customer[lastname]</stringProp>
  33263. </elementProp>
  33264. <elementProp name="customer[suffix]" elementType="HTTPArgument">
  33265. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33266. <stringProp name="Argument.value"/>
  33267. <stringProp name="Argument.metadata">=</stringProp>
  33268. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33269. <stringProp name="Argument.name">customer[suffix]</stringProp>
  33270. </elementProp>
  33271. <elementProp name="customer[dob]" elementType="HTTPArgument">
  33272. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33273. <stringProp name="Argument.value">${admin_customer_dob}</stringProp>
  33274. <stringProp name="Argument.metadata">=</stringProp>
  33275. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33276. <stringProp name="Argument.name">customer[dob]</stringProp>
  33277. </elementProp>
  33278. <elementProp name="customer[default_billing]" elementType="HTTPArgument">
  33279. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33280. <stringProp name="Argument.value">${admin_customer_default_billing}</stringProp>
  33281. <stringProp name="Argument.metadata">=</stringProp>
  33282. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33283. <stringProp name="Argument.name">customer[default_billing]</stringProp>
  33284. </elementProp>
  33285. <elementProp name="customer[default_shipping]" elementType="HTTPArgument">
  33286. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33287. <stringProp name="Argument.value">${admin_customer_default_shipping}</stringProp>
  33288. <stringProp name="Argument.metadata">=</stringProp>
  33289. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33290. <stringProp name="Argument.name">customer[default_shipping]</stringProp>
  33291. </elementProp>
  33292. <elementProp name="customer[taxvat]" elementType="HTTPArgument">
  33293. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33294. <stringProp name="Argument.value"/>
  33295. <stringProp name="Argument.metadata">=</stringProp>
  33296. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33297. <stringProp name="Argument.name">customer[taxvat]</stringProp>
  33298. </elementProp>
  33299. <elementProp name="customer[gender]" elementType="HTTPArgument">
  33300. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33301. <stringProp name="Argument.value">${admin_customer_gender}</stringProp>
  33302. <stringProp name="Argument.metadata">=</stringProp>
  33303. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33304. <stringProp name="Argument.name">customer[gender]</stringProp>
  33305. </elementProp>
  33306. <elementProp name="customer[failures_num]" elementType="HTTPArgument">
  33307. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33308. <stringProp name="Argument.value">${admin_customer_failures_num}</stringProp>
  33309. <stringProp name="Argument.metadata">=</stringProp>
  33310. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33311. <stringProp name="Argument.name">customer[failures_num]</stringProp>
  33312. </elementProp>
  33313. <elementProp name="customer[sendemail_store_id]" elementType="HTTPArgument">
  33314. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33315. <stringProp name="Argument.value">${admin_customer_store_id}</stringProp>
  33316. <stringProp name="Argument.metadata">=</stringProp>
  33317. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33318. <stringProp name="Argument.name">customer[sendemail_store_id]</stringProp>
  33319. </elementProp>
  33320. <elementProp name="address[${admin_customer_address_entity_id}][entity_id]" elementType="HTTPArgument">
  33321. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33322. <stringProp name="Argument.value">${admin_customer_address_entity_id}</stringProp>
  33323. <stringProp name="Argument.metadata">=</stringProp>
  33324. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33325. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][entity_id]</stringProp>
  33326. </elementProp>
  33327. <elementProp name="address[${admin_customer_address_entity_id}][created_at]" elementType="HTTPArgument">
  33328. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33329. <stringProp name="Argument.value">${admin_customer_address_created_at}</stringProp>
  33330. <stringProp name="Argument.metadata">=</stringProp>
  33331. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33332. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][created_at]</stringProp>
  33333. </elementProp>
  33334. <elementProp name="address[${admin_customer_address_entity_id}][updated_at]" elementType="HTTPArgument">
  33335. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33336. <stringProp name="Argument.value">${admin_customer_address_updated_at}</stringProp>
  33337. <stringProp name="Argument.metadata">=</stringProp>
  33338. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33339. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][updated_at]</stringProp>
  33340. </elementProp>
  33341. <elementProp name="address[${admin_customer_address_entity_id}][is_active]" elementType="HTTPArgument">
  33342. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33343. <stringProp name="Argument.value">${admin_customer_address_is_active}</stringProp>
  33344. <stringProp name="Argument.metadata">=</stringProp>
  33345. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33346. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][is_active]</stringProp>
  33347. </elementProp>
  33348. <elementProp name="address[${admin_customer_address_entity_id}][city]" elementType="HTTPArgument">
  33349. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33350. <stringProp name="Argument.value">${admin_customer_address_city}</stringProp>
  33351. <stringProp name="Argument.metadata">=</stringProp>
  33352. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33353. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][city]</stringProp>
  33354. </elementProp>
  33355. <elementProp name="address[${admin_customer_address_entity_id}][company]" elementType="HTTPArgument">
  33356. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33357. <stringProp name="Argument.value"/>
  33358. <stringProp name="Argument.metadata">=</stringProp>
  33359. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33360. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][company]</stringProp>
  33361. </elementProp>
  33362. <elementProp name="address[${admin_customer_address_entity_id}][country_id]" elementType="HTTPArgument">
  33363. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33364. <stringProp name="Argument.value">${admin_customer_address_country_id}</stringProp>
  33365. <stringProp name="Argument.metadata">=</stringProp>
  33366. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33367. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][country_id]</stringProp>
  33368. </elementProp>
  33369. <elementProp name="address[${admin_customer_address_entity_id}][firstname]" elementType="HTTPArgument">
  33370. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33371. <stringProp name="Argument.value">${admin_customer_address_firstname}</stringProp>
  33372. <stringProp name="Argument.metadata">=</stringProp>
  33373. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33374. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][firstname]</stringProp>
  33375. </elementProp>
  33376. <elementProp name="address[${admin_customer_address_entity_id}][lastname]" elementType="HTTPArgument">
  33377. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33378. <stringProp name="Argument.value">${admin_customer_address_lastname}</stringProp>
  33379. <stringProp name="Argument.metadata">=</stringProp>
  33380. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33381. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][lastname]</stringProp>
  33382. </elementProp>
  33383. <elementProp name="address[${admin_customer_address_entity_id}][middlename]" elementType="HTTPArgument">
  33384. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33385. <stringProp name="Argument.value"/>
  33386. <stringProp name="Argument.metadata">=</stringProp>
  33387. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33388. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][middlename]</stringProp>
  33389. </elementProp>
  33390. <elementProp name="address[${admin_customer_address_entity_id}][postcode]" elementType="HTTPArgument">
  33391. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33392. <stringProp name="Argument.value">${admin_customer_address_postcode}</stringProp>
  33393. <stringProp name="Argument.metadata">=</stringProp>
  33394. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33395. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][postcode]</stringProp>
  33396. </elementProp>
  33397. <elementProp name="address[${admin_customer_address_entity_id}][prefix]" elementType="HTTPArgument">
  33398. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33399. <stringProp name="Argument.value"/>
  33400. <stringProp name="Argument.metadata">=</stringProp>
  33401. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33402. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][prefix]</stringProp>
  33403. </elementProp>
  33404. <elementProp name="address[${admin_customer_address_entity_id}][region]" elementType="HTTPArgument">
  33405. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33406. <stringProp name="Argument.value">${admin_customer_address_region}</stringProp>
  33407. <stringProp name="Argument.metadata">=</stringProp>
  33408. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33409. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][region]</stringProp>
  33410. </elementProp>
  33411. <elementProp name="address[${admin_customer_address_entity_id}][region_id]" elementType="HTTPArgument">
  33412. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33413. <stringProp name="Argument.value">${admin_customer_address_region_id}</stringProp>
  33414. <stringProp name="Argument.metadata">=</stringProp>
  33415. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33416. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][region_id]</stringProp>
  33417. </elementProp>
  33418. <elementProp name="address[${admin_customer_address_entity_id}][street][0]" elementType="HTTPArgument">
  33419. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33420. <stringProp name="Argument.value">${admin_customer_address_street}</stringProp>
  33421. <stringProp name="Argument.metadata">=</stringProp>
  33422. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33423. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][street][0]</stringProp>
  33424. </elementProp>
  33425. <elementProp name="address[${admin_customer_address_entity_id}][street][1]" elementType="HTTPArgument">
  33426. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33427. <stringProp name="Argument.value"/>
  33428. <stringProp name="Argument.metadata">=</stringProp>
  33429. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33430. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][street][1]</stringProp>
  33431. </elementProp>
  33432. <elementProp name="address[${admin_customer_address_entity_id}][suffix]" elementType="HTTPArgument">
  33433. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33434. <stringProp name="Argument.value"/>
  33435. <stringProp name="Argument.metadata">=</stringProp>
  33436. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33437. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][suffix]</stringProp>
  33438. </elementProp>
  33439. <elementProp name="address[${admin_customer_address_entity_id}][telephone]" elementType="HTTPArgument">
  33440. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33441. <stringProp name="Argument.value">${admin_customer_address_telephone}</stringProp>
  33442. <stringProp name="Argument.metadata">=</stringProp>
  33443. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33444. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][telephone]</stringProp>
  33445. </elementProp>
  33446. <elementProp name="address[${admin_customer_address_entity_id}][vat_id]" elementType="HTTPArgument">
  33447. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33448. <stringProp name="Argument.value"/>
  33449. <stringProp name="Argument.metadata">=</stringProp>
  33450. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33451. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][vat_id]</stringProp>
  33452. </elementProp>
  33453. <elementProp name="address[${admin_customer_address_entity_id}][customer_id]" elementType="HTTPArgument">
  33454. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33455. <stringProp name="Argument.value">${admin_customer_address_customer_id}</stringProp>
  33456. <stringProp name="Argument.metadata">=</stringProp>
  33457. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33458. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][customer_id]</stringProp>
  33459. </elementProp>
  33460. <elementProp name="address[${admin_customer_address_entity_id}][default_billing]" elementType="HTTPArgument">
  33461. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33462. <stringProp name="Argument.value">true</stringProp>
  33463. <stringProp name="Argument.metadata">=</stringProp>
  33464. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33465. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][default_billing]</stringProp>
  33466. </elementProp>
  33467. <elementProp name="address[${admin_customer_address_entity_id}][default_shipping]" elementType="HTTPArgument">
  33468. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33469. <stringProp name="Argument.value">true</stringProp>
  33470. <stringProp name="Argument.metadata">=</stringProp>
  33471. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33472. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][default_shipping]</stringProp>
  33473. </elementProp>
  33474. <elementProp name="address[new_0][prefix]" elementType="HTTPArgument">
  33475. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33476. <stringProp name="Argument.value"/>
  33477. <stringProp name="Argument.metadata">=</stringProp>
  33478. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33479. <stringProp name="Argument.name">address[new_0][prefix]</stringProp>
  33480. </elementProp>
  33481. <elementProp name="address[new_0][firstname]" elementType="HTTPArgument">
  33482. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33483. <stringProp name="Argument.value">John</stringProp>
  33484. <stringProp name="Argument.metadata">=</stringProp>
  33485. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33486. <stringProp name="Argument.name">address[new_0][firstname]</stringProp>
  33487. </elementProp>
  33488. <elementProp name="address[new_0][middlename]" elementType="HTTPArgument">
  33489. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33490. <stringProp name="Argument.value"/>
  33491. <stringProp name="Argument.metadata">=</stringProp>
  33492. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33493. <stringProp name="Argument.name">address[new_0][middlename]</stringProp>
  33494. </elementProp>
  33495. <elementProp name="address[new_0][lastname]" elementType="HTTPArgument">
  33496. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33497. <stringProp name="Argument.value">Doe</stringProp>
  33498. <stringProp name="Argument.metadata">=</stringProp>
  33499. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33500. <stringProp name="Argument.name">address[new_0][lastname]</stringProp>
  33501. </elementProp>
  33502. <elementProp name="address[new_0][suffix]" elementType="HTTPArgument">
  33503. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33504. <stringProp name="Argument.value"/>
  33505. <stringProp name="Argument.metadata">=</stringProp>
  33506. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33507. <stringProp name="Argument.name">address[new_0][suffix]</stringProp>
  33508. </elementProp>
  33509. <elementProp name="address[new_0][company]" elementType="HTTPArgument">
  33510. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33511. <stringProp name="Argument.value">Test Company</stringProp>
  33512. <stringProp name="Argument.metadata">=</stringProp>
  33513. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33514. <stringProp name="Argument.name">address[new_0][company]</stringProp>
  33515. </elementProp>
  33516. <elementProp name="address[new_0][city]" elementType="HTTPArgument">
  33517. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33518. <stringProp name="Argument.value">Folsom</stringProp>
  33519. <stringProp name="Argument.metadata">=</stringProp>
  33520. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33521. <stringProp name="Argument.name">address[new_0][city]</stringProp>
  33522. </elementProp>
  33523. <elementProp name="address[new_0][postcode]" elementType="HTTPArgument">
  33524. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33525. <stringProp name="Argument.value">95630</stringProp>
  33526. <stringProp name="Argument.metadata">=</stringProp>
  33527. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33528. <stringProp name="Argument.name">address[new_0][postcode]</stringProp>
  33529. </elementProp>
  33530. <elementProp name="address[new_0][telephone]" elementType="HTTPArgument">
  33531. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33532. <stringProp name="Argument.value">1234567890</stringProp>
  33533. <stringProp name="Argument.metadata">=</stringProp>
  33534. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33535. <stringProp name="Argument.name">address[new_0][telephone]</stringProp>
  33536. </elementProp>
  33537. <elementProp name="address[new_0][vat_id]" elementType="HTTPArgument">
  33538. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33539. <stringProp name="Argument.value"/>
  33540. <stringProp name="Argument.metadata">=</stringProp>
  33541. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33542. <stringProp name="Argument.name">address[new_0][vat_id]</stringProp>
  33543. </elementProp>
  33544. <elementProp name="address[new_0][default_billing]" elementType="HTTPArgument">
  33545. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33546. <stringProp name="Argument.value">false</stringProp>
  33547. <stringProp name="Argument.metadata">=</stringProp>
  33548. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33549. <stringProp name="Argument.name">address[new_0][default_billing]</stringProp>
  33550. </elementProp>
  33551. <elementProp name="address[new_0][default_shipping]" elementType="HTTPArgument">
  33552. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33553. <stringProp name="Argument.value">false</stringProp>
  33554. <stringProp name="Argument.metadata">=</stringProp>
  33555. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33556. <stringProp name="Argument.name">address[new_0][default_shipping]</stringProp>
  33557. </elementProp>
  33558. <elementProp name="address[new_0][street][0]" elementType="HTTPArgument">
  33559. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33560. <stringProp name="Argument.value">123 Main</stringProp>
  33561. <stringProp name="Argument.metadata">=</stringProp>
  33562. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33563. <stringProp name="Argument.name">address[new_0][street][0]</stringProp>
  33564. </elementProp>
  33565. <elementProp name="address[new_0][street][1]" elementType="HTTPArgument">
  33566. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33567. <stringProp name="Argument.value"/>
  33568. <stringProp name="Argument.metadata">=</stringProp>
  33569. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33570. <stringProp name="Argument.name">address[new_0][street][1]</stringProp>
  33571. </elementProp>
  33572. <elementProp name="address[new_0][region]" elementType="HTTPArgument">
  33573. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33574. <stringProp name="Argument.value"/>
  33575. <stringProp name="Argument.metadata">=</stringProp>
  33576. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33577. <stringProp name="Argument.name">address[new_0][region]</stringProp>
  33578. </elementProp>
  33579. <elementProp name="address[new_0][country_id]" elementType="HTTPArgument">
  33580. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33581. <stringProp name="Argument.value">US</stringProp>
  33582. <stringProp name="Argument.metadata">=</stringProp>
  33583. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33584. <stringProp name="Argument.name">address[new_0][country_id]</stringProp>
  33585. </elementProp>
  33586. <elementProp name="address[new_0][region_id]" elementType="HTTPArgument">
  33587. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33588. <stringProp name="Argument.value">${admin_customer_address_region_id}</stringProp>
  33589. <stringProp name="Argument.metadata">=</stringProp>
  33590. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33591. <stringProp name="Argument.name">address[new_0][region_id]</stringProp>
  33592. </elementProp>
  33593. <elementProp name="form_key" elementType="HTTPArgument">
  33594. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33595. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  33596. <stringProp name="Argument.metadata">=</stringProp>
  33597. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33598. <stringProp name="Argument.name">form_key</stringProp>
  33599. </elementProp>
  33600. </collectionProp>
  33601. </elementProp>
  33602. <stringProp name="HTTPSampler.domain"/>
  33603. <stringProp name="HTTPSampler.port"/>
  33604. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  33605. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  33606. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  33607. <stringProp name="HTTPSampler.contentEncoding"/>
  33608. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/customer/index/validate/</stringProp>
  33609. <stringProp name="HTTPSampler.method">POST</stringProp>
  33610. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  33611. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  33612. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  33613. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  33614. <boolProp name="HTTPSampler.monitor">false</boolProp>
  33615. <stringProp name="HTTPSampler.embedded_url_re"/>
  33616. </HTTPSamplerProxy>
  33617. <hashTree>
  33618. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  33619. <collectionProp name="Asserion.test_strings">
  33620. <stringProp name="49586">200</stringProp>
  33621. </collectionProp>
  33622. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  33623. <boolProp name="Assertion.assume_success">false</boolProp>
  33624. <intProp name="Assertion.test_type">16</intProp>
  33625. </ResponseAssertion>
  33626. <hashTree/>
  33627. </hashTree>
  33628. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Customer Save" enabled="true">
  33629. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  33630. <collectionProp name="Arguments.arguments">
  33631. <elementProp name="isAjax " elementType="HTTPArgument">
  33632. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33633. <stringProp name="Argument.value">true</stringProp>
  33634. <stringProp name="Argument.metadata">=</stringProp>
  33635. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33636. <stringProp name="Argument.name">isAjax </stringProp>
  33637. </elementProp>
  33638. <elementProp name="customer[entity_id]" elementType="HTTPArgument">
  33639. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33640. <stringProp name="Argument.value">${admin_customer_entity_id}</stringProp>
  33641. <stringProp name="Argument.metadata">=</stringProp>
  33642. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33643. <stringProp name="Argument.name">customer[entity_id]</stringProp>
  33644. </elementProp>
  33645. <elementProp name="customer[website_id]" elementType="HTTPArgument">
  33646. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33647. <stringProp name="Argument.value">${admin_customer_website_id}</stringProp>
  33648. <stringProp name="Argument.metadata">=</stringProp>
  33649. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33650. <stringProp name="Argument.name">customer[website_id]</stringProp>
  33651. </elementProp>
  33652. <elementProp name="customer[email]" elementType="HTTPArgument">
  33653. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33654. <stringProp name="Argument.value">${admin_customer_email}</stringProp>
  33655. <stringProp name="Argument.metadata">=</stringProp>
  33656. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33657. <stringProp name="Argument.name">customer[email]</stringProp>
  33658. </elementProp>
  33659. <elementProp name="customer[group_id]" elementType="HTTPArgument">
  33660. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33661. <stringProp name="Argument.value">${admin_customer_group_id}</stringProp>
  33662. <stringProp name="Argument.metadata">=</stringProp>
  33663. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33664. <stringProp name="Argument.name">customer[group_id]</stringProp>
  33665. </elementProp>
  33666. <elementProp name="customer[store_id]" elementType="HTTPArgument">
  33667. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33668. <stringProp name="Argument.value">${admin_customer_store_id}</stringProp>
  33669. <stringProp name="Argument.metadata">=</stringProp>
  33670. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33671. <stringProp name="Argument.name">customer[store_id]</stringProp>
  33672. </elementProp>
  33673. <elementProp name="customer[created_at]" elementType="HTTPArgument">
  33674. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33675. <stringProp name="Argument.value">${admin_customer_created_at}</stringProp>
  33676. <stringProp name="Argument.metadata">=</stringProp>
  33677. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33678. <stringProp name="Argument.name">customer[created_at]</stringProp>
  33679. </elementProp>
  33680. <elementProp name="customer[updated_at]" elementType="HTTPArgument">
  33681. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33682. <stringProp name="Argument.value">${admin_customer_updated_at}</stringProp>
  33683. <stringProp name="Argument.metadata">=</stringProp>
  33684. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33685. <stringProp name="Argument.name">customer[updated_at]</stringProp>
  33686. </elementProp>
  33687. <elementProp name="customer[is_active]" elementType="HTTPArgument">
  33688. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33689. <stringProp name="Argument.value">${admin_customer_is_active}</stringProp>
  33690. <stringProp name="Argument.metadata">=</stringProp>
  33691. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33692. <stringProp name="Argument.name">customer[is_active]</stringProp>
  33693. </elementProp>
  33694. <elementProp name="customer[disable_auto_group_change]" elementType="HTTPArgument">
  33695. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33696. <stringProp name="Argument.value">${admin_customer_disable_auto_group_change}</stringProp>
  33697. <stringProp name="Argument.metadata">=</stringProp>
  33698. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33699. <stringProp name="Argument.name">customer[disable_auto_group_change]</stringProp>
  33700. </elementProp>
  33701. <elementProp name="customer[created_in]" elementType="HTTPArgument">
  33702. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33703. <stringProp name="Argument.value">${admin_customer_created_in}</stringProp>
  33704. <stringProp name="Argument.metadata">=</stringProp>
  33705. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33706. <stringProp name="Argument.name">customer[created_in]</stringProp>
  33707. </elementProp>
  33708. <elementProp name="customer[prefix]" elementType="HTTPArgument">
  33709. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33710. <stringProp name="Argument.value"/>
  33711. <stringProp name="Argument.metadata">=</stringProp>
  33712. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33713. <stringProp name="Argument.name">customer[prefix]</stringProp>
  33714. </elementProp>
  33715. <elementProp name="customer[firstname]" elementType="HTTPArgument">
  33716. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33717. <stringProp name="Argument.value">${admin_customer_firstname} 1</stringProp>
  33718. <stringProp name="Argument.metadata">=</stringProp>
  33719. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33720. <stringProp name="Argument.name">customer[firstname]</stringProp>
  33721. </elementProp>
  33722. <elementProp name="customer[middlename]" elementType="HTTPArgument">
  33723. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33724. <stringProp name="Argument.value"/>
  33725. <stringProp name="Argument.metadata">=</stringProp>
  33726. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33727. <stringProp name="Argument.name">customer[middlename]</stringProp>
  33728. </elementProp>
  33729. <elementProp name="customer[lastname]" elementType="HTTPArgument">
  33730. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33731. <stringProp name="Argument.value">${admin_customer_lastname} 1</stringProp>
  33732. <stringProp name="Argument.metadata">=</stringProp>
  33733. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33734. <stringProp name="Argument.name">customer[lastname]</stringProp>
  33735. </elementProp>
  33736. <elementProp name="customer[suffix]" elementType="HTTPArgument">
  33737. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33738. <stringProp name="Argument.value"/>
  33739. <stringProp name="Argument.metadata">=</stringProp>
  33740. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33741. <stringProp name="Argument.name">customer[suffix]</stringProp>
  33742. </elementProp>
  33743. <elementProp name="customer[dob]" elementType="HTTPArgument">
  33744. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33745. <stringProp name="Argument.value">${admin_customer_dob}</stringProp>
  33746. <stringProp name="Argument.metadata">=</stringProp>
  33747. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33748. <stringProp name="Argument.name">customer[dob]</stringProp>
  33749. </elementProp>
  33750. <elementProp name="customer[default_billing]" elementType="HTTPArgument">
  33751. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33752. <stringProp name="Argument.value">${admin_customer_default_billing}</stringProp>
  33753. <stringProp name="Argument.metadata">=</stringProp>
  33754. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33755. <stringProp name="Argument.name">customer[default_billing]</stringProp>
  33756. </elementProp>
  33757. <elementProp name="customer[default_shipping]" elementType="HTTPArgument">
  33758. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33759. <stringProp name="Argument.value">${admin_customer_default_shipping}</stringProp>
  33760. <stringProp name="Argument.metadata">=</stringProp>
  33761. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33762. <stringProp name="Argument.name">customer[default_shipping]</stringProp>
  33763. </elementProp>
  33764. <elementProp name="customer[taxvat]" elementType="HTTPArgument">
  33765. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33766. <stringProp name="Argument.value"/>
  33767. <stringProp name="Argument.metadata">=</stringProp>
  33768. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33769. <stringProp name="Argument.name">customer[taxvat]</stringProp>
  33770. </elementProp>
  33771. <elementProp name="customer[gender]" elementType="HTTPArgument">
  33772. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33773. <stringProp name="Argument.value">${admin_customer_gender}</stringProp>
  33774. <stringProp name="Argument.metadata">=</stringProp>
  33775. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33776. <stringProp name="Argument.name">customer[gender]</stringProp>
  33777. </elementProp>
  33778. <elementProp name="customer[failures_num]" elementType="HTTPArgument">
  33779. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33780. <stringProp name="Argument.value">${admin_customer_failures_num}</stringProp>
  33781. <stringProp name="Argument.metadata">=</stringProp>
  33782. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33783. <stringProp name="Argument.name">customer[failures_num]</stringProp>
  33784. </elementProp>
  33785. <elementProp name="customer[sendemail_store_id]" elementType="HTTPArgument">
  33786. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33787. <stringProp name="Argument.value">${admin_customer_store_id}</stringProp>
  33788. <stringProp name="Argument.metadata">=</stringProp>
  33789. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33790. <stringProp name="Argument.name">customer[sendemail_store_id]</stringProp>
  33791. </elementProp>
  33792. <elementProp name="address[${admin_customer_address_entity_id}][entity_id]" elementType="HTTPArgument">
  33793. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33794. <stringProp name="Argument.value">${admin_customer_address_entity_id}</stringProp>
  33795. <stringProp name="Argument.metadata">=</stringProp>
  33796. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33797. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][entity_id]</stringProp>
  33798. </elementProp>
  33799. <elementProp name="address[${admin_customer_address_entity_id}][created_at]" elementType="HTTPArgument">
  33800. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33801. <stringProp name="Argument.value">${admin_customer_address_created_at}</stringProp>
  33802. <stringProp name="Argument.metadata">=</stringProp>
  33803. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33804. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][created_at]</stringProp>
  33805. </elementProp>
  33806. <elementProp name="address[${admin_customer_address_entity_id}][updated_at]" elementType="HTTPArgument">
  33807. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33808. <stringProp name="Argument.value">${admin_customer_address_updated_at}</stringProp>
  33809. <stringProp name="Argument.metadata">=</stringProp>
  33810. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33811. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][updated_at]</stringProp>
  33812. </elementProp>
  33813. <elementProp name="address[${admin_customer_address_entity_id}][is_active]" elementType="HTTPArgument">
  33814. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33815. <stringProp name="Argument.value">${admin_customer_address_is_active}</stringProp>
  33816. <stringProp name="Argument.metadata">=</stringProp>
  33817. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33818. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][is_active]</stringProp>
  33819. </elementProp>
  33820. <elementProp name="address[${admin_customer_address_entity_id}][city]" elementType="HTTPArgument">
  33821. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33822. <stringProp name="Argument.value">${admin_customer_address_city}</stringProp>
  33823. <stringProp name="Argument.metadata">=</stringProp>
  33824. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33825. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][city]</stringProp>
  33826. </elementProp>
  33827. <elementProp name="address[${admin_customer_address_entity_id}][company]" elementType="HTTPArgument">
  33828. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33829. <stringProp name="Argument.value"/>
  33830. <stringProp name="Argument.metadata">=</stringProp>
  33831. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33832. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][company]</stringProp>
  33833. </elementProp>
  33834. <elementProp name="address[${admin_customer_address_entity_id}][country_id]" elementType="HTTPArgument">
  33835. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33836. <stringProp name="Argument.value">${admin_customer_address_country_id}</stringProp>
  33837. <stringProp name="Argument.metadata">=</stringProp>
  33838. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33839. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][country_id]</stringProp>
  33840. </elementProp>
  33841. <elementProp name="address[${admin_customer_address_entity_id}][firstname]" elementType="HTTPArgument">
  33842. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33843. <stringProp name="Argument.value">${admin_customer_address_firstname}</stringProp>
  33844. <stringProp name="Argument.metadata">=</stringProp>
  33845. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33846. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][firstname]</stringProp>
  33847. </elementProp>
  33848. <elementProp name="address[${admin_customer_address_entity_id}][lastname]" elementType="HTTPArgument">
  33849. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33850. <stringProp name="Argument.value">${admin_customer_address_lastname}</stringProp>
  33851. <stringProp name="Argument.metadata">=</stringProp>
  33852. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33853. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][lastname]</stringProp>
  33854. </elementProp>
  33855. <elementProp name="address[${admin_customer_address_entity_id}][middlename]" elementType="HTTPArgument">
  33856. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33857. <stringProp name="Argument.value"/>
  33858. <stringProp name="Argument.metadata">=</stringProp>
  33859. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33860. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][middlename]</stringProp>
  33861. </elementProp>
  33862. <elementProp name="address[${admin_customer_address_entity_id}][postcode]" elementType="HTTPArgument">
  33863. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33864. <stringProp name="Argument.value">${admin_customer_address_postcode}</stringProp>
  33865. <stringProp name="Argument.metadata">=</stringProp>
  33866. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33867. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][postcode]</stringProp>
  33868. </elementProp>
  33869. <elementProp name="address[${admin_customer_address_entity_id}][prefix]" elementType="HTTPArgument">
  33870. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33871. <stringProp name="Argument.value"/>
  33872. <stringProp name="Argument.metadata">=</stringProp>
  33873. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33874. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][prefix]</stringProp>
  33875. </elementProp>
  33876. <elementProp name="address[${admin_customer_address_entity_id}][region]" elementType="HTTPArgument">
  33877. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33878. <stringProp name="Argument.value">${admin_customer_address_region}</stringProp>
  33879. <stringProp name="Argument.metadata">=</stringProp>
  33880. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33881. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][region]</stringProp>
  33882. </elementProp>
  33883. <elementProp name="address[${admin_customer_address_entity_id}][region_id]" elementType="HTTPArgument">
  33884. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33885. <stringProp name="Argument.value">${admin_customer_address_region_id}</stringProp>
  33886. <stringProp name="Argument.metadata">=</stringProp>
  33887. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33888. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][region_id]</stringProp>
  33889. </elementProp>
  33890. <elementProp name="address[${admin_customer_address_entity_id}][street][0]" elementType="HTTPArgument">
  33891. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33892. <stringProp name="Argument.value">${admin_customer_address_street}</stringProp>
  33893. <stringProp name="Argument.metadata">=</stringProp>
  33894. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33895. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][street][0]</stringProp>
  33896. </elementProp>
  33897. <elementProp name="address[${admin_customer_address_entity_id}][street][1]" elementType="HTTPArgument">
  33898. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33899. <stringProp name="Argument.value"/>
  33900. <stringProp name="Argument.metadata">=</stringProp>
  33901. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33902. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][street][1]</stringProp>
  33903. </elementProp>
  33904. <elementProp name="address[${admin_customer_address_entity_id}][suffix]" elementType="HTTPArgument">
  33905. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33906. <stringProp name="Argument.value"/>
  33907. <stringProp name="Argument.metadata">=</stringProp>
  33908. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33909. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][suffix]</stringProp>
  33910. </elementProp>
  33911. <elementProp name="address[${admin_customer_address_entity_id}][telephone]" elementType="HTTPArgument">
  33912. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33913. <stringProp name="Argument.value">${admin_customer_address_telephone}</stringProp>
  33914. <stringProp name="Argument.metadata">=</stringProp>
  33915. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33916. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][telephone]</stringProp>
  33917. </elementProp>
  33918. <elementProp name="address[${admin_customer_address_entity_id}][vat_id]" elementType="HTTPArgument">
  33919. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33920. <stringProp name="Argument.value"/>
  33921. <stringProp name="Argument.metadata">=</stringProp>
  33922. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33923. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][vat_id]</stringProp>
  33924. </elementProp>
  33925. <elementProp name="address[${admin_customer_address_entity_id}][customer_id]" elementType="HTTPArgument">
  33926. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33927. <stringProp name="Argument.value">${admin_customer_address_customer_id}</stringProp>
  33928. <stringProp name="Argument.metadata">=</stringProp>
  33929. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33930. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][customer_id]</stringProp>
  33931. </elementProp>
  33932. <elementProp name="address[${admin_customer_address_entity_id}][default_billing]" elementType="HTTPArgument">
  33933. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33934. <stringProp name="Argument.value">true</stringProp>
  33935. <stringProp name="Argument.metadata">=</stringProp>
  33936. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33937. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][default_billing]</stringProp>
  33938. </elementProp>
  33939. <elementProp name="address[${admin_customer_address_entity_id}][default_shipping]" elementType="HTTPArgument">
  33940. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33941. <stringProp name="Argument.value">true</stringProp>
  33942. <stringProp name="Argument.metadata">=</stringProp>
  33943. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33944. <stringProp name="Argument.name">address[${admin_customer_address_entity_id}][default_shipping]</stringProp>
  33945. </elementProp>
  33946. <elementProp name="address[new_0][prefix]" elementType="HTTPArgument">
  33947. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33948. <stringProp name="Argument.value"/>
  33949. <stringProp name="Argument.metadata">=</stringProp>
  33950. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33951. <stringProp name="Argument.name">address[new_0][prefix]</stringProp>
  33952. </elementProp>
  33953. <elementProp name="address[new_0][firstname]" elementType="HTTPArgument">
  33954. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33955. <stringProp name="Argument.value">John</stringProp>
  33956. <stringProp name="Argument.metadata">=</stringProp>
  33957. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33958. <stringProp name="Argument.name">address[new_0][firstname]</stringProp>
  33959. </elementProp>
  33960. <elementProp name="address[new_0][middlename]" elementType="HTTPArgument">
  33961. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33962. <stringProp name="Argument.value"/>
  33963. <stringProp name="Argument.metadata">=</stringProp>
  33964. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33965. <stringProp name="Argument.name">address[new_0][middlename]</stringProp>
  33966. </elementProp>
  33967. <elementProp name="address[new_0][lastname]" elementType="HTTPArgument">
  33968. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33969. <stringProp name="Argument.value">Doe</stringProp>
  33970. <stringProp name="Argument.metadata">=</stringProp>
  33971. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33972. <stringProp name="Argument.name">address[new_0][lastname]</stringProp>
  33973. </elementProp>
  33974. <elementProp name="address[new_0][suffix]" elementType="HTTPArgument">
  33975. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33976. <stringProp name="Argument.value"/>
  33977. <stringProp name="Argument.metadata">=</stringProp>
  33978. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33979. <stringProp name="Argument.name">address[new_0][suffix]</stringProp>
  33980. </elementProp>
  33981. <elementProp name="address[new_0][company]" elementType="HTTPArgument">
  33982. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33983. <stringProp name="Argument.value">Test Company</stringProp>
  33984. <stringProp name="Argument.metadata">=</stringProp>
  33985. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33986. <stringProp name="Argument.name">address[new_0][company]</stringProp>
  33987. </elementProp>
  33988. <elementProp name="address[new_0][city]" elementType="HTTPArgument">
  33989. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33990. <stringProp name="Argument.value">Folsom</stringProp>
  33991. <stringProp name="Argument.metadata">=</stringProp>
  33992. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  33993. <stringProp name="Argument.name">address[new_0][city]</stringProp>
  33994. </elementProp>
  33995. <elementProp name="address[new_0][postcode]" elementType="HTTPArgument">
  33996. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  33997. <stringProp name="Argument.value">95630</stringProp>
  33998. <stringProp name="Argument.metadata">=</stringProp>
  33999. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34000. <stringProp name="Argument.name">address[new_0][postcode]</stringProp>
  34001. </elementProp>
  34002. <elementProp name="address[new_0][telephone]" elementType="HTTPArgument">
  34003. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34004. <stringProp name="Argument.value">1234567890</stringProp>
  34005. <stringProp name="Argument.metadata">=</stringProp>
  34006. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34007. <stringProp name="Argument.name">address[new_0][telephone]</stringProp>
  34008. </elementProp>
  34009. <elementProp name="address[new_0][vat_id]" elementType="HTTPArgument">
  34010. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34011. <stringProp name="Argument.value"/>
  34012. <stringProp name="Argument.metadata">=</stringProp>
  34013. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34014. <stringProp name="Argument.name">address[new_0][vat_id]</stringProp>
  34015. </elementProp>
  34016. <elementProp name="address[new_0][default_billing]" elementType="HTTPArgument">
  34017. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34018. <stringProp name="Argument.value">false</stringProp>
  34019. <stringProp name="Argument.metadata">=</stringProp>
  34020. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34021. <stringProp name="Argument.name">address[new_0][default_billing]</stringProp>
  34022. </elementProp>
  34023. <elementProp name="address[new_0][default_shipping]" elementType="HTTPArgument">
  34024. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34025. <stringProp name="Argument.value">false</stringProp>
  34026. <stringProp name="Argument.metadata">=</stringProp>
  34027. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34028. <stringProp name="Argument.name">address[new_0][default_shipping]</stringProp>
  34029. </elementProp>
  34030. <elementProp name="address[new_0][street][0]" elementType="HTTPArgument">
  34031. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34032. <stringProp name="Argument.value">123 Main</stringProp>
  34033. <stringProp name="Argument.metadata">=</stringProp>
  34034. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34035. <stringProp name="Argument.name">address[new_0][street][0]</stringProp>
  34036. </elementProp>
  34037. <elementProp name="address[new_0][street][1]" elementType="HTTPArgument">
  34038. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34039. <stringProp name="Argument.value"/>
  34040. <stringProp name="Argument.metadata">=</stringProp>
  34041. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34042. <stringProp name="Argument.name">address[new_0][street][1]</stringProp>
  34043. </elementProp>
  34044. <elementProp name="address[new_0][region]" elementType="HTTPArgument">
  34045. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34046. <stringProp name="Argument.value"/>
  34047. <stringProp name="Argument.metadata">=</stringProp>
  34048. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34049. <stringProp name="Argument.name">address[new_0][region]</stringProp>
  34050. </elementProp>
  34051. <elementProp name="address[new_0][country_id]" elementType="HTTPArgument">
  34052. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34053. <stringProp name="Argument.value">US</stringProp>
  34054. <stringProp name="Argument.metadata">=</stringProp>
  34055. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34056. <stringProp name="Argument.name">address[new_0][country_id]</stringProp>
  34057. </elementProp>
  34058. <elementProp name="address[new_0][region_id]" elementType="HTTPArgument">
  34059. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34060. <stringProp name="Argument.value">12</stringProp>
  34061. <stringProp name="Argument.metadata">=</stringProp>
  34062. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34063. <stringProp name="Argument.name">address[new_0][region_id]</stringProp>
  34064. </elementProp>
  34065. <elementProp name="form_key" elementType="HTTPArgument">
  34066. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34067. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34068. <stringProp name="Argument.metadata">=</stringProp>
  34069. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34070. <stringProp name="Argument.name">form_key</stringProp>
  34071. </elementProp>
  34072. </collectionProp>
  34073. </elementProp>
  34074. <stringProp name="HTTPSampler.domain"/>
  34075. <stringProp name="HTTPSampler.port"/>
  34076. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34077. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34078. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34079. <stringProp name="HTTPSampler.contentEncoding"/>
  34080. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/customer/index/save/</stringProp>
  34081. <stringProp name="HTTPSampler.method">POST</stringProp>
  34082. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34083. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34084. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34085. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  34086. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34087. <stringProp name="HTTPSampler.embedded_url_re"/>
  34088. </HTTPSamplerProxy>
  34089. <hashTree>
  34090. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer saved" enabled="true">
  34091. <collectionProp name="Asserion.test_strings">
  34092. <stringProp name="292987815">You saved the customer.</stringProp>
  34093. </collectionProp>
  34094. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34095. <boolProp name="Assertion.assume_success">false</boolProp>
  34096. <intProp name="Assertion.test_type">2</intProp>
  34097. </ResponseAssertion>
  34098. <hashTree/>
  34099. </hashTree>
  34100. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Pause" enabled="true">
  34101. <intProp name="ActionProcessor.action">1</intProp>
  34102. <intProp name="ActionProcessor.target">0</intProp>
  34103. <stringProp name="ActionProcessor.duration">${__javaScript(Math.round(${adminCustomerManagementDelay}*1000))}</stringProp>
  34104. </TestAction>
  34105. <hashTree/>
  34106. </hashTree>
  34107. </hashTree>
  34108. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  34109. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34110. <collectionProp name="Arguments.arguments"/>
  34111. </elementProp>
  34112. <stringProp name="HTTPSampler.domain"/>
  34113. <stringProp name="HTTPSampler.port"/>
  34114. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34115. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34116. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34117. <stringProp name="HTTPSampler.contentEncoding"/>
  34118. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  34119. <stringProp name="HTTPSampler.method">GET</stringProp>
  34120. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34121. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34122. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34123. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34124. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34125. <stringProp name="HTTPSampler.embedded_url_re"/>
  34126. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  34127. <hashTree>
  34128. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  34129. <boolProp name="resetInterpreter">false</boolProp>
  34130. <stringProp name="parameters"/>
  34131. <stringProp name="filename"/>
  34132. <stringProp name="script">
  34133. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  34134. if (adminUsersDistribution == 1) {
  34135. adminUserList = props.get("adminUserList");
  34136. adminUserList.add(vars.get("admin_user"));
  34137. }
  34138. </stringProp>
  34139. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  34140. <hashTree/>
  34141. </hashTree>
  34142. </hashTree>
  34143. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Admin Edit Order" enabled="true">
  34144. <intProp name="ThroughputController.style">1</intProp>
  34145. <boolProp name="ThroughputController.perThread">false</boolProp>
  34146. <intProp name="ThroughputController.maxThroughput">1</intProp>
  34147. <stringProp name="ThroughputController.percentThroughput">${adminEditOrderPercentage}</stringProp>
  34148. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  34149. <hashTree>
  34150. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  34151. <stringProp name="script">
  34152. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  34153. if (testLabel
  34154. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  34155. ) {
  34156. if (sampler.getName().indexOf(testLabel) == -1) {
  34157. sampler.setName(sampler.getName() + testLabel);
  34158. }
  34159. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  34160. sampler.setName("SetUp - " + sampler.getName());
  34161. }
  34162. </stringProp>
  34163. <stringProp name="scriptLanguage">javascript</stringProp>
  34164. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  34165. <hashTree/>
  34166. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  34167. <stringProp name="BeanShellSampler.query">
  34168. vars.put("testLabel", "Admin Edit Order");
  34169. </stringProp>
  34170. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  34171. </BeanShellSampler>
  34172. <hashTree/>
  34173. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  34174. <stringProp name="script">
  34175. function getFormKeyFromResponse()
  34176. {
  34177. var url = prev.getUrlAsString(),
  34178. responseCode = prev.getResponseCode(),
  34179. formKey = null;
  34180. searchPattern = /var FORM_KEY = '(.+)'/;
  34181. if (responseCode == "200" &amp;&amp; url) {
  34182. response = prev.getResponseDataAsString();
  34183. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  34184. }
  34185. return formKey;
  34186. }
  34187. formKey = vars.get("form_key_storage");
  34188. currentFormKey = getFormKeyFromResponse();
  34189. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  34190. vars.put("form_key_storage", currentFormKey);
  34191. }
  34192. </stringProp>
  34193. <stringProp name="scriptLanguage">javascript</stringProp>
  34194. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  34195. <hashTree/>
  34196. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  34197. <stringProp name="script">
  34198. formKey = vars.get("form_key_storage");
  34199. if (formKey
  34200. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  34201. &amp;&amp; sampler.getMethod() == "POST")
  34202. {
  34203. arguments = sampler.getArguments();
  34204. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  34205. {
  34206. argument = arguments.getArgument(i);
  34207. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  34208. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  34209. argument.setValue(formKey);
  34210. }
  34211. }
  34212. }
  34213. </stringProp>
  34214. <stringProp name="scriptLanguage">javascript</stringProp>
  34215. </JSR223PreProcessor>
  34216. <hashTree/>
  34217. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  34218. <collectionProp name="CookieManager.cookies"/>
  34219. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  34220. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  34221. <hashTree/>
  34222. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  34223. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  34224. </GenericController>
  34225. <hashTree>
  34226. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  34227. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  34228. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  34229. <hashTree>
  34230. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  34231. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  34232. <stringProp name="BeanShellSampler.query">
  34233. adminUserList = props.get("adminUserList");
  34234. adminUserListIterator = props.get("adminUserListIterator");
  34235. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  34236. if (adminUsersDistribution == 1) {
  34237. adminUser = adminUserList.poll();
  34238. } else {
  34239. if (!adminUserListIterator.hasNext()) {
  34240. adminUserListIterator = adminUserList.descendingIterator();
  34241. }
  34242. adminUser = adminUserListIterator.next();
  34243. }
  34244. if (adminUser == null) {
  34245. SampleResult.setResponseMessage("adminUser list is empty");
  34246. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  34247. IsSuccess=false;
  34248. SampleResult.setSuccessful(false);
  34249. SampleResult.setStopThread(true);
  34250. }
  34251. vars.put("admin_user", adminUser);
  34252. </stringProp>
  34253. <stringProp name="BeanShellSampler.filename"/>
  34254. <stringProp name="BeanShellSampler.parameters"/>
  34255. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  34256. </BeanShellSampler>
  34257. <hashTree/>
  34258. </hashTree>
  34259. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  34260. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34261. <collectionProp name="Arguments.arguments"/>
  34262. </elementProp>
  34263. <stringProp name="HTTPSampler.domain"/>
  34264. <stringProp name="HTTPSampler.port"/>
  34265. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34266. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34267. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34268. <stringProp name="HTTPSampler.contentEncoding"/>
  34269. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  34270. <stringProp name="HTTPSampler.method">GET</stringProp>
  34271. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34272. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34273. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34274. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34275. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34276. <stringProp name="HTTPSampler.embedded_url_re"/>
  34277. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  34278. <hashTree>
  34279. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  34280. <collectionProp name="Asserion.test_strings">
  34281. <stringProp name="-1397214398">Welcome</stringProp>
  34282. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  34283. </collectionProp>
  34284. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34285. <boolProp name="Assertion.assume_success">false</boolProp>
  34286. <intProp name="Assertion.test_type">2</intProp>
  34287. </ResponseAssertion>
  34288. <hashTree/>
  34289. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  34290. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  34291. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  34292. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  34293. <stringProp name="RegexExtractor.template">$1$</stringProp>
  34294. <stringProp name="RegexExtractor.default"/>
  34295. <stringProp name="RegexExtractor.match_number">1</stringProp>
  34296. </RegexExtractor>
  34297. <hashTree/>
  34298. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  34299. <collectionProp name="Asserion.test_strings">
  34300. <stringProp name="2845929">^.+$</stringProp>
  34301. </collectionProp>
  34302. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34303. <boolProp name="Assertion.assume_success">false</boolProp>
  34304. <intProp name="Assertion.test_type">1</intProp>
  34305. <stringProp name="Assertion.scope">variable</stringProp>
  34306. <stringProp name="Scope.variable">admin_form_key</stringProp>
  34307. </ResponseAssertion>
  34308. <hashTree/>
  34309. </hashTree>
  34310. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  34311. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34312. <collectionProp name="Arguments.arguments">
  34313. <elementProp name="dummy" elementType="HTTPArgument">
  34314. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34315. <stringProp name="Argument.value"/>
  34316. <stringProp name="Argument.metadata">=</stringProp>
  34317. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34318. <stringProp name="Argument.name">dummy</stringProp>
  34319. </elementProp>
  34320. <elementProp name="form_key" elementType="HTTPArgument">
  34321. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34322. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34323. <stringProp name="Argument.metadata">=</stringProp>
  34324. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34325. <stringProp name="Argument.name">form_key</stringProp>
  34326. </elementProp>
  34327. <elementProp name="login[password]" elementType="HTTPArgument">
  34328. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34329. <stringProp name="Argument.value">${admin_password}</stringProp>
  34330. <stringProp name="Argument.metadata">=</stringProp>
  34331. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34332. <stringProp name="Argument.name">login[password]</stringProp>
  34333. </elementProp>
  34334. <elementProp name="login[username]" elementType="HTTPArgument">
  34335. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34336. <stringProp name="Argument.value">${admin_user}</stringProp>
  34337. <stringProp name="Argument.metadata">=</stringProp>
  34338. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34339. <stringProp name="Argument.name">login[username]</stringProp>
  34340. </elementProp>
  34341. </collectionProp>
  34342. </elementProp>
  34343. <stringProp name="HTTPSampler.domain"/>
  34344. <stringProp name="HTTPSampler.port"/>
  34345. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34346. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34347. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34348. <stringProp name="HTTPSampler.contentEncoding"/>
  34349. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  34350. <stringProp name="HTTPSampler.method">POST</stringProp>
  34351. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34352. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34353. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34354. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34355. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  34356. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34357. <stringProp name="HTTPSampler.embedded_url_re"/>
  34358. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  34359. </HTTPSamplerProxy>
  34360. <hashTree>
  34361. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  34362. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  34363. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  34364. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  34365. <stringProp name="RegexExtractor.template">$1$</stringProp>
  34366. <stringProp name="RegexExtractor.default"/>
  34367. <stringProp name="RegexExtractor.match_number">1</stringProp>
  34368. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  34369. <hashTree/>
  34370. </hashTree>
  34371. </hashTree>
  34372. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Simple Controller" enabled="true">
  34373. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  34374. </GenericController>
  34375. <hashTree>
  34376. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Orders page" enabled="true">
  34377. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34378. <collectionProp name="Arguments.arguments"/>
  34379. </elementProp>
  34380. <stringProp name="HTTPSampler.domain"/>
  34381. <stringProp name="HTTPSampler.port"/>
  34382. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34383. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34384. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34385. <stringProp name="HTTPSampler.contentEncoding"/>
  34386. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order/</stringProp>
  34387. <stringProp name="HTTPSampler.method">GET</stringProp>
  34388. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34389. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34390. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34391. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34392. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34393. <stringProp name="HTTPSampler.embedded_url_re"/>
  34394. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/orders_page.jmx</stringProp></HTTPSamplerProxy>
  34395. <hashTree>
  34396. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34397. <collectionProp name="Asserion.test_strings">
  34398. <stringProp name="1204796042">Create New Order</stringProp>
  34399. </collectionProp>
  34400. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34401. <boolProp name="Assertion.assume_success">false</boolProp>
  34402. <intProp name="Assertion.test_type">2</intProp>
  34403. </ResponseAssertion>
  34404. <hashTree/>
  34405. </hashTree>
  34406. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Orders" enabled="true">
  34407. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34408. <collectionProp name="Arguments.arguments">
  34409. <elementProp name="namespace" elementType="HTTPArgument">
  34410. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34411. <stringProp name="Argument.value">sales_order_grid</stringProp>
  34412. <stringProp name="Argument.metadata">=</stringProp>
  34413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34414. <stringProp name="Argument.name">namespace</stringProp>
  34415. </elementProp>
  34416. <elementProp name="search" elementType="HTTPArgument">
  34417. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34418. <stringProp name="Argument.value"/>
  34419. <stringProp name="Argument.metadata">=</stringProp>
  34420. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34421. <stringProp name="Argument.name">search</stringProp>
  34422. </elementProp>
  34423. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  34424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34425. <stringProp name="Argument.value">true</stringProp>
  34426. <stringProp name="Argument.metadata">=</stringProp>
  34427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34428. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  34429. </elementProp>
  34430. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  34431. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34432. <stringProp name="Argument.value">200</stringProp>
  34433. <stringProp name="Argument.metadata">=</stringProp>
  34434. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34435. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  34436. </elementProp>
  34437. <elementProp name="paging[current]" elementType="HTTPArgument">
  34438. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34439. <stringProp name="Argument.value">1</stringProp>
  34440. <stringProp name="Argument.metadata">=</stringProp>
  34441. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34442. <stringProp name="Argument.name">paging[current]</stringProp>
  34443. </elementProp>
  34444. <elementProp name="sorting[field]" elementType="HTTPArgument">
  34445. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34446. <stringProp name="Argument.value">increment_id</stringProp>
  34447. <stringProp name="Argument.metadata">=</stringProp>
  34448. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34449. <stringProp name="Argument.name">sorting[field]</stringProp>
  34450. </elementProp>
  34451. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  34452. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34453. <stringProp name="Argument.value">desc</stringProp>
  34454. <stringProp name="Argument.metadata">=</stringProp>
  34455. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34456. <stringProp name="Argument.name">sorting[direction]</stringProp>
  34457. </elementProp>
  34458. <elementProp name="isAjax" elementType="HTTPArgument">
  34459. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34460. <stringProp name="Argument.value">true</stringProp>
  34461. <stringProp name="Argument.metadata">=</stringProp>
  34462. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34463. <stringProp name="Argument.name">isAjax</stringProp>
  34464. </elementProp>
  34465. <elementProp name="form_key" elementType="HTTPArgument">
  34466. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34467. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34468. <stringProp name="Argument.metadata">=</stringProp>
  34469. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34470. <stringProp name="Argument.name">form_key</stringProp>
  34471. <stringProp name="Argument.desc">false</stringProp>
  34472. </elementProp>
  34473. <elementProp name="filters[status]" elementType="HTTPArgument">
  34474. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34475. <stringProp name="Argument.value">pending</stringProp>
  34476. <stringProp name="Argument.metadata">=</stringProp>
  34477. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34478. <stringProp name="Argument.name">filters[status]</stringProp>
  34479. <stringProp name="Argument.desc">true</stringProp>
  34480. </elementProp>
  34481. <elementProp name="_" elementType="HTTPArgument">
  34482. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34483. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  34484. <stringProp name="Argument.metadata">=</stringProp>
  34485. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34486. <stringProp name="Argument.name">_</stringProp>
  34487. </elementProp>
  34488. </collectionProp>
  34489. </elementProp>
  34490. <stringProp name="HTTPSampler.domain"/>
  34491. <stringProp name="HTTPSampler.port"/>
  34492. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34493. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34494. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34495. <stringProp name="HTTPSampler.contentEncoding"/>
  34496. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  34497. <stringProp name="HTTPSampler.method">GET</stringProp>
  34498. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34499. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34500. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34501. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34502. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34503. <stringProp name="HTTPSampler.embedded_url_re"/>
  34504. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/open_orders.jmx</stringProp></HTTPSamplerProxy>
  34505. <hashTree>
  34506. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34507. <collectionProp name="Asserion.test_strings">
  34508. <stringProp name="1637639774">totalRecords</stringProp>
  34509. </collectionProp>
  34510. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34511. <boolProp name="Assertion.assume_success">false</boolProp>
  34512. <intProp name="Assertion.test_type">2</intProp>
  34513. </ResponseAssertion>
  34514. <hashTree/>
  34515. </hashTree>
  34516. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Pending Orders" enabled="true">
  34517. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34518. <collectionProp name="Arguments.arguments">
  34519. <elementProp name="form_key" elementType="HTTPArgument">
  34520. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34521. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34522. <stringProp name="Argument.metadata">=</stringProp>
  34523. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34524. <stringProp name="Argument.name">form_key</stringProp>
  34525. </elementProp>
  34526. <elementProp name="namespace" elementType="HTTPArgument">
  34527. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34528. <stringProp name="Argument.value">sales_order_grid</stringProp>
  34529. <stringProp name="Argument.metadata">=</stringProp>
  34530. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34531. <stringProp name="Argument.name">namespace</stringProp>
  34532. <stringProp name="Argument.desc">true</stringProp>
  34533. </elementProp>
  34534. <elementProp name="search" elementType="HTTPArgument">
  34535. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34536. <stringProp name="Argument.value"/>
  34537. <stringProp name="Argument.metadata">=</stringProp>
  34538. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34539. <stringProp name="Argument.name">search</stringProp>
  34540. <stringProp name="Argument.desc">true</stringProp>
  34541. </elementProp>
  34542. <elementProp name="filters[placeholder]" elementType="HTTPArgument">
  34543. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34544. <stringProp name="Argument.value">true</stringProp>
  34545. <stringProp name="Argument.metadata">=</stringProp>
  34546. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34547. <stringProp name="Argument.name">filters[placeholder]</stringProp>
  34548. <stringProp name="Argument.desc">true</stringProp>
  34549. </elementProp>
  34550. <elementProp name="paging[pageSize]" elementType="HTTPArgument">
  34551. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34552. <stringProp name="Argument.value">200</stringProp>
  34553. <stringProp name="Argument.metadata">=</stringProp>
  34554. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34555. <stringProp name="Argument.name">paging[pageSize]</stringProp>
  34556. <stringProp name="Argument.desc">true</stringProp>
  34557. </elementProp>
  34558. <elementProp name="paging[current]" elementType="HTTPArgument">
  34559. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34560. <stringProp name="Argument.value">1</stringProp>
  34561. <stringProp name="Argument.metadata">=</stringProp>
  34562. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34563. <stringProp name="Argument.name">paging[current]</stringProp>
  34564. <stringProp name="Argument.desc">true</stringProp>
  34565. </elementProp>
  34566. <elementProp name="sorting[field]" elementType="HTTPArgument">
  34567. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34568. <stringProp name="Argument.value">increment_id</stringProp>
  34569. <stringProp name="Argument.metadata">=</stringProp>
  34570. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34571. <stringProp name="Argument.name">sorting[field]</stringProp>
  34572. <stringProp name="Argument.desc">true</stringProp>
  34573. </elementProp>
  34574. <elementProp name="sorting[direction]" elementType="HTTPArgument">
  34575. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34576. <stringProp name="Argument.value">asc</stringProp>
  34577. <stringProp name="Argument.metadata">=</stringProp>
  34578. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34579. <stringProp name="Argument.name">sorting[direction]</stringProp>
  34580. <stringProp name="Argument.desc">true</stringProp>
  34581. </elementProp>
  34582. <elementProp name="isAjax" elementType="HTTPArgument">
  34583. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34584. <stringProp name="Argument.value">true</stringProp>
  34585. <stringProp name="Argument.metadata">=</stringProp>
  34586. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34587. <stringProp name="Argument.name">isAjax</stringProp>
  34588. <stringProp name="Argument.desc">true</stringProp>
  34589. </elementProp>
  34590. <elementProp name="filters[status]" elementType="HTTPArgument">
  34591. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34592. <stringProp name="Argument.value">pending</stringProp>
  34593. <stringProp name="Argument.metadata">=</stringProp>
  34594. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34595. <stringProp name="Argument.name">filters[status]</stringProp>
  34596. </elementProp>
  34597. <elementProp name="_" elementType="HTTPArgument">
  34598. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34599. <stringProp name="Argument.value">${__time()}${__Random(1,1000000)}</stringProp>
  34600. <stringProp name="Argument.metadata">=</stringProp>
  34601. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34602. <stringProp name="Argument.name">_</stringProp>
  34603. </elementProp>
  34604. </collectionProp>
  34605. </elementProp>
  34606. <stringProp name="HTTPSampler.domain"/>
  34607. <stringProp name="HTTPSampler.port"/>
  34608. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34609. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34610. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34611. <stringProp name="HTTPSampler.contentEncoding"/>
  34612. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/mui/index/render/</stringProp>
  34613. <stringProp name="HTTPSampler.method">GET</stringProp>
  34614. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34615. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34616. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34617. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34618. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34619. <stringProp name="HTTPSampler.embedded_url_re"/>
  34620. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/search_orders.jmx</stringProp></HTTPSamplerProxy>
  34621. <hashTree>
  34622. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34623. <collectionProp name="Asserion.test_strings">
  34624. <stringProp name="1637639774">totalRecords</stringProp>
  34625. </collectionProp>
  34626. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34627. <boolProp name="Assertion.assume_success">false</boolProp>
  34628. <intProp name="Assertion.test_type">2</intProp>
  34629. </ResponseAssertion>
  34630. <hashTree/>
  34631. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract order numbers" enabled="true">
  34632. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  34633. <stringProp name="RegexExtractor.refname">order_numbers</stringProp>
  34634. <stringProp name="RegexExtractor.regex">\"increment_id\":\"(\d+)\"\,</stringProp>
  34635. <stringProp name="RegexExtractor.template">$1$</stringProp>
  34636. <stringProp name="RegexExtractor.default"/>
  34637. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  34638. <stringProp name="Scope.variable">simple_products</stringProp>
  34639. </RegexExtractor>
  34640. <hashTree/>
  34641. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract order ids" enabled="true">
  34642. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  34643. <stringProp name="RegexExtractor.refname">order_ids</stringProp>
  34644. <stringProp name="RegexExtractor.regex">\"entity_id\":\"(\d+)\"\,</stringProp>
  34645. <stringProp name="RegexExtractor.template">$1$</stringProp>
  34646. <stringProp name="RegexExtractor.default"/>
  34647. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  34648. <stringProp name="Scope.variable">simple_products</stringProp>
  34649. </RegexExtractor>
  34650. <hashTree/>
  34651. </hashTree>
  34652. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Generate Unique Ids for each Thread" enabled="true">
  34653. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/setup.jmx</stringProp>
  34654. <stringProp name="BeanShellSampler.query">
  34655. import java.util.ArrayList;
  34656. import java.util.HashMap;
  34657. import org.apache.jmeter.protocol.http.util.Base64Encoder;
  34658. import java.util.Random;
  34659. // get count of "order_numbers" variable defined in "Search Pending Orders Limit"
  34660. int ordersCount = Integer.parseInt(vars.get("order_numbers_matchNr"));
  34661. int clusterLength;
  34662. int threadsNumber = ctx.getThreadGroup().getNumThreads();
  34663. if (threadsNumber == 0) {
  34664. //Number of orders for one thread
  34665. clusterLength = ordersCount;
  34666. } else {
  34667. clusterLength = Math.round(ordersCount / threadsNumber);
  34668. if (clusterLength == 0) {
  34669. clusterLength = 1;
  34670. }
  34671. }
  34672. //Current thread number starts from 0
  34673. int currentThreadNum = ctx.getThreadNum();
  34674. //Index of the current product from the cluster
  34675. Random random = new Random();
  34676. if (${seedForRandom} &gt; 0) {
  34677. random.setSeed(${seedForRandom} + ${__threadNum});
  34678. }
  34679. int iterator = random.nextInt(clusterLength);
  34680. if (iterator == 0) {
  34681. iterator = 1;
  34682. }
  34683. int i = clusterLength * currentThreadNum + iterator;
  34684. orderNumber = vars.get("order_numbers_" + i.toString());
  34685. orderId = vars.get("order_ids_" + i.toString());
  34686. vars.put("order_number", orderNumber);
  34687. vars.put("order_id", orderId);
  34688. </stringProp>
  34689. <stringProp name="BeanShellSampler.filename"/>
  34690. <stringProp name="BeanShellSampler.parameters"/>
  34691. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  34692. </BeanShellSampler>
  34693. <hashTree/>
  34694. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Open Order" enabled="true">
  34695. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34696. <collectionProp name="Arguments.arguments"/>
  34697. </elementProp>
  34698. <stringProp name="HTTPSampler.domain"/>
  34699. <stringProp name="HTTPSampler.port"/>
  34700. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34701. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34702. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34703. <stringProp name="HTTPSampler.contentEncoding"/>
  34704. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order/view/order_id/${order_id}/</stringProp>
  34705. <stringProp name="HTTPSampler.method">GET</stringProp>
  34706. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34707. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34708. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34709. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34710. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34711. <stringProp name="HTTPSampler.embedded_url_re"/>
  34712. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/open_order.jmx</stringProp></HTTPSamplerProxy>
  34713. <hashTree>
  34714. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34715. <collectionProp name="Asserion.test_strings">
  34716. <stringProp name="2103620713">#${order_number}</stringProp>
  34717. </collectionProp>
  34718. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34719. <boolProp name="Assertion.assume_success">false</boolProp>
  34720. <intProp name="Assertion.test_type">2</intProp>
  34721. </ResponseAssertion>
  34722. <hashTree/>
  34723. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract order status" enabled="true">
  34724. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  34725. <stringProp name="RegexExtractor.refname">order_status</stringProp>
  34726. <stringProp name="RegexExtractor.regex">&lt;span id="order_status"&gt;([^&lt;]+)&lt;/span&gt;</stringProp>
  34727. <stringProp name="RegexExtractor.template">$1$</stringProp>
  34728. <stringProp name="RegexExtractor.default"/>
  34729. <stringProp name="RegexExtractor.match_number">1</stringProp>
  34730. <stringProp name="Scope.variable">simple_products</stringProp>
  34731. </RegexExtractor>
  34732. <hashTree/>
  34733. </hashTree>
  34734. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
  34735. <stringProp name="IfController.condition">"${order_status}" == "Pending"</stringProp>
  34736. <boolProp name="IfController.evaluateAll">false</boolProp>
  34737. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_edit_order/if_controller.jmx</stringProp></IfController>
  34738. <hashTree>
  34739. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Add Comment" enabled="true">
  34740. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34741. <collectionProp name="Arguments.arguments">
  34742. <elementProp name="history[status]" elementType="HTTPArgument">
  34743. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34744. <stringProp name="Argument.value">pending</stringProp>
  34745. <stringProp name="Argument.metadata">=</stringProp>
  34746. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34747. <stringProp name="Argument.name">history[status]</stringProp>
  34748. <stringProp name="Argument.desc">false</stringProp>
  34749. </elementProp>
  34750. <elementProp name="history[comment]" elementType="HTTPArgument">
  34751. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34752. <stringProp name="Argument.value">Some text</stringProp>
  34753. <stringProp name="Argument.metadata">=</stringProp>
  34754. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34755. <stringProp name="Argument.name">history[comment]</stringProp>
  34756. </elementProp>
  34757. <elementProp name="form_key" elementType="HTTPArgument">
  34758. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34759. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34760. <stringProp name="Argument.metadata">=</stringProp>
  34761. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34762. <stringProp name="Argument.name">form_key</stringProp>
  34763. <stringProp name="Argument.desc">false</stringProp>
  34764. </elementProp>
  34765. </collectionProp>
  34766. </elementProp>
  34767. <stringProp name="HTTPSampler.domain"/>
  34768. <stringProp name="HTTPSampler.port"/>
  34769. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34770. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34771. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34772. <stringProp name="HTTPSampler.contentEncoding"/>
  34773. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order/addComment/order_id/${order_id}/?isAjax=true</stringProp>
  34774. <stringProp name="HTTPSampler.method">POST</stringProp>
  34775. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34776. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34777. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34778. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34779. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34780. <stringProp name="HTTPSampler.embedded_url_re"/>
  34781. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_edit_order/add_comment.jmx</stringProp></HTTPSamplerProxy>
  34782. <hashTree>
  34783. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34784. <collectionProp name="Asserion.test_strings">
  34785. <stringProp name="-2089278331">Not Notified</stringProp>
  34786. </collectionProp>
  34787. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34788. <boolProp name="Assertion.assume_success">false</boolProp>
  34789. <intProp name="Assertion.test_type">2</intProp>
  34790. </ResponseAssertion>
  34791. <hashTree/>
  34792. </hashTree>
  34793. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Invoice Start" enabled="true">
  34794. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34795. <collectionProp name="Arguments.arguments"/>
  34796. </elementProp>
  34797. <stringProp name="HTTPSampler.domain"/>
  34798. <stringProp name="HTTPSampler.port"/>
  34799. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34800. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34801. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34802. <stringProp name="HTTPSampler.contentEncoding"/>
  34803. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_invoice/start/order_id/${order_id}/</stringProp>
  34804. <stringProp name="HTTPSampler.method">GET</stringProp>
  34805. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34806. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34807. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34808. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34809. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34810. <stringProp name="HTTPSampler.embedded_url_re"/>
  34811. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/invoice_start.jmx</stringProp></HTTPSamplerProxy>
  34812. <hashTree>
  34813. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34814. <collectionProp name="Asserion.test_strings">
  34815. <stringProp name="-1233850814">Invoice Totals</stringProp>
  34816. </collectionProp>
  34817. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34818. <boolProp name="Assertion.assume_success">false</boolProp>
  34819. <intProp name="Assertion.test_type">2</intProp>
  34820. </ResponseAssertion>
  34821. <hashTree/>
  34822. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract ordered items ids" enabled="true">
  34823. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  34824. <stringProp name="RegexExtractor.refname">item_ids</stringProp>
  34825. <stringProp name="RegexExtractor.regex">&lt;div id="order_item_(\d+)_title"\s*class="product-title"&gt;</stringProp>
  34826. <stringProp name="RegexExtractor.template">$1$</stringProp>
  34827. <stringProp name="RegexExtractor.default"/>
  34828. <stringProp name="RegexExtractor.match_number">-1</stringProp>
  34829. <stringProp name="Scope.variable">simple_products</stringProp>
  34830. </RegexExtractor>
  34831. <hashTree/>
  34832. </hashTree>
  34833. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Invoice Submit" enabled="true">
  34834. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34835. <collectionProp name="Arguments.arguments">
  34836. <elementProp name="form_key" elementType="HTTPArgument">
  34837. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34838. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34839. <stringProp name="Argument.metadata">=</stringProp>
  34840. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34841. <stringProp name="Argument.name">form_key</stringProp>
  34842. <stringProp name="Argument.desc">false</stringProp>
  34843. </elementProp>
  34844. <elementProp name="invoice[items][${item_ids_1}]" elementType="HTTPArgument">
  34845. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34846. <stringProp name="Argument.value">1</stringProp>
  34847. <stringProp name="Argument.metadata">=</stringProp>
  34848. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34849. <stringProp name="Argument.name">invoice[items][${item_ids_1}]</stringProp>
  34850. </elementProp>
  34851. <elementProp name="invoice[items][${item_ids_2}]" elementType="HTTPArgument">
  34852. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34853. <stringProp name="Argument.value">1</stringProp>
  34854. <stringProp name="Argument.metadata">=</stringProp>
  34855. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34856. <stringProp name="Argument.name">invoice[items][${item_ids_2}]</stringProp>
  34857. </elementProp>
  34858. <elementProp name="invoice[comment_text]" elementType="HTTPArgument">
  34859. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34860. <stringProp name="Argument.value">Invoiced</stringProp>
  34861. <stringProp name="Argument.metadata">=</stringProp>
  34862. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34863. <stringProp name="Argument.name">invoice[comment_text]</stringProp>
  34864. </elementProp>
  34865. </collectionProp>
  34866. </elementProp>
  34867. <stringProp name="HTTPSampler.domain"/>
  34868. <stringProp name="HTTPSampler.port"/>
  34869. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34870. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34871. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34872. <stringProp name="HTTPSampler.contentEncoding"/>
  34873. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/sales/order_invoice/save/order_id/${order_id}/</stringProp>
  34874. <stringProp name="HTTPSampler.method">POST</stringProp>
  34875. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34876. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34877. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34878. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34879. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34880. <stringProp name="HTTPSampler.embedded_url_re"/>
  34881. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_process_returns/invoice_submit.jmx</stringProp></HTTPSamplerProxy>
  34882. <hashTree>
  34883. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34884. <collectionProp name="Asserion.test_strings">
  34885. <stringProp name="1740524604">The invoice has been created</stringProp>
  34886. </collectionProp>
  34887. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34888. <boolProp name="Assertion.assume_success">false</boolProp>
  34889. <intProp name="Assertion.test_type">2</intProp>
  34890. </ResponseAssertion>
  34891. <hashTree/>
  34892. </hashTree>
  34893. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Shipment Start" enabled="true">
  34894. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34895. <collectionProp name="Arguments.arguments"/>
  34896. </elementProp>
  34897. <stringProp name="HTTPSampler.domain"/>
  34898. <stringProp name="HTTPSampler.port"/>
  34899. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34900. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34901. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34902. <stringProp name="HTTPSampler.contentEncoding"/>
  34903. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/order_shipment/start/order_id/${order_id}/</stringProp>
  34904. <stringProp name="HTTPSampler.method">GET</stringProp>
  34905. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34906. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34907. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34908. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34909. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34910. <stringProp name="HTTPSampler.embedded_url_re"/>
  34911. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_edit_order/shipment_start.jmx</stringProp></HTTPSamplerProxy>
  34912. <hashTree>
  34913. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34914. <collectionProp name="Asserion.test_strings">
  34915. <stringProp name="304100442">New Shipment</stringProp>
  34916. </collectionProp>
  34917. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34918. <boolProp name="Assertion.assume_success">false</boolProp>
  34919. <intProp name="Assertion.test_type">2</intProp>
  34920. </ResponseAssertion>
  34921. <hashTree/>
  34922. </hashTree>
  34923. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Shipment Submit" enabled="true">
  34924. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34925. <collectionProp name="Arguments.arguments">
  34926. <elementProp name="form_key" elementType="HTTPArgument">
  34927. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34928. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  34929. <stringProp name="Argument.metadata">=</stringProp>
  34930. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34931. <stringProp name="Argument.name">form_key</stringProp>
  34932. <stringProp name="Argument.desc">false</stringProp>
  34933. </elementProp>
  34934. <elementProp name="shipment[items][${item_ids_1}]" elementType="HTTPArgument">
  34935. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34936. <stringProp name="Argument.value">1</stringProp>
  34937. <stringProp name="Argument.metadata">=</stringProp>
  34938. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34939. <stringProp name="Argument.name">shipment[items][${item_ids_1}]</stringProp>
  34940. </elementProp>
  34941. <elementProp name="shipment[items][${item_ids_2}]" elementType="HTTPArgument">
  34942. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34943. <stringProp name="Argument.value">1</stringProp>
  34944. <stringProp name="Argument.metadata">=</stringProp>
  34945. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34946. <stringProp name="Argument.name">shipment[items][${item_ids_2}]</stringProp>
  34947. </elementProp>
  34948. <elementProp name="shipment[comment_text]" elementType="HTTPArgument">
  34949. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  34950. <stringProp name="Argument.value">Shipped</stringProp>
  34951. <stringProp name="Argument.metadata">=</stringProp>
  34952. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  34953. <stringProp name="Argument.name">shipment[comment_text]</stringProp>
  34954. </elementProp>
  34955. </collectionProp>
  34956. </elementProp>
  34957. <stringProp name="HTTPSampler.domain"/>
  34958. <stringProp name="HTTPSampler.port"/>
  34959. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34960. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34961. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34962. <stringProp name="HTTPSampler.contentEncoding"/>
  34963. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/order_shipment/save/order_id/${order_id}/</stringProp>
  34964. <stringProp name="HTTPSampler.method">POST</stringProp>
  34965. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34966. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34967. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  34968. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  34969. <boolProp name="HTTPSampler.monitor">false</boolProp>
  34970. <stringProp name="HTTPSampler.embedded_url_re"/>
  34971. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_edit_order/shipment_submit.jmx</stringProp></HTTPSamplerProxy>
  34972. <hashTree>
  34973. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  34974. <collectionProp name="Asserion.test_strings">
  34975. <stringProp name="-2089453199">The shipment has been created</stringProp>
  34976. </collectionProp>
  34977. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  34978. <boolProp name="Assertion.assume_success">false</boolProp>
  34979. <intProp name="Assertion.test_type">2</intProp>
  34980. </ResponseAssertion>
  34981. <hashTree/>
  34982. </hashTree>
  34983. </hashTree>
  34984. </hashTree>
  34985. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  34986. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  34987. <collectionProp name="Arguments.arguments"/>
  34988. </elementProp>
  34989. <stringProp name="HTTPSampler.domain"/>
  34990. <stringProp name="HTTPSampler.port"/>
  34991. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  34992. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  34993. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  34994. <stringProp name="HTTPSampler.contentEncoding"/>
  34995. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  34996. <stringProp name="HTTPSampler.method">GET</stringProp>
  34997. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  34998. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  34999. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35000. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35001. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35002. <stringProp name="HTTPSampler.embedded_url_re"/>
  35003. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  35004. <hashTree>
  35005. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  35006. <boolProp name="resetInterpreter">false</boolProp>
  35007. <stringProp name="parameters"/>
  35008. <stringProp name="filename"/>
  35009. <stringProp name="script">
  35010. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  35011. if (adminUsersDistribution == 1) {
  35012. adminUserList = props.get("adminUserList");
  35013. adminUserList.add(vars.get("admin_user"));
  35014. }
  35015. </stringProp>
  35016. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  35017. <hashTree/>
  35018. </hashTree>
  35019. </hashTree>
  35020. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Catalog GraphQL" enabled="true">
  35021. <intProp name="ThroughputController.style">1</intProp>
  35022. <boolProp name="ThroughputController.perThread">false</boolProp>
  35023. <intProp name="ThroughputController.maxThroughput">1</intProp>
  35024. <stringProp name="ThroughputController.percentThroughput">${catalogGraphQLPercentage}</stringProp>
  35025. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
  35026. <hashTree>
  35027. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
  35028. <stringProp name="script">
  35029. var testLabel = "${testLabel}" ? " (${testLabel})" : "";
  35030. if (testLabel
  35031. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  35032. ) {
  35033. if (sampler.getName().indexOf(testLabel) == -1) {
  35034. sampler.setName(sampler.getName() + testLabel);
  35035. }
  35036. } else if (sampler.getName().indexOf("SetUp - ") == -1) {
  35037. sampler.setName("SetUp - " + sampler.getName());
  35038. }
  35039. </stringProp>
  35040. <stringProp name="scriptLanguage">javascript</stringProp>
  35041. <stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/setup_label.jmx</stringProp></JSR223PreProcessor>
  35042. <hashTree/>
  35043. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
  35044. <stringProp name="BeanShellSampler.query">
  35045. vars.put("testLabel", "Catalog GraphQL");
  35046. </stringProp>
  35047. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  35048. </BeanShellSampler>
  35049. <hashTree/>
  35050. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Admin Controller" enabled="true">
  35051. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/once_only_controller.jmx</stringProp>
  35052. </OnceOnlyController>
  35053. <hashTree>
  35054. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="Get admin form key PostProcessor" enabled="true">
  35055. <stringProp name="script">
  35056. function getFormKeyFromResponse()
  35057. {
  35058. var url = prev.getUrlAsString(),
  35059. responseCode = prev.getResponseCode(),
  35060. formKey = null;
  35061. searchPattern = /var FORM_KEY = '(.+)'/;
  35062. if (responseCode == "200" &amp;&amp; url) {
  35063. response = prev.getResponseDataAsString();
  35064. formKey = response &amp;&amp; response.match(searchPattern) ? response.match(searchPattern)[1] : null;
  35065. }
  35066. return formKey;
  35067. }
  35068. formKey = vars.get("form_key_storage");
  35069. currentFormKey = getFormKeyFromResponse();
  35070. if (currentFormKey != null &amp;&amp; currentFormKey != formKey) {
  35071. vars.put("form_key_storage", currentFormKey);
  35072. }
  35073. </stringProp>
  35074. <stringProp name="scriptLanguage">javascript</stringProp>
  35075. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin/handle_admin_form_key.jmx</stringProp></JSR223PostProcessor>
  35076. <hashTree/>
  35077. <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set admin form key PreProcessor" enabled="true">
  35078. <stringProp name="script">
  35079. formKey = vars.get("form_key_storage");
  35080. if (formKey
  35081. &amp;&amp; sampler.getClass().getName() == 'org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy'
  35082. &amp;&amp; sampler.getMethod() == "POST")
  35083. {
  35084. arguments = sampler.getArguments();
  35085. for (i=0; i&lt;arguments.getArgumentCount(); i++)
  35086. {
  35087. argument = arguments.getArgument(i);
  35088. if (argument.getName() == 'form_key' &amp;&amp; argument.getValue() != formKey) {
  35089. log.info("admin form key updated: " + argument.getValue() + " =&gt; " + formKey);
  35090. argument.setValue(formKey);
  35091. }
  35092. }
  35093. }
  35094. </stringProp>
  35095. <stringProp name="scriptLanguage">javascript</stringProp>
  35096. </JSR223PreProcessor>
  35097. <hashTree/>
  35098. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  35099. <collectionProp name="CookieManager.cookies"/>
  35100. <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  35101. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/http_cookie_manager_without_clear_each_iteration.jmx</stringProp></CookieManager>
  35102. <hashTree/>
  35103. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Admin Login" enabled="true">
  35104. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  35105. </GenericController>
  35106. <hashTree>
  35107. <CriticalSectionController guiclass="CriticalSectionControllerGui" testclass="CriticalSectionController" testname="Admin Login Lock" enabled="true">
  35108. <stringProp name="CriticalSectionController.lockName">get-admin-email</stringProp>
  35109. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/lock_controller.jmx</stringProp></CriticalSectionController>
  35110. <hashTree>
  35111. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Admin Email" enabled="true">
  35112. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/get_admin_email.jmx</stringProp>
  35113. <stringProp name="BeanShellSampler.query">
  35114. adminUserList = props.get("adminUserList");
  35115. adminUserListIterator = props.get("adminUserListIterator");
  35116. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  35117. if (adminUsersDistribution == 1) {
  35118. adminUser = adminUserList.poll();
  35119. } else {
  35120. if (!adminUserListIterator.hasNext()) {
  35121. adminUserListIterator = adminUserList.descendingIterator();
  35122. }
  35123. adminUser = adminUserListIterator.next();
  35124. }
  35125. if (adminUser == null) {
  35126. SampleResult.setResponseMessage("adminUser list is empty");
  35127. SampleResult.setResponseData("adminUser list is empty","UTF-8");
  35128. IsSuccess=false;
  35129. SampleResult.setSuccessful(false);
  35130. SampleResult.setStopThread(true);
  35131. }
  35132. vars.put("admin_user", adminUser);
  35133. </stringProp>
  35134. <stringProp name="BeanShellSampler.filename"/>
  35135. <stringProp name="BeanShellSampler.parameters"/>
  35136. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  35137. </BeanShellSampler>
  35138. <hashTree/>
  35139. </hashTree>
  35140. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login" enabled="true">
  35141. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35142. <collectionProp name="Arguments.arguments"/>
  35143. </elementProp>
  35144. <stringProp name="HTTPSampler.domain"/>
  35145. <stringProp name="HTTPSampler.port"/>
  35146. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35147. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35148. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35149. <stringProp name="HTTPSampler.contentEncoding"/>
  35150. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/</stringProp>
  35151. <stringProp name="HTTPSampler.method">GET</stringProp>
  35152. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35153. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35154. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35155. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35156. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35157. <stringProp name="HTTPSampler.embedded_url_re"/>
  35158. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login.jmx</stringProp></HTTPSamplerProxy>
  35159. <hashTree>
  35160. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert login form shown" enabled="true">
  35161. <collectionProp name="Asserion.test_strings">
  35162. <stringProp name="-1397214398">Welcome</stringProp>
  35163. <stringProp name="-515240035">&lt;title&gt;Magento Admin&lt;/title&gt;</stringProp>
  35164. </collectionProp>
  35165. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  35166. <boolProp name="Assertion.assume_success">false</boolProp>
  35167. <intProp name="Assertion.test_type">2</intProp>
  35168. </ResponseAssertion>
  35169. <hashTree/>
  35170. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  35171. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  35172. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  35173. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  35174. <stringProp name="RegexExtractor.template">$1$</stringProp>
  35175. <stringProp name="RegexExtractor.default"/>
  35176. <stringProp name="RegexExtractor.match_number">1</stringProp>
  35177. </RegexExtractor>
  35178. <hashTree/>
  35179. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert form_key extracted" enabled="true">
  35180. <collectionProp name="Asserion.test_strings">
  35181. <stringProp name="2845929">^.+$</stringProp>
  35182. </collectionProp>
  35183. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  35184. <boolProp name="Assertion.assume_success">false</boolProp>
  35185. <intProp name="Assertion.test_type">1</intProp>
  35186. <stringProp name="Assertion.scope">variable</stringProp>
  35187. <stringProp name="Scope.variable">admin_form_key</stringProp>
  35188. </ResponseAssertion>
  35189. <hashTree/>
  35190. </hashTree>
  35191. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Login Submit Form" enabled="true">
  35192. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35193. <collectionProp name="Arguments.arguments">
  35194. <elementProp name="dummy" elementType="HTTPArgument">
  35195. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35196. <stringProp name="Argument.value"/>
  35197. <stringProp name="Argument.metadata">=</stringProp>
  35198. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35199. <stringProp name="Argument.name">dummy</stringProp>
  35200. </elementProp>
  35201. <elementProp name="form_key" elementType="HTTPArgument">
  35202. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35203. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  35204. <stringProp name="Argument.metadata">=</stringProp>
  35205. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35206. <stringProp name="Argument.name">form_key</stringProp>
  35207. </elementProp>
  35208. <elementProp name="login[password]" elementType="HTTPArgument">
  35209. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35210. <stringProp name="Argument.value">${admin_password}</stringProp>
  35211. <stringProp name="Argument.metadata">=</stringProp>
  35212. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35213. <stringProp name="Argument.name">login[password]</stringProp>
  35214. </elementProp>
  35215. <elementProp name="login[username]" elementType="HTTPArgument">
  35216. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35217. <stringProp name="Argument.value">${admin_user}</stringProp>
  35218. <stringProp name="Argument.metadata">=</stringProp>
  35219. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35220. <stringProp name="Argument.name">login[username]</stringProp>
  35221. </elementProp>
  35222. </collectionProp>
  35223. </elementProp>
  35224. <stringProp name="HTTPSampler.domain"/>
  35225. <stringProp name="HTTPSampler.port"/>
  35226. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35227. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35228. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35229. <stringProp name="HTTPSampler.contentEncoding"/>
  35230. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/dashboard/</stringProp>
  35231. <stringProp name="HTTPSampler.method">POST</stringProp>
  35232. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35233. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35234. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35235. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35236. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  35237. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35238. <stringProp name="HTTPSampler.embedded_url_re"/>
  35239. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_login_submit_form.jmx</stringProp>
  35240. </HTTPSamplerProxy>
  35241. <hashTree>
  35242. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Extract form key" enabled="true">
  35243. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  35244. <stringProp name="RegexExtractor.refname">admin_form_key</stringProp>
  35245. <stringProp name="RegexExtractor.regex">&lt;input name="form_key" type="hidden" value="([^'"]+)" /&gt;</stringProp>
  35246. <stringProp name="RegexExtractor.template">$1$</stringProp>
  35247. <stringProp name="RegexExtractor.default"/>
  35248. <stringProp name="RegexExtractor.match_number">1</stringProp>
  35249. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_login/admin_retrieve_form_key.jmx</stringProp></RegexExtractor>
  35250. <hashTree/>
  35251. </hashTree>
  35252. </hashTree>
  35253. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Indexer Controller" enabled="true">
  35254. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  35255. </GenericController>
  35256. <hashTree>
  35257. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Indexers Management Catalog Set On Save" enabled="true">
  35258. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_indexers_management/admin_indexer_management_catalog_set_on_save.jmx</stringProp>
  35259. </TestFragmentController>
  35260. <hashTree>
  35261. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Index Page" enabled="true">
  35262. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35263. <collectionProp name="Arguments.arguments"/>
  35264. </elementProp>
  35265. <stringProp name="HTTPSampler.domain"/>
  35266. <stringProp name="HTTPSampler.port"/>
  35267. <stringProp name="HTTPSampler.connect_timeout"/>
  35268. <stringProp name="HTTPSampler.response_timeout"/>
  35269. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35270. <stringProp name="HTTPSampler.contentEncoding"/>
  35271. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/indexer/indexer/list/</stringProp>
  35272. <stringProp name="HTTPSampler.method">GET</stringProp>
  35273. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35274. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35275. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35276. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35277. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35278. <stringProp name="HTTPSampler.embedded_url_re"/>
  35279. </HTTPSamplerProxy>
  35280. <hashTree>
  35281. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  35282. <collectionProp name="HeaderManager.headers">
  35283. <elementProp name="Accept-Language" elementType="Header">
  35284. <stringProp name="Header.name">Accept-Language</stringProp>
  35285. <stringProp name="Header.value">en-US,en;q=0.5</stringProp>
  35286. </elementProp>
  35287. <elementProp name="Accept" elementType="Header">
  35288. <stringProp name="Header.name">Accept</stringProp>
  35289. <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
  35290. </elementProp>
  35291. <elementProp name="User-Agent" elementType="Header">
  35292. <stringProp name="Header.name">User-Agent</stringProp>
  35293. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0</stringProp>
  35294. </elementProp>
  35295. <elementProp name="Accept-Encoding" elementType="Header">
  35296. <stringProp name="Header.name">Accept-Encoding</stringProp>
  35297. <stringProp name="Header.value">gzip, deflate</stringProp>
  35298. </elementProp>
  35299. </collectionProp>
  35300. </HeaderManager>
  35301. <hashTree/>
  35302. </hashTree>
  35303. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Set Indexers on Save" enabled="true">
  35304. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35305. <collectionProp name="Arguments.arguments">
  35306. <elementProp name="indexer_ids" elementType="HTTPArgument">
  35307. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35308. <stringProp name="Argument.value">catalog_category_product,catalog_product_category,catalog_product_price,catalog_product_attribute,cataloginventory_stock,catalogsearch_fulltext</stringProp>
  35309. <stringProp name="Argument.metadata">=</stringProp>
  35310. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35311. <stringProp name="Argument.name">indexer_ids</stringProp>
  35312. </elementProp>
  35313. <elementProp name="form_key" elementType="HTTPArgument">
  35314. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35315. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  35316. <stringProp name="Argument.metadata">=</stringProp>
  35317. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35318. <stringProp name="Argument.name">form_key</stringProp>
  35319. </elementProp>
  35320. <elementProp name="massaction_prepare_key" elementType="HTTPArgument">
  35321. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  35322. <stringProp name="Argument.value">indexer_ids</stringProp>
  35323. <stringProp name="Argument.metadata">=</stringProp>
  35324. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35325. <stringProp name="Argument.name">massaction_prepare_key</stringProp>
  35326. </elementProp>
  35327. </collectionProp>
  35328. </elementProp>
  35329. <stringProp name="HTTPSampler.domain"/>
  35330. <stringProp name="HTTPSampler.port"/>
  35331. <stringProp name="HTTPSampler.connect_timeout"/>
  35332. <stringProp name="HTTPSampler.response_timeout"/>
  35333. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35334. <stringProp name="HTTPSampler.contentEncoding"/>
  35335. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/indexer/indexer/massOnTheFly/</stringProp>
  35336. <stringProp name="HTTPSampler.method">POST</stringProp>
  35337. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35338. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35339. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35340. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35341. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35342. <stringProp name="HTTPSampler.embedded_url_re"/>
  35343. </HTTPSamplerProxy>
  35344. <hashTree>
  35345. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  35346. <collectionProp name="Asserion.test_strings">
  35347. <stringProp name="49586">200</stringProp>
  35348. </collectionProp>
  35349. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  35350. <boolProp name="Assertion.assume_success">false</boolProp>
  35351. <intProp name="Assertion.test_type">16</intProp>
  35352. </ResponseAssertion>
  35353. <hashTree/>
  35354. </hashTree>
  35355. </hashTree>
  35356. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Get Related Product Id" enabled="true">
  35357. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/get_related_product_id.jmx</stringProp>
  35358. <stringProp name="BeanShellSampler.query">import org.apache.jmeter.samplers.SampleResult;
  35359. import java.util.Random;
  35360. Random random = new Random();
  35361. if (${seedForRandom} &gt; 0) {
  35362. random.setSeed(${seedForRandom});
  35363. }
  35364. relatedIndex = random.nextInt(props.get("simple_products_list").size());
  35365. vars.put("related_product_id", props.get("simple_products_list").get(relatedIndex).get("id"));</stringProp>
  35366. <stringProp name="BeanShellSampler.filename"/>
  35367. <stringProp name="BeanShellSampler.parameters"/>
  35368. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  35369. </BeanShellSampler>
  35370. <hashTree/>
  35371. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SetUp - Get Product Attributes" enabled="true">
  35372. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  35373. </GenericController>
  35374. <hashTree>
  35375. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  35376. <collectionProp name="HeaderManager.headers">
  35377. <elementProp name="" elementType="Header">
  35378. <stringProp name="Header.name">Content-Type</stringProp>
  35379. <stringProp name="Header.value">application/json</stringProp>
  35380. </elementProp>
  35381. <elementProp name="" elementType="Header">
  35382. <stringProp name="Header.name">Accept</stringProp>
  35383. <stringProp name="Header.value">*/*</stringProp>
  35384. </elementProp>
  35385. </collectionProp>
  35386. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager_before_token.jmx</stringProp></HeaderManager>
  35387. <hashTree/>
  35388. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  35389. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  35390. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  35391. <collectionProp name="Arguments.arguments">
  35392. <elementProp name="" elementType="HTTPArgument">
  35393. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  35394. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  35395. <stringProp name="Argument.metadata">=</stringProp>
  35396. </elementProp>
  35397. </collectionProp>
  35398. </elementProp>
  35399. <stringProp name="HTTPSampler.domain"/>
  35400. <stringProp name="HTTPSampler.port"/>
  35401. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35402. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35403. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35404. <stringProp name="HTTPSampler.contentEncoding"/>
  35405. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  35406. <stringProp name="HTTPSampler.method">POST</stringProp>
  35407. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35408. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35409. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35410. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35411. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35412. <stringProp name="HTTPSampler.embedded_url_re"/>
  35413. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/admin_token_retrieval.jmx</stringProp></HTTPSamplerProxy>
  35414. <hashTree>
  35415. <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">
  35416. <stringProp name="VAR">admin_token</stringProp>
  35417. <stringProp name="JSONPATH">$</stringProp>
  35418. <stringProp name="DEFAULT"/>
  35419. <stringProp name="VARIABLE"/>
  35420. <stringProp name="SUBJECT">BODY</stringProp>
  35421. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  35422. <hashTree/>
  35423. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  35424. <collectionProp name="Asserion.test_strings">
  35425. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  35426. </collectionProp>
  35427. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  35428. <boolProp name="Assertion.assume_success">false</boolProp>
  35429. <intProp name="Assertion.test_type">1</intProp>
  35430. <stringProp name="Assertion.scope">variable</stringProp>
  35431. <stringProp name="Scope.variable">admin_token</stringProp>
  35432. </ResponseAssertion>
  35433. <hashTree/>
  35434. </hashTree>
  35435. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  35436. <collectionProp name="HeaderManager.headers">
  35437. <elementProp name="" elementType="Header">
  35438. <stringProp name="Header.name">Authorization</stringProp>
  35439. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  35440. </elementProp>
  35441. </collectionProp>
  35442. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager.jmx</stringProp></HeaderManager>
  35443. <hashTree/>
  35444. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - API Get product attributes" enabled="true">
  35445. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35446. <collectionProp name="Arguments.arguments">
  35447. <elementProp name="searchCriteria[filterGroups][0][filters][0][value]" elementType="HTTPArgument">
  35448. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  35449. <stringProp name="Argument.value">mycolor</stringProp>
  35450. <stringProp name="Argument.metadata">=</stringProp>
  35451. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35452. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][value]</stringProp>
  35453. </elementProp>
  35454. <elementProp name="searchCriteria[filterGroups][0][filters][0][field]" elementType="HTTPArgument">
  35455. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  35456. <stringProp name="Argument.value">attribute_code</stringProp>
  35457. <stringProp name="Argument.metadata">=</stringProp>
  35458. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35459. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][0][field]</stringProp>
  35460. </elementProp>
  35461. <elementProp name="searchCriteria[filterGroups][0][filters][1][value]" elementType="HTTPArgument">
  35462. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  35463. <stringProp name="Argument.value">mysize</stringProp>
  35464. <stringProp name="Argument.metadata">=</stringProp>
  35465. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35466. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][1][value]</stringProp>
  35467. </elementProp>
  35468. <elementProp name="searchCriteria[filterGroups][0][filters][1][field]" elementType="HTTPArgument">
  35469. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  35470. <stringProp name="Argument.value">attribute_code</stringProp>
  35471. <stringProp name="Argument.metadata">=</stringProp>
  35472. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35473. <stringProp name="Argument.name">searchCriteria[filterGroups][0][filters][1][field]</stringProp>
  35474. </elementProp>
  35475. </collectionProp>
  35476. </elementProp>
  35477. <stringProp name="HTTPSampler.domain"/>
  35478. <stringProp name="HTTPSampler.port"/>
  35479. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35480. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35481. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35482. <stringProp name="HTTPSampler.contentEncoding"/>
  35483. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes</stringProp>
  35484. <stringProp name="HTTPSampler.method">GET</stringProp>
  35485. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35486. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35487. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35488. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35489. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35490. <stringProp name="HTTPSampler.embedded_url_re"/>
  35491. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/get_product_attributes.jmx</stringProp></HTTPSamplerProxy>
  35492. <hashTree>
  35493. <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 product attributes" enabled="true">
  35494. <stringProp name="VAR">product_attributes</stringProp>
  35495. <stringProp name="JSONPATH">$.items</stringProp>
  35496. <stringProp name="DEFAULT"/>
  35497. <stringProp name="VARIABLE"/>
  35498. <stringProp name="SUBJECT">BODY</stringProp>
  35499. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  35500. <hashTree/>
  35501. <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="SetUp - Prepare product attributes" enabled="true">
  35502. <stringProp name="scriptLanguage">javascript</stringProp>
  35503. <stringProp name="parameters"/>
  35504. <stringProp name="filename"/>
  35505. <stringProp name="cacheKey"/>
  35506. <stringProp name="script">
  35507. var attributesData = JSON.parse(vars.get("product_attributes")),
  35508. maxOptions = 2;
  35509. attributes = [];
  35510. for (i in attributesData) {
  35511. if (i &gt;= 2) {
  35512. break;
  35513. }
  35514. var data = attributesData[i],
  35515. attribute = {
  35516. "id": data.attribute_id,
  35517. "code": data.attribute_code,
  35518. "label": data.default_frontend_label,
  35519. "options": []
  35520. };
  35521. var processedOptions = 0;
  35522. for (optionN in data.options) {
  35523. var option = data.options[optionN];
  35524. if (parseInt(option.value) &gt; 0 &amp;&amp; processedOptions &lt; maxOptions) {
  35525. processedOptions++;
  35526. attribute.options.push(option);
  35527. }
  35528. }
  35529. attributes.push(attribute);
  35530. }
  35531. vars.putObject("product_attributes", attributes);
  35532. </stringProp>
  35533. </JSR223PostProcessor>
  35534. <hashTree/>
  35535. </hashTree>
  35536. </hashTree>
  35537. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Get Attribute Set Id" enabled="true">
  35538. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35539. <collectionProp name="Arguments.arguments"/>
  35540. </elementProp>
  35541. <stringProp name="HTTPSampler.domain"/>
  35542. <stringProp name="HTTPSampler.port"/>
  35543. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35544. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35545. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35546. <stringProp name="HTTPSampler.contentEncoding"/>
  35547. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product_set/index/filter/${attribute_set_filter}</stringProp>
  35548. <stringProp name="HTTPSampler.method">GET</stringProp>
  35549. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35550. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35551. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35552. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35553. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35554. <stringProp name="HTTPSampler.embedded_url_re"/>
  35555. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/configurable_setup_attribute_set.jmx</stringProp>
  35556. </HTTPSamplerProxy>
  35557. <hashTree>
  35558. <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
  35559. <stringProp name="RegexExtractor.useHeaders">false</stringProp>
  35560. <stringProp name="RegexExtractor.refname">attribute_set_id</stringProp>
  35561. <stringProp name="RegexExtractor.regex">catalog\/product_set\/edit\/id\/([\d]+)\/"[\D\d]*Attribute Set 1</stringProp>
  35562. <stringProp name="RegexExtractor.template">$1$</stringProp>
  35563. <stringProp name="RegexExtractor.default"/>
  35564. <stringProp name="RegexExtractor.match_number">1</stringProp>
  35565. </RegexExtractor>
  35566. <hashTree/>
  35567. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="SetUp - Set Attribute Set Filter" enabled="true">
  35568. <boolProp name="resetInterpreter">false</boolProp>
  35569. <stringProp name="parameters"/>
  35570. <stringProp name="filename"/>
  35571. <stringProp name="script">import org.apache.commons.codec.binary.Base64;
  35572. byte[] encodedBytes = Base64.encodeBase64("set_name=Attribute Set 1".getBytes());
  35573. vars.put("attribute_set_filter", new String(encodedBytes));
  35574. </stringProp>
  35575. </BeanShellPreProcessor>
  35576. <hashTree/>
  35577. </hashTree>
  35578. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
  35579. <stringProp name="BeanShellSampler.query">import org.apache.jmeter.samplers.SampleResult;
  35580. import java.util.Random;
  35581. Random random = new Random();
  35582. if (${seedForRandom} &gt; 0) {
  35583. random.setSeed(${seedForRandom});
  35584. }
  35585. number = random.nextInt(props.get("simple_products_list_for_edit").size());
  35586. simpleList = props.get("simple_products_list_for_edit").get(number);
  35587. vars.put("simple_product_1_id", simpleList.get("id"));
  35588. vars.put("simple_product_1_name", simpleList.get("title"));
  35589. do {
  35590. number1 = random.nextInt(props.get("simple_products_list_for_edit").size());
  35591. } while(number == number1);
  35592. simpleList = props.get("simple_products_list_for_edit").get(number1);
  35593. vars.put("simple_product_2_id", simpleList.get("id"));
  35594. vars.put("simple_product_2_name", simpleList.get("title"));
  35595. number2 = random.nextInt(props.get("configurable_products_list").size());
  35596. configurableList = props.get("configurable_products_list").get(number2);
  35597. vars.put("configurable_product_1_id", configurableList.get("id"));
  35598. vars.put("configurable_product_1_url_key", configurableList.get("url_key"));
  35599. vars.put("configurable_product_1_name", configurableList.get("title"));
  35600. //Additional category to be added
  35601. //int categoryId = Integer.parseInt(vars.get("simple_product_category_id"));
  35602. //vars.put("category_additional", (categoryId+1).toString());
  35603. //New price
  35604. vars.put("price_new", "9999");
  35605. //New special price
  35606. vars.put("special_price_new", "8888");
  35607. //New quantity
  35608. vars.put("quantity_new", "100600");
  35609. vars.put("configurable_sku", "Configurable Product - ${__time(YMD)}-${__threadNum}-${__Random(1,1000000)}");
  35610. </stringProp>
  35611. <stringProp name="BeanShellSampler.filename"/>
  35612. <stringProp name="BeanShellSampler.parameters"/>
  35613. <boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
  35614. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/setup.jmx</stringProp></BeanShellSampler>
  35615. <hashTree/>
  35616. <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="Admin Create Bundle Product" enabled="true">
  35617. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/admin_create_product/create_bundle_product.jmx</stringProp>
  35618. </TestFragmentController>
  35619. <hashTree>
  35620. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Catalog Product" enabled="true">
  35621. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35622. <collectionProp name="Arguments.arguments"/>
  35623. </elementProp>
  35624. <stringProp name="HTTPSampler.domain"/>
  35625. <stringProp name="HTTPSampler.port"/>
  35626. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35627. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35628. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35629. <stringProp name="HTTPSampler.contentEncoding"/>
  35630. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/</stringProp>
  35631. <stringProp name="HTTPSampler.method">GET</stringProp>
  35632. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35633. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35634. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35635. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35636. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35637. <stringProp name="HTTPSampler.embedded_url_re"/>
  35638. </HTTPSamplerProxy>
  35639. <hashTree>
  35640. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  35641. <collectionProp name="Asserion.test_strings">
  35642. <stringProp name="1509986340">records found</stringProp>
  35643. </collectionProp>
  35644. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  35645. <boolProp name="Assertion.assume_success">false</boolProp>
  35646. <intProp name="Assertion.test_type">2</intProp>
  35647. </ResponseAssertion>
  35648. <hashTree/>
  35649. </hashTree>
  35650. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Bundle Product" enabled="true">
  35651. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35652. <collectionProp name="Arguments.arguments"/>
  35653. </elementProp>
  35654. <stringProp name="HTTPSampler.domain"/>
  35655. <stringProp name="HTTPSampler.port"/>
  35656. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  35657. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  35658. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  35659. <stringProp name="HTTPSampler.contentEncoding"/>
  35660. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/new/set/4/type/bundle/</stringProp>
  35661. <stringProp name="HTTPSampler.method">GET</stringProp>
  35662. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  35663. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  35664. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  35665. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  35666. <boolProp name="HTTPSampler.monitor">false</boolProp>
  35667. <stringProp name="HTTPSampler.embedded_url_re"/>
  35668. </HTTPSamplerProxy>
  35669. <hashTree>
  35670. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  35671. <collectionProp name="Asserion.test_strings">
  35672. <stringProp name="-144461265">New Product</stringProp>
  35673. </collectionProp>
  35674. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  35675. <boolProp name="Assertion.assume_success">false</boolProp>
  35676. <intProp name="Assertion.test_type">2</intProp>
  35677. </ResponseAssertion>
  35678. <hashTree/>
  35679. </hashTree>
  35680. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Bundle Product Validate" enabled="true">
  35681. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  35682. <collectionProp name="Arguments.arguments">
  35683. <elementProp name="ajax" elementType="HTTPArgument">
  35684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35685. <stringProp name="Argument.value">true</stringProp>
  35686. <stringProp name="Argument.metadata">=</stringProp>
  35687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35688. <stringProp name="Argument.name">ajax</stringProp>
  35689. <stringProp name="Argument.desc">false</stringProp>
  35690. </elementProp>
  35691. <elementProp name="isAjax" elementType="HTTPArgument">
  35692. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35693. <stringProp name="Argument.value">true</stringProp>
  35694. <stringProp name="Argument.metadata">=</stringProp>
  35695. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35696. <stringProp name="Argument.name">isAjax</stringProp>
  35697. <stringProp name="Argument.desc">false</stringProp>
  35698. </elementProp>
  35699. <elementProp name="form_key" elementType="HTTPArgument">
  35700. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35701. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  35702. <stringProp name="Argument.metadata">=</stringProp>
  35703. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35704. <stringProp name="Argument.name">form_key</stringProp>
  35705. <stringProp name="Argument.desc">false</stringProp>
  35706. </elementProp>
  35707. <elementProp name="product[name]" elementType="HTTPArgument">
  35708. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35709. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  35710. <stringProp name="Argument.metadata">=</stringProp>
  35711. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35712. <stringProp name="Argument.name">product[name]</stringProp>
  35713. <stringProp name="Argument.desc">false</stringProp>
  35714. </elementProp>
  35715. <elementProp name="product[sku]" elementType="HTTPArgument">
  35716. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35717. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  35718. <stringProp name="Argument.metadata">=</stringProp>
  35719. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35720. <stringProp name="Argument.name">product[sku]</stringProp>
  35721. <stringProp name="Argument.desc">false</stringProp>
  35722. </elementProp>
  35723. <elementProp name="product[price]" elementType="HTTPArgument">
  35724. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35725. <stringProp name="Argument.value">42</stringProp>
  35726. <stringProp name="Argument.metadata">=</stringProp>
  35727. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35728. <stringProp name="Argument.name">product[price]</stringProp>
  35729. </elementProp>
  35730. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  35731. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35732. <stringProp name="Argument.value">2</stringProp>
  35733. <stringProp name="Argument.metadata">=</stringProp>
  35734. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35735. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  35736. </elementProp>
  35737. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  35738. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35739. <stringProp name="Argument.value">111</stringProp>
  35740. <stringProp name="Argument.metadata">=</stringProp>
  35741. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35742. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  35743. </elementProp>
  35744. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  35745. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35746. <stringProp name="Argument.value">1</stringProp>
  35747. <stringProp name="Argument.metadata">=</stringProp>
  35748. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35749. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  35750. </elementProp>
  35751. <elementProp name="product[weight]" elementType="HTTPArgument">
  35752. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35753. <stringProp name="Argument.value">1.0000</stringProp>
  35754. <stringProp name="Argument.metadata">=</stringProp>
  35755. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35756. <stringProp name="Argument.name">product[weight]</stringProp>
  35757. </elementProp>
  35758. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  35759. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35760. <stringProp name="Argument.value">1</stringProp>
  35761. <stringProp name="Argument.metadata">=</stringProp>
  35762. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35763. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  35764. <stringProp name="Argument.desc">true</stringProp>
  35765. </elementProp>
  35766. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  35767. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35768. <stringProp name="Argument.value">2</stringProp>
  35769. <stringProp name="Argument.metadata">=</stringProp>
  35770. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35771. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  35772. </elementProp>
  35773. <elementProp name="product[description]" elementType="HTTPArgument">
  35774. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35775. <stringProp name="Argument.value">&lt;p&gt;Full bundle product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  35776. <stringProp name="Argument.metadata">=</stringProp>
  35777. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35778. <stringProp name="Argument.name">product[description]</stringProp>
  35779. </elementProp>
  35780. <elementProp name="product[short_description]" elementType="HTTPArgument">
  35781. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35782. <stringProp name="Argument.value">&lt;p&gt;Short bundle product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  35783. <stringProp name="Argument.metadata">=</stringProp>
  35784. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35785. <stringProp name="Argument.name">product[short_description]</stringProp>
  35786. </elementProp>
  35787. <elementProp name="product[status]" elementType="HTTPArgument">
  35788. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35789. <stringProp name="Argument.value">1</stringProp>
  35790. <stringProp name="Argument.metadata">=</stringProp>
  35791. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35792. <stringProp name="Argument.name">product[status]</stringProp>
  35793. </elementProp>
  35794. <elementProp name="product[configurable_variations]" elementType="HTTPArgument">
  35795. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35796. <stringProp name="Argument.value"/>
  35797. <stringProp name="Argument.metadata">=</stringProp>
  35798. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35799. <stringProp name="Argument.name">product[configurable_variations]</stringProp>
  35800. </elementProp>
  35801. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  35802. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35803. <stringProp name="Argument.value">1</stringProp>
  35804. <stringProp name="Argument.metadata">=</stringProp>
  35805. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35806. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  35807. </elementProp>
  35808. <elementProp name="product[image]" elementType="HTTPArgument">
  35809. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35810. <stringProp name="Argument.value"/>
  35811. <stringProp name="Argument.metadata">=</stringProp>
  35812. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35813. <stringProp name="Argument.name">product[image]</stringProp>
  35814. </elementProp>
  35815. <elementProp name="product[small_image]" elementType="HTTPArgument">
  35816. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35817. <stringProp name="Argument.value"/>
  35818. <stringProp name="Argument.metadata">=</stringProp>
  35819. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35820. <stringProp name="Argument.name">product[small_image]</stringProp>
  35821. </elementProp>
  35822. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  35823. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35824. <stringProp name="Argument.value"/>
  35825. <stringProp name="Argument.metadata">=</stringProp>
  35826. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35827. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  35828. </elementProp>
  35829. <elementProp name="product[url_key]" elementType="HTTPArgument">
  35830. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35831. <stringProp name="Argument.value">bundle-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  35832. <stringProp name="Argument.metadata">=</stringProp>
  35833. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35834. <stringProp name="Argument.name">product[url_key]</stringProp>
  35835. </elementProp>
  35836. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  35837. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35838. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  35839. <stringProp name="Argument.metadata">=</stringProp>
  35840. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35841. <stringProp name="Argument.name">product[meta_title]</stringProp>
  35842. </elementProp>
  35843. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  35844. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35845. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  35846. <stringProp name="Argument.metadata">=</stringProp>
  35847. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35848. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  35849. </elementProp>
  35850. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  35851. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35852. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  35853. <stringProp name="Argument.metadata">=</stringProp>
  35854. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35855. <stringProp name="Argument.name">product[meta_description]</stringProp>
  35856. </elementProp>
  35857. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  35858. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35859. <stringProp name="Argument.value">1</stringProp>
  35860. <stringProp name="Argument.metadata">=</stringProp>
  35861. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35862. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  35863. </elementProp>
  35864. <elementProp name="product[special_price]" elementType="HTTPArgument">
  35865. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35866. <stringProp name="Argument.value">99</stringProp>
  35867. <stringProp name="Argument.metadata">=</stringProp>
  35868. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35869. <stringProp name="Argument.name">product[special_price]</stringProp>
  35870. </elementProp>
  35871. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  35872. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35873. <stringProp name="Argument.value">1</stringProp>
  35874. <stringProp name="Argument.metadata">=</stringProp>
  35875. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35876. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  35877. </elementProp>
  35878. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  35879. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35880. <stringProp name="Argument.value"/>
  35881. <stringProp name="Argument.metadata">=</stringProp>
  35882. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35883. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  35884. </elementProp>
  35885. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  35886. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35887. <stringProp name="Argument.value"/>
  35888. <stringProp name="Argument.metadata">=</stringProp>
  35889. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35890. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  35891. </elementProp>
  35892. <elementProp name="product[cost]" elementType="HTTPArgument">
  35893. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35894. <stringProp name="Argument.value"/>
  35895. <stringProp name="Argument.metadata">=</stringProp>
  35896. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35897. <stringProp name="Argument.name">product[cost]</stringProp>
  35898. </elementProp>
  35899. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  35900. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35901. <stringProp name="Argument.value">0</stringProp>
  35902. <stringProp name="Argument.metadata">=</stringProp>
  35903. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35904. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  35905. </elementProp>
  35906. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  35907. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35908. <stringProp name="Argument.value">32000</stringProp>
  35909. <stringProp name="Argument.metadata">=</stringProp>
  35910. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35911. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  35912. </elementProp>
  35913. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  35914. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35915. <stringProp name="Argument.value">100</stringProp>
  35916. <stringProp name="Argument.metadata">=</stringProp>
  35917. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35918. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  35919. </elementProp>
  35920. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  35921. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35922. <stringProp name="Argument.value">90</stringProp>
  35923. <stringProp name="Argument.metadata">=</stringProp>
  35924. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35925. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  35926. </elementProp>
  35927. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  35928. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35929. <stringProp name="Argument.value"/>
  35930. <stringProp name="Argument.metadata">=</stringProp>
  35931. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35932. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  35933. </elementProp>
  35934. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  35935. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35936. <stringProp name="Argument.value">0</stringProp>
  35937. <stringProp name="Argument.metadata">=</stringProp>
  35938. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35939. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  35940. </elementProp>
  35941. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  35942. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35943. <stringProp name="Argument.value">1</stringProp>
  35944. <stringProp name="Argument.metadata">=</stringProp>
  35945. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35946. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  35947. </elementProp>
  35948. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  35949. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35950. <stringProp name="Argument.value">101</stringProp>
  35951. <stringProp name="Argument.metadata">=</stringProp>
  35952. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35953. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  35954. </elementProp>
  35955. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  35956. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35957. <stringProp name="Argument.value">99</stringProp>
  35958. <stringProp name="Argument.metadata">=</stringProp>
  35959. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35960. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  35961. </elementProp>
  35962. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  35963. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35964. <stringProp name="Argument.value"/>
  35965. <stringProp name="Argument.metadata">=</stringProp>
  35966. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35967. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  35968. </elementProp>
  35969. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  35970. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35971. <stringProp name="Argument.value">1</stringProp>
  35972. <stringProp name="Argument.metadata">=</stringProp>
  35973. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35974. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  35975. </elementProp>
  35976. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  35977. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35978. <stringProp name="Argument.value">100500</stringProp>
  35979. <stringProp name="Argument.metadata">=</stringProp>
  35980. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35981. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  35982. </elementProp>
  35983. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  35984. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35985. <stringProp name="Argument.value">100500</stringProp>
  35986. <stringProp name="Argument.metadata">=</stringProp>
  35987. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35988. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  35989. </elementProp>
  35990. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  35991. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35992. <stringProp name="Argument.value">0</stringProp>
  35993. <stringProp name="Argument.metadata">=</stringProp>
  35994. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  35995. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  35996. </elementProp>
  35997. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  35998. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  35999. <stringProp name="Argument.value">1</stringProp>
  36000. <stringProp name="Argument.metadata">=</stringProp>
  36001. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36002. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  36003. </elementProp>
  36004. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  36005. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36006. <stringProp name="Argument.value">1</stringProp>
  36007. <stringProp name="Argument.metadata">=</stringProp>
  36008. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36009. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  36010. </elementProp>
  36011. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  36012. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36013. <stringProp name="Argument.value">1</stringProp>
  36014. <stringProp name="Argument.metadata">=</stringProp>
  36015. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36016. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  36017. </elementProp>
  36018. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  36019. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36020. <stringProp name="Argument.value">10000</stringProp>
  36021. <stringProp name="Argument.metadata">=</stringProp>
  36022. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36023. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  36024. </elementProp>
  36025. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  36026. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36027. <stringProp name="Argument.value">1</stringProp>
  36028. <stringProp name="Argument.metadata">=</stringProp>
  36029. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36030. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  36031. </elementProp>
  36032. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  36033. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36034. <stringProp name="Argument.value">0</stringProp>
  36035. <stringProp name="Argument.metadata">=</stringProp>
  36036. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36037. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  36038. </elementProp>
  36039. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  36040. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36041. <stringProp name="Argument.value">0</stringProp>
  36042. <stringProp name="Argument.metadata">=</stringProp>
  36043. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36044. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  36045. </elementProp>
  36046. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  36047. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36048. <stringProp name="Argument.value">0</stringProp>
  36049. <stringProp name="Argument.metadata">=</stringProp>
  36050. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36051. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  36052. </elementProp>
  36053. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  36054. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36055. <stringProp name="Argument.value">1</stringProp>
  36056. <stringProp name="Argument.metadata">=</stringProp>
  36057. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36058. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  36059. </elementProp>
  36060. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  36061. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36062. <stringProp name="Argument.value">1</stringProp>
  36063. <stringProp name="Argument.metadata">=</stringProp>
  36064. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36065. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  36066. </elementProp>
  36067. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  36068. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36069. <stringProp name="Argument.value">0</stringProp>
  36070. <stringProp name="Argument.metadata">=</stringProp>
  36071. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36072. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  36073. </elementProp>
  36074. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  36075. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36076. <stringProp name="Argument.value">0</stringProp>
  36077. <stringProp name="Argument.metadata">=</stringProp>
  36078. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36079. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  36080. </elementProp>
  36081. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  36082. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36083. <stringProp name="Argument.value">1</stringProp>
  36084. <stringProp name="Argument.metadata">=</stringProp>
  36085. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36086. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  36087. </elementProp>
  36088. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  36089. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36090. <stringProp name="Argument.value">1</stringProp>
  36091. <stringProp name="Argument.metadata">=</stringProp>
  36092. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36093. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  36094. </elementProp>
  36095. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  36096. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36097. <stringProp name="Argument.value"/>
  36098. <stringProp name="Argument.metadata">=</stringProp>
  36099. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36100. <stringProp name="Argument.name">product[custom_design]</stringProp>
  36101. </elementProp>
  36102. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  36103. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36104. <stringProp name="Argument.value"/>
  36105. <stringProp name="Argument.metadata">=</stringProp>
  36106. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36107. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  36108. </elementProp>
  36109. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  36110. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36111. <stringProp name="Argument.value"/>
  36112. <stringProp name="Argument.metadata">=</stringProp>
  36113. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36114. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  36115. </elementProp>
  36116. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  36117. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36118. <stringProp name="Argument.value"/>
  36119. <stringProp name="Argument.metadata">=</stringProp>
  36120. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36121. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  36122. </elementProp>
  36123. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  36124. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36125. <stringProp name="Argument.value"/>
  36126. <stringProp name="Argument.metadata">=</stringProp>
  36127. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36128. <stringProp name="Argument.name">product[page_layout]</stringProp>
  36129. </elementProp>
  36130. <elementProp name="product[options_container]" elementType="HTTPArgument">
  36131. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36132. <stringProp name="Argument.value">container2</stringProp>
  36133. <stringProp name="Argument.metadata">=</stringProp>
  36134. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36135. <stringProp name="Argument.name">product[options_container]</stringProp>
  36136. </elementProp>
  36137. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  36138. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36139. <stringProp name="Argument.value"/>
  36140. <stringProp name="Argument.metadata">=</stringProp>
  36141. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36142. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  36143. </elementProp>
  36144. <elementProp name="product[shipment_type]" elementType="HTTPArgument">
  36145. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36146. <stringProp name="Argument.value">0</stringProp>
  36147. <stringProp name="Argument.metadata">=</stringProp>
  36148. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36149. <stringProp name="Argument.name">product[shipment_type]</stringProp>
  36150. </elementProp>
  36151. <elementProp name="bundle_options[bundle_options][0][title]" elementType="HTTPArgument">
  36152. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36153. <stringProp name="Argument.value">option title one</stringProp>
  36154. <stringProp name="Argument.metadata">=</stringProp>
  36155. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36156. <stringProp name="Argument.name">bundle_options[bundle_options][0][title]</stringProp>
  36157. </elementProp>
  36158. <elementProp name="bundle_options[bundle_options][0][option_id]" elementType="HTTPArgument">
  36159. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36160. <stringProp name="Argument.value"/>
  36161. <stringProp name="Argument.metadata">=</stringProp>
  36162. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36163. <stringProp name="Argument.name">bundle_options[bundle_options][0][option_id]</stringProp>
  36164. </elementProp>
  36165. <elementProp name="bundle_options[bundle_options][0][delete]" elementType="HTTPArgument">
  36166. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36167. <stringProp name="Argument.value"/>
  36168. <stringProp name="Argument.metadata">=</stringProp>
  36169. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36170. <stringProp name="Argument.name">bundle_options[bundle_options][0][delete]</stringProp>
  36171. </elementProp>
  36172. <elementProp name="bundle_options[bundle_options][0][type]" elementType="HTTPArgument">
  36173. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36174. <stringProp name="Argument.value">select</stringProp>
  36175. <stringProp name="Argument.metadata">=</stringProp>
  36176. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36177. <stringProp name="Argument.name">bundle_options[bundle_options][0][type]</stringProp>
  36178. </elementProp>
  36179. <elementProp name="bundle_options[bundle_options][0][required]" elementType="HTTPArgument">
  36180. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36181. <stringProp name="Argument.value">1</stringProp>
  36182. <stringProp name="Argument.metadata">=</stringProp>
  36183. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36184. <stringProp name="Argument.name">bundle_options[bundle_options][0][required]</stringProp>
  36185. </elementProp>
  36186. <elementProp name="bundle_options[bundle_options][0][position]" elementType="HTTPArgument">
  36187. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36188. <stringProp name="Argument.value">0</stringProp>
  36189. <stringProp name="Argument.metadata">=</stringProp>
  36190. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36191. <stringProp name="Argument.name">bundle_options[bundle_options][0][position]</stringProp>
  36192. </elementProp>
  36193. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  36194. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36195. <stringProp name="Argument.value"/>
  36196. <stringProp name="Argument.metadata">=</stringProp>
  36197. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36198. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_id]</stringProp>
  36199. </elementProp>
  36200. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][option_id]" elementType="HTTPArgument">
  36201. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36202. <stringProp name="Argument.value"/>
  36203. <stringProp name="Argument.metadata">=</stringProp>
  36204. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36205. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][option_id]</stringProp>
  36206. </elementProp>
  36207. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][product_id]" elementType="HTTPArgument">
  36208. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36209. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  36210. <stringProp name="Argument.metadata">=</stringProp>
  36211. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36212. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][product_id]</stringProp>
  36213. </elementProp>
  36214. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][delete]" elementType="HTTPArgument">
  36215. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36216. <stringProp name="Argument.value"/>
  36217. <stringProp name="Argument.metadata">=</stringProp>
  36218. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36219. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][delete]</stringProp>
  36220. </elementProp>
  36221. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  36222. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36223. <stringProp name="Argument.value">25</stringProp>
  36224. <stringProp name="Argument.metadata">=</stringProp>
  36225. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36226. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]</stringProp>
  36227. </elementProp>
  36228. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  36229. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36230. <stringProp name="Argument.value">1</stringProp>
  36231. <stringProp name="Argument.metadata">=</stringProp>
  36232. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36233. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]</stringProp>
  36234. </elementProp>
  36235. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  36236. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36237. <stringProp name="Argument.value">1</stringProp>
  36238. <stringProp name="Argument.metadata">=</stringProp>
  36239. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36240. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_qty]</stringProp>
  36241. </elementProp>
  36242. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  36243. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36244. <stringProp name="Argument.value">1</stringProp>
  36245. <stringProp name="Argument.metadata">=</stringProp>
  36246. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36247. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]</stringProp>
  36248. </elementProp>
  36249. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][position]" elementType="HTTPArgument">
  36250. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36251. <stringProp name="Argument.value">0</stringProp>
  36252. <stringProp name="Argument.metadata">=</stringProp>
  36253. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36254. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][position]</stringProp>
  36255. </elementProp>
  36256. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  36257. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36258. <stringProp name="Argument.value"/>
  36259. <stringProp name="Argument.metadata">=</stringProp>
  36260. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36261. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_id]</stringProp>
  36262. </elementProp>
  36263. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][option_id]" elementType="HTTPArgument">
  36264. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36265. <stringProp name="Argument.value"/>
  36266. <stringProp name="Argument.metadata">=</stringProp>
  36267. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36268. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][option_id]</stringProp>
  36269. </elementProp>
  36270. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][product_id]" elementType="HTTPArgument">
  36271. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36272. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  36273. <stringProp name="Argument.metadata">=</stringProp>
  36274. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36275. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][product_id]</stringProp>
  36276. </elementProp>
  36277. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][delete]" elementType="HTTPArgument">
  36278. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36279. <stringProp name="Argument.value"/>
  36280. <stringProp name="Argument.metadata">=</stringProp>
  36281. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36282. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][delete]</stringProp>
  36283. </elementProp>
  36284. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  36285. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36286. <stringProp name="Argument.value">10.99</stringProp>
  36287. <stringProp name="Argument.metadata">=</stringProp>
  36288. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36289. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]</stringProp>
  36290. </elementProp>
  36291. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  36292. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36293. <stringProp name="Argument.value">0</stringProp>
  36294. <stringProp name="Argument.metadata">=</stringProp>
  36295. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36296. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]</stringProp>
  36297. </elementProp>
  36298. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  36299. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36300. <stringProp name="Argument.value">1</stringProp>
  36301. <stringProp name="Argument.metadata">=</stringProp>
  36302. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36303. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_qty]</stringProp>
  36304. </elementProp>
  36305. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  36306. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36307. <stringProp name="Argument.value">1</stringProp>
  36308. <stringProp name="Argument.metadata">=</stringProp>
  36309. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36310. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]</stringProp>
  36311. </elementProp>
  36312. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][position]" elementType="HTTPArgument">
  36313. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36314. <stringProp name="Argument.value">1</stringProp>
  36315. <stringProp name="Argument.metadata">=</stringProp>
  36316. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36317. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][position]</stringProp>
  36318. </elementProp>
  36319. <elementProp name="bundle_options[bundle_options][1][title]" elementType="HTTPArgument">
  36320. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36321. <stringProp name="Argument.value">option title two</stringProp>
  36322. <stringProp name="Argument.metadata">=</stringProp>
  36323. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36324. <stringProp name="Argument.name">bundle_options[bundle_options][1][title]</stringProp>
  36325. </elementProp>
  36326. <elementProp name="bundle_options[bundle_options][1][option_id]" elementType="HTTPArgument">
  36327. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36328. <stringProp name="Argument.value"/>
  36329. <stringProp name="Argument.metadata">=</stringProp>
  36330. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36331. <stringProp name="Argument.name">bundle_options[bundle_options][1][option_id]</stringProp>
  36332. </elementProp>
  36333. <elementProp name="bundle_options[bundle_options][1][delete]" elementType="HTTPArgument">
  36334. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36335. <stringProp name="Argument.value"/>
  36336. <stringProp name="Argument.metadata">=</stringProp>
  36337. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36338. <stringProp name="Argument.name">bundle_options[bundle_options][1][delete]</stringProp>
  36339. </elementProp>
  36340. <elementProp name="bundle_options[bundle_options][1][type]" elementType="HTTPArgument">
  36341. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36342. <stringProp name="Argument.value">select</stringProp>
  36343. <stringProp name="Argument.metadata">=</stringProp>
  36344. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36345. <stringProp name="Argument.name">bundle_options[bundle_options][1][type]</stringProp>
  36346. </elementProp>
  36347. <elementProp name="bundle_options[bundle_options][1][required]" elementType="HTTPArgument">
  36348. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36349. <stringProp name="Argument.value">1</stringProp>
  36350. <stringProp name="Argument.metadata">=</stringProp>
  36351. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36352. <stringProp name="Argument.name">bundle_options[bundle_options][1][required]</stringProp>
  36353. </elementProp>
  36354. <elementProp name="bundle_options[bundle_options][1][position]" elementType="HTTPArgument">
  36355. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36356. <stringProp name="Argument.value">1</stringProp>
  36357. <stringProp name="Argument.metadata">=</stringProp>
  36358. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36359. <stringProp name="Argument.name">bundle_options[bundle_options][1][position]</stringProp>
  36360. </elementProp>
  36361. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  36362. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36363. <stringProp name="Argument.value"/>
  36364. <stringProp name="Argument.metadata">=</stringProp>
  36365. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36366. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_id]</stringProp>
  36367. <stringProp name="Argument.desc">true</stringProp>
  36368. </elementProp>
  36369. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][option_id]" elementType="HTTPArgument">
  36370. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36371. <stringProp name="Argument.value"/>
  36372. <stringProp name="Argument.metadata">=</stringProp>
  36373. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36374. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][option_id]</stringProp>
  36375. <stringProp name="Argument.desc">true</stringProp>
  36376. </elementProp>
  36377. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][product_id]" elementType="HTTPArgument">
  36378. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36379. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  36380. <stringProp name="Argument.metadata">=</stringProp>
  36381. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36382. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][product_id]</stringProp>
  36383. <stringProp name="Argument.desc">true</stringProp>
  36384. </elementProp>
  36385. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][delete]" elementType="HTTPArgument">
  36386. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36387. <stringProp name="Argument.value"/>
  36388. <stringProp name="Argument.metadata">=</stringProp>
  36389. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36390. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][delete]</stringProp>
  36391. <stringProp name="Argument.desc">true</stringProp>
  36392. </elementProp>
  36393. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  36394. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36395. <stringProp name="Argument.value">5.00</stringProp>
  36396. <stringProp name="Argument.metadata">=</stringProp>
  36397. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36398. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]</stringProp>
  36399. <stringProp name="Argument.desc">true</stringProp>
  36400. </elementProp>
  36401. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  36402. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36403. <stringProp name="Argument.value">0</stringProp>
  36404. <stringProp name="Argument.metadata">=</stringProp>
  36405. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36406. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]</stringProp>
  36407. <stringProp name="Argument.desc">true</stringProp>
  36408. </elementProp>
  36409. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  36410. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36411. <stringProp name="Argument.value">1</stringProp>
  36412. <stringProp name="Argument.metadata">=</stringProp>
  36413. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36414. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_qty]</stringProp>
  36415. <stringProp name="Argument.desc">true</stringProp>
  36416. </elementProp>
  36417. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  36418. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36419. <stringProp name="Argument.value">1</stringProp>
  36420. <stringProp name="Argument.metadata">=</stringProp>
  36421. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36422. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]</stringProp>
  36423. <stringProp name="Argument.desc">true</stringProp>
  36424. </elementProp>
  36425. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][position]" elementType="HTTPArgument">
  36426. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36427. <stringProp name="Argument.value">0</stringProp>
  36428. <stringProp name="Argument.metadata">=</stringProp>
  36429. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36430. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][position]</stringProp>
  36431. <stringProp name="Argument.desc">true</stringProp>
  36432. </elementProp>
  36433. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  36434. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36435. <stringProp name="Argument.value"/>
  36436. <stringProp name="Argument.metadata">=</stringProp>
  36437. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36438. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_id]</stringProp>
  36439. <stringProp name="Argument.desc">true</stringProp>
  36440. </elementProp>
  36441. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][option_id]" elementType="HTTPArgument">
  36442. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36443. <stringProp name="Argument.value"/>
  36444. <stringProp name="Argument.metadata">=</stringProp>
  36445. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36446. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][option_id]</stringProp>
  36447. <stringProp name="Argument.desc">true</stringProp>
  36448. </elementProp>
  36449. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][product_id]" elementType="HTTPArgument">
  36450. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36451. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  36452. <stringProp name="Argument.metadata">=</stringProp>
  36453. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36454. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][product_id]</stringProp>
  36455. <stringProp name="Argument.desc">true</stringProp>
  36456. </elementProp>
  36457. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][delete]" elementType="HTTPArgument">
  36458. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36459. <stringProp name="Argument.value"/>
  36460. <stringProp name="Argument.metadata">=</stringProp>
  36461. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36462. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][delete]</stringProp>
  36463. <stringProp name="Argument.desc">true</stringProp>
  36464. </elementProp>
  36465. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  36466. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36467. <stringProp name="Argument.value">7.00</stringProp>
  36468. <stringProp name="Argument.metadata">=</stringProp>
  36469. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36470. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]</stringProp>
  36471. <stringProp name="Argument.desc">true</stringProp>
  36472. </elementProp>
  36473. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  36474. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36475. <stringProp name="Argument.value">0</stringProp>
  36476. <stringProp name="Argument.metadata">=</stringProp>
  36477. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36478. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]</stringProp>
  36479. <stringProp name="Argument.desc">true</stringProp>
  36480. </elementProp>
  36481. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  36482. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36483. <stringProp name="Argument.value">1</stringProp>
  36484. <stringProp name="Argument.metadata">=</stringProp>
  36485. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36486. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_qty]</stringProp>
  36487. <stringProp name="Argument.desc">true</stringProp>
  36488. </elementProp>
  36489. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  36490. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36491. <stringProp name="Argument.value">1</stringProp>
  36492. <stringProp name="Argument.metadata">=</stringProp>
  36493. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36494. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]</stringProp>
  36495. <stringProp name="Argument.desc">true</stringProp>
  36496. </elementProp>
  36497. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][position]" elementType="HTTPArgument">
  36498. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36499. <stringProp name="Argument.value">1</stringProp>
  36500. <stringProp name="Argument.metadata">=</stringProp>
  36501. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36502. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][position]</stringProp>
  36503. <stringProp name="Argument.desc">true</stringProp>
  36504. </elementProp>
  36505. <elementProp name="affect_bundle_product_selections" elementType="HTTPArgument">
  36506. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36507. <stringProp name="Argument.value">2</stringProp>
  36508. <stringProp name="Argument.metadata">=</stringProp>
  36509. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36510. <stringProp name="Argument.name">affect_bundle_product_selections</stringProp>
  36511. <stringProp name="Argument.desc">true</stringProp>
  36512. </elementProp>
  36513. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  36514. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36515. <stringProp name="Argument.value">${related_product_id}</stringProp>
  36516. <stringProp name="Argument.metadata">=</stringProp>
  36517. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36518. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  36519. </elementProp>
  36520. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  36521. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36522. <stringProp name="Argument.value">1</stringProp>
  36523. <stringProp name="Argument.metadata">=</stringProp>
  36524. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36525. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  36526. </elementProp>
  36527. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  36528. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36529. <stringProp name="Argument.value">${related_product_id}</stringProp>
  36530. <stringProp name="Argument.metadata">=</stringProp>
  36531. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36532. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  36533. </elementProp>
  36534. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  36535. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36536. <stringProp name="Argument.value">1</stringProp>
  36537. <stringProp name="Argument.metadata">=</stringProp>
  36538. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36539. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  36540. </elementProp>
  36541. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  36542. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36543. <stringProp name="Argument.value">${related_product_id}</stringProp>
  36544. <stringProp name="Argument.metadata">=</stringProp>
  36545. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36546. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  36547. </elementProp>
  36548. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  36549. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36550. <stringProp name="Argument.value">1</stringProp>
  36551. <stringProp name="Argument.metadata">=</stringProp>
  36552. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36553. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  36554. </elementProp>
  36555. </collectionProp>
  36556. </elementProp>
  36557. <stringProp name="HTTPSampler.domain"/>
  36558. <stringProp name="HTTPSampler.port"/>
  36559. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  36560. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  36561. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  36562. <stringProp name="HTTPSampler.contentEncoding"/>
  36563. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/validate/set/4/</stringProp>
  36564. <stringProp name="HTTPSampler.method">POST</stringProp>
  36565. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  36566. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  36567. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  36568. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  36569. <boolProp name="HTTPSampler.monitor">false</boolProp>
  36570. <stringProp name="HTTPSampler.embedded_url_re"/>
  36571. </HTTPSamplerProxy>
  36572. <hashTree>
  36573. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  36574. <collectionProp name="Asserion.test_strings">
  36575. <stringProp name="1853918323">{"error":false}</stringProp>
  36576. </collectionProp>
  36577. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  36578. <boolProp name="Assertion.assume_success">false</boolProp>
  36579. <intProp name="Assertion.test_type">2</intProp>
  36580. </ResponseAssertion>
  36581. <hashTree/>
  36582. </hashTree>
  36583. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Bundle Product Save" enabled="true">
  36584. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  36585. <collectionProp name="Arguments.arguments">
  36586. <elementProp name="ajax" elementType="HTTPArgument">
  36587. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36588. <stringProp name="Argument.value">true</stringProp>
  36589. <stringProp name="Argument.metadata">=</stringProp>
  36590. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36591. <stringProp name="Argument.name">ajax</stringProp>
  36592. <stringProp name="Argument.desc">false</stringProp>
  36593. </elementProp>
  36594. <elementProp name="isAjax" elementType="HTTPArgument">
  36595. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36596. <stringProp name="Argument.value">true</stringProp>
  36597. <stringProp name="Argument.metadata">=</stringProp>
  36598. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36599. <stringProp name="Argument.name">isAjax</stringProp>
  36600. <stringProp name="Argument.desc">false</stringProp>
  36601. </elementProp>
  36602. <elementProp name="form_key" elementType="HTTPArgument">
  36603. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36604. <stringProp name="Argument.value">${admin_form_key}</stringProp>
  36605. <stringProp name="Argument.metadata">=</stringProp>
  36606. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36607. <stringProp name="Argument.name">form_key</stringProp>
  36608. <stringProp name="Argument.desc">false</stringProp>
  36609. </elementProp>
  36610. <elementProp name="product[name]" elementType="HTTPArgument">
  36611. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36612. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  36613. <stringProp name="Argument.metadata">=</stringProp>
  36614. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36615. <stringProp name="Argument.name">product[name]</stringProp>
  36616. <stringProp name="Argument.desc">false</stringProp>
  36617. </elementProp>
  36618. <elementProp name="product[sku]" elementType="HTTPArgument">
  36619. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36620. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  36621. <stringProp name="Argument.metadata">=</stringProp>
  36622. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36623. <stringProp name="Argument.name">product[sku]</stringProp>
  36624. <stringProp name="Argument.desc">false</stringProp>
  36625. </elementProp>
  36626. <elementProp name="product[price]" elementType="HTTPArgument">
  36627. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36628. <stringProp name="Argument.value">42</stringProp>
  36629. <stringProp name="Argument.metadata">=</stringProp>
  36630. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36631. <stringProp name="Argument.name">product[price]</stringProp>
  36632. </elementProp>
  36633. <elementProp name="product[tax_class_id]" elementType="HTTPArgument">
  36634. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36635. <stringProp name="Argument.value">2</stringProp>
  36636. <stringProp name="Argument.metadata">=</stringProp>
  36637. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36638. <stringProp name="Argument.name">product[tax_class_id]</stringProp>
  36639. </elementProp>
  36640. <elementProp name="product[quantity_and_stock_status][qty]" elementType="HTTPArgument">
  36641. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36642. <stringProp name="Argument.value">111</stringProp>
  36643. <stringProp name="Argument.metadata">=</stringProp>
  36644. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36645. <stringProp name="Argument.name">product[quantity_and_stock_status][qty]</stringProp>
  36646. </elementProp>
  36647. <elementProp name="product[quantity_and_stock_status][is_in_stock]" elementType="HTTPArgument">
  36648. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36649. <stringProp name="Argument.value">1</stringProp>
  36650. <stringProp name="Argument.metadata">=</stringProp>
  36651. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36652. <stringProp name="Argument.name">product[quantity_and_stock_status][is_in_stock]</stringProp>
  36653. </elementProp>
  36654. <elementProp name="product[weight]" elementType="HTTPArgument">
  36655. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36656. <stringProp name="Argument.value">1.0000</stringProp>
  36657. <stringProp name="Argument.metadata">=</stringProp>
  36658. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36659. <stringProp name="Argument.name">product[weight]</stringProp>
  36660. </elementProp>
  36661. <elementProp name="product[product_has_weight]" elementType="HTTPArgument">
  36662. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36663. <stringProp name="Argument.value">1</stringProp>
  36664. <stringProp name="Argument.metadata">=</stringProp>
  36665. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36666. <stringProp name="Argument.name">product[product_has_weight]</stringProp>
  36667. <stringProp name="Argument.desc">true</stringProp>
  36668. </elementProp>
  36669. <elementProp name="product[category_ids][]" elementType="HTTPArgument">
  36670. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36671. <stringProp name="Argument.value">2</stringProp>
  36672. <stringProp name="Argument.metadata">=</stringProp>
  36673. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36674. <stringProp name="Argument.name">product[category_ids][]</stringProp>
  36675. </elementProp>
  36676. <elementProp name="product[description]" elementType="HTTPArgument">
  36677. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36678. <stringProp name="Argument.value">&lt;p&gt;Full bundle product Description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  36679. <stringProp name="Argument.metadata">=</stringProp>
  36680. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36681. <stringProp name="Argument.name">product[description]</stringProp>
  36682. </elementProp>
  36683. <elementProp name="product[short_description]" elementType="HTTPArgument">
  36684. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36685. <stringProp name="Argument.value">&lt;p&gt;Short bundle product description ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}&lt;/p&gt;</stringProp>
  36686. <stringProp name="Argument.metadata">=</stringProp>
  36687. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36688. <stringProp name="Argument.name">product[short_description]</stringProp>
  36689. </elementProp>
  36690. <elementProp name="product[status]" elementType="HTTPArgument">
  36691. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36692. <stringProp name="Argument.value">1</stringProp>
  36693. <stringProp name="Argument.metadata">=</stringProp>
  36694. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36695. <stringProp name="Argument.name">product[status]</stringProp>
  36696. </elementProp>
  36697. <elementProp name="product[configurable_variations]" elementType="HTTPArgument">
  36698. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36699. <stringProp name="Argument.value"/>
  36700. <stringProp name="Argument.metadata">=</stringProp>
  36701. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36702. <stringProp name="Argument.name">product[configurable_variations]</stringProp>
  36703. </elementProp>
  36704. <elementProp name="affect_configurable_product_attributes" elementType="HTTPArgument">
  36705. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36706. <stringProp name="Argument.value">1</stringProp>
  36707. <stringProp name="Argument.metadata">=</stringProp>
  36708. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36709. <stringProp name="Argument.name">affect_configurable_product_attributes</stringProp>
  36710. </elementProp>
  36711. <elementProp name="product[image]" elementType="HTTPArgument">
  36712. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36713. <stringProp name="Argument.value"/>
  36714. <stringProp name="Argument.metadata">=</stringProp>
  36715. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36716. <stringProp name="Argument.name">product[image]</stringProp>
  36717. </elementProp>
  36718. <elementProp name="product[small_image]" elementType="HTTPArgument">
  36719. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36720. <stringProp name="Argument.value"/>
  36721. <stringProp name="Argument.metadata">=</stringProp>
  36722. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36723. <stringProp name="Argument.name">product[small_image]</stringProp>
  36724. </elementProp>
  36725. <elementProp name="product[thumbnail]" elementType="HTTPArgument">
  36726. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36727. <stringProp name="Argument.value"/>
  36728. <stringProp name="Argument.metadata">=</stringProp>
  36729. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36730. <stringProp name="Argument.name">product[thumbnail]</stringProp>
  36731. </elementProp>
  36732. <elementProp name="product[url_key]" elementType="HTTPArgument">
  36733. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36734. <stringProp name="Argument.value">bundle-product-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}</stringProp>
  36735. <stringProp name="Argument.metadata">=</stringProp>
  36736. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36737. <stringProp name="Argument.name">product[url_key]</stringProp>
  36738. </elementProp>
  36739. <elementProp name="product[meta_title]" elementType="HTTPArgument">
  36740. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36741. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Title</stringProp>
  36742. <stringProp name="Argument.metadata">=</stringProp>
  36743. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36744. <stringProp name="Argument.name">product[meta_title]</stringProp>
  36745. </elementProp>
  36746. <elementProp name="product[meta_keyword]" elementType="HTTPArgument">
  36747. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36748. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Keyword</stringProp>
  36749. <stringProp name="Argument.metadata">=</stringProp>
  36750. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36751. <stringProp name="Argument.name">product[meta_keyword]</stringProp>
  36752. </elementProp>
  36753. <elementProp name="product[meta_description]" elementType="HTTPArgument">
  36754. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36755. <stringProp name="Argument.value">Bundle Product ${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)} Meta Description</stringProp>
  36756. <stringProp name="Argument.metadata">=</stringProp>
  36757. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36758. <stringProp name="Argument.name">product[meta_description]</stringProp>
  36759. </elementProp>
  36760. <elementProp name="product[website_ids][]" elementType="HTTPArgument">
  36761. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36762. <stringProp name="Argument.value">1</stringProp>
  36763. <stringProp name="Argument.metadata">=</stringProp>
  36764. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36765. <stringProp name="Argument.name">product[website_ids][]</stringProp>
  36766. </elementProp>
  36767. <elementProp name="product[special_price]" elementType="HTTPArgument">
  36768. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36769. <stringProp name="Argument.value">99</stringProp>
  36770. <stringProp name="Argument.metadata">=</stringProp>
  36771. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36772. <stringProp name="Argument.name">product[special_price]</stringProp>
  36773. </elementProp>
  36774. <elementProp name="product[special_from_date]" elementType="HTTPArgument">
  36775. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36776. <stringProp name="Argument.value"/>
  36777. <stringProp name="Argument.metadata">=</stringProp>
  36778. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36779. <stringProp name="Argument.name">product[special_from_date]</stringProp>
  36780. </elementProp>
  36781. <elementProp name="product[special_to_date]" elementType="HTTPArgument">
  36782. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36783. <stringProp name="Argument.value"/>
  36784. <stringProp name="Argument.metadata">=</stringProp>
  36785. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36786. <stringProp name="Argument.name">product[special_to_date]</stringProp>
  36787. </elementProp>
  36788. <elementProp name="product[cost]" elementType="HTTPArgument">
  36789. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36790. <stringProp name="Argument.value"/>
  36791. <stringProp name="Argument.metadata">=</stringProp>
  36792. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36793. <stringProp name="Argument.name">product[cost]</stringProp>
  36794. </elementProp>
  36795. <elementProp name="product[tier_price][0][website_id]" elementType="HTTPArgument">
  36796. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36797. <stringProp name="Argument.value">0</stringProp>
  36798. <stringProp name="Argument.metadata">=</stringProp>
  36799. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36800. <stringProp name="Argument.name">product[tier_price][0][website_id]</stringProp>
  36801. </elementProp>
  36802. <elementProp name="product[tier_price][0][cust_group]" elementType="HTTPArgument">
  36803. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36804. <stringProp name="Argument.value">32000</stringProp>
  36805. <stringProp name="Argument.metadata">=</stringProp>
  36806. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36807. <stringProp name="Argument.name">product[tier_price][0][cust_group]</stringProp>
  36808. </elementProp>
  36809. <elementProp name="product[tier_price][0][price_qty]" elementType="HTTPArgument">
  36810. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36811. <stringProp name="Argument.value">100</stringProp>
  36812. <stringProp name="Argument.metadata">=</stringProp>
  36813. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36814. <stringProp name="Argument.name">product[tier_price][0][price_qty]</stringProp>
  36815. </elementProp>
  36816. <elementProp name="product[tier_price][0][price]" elementType="HTTPArgument">
  36817. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36818. <stringProp name="Argument.value">90</stringProp>
  36819. <stringProp name="Argument.metadata">=</stringProp>
  36820. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36821. <stringProp name="Argument.name">product[tier_price][0][price]</stringProp>
  36822. </elementProp>
  36823. <elementProp name="product[tier_price][0][delete]" elementType="HTTPArgument">
  36824. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36825. <stringProp name="Argument.value"/>
  36826. <stringProp name="Argument.metadata">=</stringProp>
  36827. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36828. <stringProp name="Argument.name">product[tier_price][0][delete]</stringProp>
  36829. </elementProp>
  36830. <elementProp name="product[tier_price][1][website_id]" elementType="HTTPArgument">
  36831. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36832. <stringProp name="Argument.value">0</stringProp>
  36833. <stringProp name="Argument.metadata">=</stringProp>
  36834. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36835. <stringProp name="Argument.name">product[tier_price][1][website_id]</stringProp>
  36836. </elementProp>
  36837. <elementProp name="product[tier_price][1][cust_group]" elementType="HTTPArgument">
  36838. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36839. <stringProp name="Argument.value">1</stringProp>
  36840. <stringProp name="Argument.metadata">=</stringProp>
  36841. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36842. <stringProp name="Argument.name">product[tier_price][1][cust_group]</stringProp>
  36843. </elementProp>
  36844. <elementProp name="product[tier_price][1][price_qty]" elementType="HTTPArgument">
  36845. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36846. <stringProp name="Argument.value">101</stringProp>
  36847. <stringProp name="Argument.metadata">=</stringProp>
  36848. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36849. <stringProp name="Argument.name">product[tier_price][1][price_qty]</stringProp>
  36850. </elementProp>
  36851. <elementProp name="product[tier_price][1][price]" elementType="HTTPArgument">
  36852. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36853. <stringProp name="Argument.value">99</stringProp>
  36854. <stringProp name="Argument.metadata">=</stringProp>
  36855. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36856. <stringProp name="Argument.name">product[tier_price][1][price]</stringProp>
  36857. </elementProp>
  36858. <elementProp name="product[tier_price][1][delete]" elementType="HTTPArgument">
  36859. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36860. <stringProp name="Argument.value"/>
  36861. <stringProp name="Argument.metadata">=</stringProp>
  36862. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36863. <stringProp name="Argument.name">product[tier_price][1][delete]</stringProp>
  36864. </elementProp>
  36865. <elementProp name="product[stock_data][use_config_manage_stock]" elementType="HTTPArgument">
  36866. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36867. <stringProp name="Argument.value">1</stringProp>
  36868. <stringProp name="Argument.metadata">=</stringProp>
  36869. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36870. <stringProp name="Argument.name">product[stock_data][use_config_manage_stock]</stringProp>
  36871. </elementProp>
  36872. <elementProp name="product[stock_data][original_inventory_qty]" elementType="HTTPArgument">
  36873. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36874. <stringProp name="Argument.value">100500</stringProp>
  36875. <stringProp name="Argument.metadata">=</stringProp>
  36876. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36877. <stringProp name="Argument.name">product[stock_data][original_inventory_qty]</stringProp>
  36878. </elementProp>
  36879. <elementProp name="product[stock_data][qty]" elementType="HTTPArgument">
  36880. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36881. <stringProp name="Argument.value">100500</stringProp>
  36882. <stringProp name="Argument.metadata">=</stringProp>
  36883. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36884. <stringProp name="Argument.name">product[stock_data][qty]</stringProp>
  36885. </elementProp>
  36886. <elementProp name="product[stock_data][min_qty]" elementType="HTTPArgument">
  36887. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36888. <stringProp name="Argument.value">0</stringProp>
  36889. <stringProp name="Argument.metadata">=</stringProp>
  36890. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36891. <stringProp name="Argument.name">product[stock_data][min_qty]</stringProp>
  36892. </elementProp>
  36893. <elementProp name="product[stock_data][use_config_min_qty]" elementType="HTTPArgument">
  36894. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36895. <stringProp name="Argument.value">1</stringProp>
  36896. <stringProp name="Argument.metadata">=</stringProp>
  36897. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36898. <stringProp name="Argument.name">product[stock_data][use_config_min_qty]</stringProp>
  36899. </elementProp>
  36900. <elementProp name="product[stock_data][min_sale_qty]" elementType="HTTPArgument">
  36901. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36902. <stringProp name="Argument.value">1</stringProp>
  36903. <stringProp name="Argument.metadata">=</stringProp>
  36904. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36905. <stringProp name="Argument.name">product[stock_data][min_sale_qty]</stringProp>
  36906. </elementProp>
  36907. <elementProp name="product[stock_data][use_config_min_sale_qty]" elementType="HTTPArgument">
  36908. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36909. <stringProp name="Argument.value">1</stringProp>
  36910. <stringProp name="Argument.metadata">=</stringProp>
  36911. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36912. <stringProp name="Argument.name">product[stock_data][use_config_min_sale_qty]</stringProp>
  36913. </elementProp>
  36914. <elementProp name="product[stock_data][max_sale_qty]" elementType="HTTPArgument">
  36915. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36916. <stringProp name="Argument.value">10000</stringProp>
  36917. <stringProp name="Argument.metadata">=</stringProp>
  36918. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36919. <stringProp name="Argument.name">product[stock_data][max_sale_qty]</stringProp>
  36920. </elementProp>
  36921. <elementProp name="product[stock_data][use_config_max_sale_qty]" elementType="HTTPArgument">
  36922. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36923. <stringProp name="Argument.value">1</stringProp>
  36924. <stringProp name="Argument.metadata">=</stringProp>
  36925. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36926. <stringProp name="Argument.name">product[stock_data][use_config_max_sale_qty]</stringProp>
  36927. </elementProp>
  36928. <elementProp name="product[stock_data][is_qty_decimal]" elementType="HTTPArgument">
  36929. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36930. <stringProp name="Argument.value">0</stringProp>
  36931. <stringProp name="Argument.metadata">=</stringProp>
  36932. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36933. <stringProp name="Argument.name">product[stock_data][is_qty_decimal]</stringProp>
  36934. </elementProp>
  36935. <elementProp name="product[stock_data][is_decimal_divided]" elementType="HTTPArgument">
  36936. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36937. <stringProp name="Argument.value">0</stringProp>
  36938. <stringProp name="Argument.metadata">=</stringProp>
  36939. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36940. <stringProp name="Argument.name">product[stock_data][is_decimal_divided]</stringProp>
  36941. </elementProp>
  36942. <elementProp name="product[stock_data][backorders]" elementType="HTTPArgument">
  36943. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36944. <stringProp name="Argument.value">0</stringProp>
  36945. <stringProp name="Argument.metadata">=</stringProp>
  36946. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36947. <stringProp name="Argument.name">product[stock_data][backorders]</stringProp>
  36948. </elementProp>
  36949. <elementProp name="product[stock_data][use_config_backorders]" elementType="HTTPArgument">
  36950. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36951. <stringProp name="Argument.value">1</stringProp>
  36952. <stringProp name="Argument.metadata">=</stringProp>
  36953. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36954. <stringProp name="Argument.name">product[stock_data][use_config_backorders]</stringProp>
  36955. </elementProp>
  36956. <elementProp name="product[stock_data][notify_stock_qty]" elementType="HTTPArgument">
  36957. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36958. <stringProp name="Argument.value">1</stringProp>
  36959. <stringProp name="Argument.metadata">=</stringProp>
  36960. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36961. <stringProp name="Argument.name">product[stock_data][notify_stock_qty]</stringProp>
  36962. </elementProp>
  36963. <elementProp name="product[stock_data][use_config_notify_stock_qty]" elementType="HTTPArgument">
  36964. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36965. <stringProp name="Argument.value">1</stringProp>
  36966. <stringProp name="Argument.metadata">=</stringProp>
  36967. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36968. <stringProp name="Argument.name">product[stock_data][use_config_notify_stock_qty]</stringProp>
  36969. </elementProp>
  36970. <elementProp name="product[stock_data][enable_qty_increments]" elementType="HTTPArgument">
  36971. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36972. <stringProp name="Argument.value">0</stringProp>
  36973. <stringProp name="Argument.metadata">=</stringProp>
  36974. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36975. <stringProp name="Argument.name">product[stock_data][enable_qty_increments]</stringProp>
  36976. </elementProp>
  36977. <elementProp name="product[stock_data][qty_increments]" elementType="HTTPArgument">
  36978. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36979. <stringProp name="Argument.value">0</stringProp>
  36980. <stringProp name="Argument.metadata">=</stringProp>
  36981. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36982. <stringProp name="Argument.name">product[stock_data][qty_increments]</stringProp>
  36983. </elementProp>
  36984. <elementProp name="product[stock_data][use_config_qty_increments]" elementType="HTTPArgument">
  36985. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36986. <stringProp name="Argument.value">1</stringProp>
  36987. <stringProp name="Argument.metadata">=</stringProp>
  36988. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36989. <stringProp name="Argument.name">product[stock_data][use_config_qty_increments]</stringProp>
  36990. </elementProp>
  36991. <elementProp name="product[stock_data][is_in_stock]" elementType="HTTPArgument">
  36992. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  36993. <stringProp name="Argument.value">1</stringProp>
  36994. <stringProp name="Argument.metadata">=</stringProp>
  36995. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  36996. <stringProp name="Argument.name">product[stock_data][is_in_stock]</stringProp>
  36997. </elementProp>
  36998. <elementProp name="product[custom_design]" elementType="HTTPArgument">
  36999. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37000. <stringProp name="Argument.value"/>
  37001. <stringProp name="Argument.metadata">=</stringProp>
  37002. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37003. <stringProp name="Argument.name">product[custom_design]</stringProp>
  37004. </elementProp>
  37005. <elementProp name="product[custom_design_from]" elementType="HTTPArgument">
  37006. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37007. <stringProp name="Argument.value"/>
  37008. <stringProp name="Argument.metadata">=</stringProp>
  37009. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37010. <stringProp name="Argument.name">product[custom_design_from]</stringProp>
  37011. </elementProp>
  37012. <elementProp name="product[custom_design_to]" elementType="HTTPArgument">
  37013. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37014. <stringProp name="Argument.value"/>
  37015. <stringProp name="Argument.metadata">=</stringProp>
  37016. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37017. <stringProp name="Argument.name">product[custom_design_to]</stringProp>
  37018. </elementProp>
  37019. <elementProp name="product[custom_layout_update]" elementType="HTTPArgument">
  37020. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37021. <stringProp name="Argument.value"/>
  37022. <stringProp name="Argument.metadata">=</stringProp>
  37023. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37024. <stringProp name="Argument.name">product[custom_layout_update]</stringProp>
  37025. </elementProp>
  37026. <elementProp name="product[page_layout]" elementType="HTTPArgument">
  37027. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37028. <stringProp name="Argument.value"/>
  37029. <stringProp name="Argument.metadata">=</stringProp>
  37030. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37031. <stringProp name="Argument.name">product[page_layout]</stringProp>
  37032. </elementProp>
  37033. <elementProp name="product[options_container]" elementType="HTTPArgument">
  37034. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37035. <stringProp name="Argument.value">container2</stringProp>
  37036. <stringProp name="Argument.metadata">=</stringProp>
  37037. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37038. <stringProp name="Argument.name">product[options_container]</stringProp>
  37039. </elementProp>
  37040. <elementProp name="new-variations-attribute-set-id" elementType="HTTPArgument">
  37041. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37042. <stringProp name="Argument.value"/>
  37043. <stringProp name="Argument.metadata">=</stringProp>
  37044. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37045. <stringProp name="Argument.name">new-variations-attribute-set-id</stringProp>
  37046. </elementProp>
  37047. <elementProp name="product[shipment_type]" elementType="HTTPArgument">
  37048. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37049. <stringProp name="Argument.value">0</stringProp>
  37050. <stringProp name="Argument.metadata">=</stringProp>
  37051. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37052. <stringProp name="Argument.name">product[shipment_type]</stringProp>
  37053. <stringProp name="Argument.desc">false</stringProp>
  37054. </elementProp>
  37055. <elementProp name="bundle_options[bundle_options][0][title]" elementType="HTTPArgument">
  37056. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37057. <stringProp name="Argument.value">option title one</stringProp>
  37058. <stringProp name="Argument.metadata">=</stringProp>
  37059. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37060. <stringProp name="Argument.name">bundle_options[bundle_options][0][title]</stringProp>
  37061. <stringProp name="Argument.desc">false</stringProp>
  37062. </elementProp>
  37063. <elementProp name="bundle_options[bundle_options][0][option_id]" elementType="HTTPArgument">
  37064. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37065. <stringProp name="Argument.value"/>
  37066. <stringProp name="Argument.metadata">=</stringProp>
  37067. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37068. <stringProp name="Argument.name">bundle_options[bundle_options][0][option_id]</stringProp>
  37069. <stringProp name="Argument.desc">false</stringProp>
  37070. </elementProp>
  37071. <elementProp name="bundle_options[bundle_options][0][delete]" elementType="HTTPArgument">
  37072. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37073. <stringProp name="Argument.value"/>
  37074. <stringProp name="Argument.metadata">=</stringProp>
  37075. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37076. <stringProp name="Argument.name">bundle_options[bundle_options][0][delete]</stringProp>
  37077. <stringProp name="Argument.desc">false</stringProp>
  37078. </elementProp>
  37079. <elementProp name="bundle_options[bundle_options][0][type]" elementType="HTTPArgument">
  37080. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37081. <stringProp name="Argument.value">select</stringProp>
  37082. <stringProp name="Argument.metadata">=</stringProp>
  37083. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37084. <stringProp name="Argument.name">bundle_options[bundle_options][0][type]</stringProp>
  37085. <stringProp name="Argument.desc">false</stringProp>
  37086. </elementProp>
  37087. <elementProp name="bundle_options[bundle_options][0][required]" elementType="HTTPArgument">
  37088. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37089. <stringProp name="Argument.value">1</stringProp>
  37090. <stringProp name="Argument.metadata">=</stringProp>
  37091. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37092. <stringProp name="Argument.name">bundle_options[bundle_options][0][required]</stringProp>
  37093. <stringProp name="Argument.desc">false</stringProp>
  37094. </elementProp>
  37095. <elementProp name="bundle_options[bundle_options][0][position]" elementType="HTTPArgument">
  37096. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37097. <stringProp name="Argument.value">0</stringProp>
  37098. <stringProp name="Argument.metadata">=</stringProp>
  37099. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37100. <stringProp name="Argument.name">bundle_options[bundle_options][0][position]</stringProp>
  37101. <stringProp name="Argument.desc">false</stringProp>
  37102. </elementProp>
  37103. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  37104. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37105. <stringProp name="Argument.value"/>
  37106. <stringProp name="Argument.metadata">=</stringProp>
  37107. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37108. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_id]</stringProp>
  37109. <stringProp name="Argument.desc">false</stringProp>
  37110. </elementProp>
  37111. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][option_id]" elementType="HTTPArgument">
  37112. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37113. <stringProp name="Argument.value"/>
  37114. <stringProp name="Argument.metadata">=</stringProp>
  37115. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37116. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][option_id]</stringProp>
  37117. <stringProp name="Argument.desc">false</stringProp>
  37118. </elementProp>
  37119. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][product_id]" elementType="HTTPArgument">
  37120. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37121. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  37122. <stringProp name="Argument.metadata">=</stringProp>
  37123. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37124. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][product_id]</stringProp>
  37125. <stringProp name="Argument.desc">false</stringProp>
  37126. </elementProp>
  37127. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][delete]" elementType="HTTPArgument">
  37128. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37129. <stringProp name="Argument.value"/>
  37130. <stringProp name="Argument.metadata">=</stringProp>
  37131. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37132. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][delete]</stringProp>
  37133. <stringProp name="Argument.desc">false</stringProp>
  37134. </elementProp>
  37135. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  37136. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37137. <stringProp name="Argument.value">25</stringProp>
  37138. <stringProp name="Argument.metadata">=</stringProp>
  37139. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37140. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_value]</stringProp>
  37141. <stringProp name="Argument.desc">false</stringProp>
  37142. </elementProp>
  37143. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  37144. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37145. <stringProp name="Argument.value">1</stringProp>
  37146. <stringProp name="Argument.metadata">=</stringProp>
  37147. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37148. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_price_type]</stringProp>
  37149. <stringProp name="Argument.desc">false</stringProp>
  37150. </elementProp>
  37151. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  37152. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37153. <stringProp name="Argument.value">1</stringProp>
  37154. <stringProp name="Argument.metadata">=</stringProp>
  37155. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37156. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_qty]</stringProp>
  37157. <stringProp name="Argument.desc">false</stringProp>
  37158. </elementProp>
  37159. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  37160. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37161. <stringProp name="Argument.value">1</stringProp>
  37162. <stringProp name="Argument.metadata">=</stringProp>
  37163. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37164. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][selection_can_change_qty]</stringProp>
  37165. <stringProp name="Argument.desc">false</stringProp>
  37166. </elementProp>
  37167. <elementProp name="bundle_options[bundle_options][0][bundle_selections][0][position]" elementType="HTTPArgument">
  37168. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37169. <stringProp name="Argument.value">0</stringProp>
  37170. <stringProp name="Argument.metadata">=</stringProp>
  37171. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37172. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][0][position]</stringProp>
  37173. <stringProp name="Argument.desc">false</stringProp>
  37174. </elementProp>
  37175. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  37176. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37177. <stringProp name="Argument.value"/>
  37178. <stringProp name="Argument.metadata">=</stringProp>
  37179. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37180. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_id]</stringProp>
  37181. <stringProp name="Argument.desc">false</stringProp>
  37182. </elementProp>
  37183. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][option_id]" elementType="HTTPArgument">
  37184. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37185. <stringProp name="Argument.value"/>
  37186. <stringProp name="Argument.metadata">=</stringProp>
  37187. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37188. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][option_id]</stringProp>
  37189. <stringProp name="Argument.desc">false</stringProp>
  37190. </elementProp>
  37191. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][product_id]" elementType="HTTPArgument">
  37192. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37193. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  37194. <stringProp name="Argument.metadata">=</stringProp>
  37195. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37196. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][product_id]</stringProp>
  37197. <stringProp name="Argument.desc">false</stringProp>
  37198. </elementProp>
  37199. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][delete]" elementType="HTTPArgument">
  37200. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37201. <stringProp name="Argument.value"/>
  37202. <stringProp name="Argument.metadata">=</stringProp>
  37203. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37204. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][delete]</stringProp>
  37205. <stringProp name="Argument.desc">false</stringProp>
  37206. </elementProp>
  37207. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  37208. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37209. <stringProp name="Argument.value">10.99</stringProp>
  37210. <stringProp name="Argument.metadata">=</stringProp>
  37211. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37212. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_value]</stringProp>
  37213. <stringProp name="Argument.desc">false</stringProp>
  37214. </elementProp>
  37215. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  37216. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37217. <stringProp name="Argument.value">0</stringProp>
  37218. <stringProp name="Argument.metadata">=</stringProp>
  37219. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37220. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_price_type]</stringProp>
  37221. <stringProp name="Argument.desc">false</stringProp>
  37222. </elementProp>
  37223. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  37224. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37225. <stringProp name="Argument.value">1</stringProp>
  37226. <stringProp name="Argument.metadata">=</stringProp>
  37227. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37228. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_qty]</stringProp>
  37229. <stringProp name="Argument.desc">false</stringProp>
  37230. </elementProp>
  37231. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  37232. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37233. <stringProp name="Argument.value">1</stringProp>
  37234. <stringProp name="Argument.metadata">=</stringProp>
  37235. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37236. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][selection_can_change_qty]</stringProp>
  37237. <stringProp name="Argument.desc">false</stringProp>
  37238. </elementProp>
  37239. <elementProp name="bundle_options[bundle_options][0][bundle_selections][1][position]" elementType="HTTPArgument">
  37240. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37241. <stringProp name="Argument.value">1</stringProp>
  37242. <stringProp name="Argument.metadata">=</stringProp>
  37243. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37244. <stringProp name="Argument.name">bundle_options[bundle_options][0][bundle_selections][1][position]</stringProp>
  37245. <stringProp name="Argument.desc">false</stringProp>
  37246. </elementProp>
  37247. <elementProp name="bundle_options[bundle_options][1][title]" elementType="HTTPArgument">
  37248. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37249. <stringProp name="Argument.value">option title two</stringProp>
  37250. <stringProp name="Argument.metadata">=</stringProp>
  37251. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37252. <stringProp name="Argument.name">bundle_options[bundle_options][1][title]</stringProp>
  37253. <stringProp name="Argument.desc">false</stringProp>
  37254. </elementProp>
  37255. <elementProp name="bundle_options[bundle_options][1][option_id]" elementType="HTTPArgument">
  37256. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37257. <stringProp name="Argument.value"/>
  37258. <stringProp name="Argument.metadata">=</stringProp>
  37259. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37260. <stringProp name="Argument.name">bundle_options[bundle_options][1][option_id]</stringProp>
  37261. <stringProp name="Argument.desc">false</stringProp>
  37262. </elementProp>
  37263. <elementProp name="bundle_options[bundle_options][1][delete]" elementType="HTTPArgument">
  37264. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37265. <stringProp name="Argument.value"/>
  37266. <stringProp name="Argument.metadata">=</stringProp>
  37267. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37268. <stringProp name="Argument.name">bundle_options[bundle_options][1][delete]</stringProp>
  37269. <stringProp name="Argument.desc">false</stringProp>
  37270. </elementProp>
  37271. <elementProp name="bundle_options[bundle_options][1][type]" elementType="HTTPArgument">
  37272. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37273. <stringProp name="Argument.value">select</stringProp>
  37274. <stringProp name="Argument.metadata">=</stringProp>
  37275. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37276. <stringProp name="Argument.name">bundle_options[bundle_options][1][type]</stringProp>
  37277. <stringProp name="Argument.desc">false</stringProp>
  37278. </elementProp>
  37279. <elementProp name="bundle_options[bundle_options][1][required]" elementType="HTTPArgument">
  37280. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37281. <stringProp name="Argument.value">1</stringProp>
  37282. <stringProp name="Argument.metadata">=</stringProp>
  37283. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37284. <stringProp name="Argument.name">bundle_options[bundle_options][1][required]</stringProp>
  37285. <stringProp name="Argument.desc">false</stringProp>
  37286. </elementProp>
  37287. <elementProp name="bundle_options[bundle_options][1][position]" elementType="HTTPArgument">
  37288. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37289. <stringProp name="Argument.value">1</stringProp>
  37290. <stringProp name="Argument.metadata">=</stringProp>
  37291. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37292. <stringProp name="Argument.name">bundle_options[bundle_options][1][position]</stringProp>
  37293. <stringProp name="Argument.desc">false</stringProp>
  37294. </elementProp>
  37295. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_id]" elementType="HTTPArgument">
  37296. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37297. <stringProp name="Argument.value"/>
  37298. <stringProp name="Argument.metadata">=</stringProp>
  37299. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37300. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_id]</stringProp>
  37301. <stringProp name="Argument.desc">false</stringProp>
  37302. </elementProp>
  37303. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][option_id]" elementType="HTTPArgument">
  37304. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37305. <stringProp name="Argument.value"/>
  37306. <stringProp name="Argument.metadata">=</stringProp>
  37307. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37308. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][option_id]</stringProp>
  37309. <stringProp name="Argument.desc">false</stringProp>
  37310. </elementProp>
  37311. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][product_id]" elementType="HTTPArgument">
  37312. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37313. <stringProp name="Argument.value">${simple_product_1_id}</stringProp>
  37314. <stringProp name="Argument.metadata">=</stringProp>
  37315. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37316. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][product_id]</stringProp>
  37317. <stringProp name="Argument.desc">false</stringProp>
  37318. </elementProp>
  37319. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][delete]" elementType="HTTPArgument">
  37320. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37321. <stringProp name="Argument.value"/>
  37322. <stringProp name="Argument.metadata">=</stringProp>
  37323. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37324. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][delete]</stringProp>
  37325. <stringProp name="Argument.desc">false</stringProp>
  37326. </elementProp>
  37327. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]" elementType="HTTPArgument">
  37328. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37329. <stringProp name="Argument.value">5.00</stringProp>
  37330. <stringProp name="Argument.metadata">=</stringProp>
  37331. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37332. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_value]</stringProp>
  37333. <stringProp name="Argument.desc">false</stringProp>
  37334. </elementProp>
  37335. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]" elementType="HTTPArgument">
  37336. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37337. <stringProp name="Argument.value">0</stringProp>
  37338. <stringProp name="Argument.metadata">=</stringProp>
  37339. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37340. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_price_type]</stringProp>
  37341. <stringProp name="Argument.desc">false</stringProp>
  37342. </elementProp>
  37343. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_qty]" elementType="HTTPArgument">
  37344. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37345. <stringProp name="Argument.value">1</stringProp>
  37346. <stringProp name="Argument.metadata">=</stringProp>
  37347. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37348. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_qty]</stringProp>
  37349. <stringProp name="Argument.desc">false</stringProp>
  37350. </elementProp>
  37351. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]" elementType="HTTPArgument">
  37352. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37353. <stringProp name="Argument.value">1</stringProp>
  37354. <stringProp name="Argument.metadata">=</stringProp>
  37355. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37356. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][selection_can_change_qty]</stringProp>
  37357. <stringProp name="Argument.desc">false</stringProp>
  37358. </elementProp>
  37359. <elementProp name="bundle_options[bundle_options][1][bundle_selections][0][position]" elementType="HTTPArgument">
  37360. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37361. <stringProp name="Argument.value">0</stringProp>
  37362. <stringProp name="Argument.metadata">=</stringProp>
  37363. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37364. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][0][position]</stringProp>
  37365. <stringProp name="Argument.desc">false</stringProp>
  37366. </elementProp>
  37367. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_id]" elementType="HTTPArgument">
  37368. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37369. <stringProp name="Argument.value"/>
  37370. <stringProp name="Argument.metadata">=</stringProp>
  37371. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37372. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_id]</stringProp>
  37373. <stringProp name="Argument.desc">false</stringProp>
  37374. </elementProp>
  37375. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][option_id]" elementType="HTTPArgument">
  37376. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37377. <stringProp name="Argument.value"/>
  37378. <stringProp name="Argument.metadata">=</stringProp>
  37379. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37380. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][option_id]</stringProp>
  37381. <stringProp name="Argument.desc">false</stringProp>
  37382. </elementProp>
  37383. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][product_id]" elementType="HTTPArgument">
  37384. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37385. <stringProp name="Argument.value">${simple_product_2_id}</stringProp>
  37386. <stringProp name="Argument.metadata">=</stringProp>
  37387. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37388. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][product_id]</stringProp>
  37389. <stringProp name="Argument.desc">false</stringProp>
  37390. </elementProp>
  37391. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][delete]" elementType="HTTPArgument">
  37392. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37393. <stringProp name="Argument.value"/>
  37394. <stringProp name="Argument.metadata">=</stringProp>
  37395. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37396. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][delete]</stringProp>
  37397. <stringProp name="Argument.desc">false</stringProp>
  37398. </elementProp>
  37399. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]" elementType="HTTPArgument">
  37400. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37401. <stringProp name="Argument.value">7.00</stringProp>
  37402. <stringProp name="Argument.metadata">=</stringProp>
  37403. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37404. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_value]</stringProp>
  37405. <stringProp name="Argument.desc">false</stringProp>
  37406. </elementProp>
  37407. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]" elementType="HTTPArgument">
  37408. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37409. <stringProp name="Argument.value">0</stringProp>
  37410. <stringProp name="Argument.metadata">=</stringProp>
  37411. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37412. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_price_type]</stringProp>
  37413. <stringProp name="Argument.desc">false</stringProp>
  37414. </elementProp>
  37415. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_qty]" elementType="HTTPArgument">
  37416. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37417. <stringProp name="Argument.value">1</stringProp>
  37418. <stringProp name="Argument.metadata">=</stringProp>
  37419. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37420. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_qty]</stringProp>
  37421. <stringProp name="Argument.desc">false</stringProp>
  37422. </elementProp>
  37423. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]" elementType="HTTPArgument">
  37424. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37425. <stringProp name="Argument.value">1</stringProp>
  37426. <stringProp name="Argument.metadata">=</stringProp>
  37427. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37428. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][selection_can_change_qty]</stringProp>
  37429. <stringProp name="Argument.desc">false</stringProp>
  37430. </elementProp>
  37431. <elementProp name="bundle_options[bundle_options][1][bundle_selections][1][position]" elementType="HTTPArgument">
  37432. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37433. <stringProp name="Argument.value">1</stringProp>
  37434. <stringProp name="Argument.metadata">=</stringProp>
  37435. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37436. <stringProp name="Argument.name">bundle_options[bundle_options][1][bundle_selections][1][position]</stringProp>
  37437. <stringProp name="Argument.desc">false</stringProp>
  37438. </elementProp>
  37439. <elementProp name="affect_bundle_product_selections" elementType="HTTPArgument">
  37440. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37441. <stringProp name="Argument.value">2</stringProp>
  37442. <stringProp name="Argument.metadata">=</stringProp>
  37443. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37444. <stringProp name="Argument.name">affect_bundle_product_selections</stringProp>
  37445. <stringProp name="Argument.desc">false</stringProp>
  37446. </elementProp>
  37447. <elementProp name="links[related][0][id]" elementType="HTTPArgument">
  37448. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37449. <stringProp name="Argument.value">${related_product_id}</stringProp>
  37450. <stringProp name="Argument.metadata">=</stringProp>
  37451. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37452. <stringProp name="Argument.name">links[related][0][id]</stringProp>
  37453. </elementProp>
  37454. <elementProp name="links[related][0][position]" elementType="HTTPArgument">
  37455. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37456. <stringProp name="Argument.value">1</stringProp>
  37457. <stringProp name="Argument.metadata">=</stringProp>
  37458. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37459. <stringProp name="Argument.name">links[related][0][position]</stringProp>
  37460. </elementProp>
  37461. <elementProp name="links[upsell][0][id]" elementType="HTTPArgument">
  37462. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37463. <stringProp name="Argument.value">${related_product_id}</stringProp>
  37464. <stringProp name="Argument.metadata">=</stringProp>
  37465. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37466. <stringProp name="Argument.name">links[upsell][0][id]</stringProp>
  37467. </elementProp>
  37468. <elementProp name="links[upsell][0][position]" elementType="HTTPArgument">
  37469. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37470. <stringProp name="Argument.value">1</stringProp>
  37471. <stringProp name="Argument.metadata">=</stringProp>
  37472. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37473. <stringProp name="Argument.name">links[upsell][0][position]</stringProp>
  37474. </elementProp>
  37475. <elementProp name="links[crosssell][0][id]" elementType="HTTPArgument">
  37476. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37477. <stringProp name="Argument.value">${related_product_id}</stringProp>
  37478. <stringProp name="Argument.metadata">=</stringProp>
  37479. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37480. <stringProp name="Argument.name">links[crosssell][0][id]</stringProp>
  37481. </elementProp>
  37482. <elementProp name="links[crosssell][0][position]" elementType="HTTPArgument">
  37483. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  37484. <stringProp name="Argument.value">1</stringProp>
  37485. <stringProp name="Argument.metadata">=</stringProp>
  37486. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  37487. <stringProp name="Argument.name">links[crosssell][0][position]</stringProp>
  37488. </elementProp>
  37489. </collectionProp>
  37490. </elementProp>
  37491. <stringProp name="HTTPSampler.domain"/>
  37492. <stringProp name="HTTPSampler.port"/>
  37493. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  37494. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  37495. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37496. <stringProp name="HTTPSampler.contentEncoding"/>
  37497. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/catalog/product/save/set/4/type/bundle/back/edit/active_tab/product-details/</stringProp>
  37498. <stringProp name="HTTPSampler.method">POST</stringProp>
  37499. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37500. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37501. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37502. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37503. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37504. <stringProp name="HTTPSampler.embedded_url_re"/>
  37505. </HTTPSamplerProxy>
  37506. <hashTree>
  37507. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  37508. <collectionProp name="Asserion.test_strings">
  37509. <stringProp name="-583471546">You saved the product</stringProp>
  37510. <stringProp name="-1534079309">option title one</stringProp>
  37511. <stringProp name="-1534074215">option title two</stringProp>
  37512. <stringProp name="1304788671">${simple_product_2_name}</stringProp>
  37513. <stringProp name="417284990">${simple_product_1_name}</stringProp>
  37514. </collectionProp>
  37515. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37516. <boolProp name="Assertion.assume_success">false</boolProp>
  37517. <intProp name="Assertion.test_type">2</intProp>
  37518. </ResponseAssertion>
  37519. <hashTree/>
  37520. </hashTree>
  37521. </hashTree>
  37522. </hashTree>
  37523. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Logout" enabled="true">
  37524. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  37525. <collectionProp name="Arguments.arguments"/>
  37526. </elementProp>
  37527. <stringProp name="HTTPSampler.domain"/>
  37528. <stringProp name="HTTPSampler.port"/>
  37529. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  37530. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  37531. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37532. <stringProp name="HTTPSampler.contentEncoding"/>
  37533. <stringProp name="HTTPSampler.path">${base_path}${admin_path}/admin/auth/logout/</stringProp>
  37534. <stringProp name="HTTPSampler.method">GET</stringProp>
  37535. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37536. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37537. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37538. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37539. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37540. <stringProp name="HTTPSampler.embedded_url_re"/>
  37541. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/admin_logout.jmx</stringProp></HTTPSamplerProxy>
  37542. <hashTree>
  37543. <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Return Admin to Pool" enabled="true">
  37544. <boolProp name="resetInterpreter">false</boolProp>
  37545. <stringProp name="parameters"/>
  37546. <stringProp name="filename"/>
  37547. <stringProp name="script">
  37548. adminUsersDistribution = Integer.parseInt(vars.get("admin_users_distribution_per_admin_pool"));
  37549. if (adminUsersDistribution == 1) {
  37550. adminUserList = props.get("adminUserList");
  37551. adminUserList.add(vars.get("admin_user"));
  37552. }
  37553. </stringProp>
  37554. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/return_admin_email_to_pool.jmx</stringProp></BeanShellPostProcessor>
  37555. <hashTree/>
  37556. </hashTree>
  37557. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Product Fixtures Controller" enabled="true">
  37558. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  37559. </GenericController>
  37560. <hashTree>
  37561. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  37562. <collectionProp name="HeaderManager.headers">
  37563. <elementProp name="" elementType="Header">
  37564. <stringProp name="Header.name">Content-Type</stringProp>
  37565. <stringProp name="Header.value">application/json</stringProp>
  37566. </elementProp>
  37567. <elementProp name="" elementType="Header">
  37568. <stringProp name="Header.name">Accept</stringProp>
  37569. <stringProp name="Header.value">*/*</stringProp>
  37570. </elementProp>
  37571. </collectionProp>
  37572. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager_before_token.jmx</stringProp></HeaderManager>
  37573. <hashTree/>
  37574. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  37575. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  37576. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  37577. <collectionProp name="Arguments.arguments">
  37578. <elementProp name="" elementType="HTTPArgument">
  37579. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  37580. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  37581. <stringProp name="Argument.metadata">=</stringProp>
  37582. </elementProp>
  37583. </collectionProp>
  37584. </elementProp>
  37585. <stringProp name="HTTPSampler.domain"/>
  37586. <stringProp name="HTTPSampler.port"/>
  37587. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  37588. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  37589. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37590. <stringProp name="HTTPSampler.contentEncoding"/>
  37591. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  37592. <stringProp name="HTTPSampler.method">POST</stringProp>
  37593. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37594. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37595. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37596. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37597. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37598. <stringProp name="HTTPSampler.embedded_url_re"/>
  37599. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/admin_token_retrieval.jmx</stringProp></HTTPSamplerProxy>
  37600. <hashTree>
  37601. <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">
  37602. <stringProp name="VAR">admin_token</stringProp>
  37603. <stringProp name="JSONPATH">$</stringProp>
  37604. <stringProp name="DEFAULT"/>
  37605. <stringProp name="VARIABLE"/>
  37606. <stringProp name="SUBJECT">BODY</stringProp>
  37607. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  37608. <hashTree/>
  37609. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  37610. <collectionProp name="Asserion.test_strings">
  37611. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  37612. </collectionProp>
  37613. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37614. <boolProp name="Assertion.assume_success">false</boolProp>
  37615. <intProp name="Assertion.test_type">1</intProp>
  37616. <stringProp name="Assertion.scope">variable</stringProp>
  37617. <stringProp name="Scope.variable">admin_token</stringProp>
  37618. </ResponseAssertion>
  37619. <hashTree/>
  37620. </hashTree>
  37621. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  37622. <collectionProp name="HeaderManager.headers">
  37623. <elementProp name="" elementType="Header">
  37624. <stringProp name="Header.name">Authorization</stringProp>
  37625. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  37626. </elementProp>
  37627. </collectionProp>
  37628. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager.jmx</stringProp></HeaderManager>
  37629. <hashTree/>
  37630. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create product with extensible data objects" enabled="true">
  37631. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  37632. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  37633. <collectionProp name="Arguments.arguments">
  37634. <elementProp name="" elementType="HTTPArgument">
  37635. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  37636. <stringProp name="Argument.value">{&#xD;
  37637. "product": {&#xD;
  37638. "sku": "apsku-test-${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  37639. "name": "Extensible_Product_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  37640. "visibility": "4",&#xD;
  37641. "type_id": "simple",&#xD;
  37642. "price": "3.62",&#xD;
  37643. "status": "1",&#xD;
  37644. "attribute_set_id": "4",&#xD;
  37645. "custom_attributes": [&#xD;
  37646. {&#xD;
  37647. "attribute_code": "cost",&#xD;
  37648. "value": ""&#xD;
  37649. },&#xD;
  37650. {&#xD;
  37651. "attribute_code": "description",&#xD;
  37652. "value": "Description"&#xD;
  37653. }&#xD;
  37654. ],&#xD;
  37655. "extension_attributes":{&#xD;
  37656. "stock_item":{&#xD;
  37657. "manage_stock": 1, &#xD;
  37658. "is_in_stock": 1,&#xD;
  37659. "qty":"100"&#xD;
  37660. }&#xD;
  37661. } ,&#xD;
  37662. "media_gallery_entries":&#xD;
  37663. [{&#xD;
  37664. "id": null,&#xD;
  37665. "label":"test_label_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  37666. "position":1,&#xD;
  37667. "disabled":0,&#xD;
  37668. "media_type":"image",&#xD;
  37669. "types":["image"],&#xD;
  37670. "content":{&#xD;
  37671. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  37672. "type": "image/jpeg",&#xD;
  37673. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  37674. }&#xD;
  37675. }&#xD;
  37676. ]&#xD;
  37677. }&#xD;
  37678. }</stringProp>
  37679. <stringProp name="Argument.metadata">=</stringProp>
  37680. </elementProp>
  37681. </collectionProp>
  37682. </elementProp>
  37683. <stringProp name="HTTPSampler.domain"/>
  37684. <stringProp name="HTTPSampler.port"/>
  37685. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  37686. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  37687. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37688. <stringProp name="HTTPSampler.contentEncoding"/>
  37689. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  37690. <stringProp name="HTTPSampler.method">POST</stringProp>
  37691. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37692. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37693. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37694. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37695. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37696. <stringProp name="HTTPSampler.embedded_url_re"/>
  37697. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_product_with_extensible_data_objects.jmx</stringProp></HTTPSamplerProxy>
  37698. <hashTree>
  37699. <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 product id" enabled="true">
  37700. <stringProp name="VAR">simple_product_id</stringProp>
  37701. <stringProp name="JSONPATH">$.id</stringProp>
  37702. <stringProp name="DEFAULT"/>
  37703. <stringProp name="VARIABLE"/>
  37704. <stringProp name="SUBJECT">BODY</stringProp>
  37705. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  37706. <hashTree/>
  37707. <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 product sku" enabled="true">
  37708. <stringProp name="VAR">simple_product_sku</stringProp>
  37709. <stringProp name="JSONPATH">$.sku</stringProp>
  37710. <stringProp name="DEFAULT"/>
  37711. <stringProp name="VARIABLE"/>
  37712. <stringProp name="SUBJECT">BODY</stringProp>
  37713. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  37714. <hashTree/>
  37715. <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 stock item id" enabled="true">
  37716. <stringProp name="VAR">simple_stock_item_id</stringProp>
  37717. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  37718. <stringProp name="DEFAULT"/>
  37719. <stringProp name="VARIABLE"/>
  37720. <stringProp name="SUBJECT">BODY</stringProp>
  37721. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  37722. <hashTree/>
  37723. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  37724. <collectionProp name="Asserion.test_strings">
  37725. <stringProp name="89649215">^\d+$</stringProp>
  37726. </collectionProp>
  37727. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37728. <boolProp name="Assertion.assume_success">false</boolProp>
  37729. <intProp name="Assertion.test_type">1</intProp>
  37730. <stringProp name="Assertion.scope">variable</stringProp>
  37731. <stringProp name="Scope.variable">simple_product_id</stringProp>
  37732. </ResponseAssertion>
  37733. <hashTree/>
  37734. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  37735. <collectionProp name="Asserion.test_strings">
  37736. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  37737. </collectionProp>
  37738. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37739. <boolProp name="Assertion.assume_success">false</boolProp>
  37740. <intProp name="Assertion.test_type">1</intProp>
  37741. <stringProp name="Assertion.scope">variable</stringProp>
  37742. <stringProp name="Scope.variable">simple_product_sku</stringProp>
  37743. </ResponseAssertion>
  37744. <hashTree/>
  37745. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  37746. <collectionProp name="Asserion.test_strings">
  37747. <stringProp name="89649215">^\d+$</stringProp>
  37748. </collectionProp>
  37749. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37750. <boolProp name="Assertion.assume_success">false</boolProp>
  37751. <intProp name="Assertion.test_type">1</intProp>
  37752. <stringProp name="Assertion.scope">variable</stringProp>
  37753. <stringProp name="Scope.variable">simple_stock_item_id</stringProp>
  37754. </ResponseAssertion>
  37755. <hashTree/>
  37756. </hashTree>
  37757. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Create configurable product" enabled="true">
  37758. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_configurable_product_with_extensible_data_objects.jmx</stringProp>
  37759. </OnceOnlyController>
  37760. <hashTree>
  37761. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  37762. <collectionProp name="Arguments.arguments">
  37763. <elementProp name="configurable_product_attribute_color_1" elementType="Argument">
  37764. <stringProp name="Argument.name">configurable_product_attribute_color_1</stringProp>
  37765. <stringProp name="Argument.value">color123X</stringProp>
  37766. <stringProp name="Argument.metadata">=</stringProp>
  37767. </elementProp>
  37768. <elementProp name="configurable_product_attribute_color_2" elementType="Argument">
  37769. <stringProp name="Argument.name">configurable_product_attribute_color_2</stringProp>
  37770. <stringProp name="Argument.value">color567Y</stringProp>
  37771. <stringProp name="Argument.metadata">=</stringProp>
  37772. </elementProp>
  37773. <elementProp name="color_attribute_section" elementType="Argument">
  37774. <stringProp name="Argument.name">color_attribute_section</stringProp>
  37775. <stringProp name="Argument.value">0</stringProp>
  37776. <stringProp name="Argument.metadata">=</stringProp>
  37777. </elementProp>
  37778. </collectionProp>
  37779. </Arguments>
  37780. <hashTree/>
  37781. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If color is assigned to default attribute set" enabled="true">
  37782. <stringProp name="IfController.condition">"${color_attribute_section}" == "0"</stringProp>
  37783. <boolProp name="IfController.evaluateAll">false</boolProp>
  37784. </IfController>
  37785. <hashTree>
  37786. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Assign color to attribute set" enabled="true">
  37787. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  37788. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  37789. <collectionProp name="Arguments.arguments">
  37790. <elementProp name="" elementType="HTTPArgument">
  37791. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  37792. <stringProp name="Argument.value">{&#xD;
  37793. "attributeSetId": 4,&#xD;
  37794. "attributeGroupId": 7,&#xD;
  37795. "attributeCode": "color",&#xD;
  37796. "sortOrder": 0&#xD;
  37797. }&#xD;
  37798. </stringProp>
  37799. <stringProp name="Argument.metadata">=</stringProp>
  37800. </elementProp>
  37801. </collectionProp>
  37802. </elementProp>
  37803. <stringProp name="HTTPSampler.domain"/>
  37804. <stringProp name="HTTPSampler.port"/>
  37805. <stringProp name="HTTPSampler.connect_timeout"/>
  37806. <stringProp name="HTTPSampler.response_timeout"/>
  37807. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37808. <stringProp name="HTTPSampler.contentEncoding"/>
  37809. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attribute-sets/attributes</stringProp>
  37810. <stringProp name="HTTPSampler.method">POST</stringProp>
  37811. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37812. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37813. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37814. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37815. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37816. <stringProp name="HTTPSampler.embedded_url_re"/>
  37817. </HTTPSamplerProxy>
  37818. <hashTree>
  37819. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Id" enabled="true">
  37820. <collectionProp name="Asserion.test_strings">
  37821. <stringProp name="1865724479">^\"\d+\"$</stringProp>
  37822. </collectionProp>
  37823. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37824. <boolProp name="Assertion.assume_success">false</boolProp>
  37825. <intProp name="Assertion.test_type">1</intProp>
  37826. </ResponseAssertion>
  37827. <hashTree/>
  37828. <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 color_attribute_section id" enabled="true">
  37829. <stringProp name="VAR">color_attribute_section</stringProp>
  37830. <stringProp name="JSONPATH">$</stringProp>
  37831. <stringProp name="DEFAULT"/>
  37832. <stringProp name="VARIABLE"/>
  37833. <stringProp name="SUBJECT">BODY</stringProp>
  37834. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  37835. <hashTree/>
  37836. </hashTree>
  37837. </hashTree>
  37838. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Get color values ids" enabled="true">
  37839. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  37840. <collectionProp name="Arguments.arguments"/>
  37841. </elementProp>
  37842. <stringProp name="HTTPSampler.domain"/>
  37843. <stringProp name="HTTPSampler.port"/>
  37844. <stringProp name="HTTPSampler.connect_timeout"/>
  37845. <stringProp name="HTTPSampler.response_timeout"/>
  37846. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37847. <stringProp name="HTTPSampler.contentEncoding"/>
  37848. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes/color/options</stringProp>
  37849. <stringProp name="HTTPSampler.method">GET</stringProp>
  37850. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37851. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37852. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37853. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37854. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37855. <stringProp name="HTTPSampler.embedded_url_re"/>
  37856. </HTTPSamplerProxy>
  37857. <hashTree>
  37858. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract color value #1" enabled="true">
  37859. <stringProp name="JSONPostProcessor.referenceNames">color_1_value_id</stringProp>
  37860. <stringProp name="JSONPostProcessor.jsonPathExprs">$.[?(@.label =~ /${configurable_product_attribute_color_1}/i)].value</stringProp>
  37861. <stringProp name="JSONPostProcessor.match_numbers"/>
  37862. <stringProp name="JSONPostProcessor.defaultValues">null</stringProp>
  37863. </JSONPostProcessor>
  37864. <hashTree/>
  37865. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract color value #2" enabled="true">
  37866. <stringProp name="JSONPostProcessor.referenceNames">color_2_value_id</stringProp>
  37867. <stringProp name="JSONPostProcessor.jsonPathExprs">$.[?(@.label =~ /${configurable_product_attribute_color_2}/i)].value</stringProp>
  37868. <stringProp name="JSONPostProcessor.match_numbers"/>
  37869. <stringProp name="JSONPostProcessor.defaultValues">null</stringProp>
  37870. </JSONPostProcessor>
  37871. <hashTree/>
  37872. </hashTree>
  37873. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If color value #1 is null" enabled="true">
  37874. <stringProp name="IfController.condition">"${color_1_value_id}" == "null"</stringProp>
  37875. <boolProp name="IfController.evaluateAll">false</boolProp>
  37876. </IfController>
  37877. <hashTree>
  37878. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create color #1 from existing color attribute " enabled="true">
  37879. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  37880. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  37881. <collectionProp name="Arguments.arguments">
  37882. <elementProp name="" elementType="HTTPArgument">
  37883. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  37884. <stringProp name="Argument.value">{&#xD;
  37885. "option": {&#xD;
  37886. "label": "${configurable_product_attribute_color_1}"&#xD;
  37887. }&#xD;
  37888. }</stringProp>
  37889. <stringProp name="Argument.metadata">=</stringProp>
  37890. </elementProp>
  37891. </collectionProp>
  37892. </elementProp>
  37893. <stringProp name="HTTPSampler.domain"/>
  37894. <stringProp name="HTTPSampler.port"/>
  37895. <stringProp name="HTTPSampler.connect_timeout"/>
  37896. <stringProp name="HTTPSampler.response_timeout"/>
  37897. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37898. <stringProp name="HTTPSampler.contentEncoding"/>
  37899. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes/color/options</stringProp>
  37900. <stringProp name="HTTPSampler.method">POST</stringProp>
  37901. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37902. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37903. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37904. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37905. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37906. <stringProp name="HTTPSampler.embedded_url_re"/>
  37907. </HTTPSamplerProxy>
  37908. <hashTree>
  37909. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Option Id" enabled="true">
  37910. <collectionProp name="Asserion.test_strings">
  37911. <stringProp name="89649215">^[a-z0-9_\"]+$</stringProp>
  37912. </collectionProp>
  37913. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37914. <boolProp name="Assertion.assume_success">false</boolProp>
  37915. <intProp name="Assertion.test_type">1</intProp>
  37916. </ResponseAssertion>
  37917. <hashTree/>
  37918. </hashTree>
  37919. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Get color values ids" enabled="true">
  37920. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  37921. <collectionProp name="Arguments.arguments"/>
  37922. </elementProp>
  37923. <stringProp name="HTTPSampler.domain"/>
  37924. <stringProp name="HTTPSampler.port"/>
  37925. <stringProp name="HTTPSampler.connect_timeout"/>
  37926. <stringProp name="HTTPSampler.response_timeout"/>
  37927. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37928. <stringProp name="HTTPSampler.contentEncoding"/>
  37929. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes/color/options</stringProp>
  37930. <stringProp name="HTTPSampler.method">GET</stringProp>
  37931. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37932. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37933. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37934. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37935. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37936. <stringProp name="HTTPSampler.embedded_url_re"/>
  37937. </HTTPSamplerProxy>
  37938. <hashTree>
  37939. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract color value #1" enabled="true">
  37940. <stringProp name="JSONPostProcessor.referenceNames">color_1_value_id</stringProp>
  37941. <stringProp name="JSONPostProcessor.jsonPathExprs">$.[?(@.label =~ /${configurable_product_attribute_color_1}/i)].value</stringProp>
  37942. <stringProp name="JSONPostProcessor.match_numbers"/>
  37943. </JSONPostProcessor>
  37944. <hashTree/>
  37945. </hashTree>
  37946. </hashTree>
  37947. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If color value #2 is null" enabled="true">
  37948. <stringProp name="IfController.condition">"${color_2_value_id}" == "null"</stringProp>
  37949. <boolProp name="IfController.evaluateAll">false</boolProp>
  37950. </IfController>
  37951. <hashTree>
  37952. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create color #2 from existing color attribute " enabled="true">
  37953. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  37954. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  37955. <collectionProp name="Arguments.arguments">
  37956. <elementProp name="" elementType="HTTPArgument">
  37957. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  37958. <stringProp name="Argument.value">{&#xD;
  37959. "option": {&#xD;
  37960. "label": "${configurable_product_attribute_color_2}"&#xD;
  37961. }&#xD;
  37962. }</stringProp>
  37963. <stringProp name="Argument.metadata">=</stringProp>
  37964. </elementProp>
  37965. </collectionProp>
  37966. </elementProp>
  37967. <stringProp name="HTTPSampler.domain"/>
  37968. <stringProp name="HTTPSampler.port"/>
  37969. <stringProp name="HTTPSampler.connect_timeout"/>
  37970. <stringProp name="HTTPSampler.response_timeout"/>
  37971. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  37972. <stringProp name="HTTPSampler.contentEncoding"/>
  37973. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes/color/options</stringProp>
  37974. <stringProp name="HTTPSampler.method">POST</stringProp>
  37975. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  37976. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  37977. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  37978. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  37979. <boolProp name="HTTPSampler.monitor">false</boolProp>
  37980. <stringProp name="HTTPSampler.embedded_url_re"/>
  37981. </HTTPSamplerProxy>
  37982. <hashTree>
  37983. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Option Id" enabled="true">
  37984. <collectionProp name="Asserion.test_strings">
  37985. <stringProp name="484395188">^[a-z0-9_\"]+$</stringProp>
  37986. </collectionProp>
  37987. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  37988. <boolProp name="Assertion.assume_success">false</boolProp>
  37989. <intProp name="Assertion.test_type">1</intProp>
  37990. </ResponseAssertion>
  37991. <hashTree/>
  37992. </hashTree>
  37993. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Get color values ids" enabled="true">
  37994. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  37995. <collectionProp name="Arguments.arguments"/>
  37996. </elementProp>
  37997. <stringProp name="HTTPSampler.domain"/>
  37998. <stringProp name="HTTPSampler.port"/>
  37999. <stringProp name="HTTPSampler.connect_timeout"/>
  38000. <stringProp name="HTTPSampler.response_timeout"/>
  38001. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38002. <stringProp name="HTTPSampler.contentEncoding"/>
  38003. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/attributes/color/options</stringProp>
  38004. <stringProp name="HTTPSampler.method">GET</stringProp>
  38005. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38006. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38007. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38008. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38009. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38010. <stringProp name="HTTPSampler.embedded_url_re"/>
  38011. </HTTPSamplerProxy>
  38012. <hashTree>
  38013. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract color value #1" enabled="true">
  38014. <stringProp name="JSONPostProcessor.referenceNames">color_2_value_id</stringProp>
  38015. <stringProp name="JSONPostProcessor.jsonPathExprs">$.[?(@.label =~ /${configurable_product_attribute_color_2}/i)].value</stringProp>
  38016. <stringProp name="JSONPostProcessor.match_numbers"/>
  38017. </JSONPostProcessor>
  38018. <hashTree/>
  38019. </hashTree>
  38020. </hashTree>
  38021. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create configurable product with extensible data objects" enabled="true">
  38022. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38023. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38024. <collectionProp name="Arguments.arguments">
  38025. <elementProp name="" elementType="HTTPArgument">
  38026. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38027. <stringProp name="Argument.value">{&#xD;
  38028. "product": {&#xD;
  38029. "sku": "configurable-apsku-test-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38030. "name": "Configurable Extensible_Product_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38031. "visibility": "4",&#xD;
  38032. "type_id": "configurable",&#xD;
  38033. "price": "99",&#xD;
  38034. "status": "1",&#xD;
  38035. "attribute_set_id": "4",&#xD;
  38036. "custom_attributes": [&#xD;
  38037. {&#xD;
  38038. "attribute_code": "cost",&#xD;
  38039. "value": ""&#xD;
  38040. },&#xD;
  38041. {&#xD;
  38042. "attribute_code": "description",&#xD;
  38043. "value": "Description"&#xD;
  38044. }&#xD;
  38045. ],&#xD;
  38046. "extension_attributes":{&#xD;
  38047. "stock_item":{&#xD;
  38048. "manage_stock": 1, &#xD;
  38049. "is_in_stock": 1,&#xD;
  38050. "qty":"100"&#xD;
  38051. }&#xD;
  38052. } ,&#xD;
  38053. "media_gallery_entries":&#xD;
  38054. [{&#xD;
  38055. "id": null,&#xD;
  38056. "label":"configurable_test_label_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38057. "position":1,&#xD;
  38058. "disabled":false,&#xD;
  38059. "media_type":"image",&#xD;
  38060. "types":["image"],&#xD;
  38061. "content":{&#xD;
  38062. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  38063. "type": "image/jpeg",&#xD;
  38064. "name": "configurable_test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  38065. }&#xD;
  38066. }&#xD;
  38067. ]&#xD;
  38068. }&#xD;
  38069. }</stringProp>
  38070. <stringProp name="Argument.metadata">=</stringProp>
  38071. </elementProp>
  38072. </collectionProp>
  38073. </elementProp>
  38074. <stringProp name="HTTPSampler.domain"/>
  38075. <stringProp name="HTTPSampler.port"/>
  38076. <stringProp name="HTTPSampler.connect_timeout"/>
  38077. <stringProp name="HTTPSampler.response_timeout"/>
  38078. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38079. <stringProp name="HTTPSampler.contentEncoding"/>
  38080. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  38081. <stringProp name="HTTPSampler.method">POST</stringProp>
  38082. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38083. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38084. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38085. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38086. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38087. <stringProp name="HTTPSampler.embedded_url_re"/>
  38088. </HTTPSamplerProxy>
  38089. <hashTree>
  38090. <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 product id" enabled="true">
  38091. <stringProp name="VAR">configurable_product_id</stringProp>
  38092. <stringProp name="JSONPATH">$.id</stringProp>
  38093. <stringProp name="DEFAULT"/>
  38094. <stringProp name="VARIABLE"/>
  38095. <stringProp name="SUBJECT">BODY</stringProp>
  38096. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38097. <hashTree/>
  38098. <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 product sku" enabled="true">
  38099. <stringProp name="VAR">configurable_product_sku</stringProp>
  38100. <stringProp name="JSONPATH">$.sku</stringProp>
  38101. <stringProp name="DEFAULT"/>
  38102. <stringProp name="VARIABLE"/>
  38103. <stringProp name="SUBJECT">BODY</stringProp>
  38104. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38105. <hashTree/>
  38106. <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 stock item id" enabled="true">
  38107. <stringProp name="VAR">configurable_stock_item_id</stringProp>
  38108. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  38109. <stringProp name="DEFAULT"/>
  38110. <stringProp name="VARIABLE"/>
  38111. <stringProp name="SUBJECT">BODY</stringProp>
  38112. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38113. <hashTree/>
  38114. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  38115. <collectionProp name="Asserion.test_strings">
  38116. <stringProp name="89649215">^\d+$</stringProp>
  38117. </collectionProp>
  38118. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38119. <boolProp name="Assertion.assume_success">false</boolProp>
  38120. <intProp name="Assertion.test_type">1</intProp>
  38121. <stringProp name="Assertion.scope">variable</stringProp>
  38122. <stringProp name="Scope.variable">configurable_product_id</stringProp>
  38123. </ResponseAssertion>
  38124. <hashTree/>
  38125. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  38126. <collectionProp name="Asserion.test_strings">
  38127. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  38128. </collectionProp>
  38129. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38130. <boolProp name="Assertion.assume_success">false</boolProp>
  38131. <intProp name="Assertion.test_type">1</intProp>
  38132. <stringProp name="Assertion.scope">variable</stringProp>
  38133. <stringProp name="Scope.variable">configurable_product_sku</stringProp>
  38134. </ResponseAssertion>
  38135. <hashTree/>
  38136. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  38137. <collectionProp name="Asserion.test_strings">
  38138. <stringProp name="89649215">^\d+$</stringProp>
  38139. </collectionProp>
  38140. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38141. <boolProp name="Assertion.assume_success">false</boolProp>
  38142. <intProp name="Assertion.test_type">1</intProp>
  38143. <stringProp name="Assertion.scope">variable</stringProp>
  38144. <stringProp name="Scope.variable">configurable_stock_item_id</stringProp>
  38145. </ResponseAssertion>
  38146. <hashTree/>
  38147. </hashTree>
  38148. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create child product with variation red" enabled="true">
  38149. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38150. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38151. <collectionProp name="Arguments.arguments">
  38152. <elementProp name="" elementType="HTTPArgument">
  38153. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38154. <stringProp name="Argument.value">{&#xD;
  38155. "product": {&#xD;
  38156. "sku": "apsku-test-${configurable_product_attribute_color_1}",&#xD;
  38157. "name": "Extensible_Product_${configurable_product_attribute_color_1}",&#xD;
  38158. "visibility": "1",&#xD;
  38159. "type_id": "simple",&#xD;
  38160. "price": "3.62",&#xD;
  38161. "status": "1",&#xD;
  38162. "attribute_set_id": "4",&#xD;
  38163. "custom_attributes": [&#xD;
  38164. {&#xD;
  38165. "attribute_code": "cost",&#xD;
  38166. "value": ""&#xD;
  38167. },&#xD;
  38168. {&#xD;
  38169. "attribute_code": "description",&#xD;
  38170. "value": "Description"&#xD;
  38171. },&#xD;
  38172. {&#xD;
  38173. "attribute_code": "color",&#xD;
  38174. "value": "${color_1_value_id}"&#xD;
  38175. }&#xD;
  38176. ],&#xD;
  38177. "extension_attributes":{&#xD;
  38178. "stock_item":{&#xD;
  38179. "manage_stock": 1, &#xD;
  38180. "is_in_stock": 1,&#xD;
  38181. "qty":"100"&#xD;
  38182. }&#xD;
  38183. } ,&#xD;
  38184. "media_gallery_entries":&#xD;
  38185. [{&#xD;
  38186. "id": null,&#xD;
  38187. "label":"test_label_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38188. "position":1,&#xD;
  38189. "disabled":false,&#xD;
  38190. "media_type":"image",&#xD;
  38191. "types":["image"],&#xD;
  38192. "content":{&#xD;
  38193. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  38194. "type": "image/jpeg",&#xD;
  38195. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  38196. }&#xD;
  38197. }&#xD;
  38198. ]&#xD;
  38199. }&#xD;
  38200. }</stringProp>
  38201. <stringProp name="Argument.metadata">=</stringProp>
  38202. </elementProp>
  38203. </collectionProp>
  38204. </elementProp>
  38205. <stringProp name="HTTPSampler.domain"/>
  38206. <stringProp name="HTTPSampler.port"/>
  38207. <stringProp name="HTTPSampler.connect_timeout"/>
  38208. <stringProp name="HTTPSampler.response_timeout"/>
  38209. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38210. <stringProp name="HTTPSampler.contentEncoding"/>
  38211. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  38212. <stringProp name="HTTPSampler.method">POST</stringProp>
  38213. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38214. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38215. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38216. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38217. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38218. <stringProp name="HTTPSampler.embedded_url_re"/>
  38219. </HTTPSamplerProxy>
  38220. <hashTree>
  38221. <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 product id" enabled="true">
  38222. <stringProp name="VAR">configurable_red_product_id</stringProp>
  38223. <stringProp name="JSONPATH">$.id</stringProp>
  38224. <stringProp name="DEFAULT"/>
  38225. <stringProp name="VARIABLE"/>
  38226. <stringProp name="SUBJECT">BODY</stringProp>
  38227. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38228. <hashTree/>
  38229. <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 product sku" enabled="true">
  38230. <stringProp name="VAR">configurable_red_product_sku</stringProp>
  38231. <stringProp name="JSONPATH">$.sku</stringProp>
  38232. <stringProp name="DEFAULT"/>
  38233. <stringProp name="VARIABLE"/>
  38234. <stringProp name="SUBJECT">BODY</stringProp>
  38235. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38236. <hashTree/>
  38237. <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 stock item id" enabled="true">
  38238. <stringProp name="VAR">configurable_red_stock_item_id</stringProp>
  38239. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  38240. <stringProp name="DEFAULT"/>
  38241. <stringProp name="VARIABLE"/>
  38242. <stringProp name="SUBJECT">BODY</stringProp>
  38243. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38244. <hashTree/>
  38245. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  38246. <collectionProp name="Asserion.test_strings">
  38247. <stringProp name="89649215">^\d+$</stringProp>
  38248. </collectionProp>
  38249. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38250. <boolProp name="Assertion.assume_success">false</boolProp>
  38251. <intProp name="Assertion.test_type">1</intProp>
  38252. <stringProp name="Assertion.scope">variable</stringProp>
  38253. <stringProp name="Scope.variable">configurable_red_product_id</stringProp>
  38254. </ResponseAssertion>
  38255. <hashTree/>
  38256. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  38257. <collectionProp name="Asserion.test_strings">
  38258. <stringProp name="-425311000">^[A-Za-z0-9-]+$</stringProp>
  38259. </collectionProp>
  38260. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38261. <boolProp name="Assertion.assume_success">false</boolProp>
  38262. <intProp name="Assertion.test_type">1</intProp>
  38263. <stringProp name="Assertion.scope">variable</stringProp>
  38264. <stringProp name="Scope.variable">configurable_red_product_sku</stringProp>
  38265. </ResponseAssertion>
  38266. <hashTree/>
  38267. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  38268. <collectionProp name="Asserion.test_strings">
  38269. <stringProp name="89649215">^\d+$</stringProp>
  38270. </collectionProp>
  38271. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38272. <boolProp name="Assertion.assume_success">false</boolProp>
  38273. <intProp name="Assertion.test_type">1</intProp>
  38274. <stringProp name="Assertion.scope">variable</stringProp>
  38275. <stringProp name="Scope.variable">configurable_red_stock_item_id</stringProp>
  38276. </ResponseAssertion>
  38277. <hashTree/>
  38278. </hashTree>
  38279. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create child product with variation blue" enabled="true">
  38280. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38281. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38282. <collectionProp name="Arguments.arguments">
  38283. <elementProp name="" elementType="HTTPArgument">
  38284. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38285. <stringProp name="Argument.value">{&#xD;
  38286. "product": {&#xD;
  38287. "sku": "apsku-test-${configurable_product_attribute_color_2}",&#xD;
  38288. "name": "Extensible_Product_${configurable_product_attribute_color_2}",&#xD;
  38289. "visibility": "1",&#xD;
  38290. "type_id": "simple",&#xD;
  38291. "price": "3.62",&#xD;
  38292. "status": "1",&#xD;
  38293. "attribute_set_id": "4",&#xD;
  38294. "custom_attributes": [&#xD;
  38295. {&#xD;
  38296. "attribute_code": "cost",&#xD;
  38297. "value": ""&#xD;
  38298. },&#xD;
  38299. {&#xD;
  38300. "attribute_code": "description",&#xD;
  38301. "value": "Description"&#xD;
  38302. },&#xD;
  38303. {&#xD;
  38304. "attribute_code": "color",&#xD;
  38305. "value": "${color_2_value_id}"&#xD;
  38306. }&#xD;
  38307. ],&#xD;
  38308. "extension_attributes":{&#xD;
  38309. "stock_item":{&#xD;
  38310. "manage_stock": 1, &#xD;
  38311. "is_in_stock": 1,&#xD;
  38312. "qty":"100"&#xD;
  38313. }&#xD;
  38314. } ,&#xD;
  38315. "media_gallery_entries":&#xD;
  38316. [{&#xD;
  38317. "id": null,&#xD;
  38318. "label":"test_label_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38319. "position":1,&#xD;
  38320. "disabled":false,&#xD;
  38321. "media_type":"image",&#xD;
  38322. "types":["image"],&#xD;
  38323. "content":{&#xD;
  38324. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  38325. "type": "image/jpeg",&#xD;
  38326. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  38327. }&#xD;
  38328. }&#xD;
  38329. ]&#xD;
  38330. }&#xD;
  38331. }</stringProp>
  38332. <stringProp name="Argument.metadata">=</stringProp>
  38333. </elementProp>
  38334. </collectionProp>
  38335. </elementProp>
  38336. <stringProp name="HTTPSampler.domain"/>
  38337. <stringProp name="HTTPSampler.port"/>
  38338. <stringProp name="HTTPSampler.connect_timeout"/>
  38339. <stringProp name="HTTPSampler.response_timeout"/>
  38340. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38341. <stringProp name="HTTPSampler.contentEncoding"/>
  38342. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  38343. <stringProp name="HTTPSampler.method">POST</stringProp>
  38344. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38345. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38346. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38347. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38348. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38349. <stringProp name="HTTPSampler.embedded_url_re"/>
  38350. </HTTPSamplerProxy>
  38351. <hashTree>
  38352. <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 product id" enabled="true">
  38353. <stringProp name="VAR">configurable_blue_product_id</stringProp>
  38354. <stringProp name="JSONPATH">$.id</stringProp>
  38355. <stringProp name="DEFAULT"/>
  38356. <stringProp name="VARIABLE"/>
  38357. <stringProp name="SUBJECT">BODY</stringProp>
  38358. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38359. <hashTree/>
  38360. <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 product sku" enabled="true">
  38361. <stringProp name="VAR">configurable_blue_product_sku</stringProp>
  38362. <stringProp name="JSONPATH">$.sku</stringProp>
  38363. <stringProp name="DEFAULT"/>
  38364. <stringProp name="VARIABLE"/>
  38365. <stringProp name="SUBJECT">BODY</stringProp>
  38366. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38367. <hashTree/>
  38368. <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 stock item id" enabled="true">
  38369. <stringProp name="VAR">configurable_blue_stock_item_id</stringProp>
  38370. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  38371. <stringProp name="DEFAULT"/>
  38372. <stringProp name="VARIABLE"/>
  38373. <stringProp name="SUBJECT">BODY</stringProp>
  38374. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38375. <hashTree/>
  38376. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  38377. <collectionProp name="Asserion.test_strings">
  38378. <stringProp name="89649215">^\d+$</stringProp>
  38379. </collectionProp>
  38380. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38381. <boolProp name="Assertion.assume_success">false</boolProp>
  38382. <intProp name="Assertion.test_type">1</intProp>
  38383. <stringProp name="Assertion.scope">variable</stringProp>
  38384. <stringProp name="Scope.variable">configurable_blue_product_id</stringProp>
  38385. </ResponseAssertion>
  38386. <hashTree/>
  38387. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  38388. <collectionProp name="Asserion.test_strings">
  38389. <stringProp name="-425311000">^[A-Za-z0-9-]+$</stringProp>
  38390. </collectionProp>
  38391. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38392. <boolProp name="Assertion.assume_success">false</boolProp>
  38393. <intProp name="Assertion.test_type">1</intProp>
  38394. <stringProp name="Assertion.scope">variable</stringProp>
  38395. <stringProp name="Scope.variable">configurable_blue_product_sku</stringProp>
  38396. </ResponseAssertion>
  38397. <hashTree/>
  38398. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  38399. <collectionProp name="Asserion.test_strings">
  38400. <stringProp name="89649215">^\d+$</stringProp>
  38401. </collectionProp>
  38402. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38403. <boolProp name="Assertion.assume_success">false</boolProp>
  38404. <intProp name="Assertion.test_type">1</intProp>
  38405. <stringProp name="Assertion.scope">variable</stringProp>
  38406. <stringProp name="Scope.variable">configurable_blue_stock_item_id</stringProp>
  38407. </ResponseAssertion>
  38408. <hashTree/>
  38409. </hashTree>
  38410. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create color option for configurable product" enabled="true">
  38411. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38412. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38413. <collectionProp name="Arguments.arguments">
  38414. <elementProp name="" elementType="HTTPArgument">
  38415. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38416. <stringProp name="Argument.value">{&#xD;
  38417. "option": {&#xD;
  38418. "attribute_id": "93",&#xD;
  38419. "label": "Color",&#xD;
  38420. "position": 0,&#xD;
  38421. "is_use_default": 1,&#xD;
  38422. "values": [&#xD;
  38423. {&#xD;
  38424. "value_index": 0&#xD;
  38425. }&#xD;
  38426. ]&#xD;
  38427. }&#xD;
  38428. }</stringProp>
  38429. <stringProp name="Argument.metadata">=</stringProp>
  38430. </elementProp>
  38431. </collectionProp>
  38432. </elementProp>
  38433. <stringProp name="HTTPSampler.domain"/>
  38434. <stringProp name="HTTPSampler.port"/>
  38435. <stringProp name="HTTPSampler.connect_timeout"/>
  38436. <stringProp name="HTTPSampler.response_timeout"/>
  38437. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38438. <stringProp name="HTTPSampler.contentEncoding"/>
  38439. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/configurable-products/${configurable_product_sku}/options</stringProp>
  38440. <stringProp name="HTTPSampler.method">POST</stringProp>
  38441. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38442. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38443. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38444. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38445. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38446. <stringProp name="HTTPSampler.embedded_url_re"/>
  38447. </HTTPSamplerProxy>
  38448. <hashTree>
  38449. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert option id" enabled="true">
  38450. <collectionProp name="Asserion.test_strings">
  38451. <stringProp name="1865724479">^\"\d+\"$</stringProp>
  38452. </collectionProp>
  38453. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38454. <boolProp name="Assertion.assume_success">false</boolProp>
  38455. <intProp name="Assertion.test_type">1</intProp>
  38456. <stringProp name="Scope.variable"/>
  38457. </ResponseAssertion>
  38458. <hashTree/>
  38459. </hashTree>
  38460. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create children from variation color #1" enabled="true">
  38461. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38462. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38463. <collectionProp name="Arguments.arguments">
  38464. <elementProp name="" elementType="HTTPArgument">
  38465. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38466. <stringProp name="Argument.value">{"childSku": "apsku-test-${configurable_product_attribute_color_1}"}</stringProp>
  38467. <stringProp name="Argument.metadata">=</stringProp>
  38468. </elementProp>
  38469. </collectionProp>
  38470. </elementProp>
  38471. <stringProp name="HTTPSampler.domain"/>
  38472. <stringProp name="HTTPSampler.port"/>
  38473. <stringProp name="HTTPSampler.connect_timeout"/>
  38474. <stringProp name="HTTPSampler.response_timeout"/>
  38475. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38476. <stringProp name="HTTPSampler.contentEncoding"/>
  38477. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/configurable-products/${configurable_product_sku}/child</stringProp>
  38478. <stringProp name="HTTPSampler.method">POST</stringProp>
  38479. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38480. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38481. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38482. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38483. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38484. <stringProp name="HTTPSampler.embedded_url_re"/>
  38485. </HTTPSamplerProxy>
  38486. <hashTree>
  38487. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert True" enabled="true">
  38488. <collectionProp name="Asserion.test_strings">
  38489. <stringProp name="3569038">true</stringProp>
  38490. </collectionProp>
  38491. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38492. <boolProp name="Assertion.assume_success">false</boolProp>
  38493. <intProp name="Assertion.test_type">1</intProp>
  38494. </ResponseAssertion>
  38495. <hashTree/>
  38496. </hashTree>
  38497. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create children from variation color #2" enabled="true">
  38498. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38499. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38500. <collectionProp name="Arguments.arguments">
  38501. <elementProp name="" elementType="HTTPArgument">
  38502. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38503. <stringProp name="Argument.value">{"childSku": "apsku-test-${configurable_product_attribute_color_2}"}</stringProp>
  38504. <stringProp name="Argument.metadata">=</stringProp>
  38505. </elementProp>
  38506. </collectionProp>
  38507. </elementProp>
  38508. <stringProp name="HTTPSampler.domain"/>
  38509. <stringProp name="HTTPSampler.port"/>
  38510. <stringProp name="HTTPSampler.connect_timeout"/>
  38511. <stringProp name="HTTPSampler.response_timeout"/>
  38512. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38513. <stringProp name="HTTPSampler.contentEncoding"/>
  38514. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/configurable-products/${configurable_product_sku}/child</stringProp>
  38515. <stringProp name="HTTPSampler.method">POST</stringProp>
  38516. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38517. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38518. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38519. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38520. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38521. <stringProp name="HTTPSampler.embedded_url_re"/>
  38522. </HTTPSamplerProxy>
  38523. <hashTree>
  38524. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert True" enabled="true">
  38525. <collectionProp name="Asserion.test_strings">
  38526. <stringProp name="3569038">true</stringProp>
  38527. </collectionProp>
  38528. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38529. <boolProp name="Assertion.assume_success">false</boolProp>
  38530. <intProp name="Assertion.test_type">1</intProp>
  38531. </ResponseAssertion>
  38532. <hashTree/>
  38533. </hashTree>
  38534. </hashTree>
  38535. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Create bundle product" enabled="true">
  38536. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_bundle_product_with_extensible_data_objects.jmx</stringProp>
  38537. </OnceOnlyController>
  38538. <hashTree>
  38539. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create bundle product with extensible data objects" enabled="true">
  38540. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38541. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38542. <collectionProp name="Arguments.arguments">
  38543. <elementProp name="" elementType="HTTPArgument">
  38544. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38545. <stringProp name="Argument.value">{&#xD;
  38546. "product": {&#xD;
  38547. "sku": "bundle-apsku-test-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38548. "name": "Bundle Extensible_Product_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38549. "visibility": "4",&#xD;
  38550. "type_id": "bundle",&#xD;
  38551. "price": "99",&#xD;
  38552. "status": "1",&#xD;
  38553. "attribute_set_id": "4",&#xD;
  38554. "custom_attributes": [&#xD;
  38555. {&#xD;
  38556. "attribute_code": "price_view",&#xD;
  38557. "value": "0"&#xD;
  38558. },&#xD;
  38559. {&#xD;
  38560. "attribute_code": "price_type",&#xD;
  38561. "value": "0"&#xD;
  38562. },&#xD;
  38563. {&#xD;
  38564. "attribute_code": "weight_type",&#xD;
  38565. "value": "0"&#xD;
  38566. },&#xD;
  38567. {&#xD;
  38568. "attribute_code": "cost",&#xD;
  38569. "value": ""&#xD;
  38570. },&#xD;
  38571. {&#xD;
  38572. "attribute_code": "description",&#xD;
  38573. "value": "Description"&#xD;
  38574. }&#xD;
  38575. ],&#xD;
  38576. "extension_attributes":{&#xD;
  38577. "stock_item":{&#xD;
  38578. "manage_stock": 1, &#xD;
  38579. "is_in_stock": 1,&#xD;
  38580. "qty":"100"&#xD;
  38581. }&#xD;
  38582. } ,&#xD;
  38583. "media_gallery_entries":&#xD;
  38584. [{&#xD;
  38585. "id": null,&#xD;
  38586. "label":"bundle_test_label_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38587. "position":1,&#xD;
  38588. "disabled":false,&#xD;
  38589. "media_type":"image",&#xD;
  38590. "types":["image"],&#xD;
  38591. "content":{&#xD;
  38592. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  38593. "type": "image/jpeg",&#xD;
  38594. "name": "bundle_test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  38595. }&#xD;
  38596. }&#xD;
  38597. ]&#xD;
  38598. }&#xD;
  38599. }</stringProp>
  38600. <stringProp name="Argument.metadata">=</stringProp>
  38601. </elementProp>
  38602. </collectionProp>
  38603. </elementProp>
  38604. <stringProp name="HTTPSampler.domain"/>
  38605. <stringProp name="HTTPSampler.port"/>
  38606. <stringProp name="HTTPSampler.connect_timeout"/>
  38607. <stringProp name="HTTPSampler.response_timeout"/>
  38608. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38609. <stringProp name="HTTPSampler.contentEncoding"/>
  38610. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  38611. <stringProp name="HTTPSampler.method">POST</stringProp>
  38612. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38613. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38614. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38615. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38616. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38617. <stringProp name="HTTPSampler.embedded_url_re"/>
  38618. </HTTPSamplerProxy>
  38619. <hashTree>
  38620. <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 bundle product id" enabled="true">
  38621. <stringProp name="VAR">bundle_product_id</stringProp>
  38622. <stringProp name="JSONPATH">$.id</stringProp>
  38623. <stringProp name="DEFAULT"/>
  38624. <stringProp name="VARIABLE"/>
  38625. <stringProp name="SUBJECT">BODY</stringProp>
  38626. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38627. <hashTree/>
  38628. <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 product sku" enabled="true">
  38629. <stringProp name="VAR">bundle_product_sku</stringProp>
  38630. <stringProp name="JSONPATH">$.sku</stringProp>
  38631. <stringProp name="DEFAULT"/>
  38632. <stringProp name="VARIABLE"/>
  38633. <stringProp name="SUBJECT">BODY</stringProp>
  38634. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38635. <hashTree/>
  38636. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  38637. <collectionProp name="Asserion.test_strings">
  38638. <stringProp name="89649215">^\d+$</stringProp>
  38639. </collectionProp>
  38640. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38641. <boolProp name="Assertion.assume_success">false</boolProp>
  38642. <intProp name="Assertion.test_type">1</intProp>
  38643. <stringProp name="Assertion.scope">variable</stringProp>
  38644. <stringProp name="Scope.variable">bundle_product_id</stringProp>
  38645. </ResponseAssertion>
  38646. <hashTree/>
  38647. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  38648. <collectionProp name="Asserion.test_strings">
  38649. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  38650. </collectionProp>
  38651. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38652. <boolProp name="Assertion.assume_success">false</boolProp>
  38653. <intProp name="Assertion.test_type">1</intProp>
  38654. <stringProp name="Assertion.scope">variable</stringProp>
  38655. <stringProp name="Scope.variable">bundle_product_sku</stringProp>
  38656. </ResponseAssertion>
  38657. <hashTree/>
  38658. </hashTree>
  38659. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create child product child simple 1" enabled="true">
  38660. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38661. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38662. <collectionProp name="Arguments.arguments">
  38663. <elementProp name="" elementType="HTTPArgument">
  38664. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38665. <stringProp name="Argument.value">{&#xD;
  38666. "product": {&#xD;
  38667. "sku": "apsku-test-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38668. "name": "Extensible_Product_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38669. "visibility": "1",&#xD;
  38670. "type_id": "simple",&#xD;
  38671. "price": "3.62",&#xD;
  38672. "status": "1",&#xD;
  38673. "attribute_set_id": "4",&#xD;
  38674. "custom_attributes": [&#xD;
  38675. {&#xD;
  38676. "attribute_code": "cost",&#xD;
  38677. "value": ""&#xD;
  38678. },&#xD;
  38679. {&#xD;
  38680. "attribute_code": "description",&#xD;
  38681. "value": "Description"&#xD;
  38682. }&#xD;
  38683. ],&#xD;
  38684. "extension_attributes":{&#xD;
  38685. "stock_item":{&#xD;
  38686. "manage_stock": 1, &#xD;
  38687. "is_in_stock": 1,&#xD;
  38688. "qty":"100"&#xD;
  38689. }&#xD;
  38690. } ,&#xD;
  38691. "media_gallery_entries":&#xD;
  38692. [{&#xD;
  38693. "id": null,&#xD;
  38694. "label":"test_label_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38695. "position":1,&#xD;
  38696. "disabled":false,&#xD;
  38697. "media_type":"image",&#xD;
  38698. "types":["image"],&#xD;
  38699. "content":{&#xD;
  38700. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  38701. "type": "image/jpeg",&#xD;
  38702. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  38703. }&#xD;
  38704. }&#xD;
  38705. ]&#xD;
  38706. }&#xD;
  38707. }</stringProp>
  38708. <stringProp name="Argument.metadata">=</stringProp>
  38709. </elementProp>
  38710. </collectionProp>
  38711. </elementProp>
  38712. <stringProp name="HTTPSampler.domain"/>
  38713. <stringProp name="HTTPSampler.port"/>
  38714. <stringProp name="HTTPSampler.connect_timeout"/>
  38715. <stringProp name="HTTPSampler.response_timeout"/>
  38716. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38717. <stringProp name="HTTPSampler.contentEncoding"/>
  38718. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  38719. <stringProp name="HTTPSampler.method">POST</stringProp>
  38720. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38721. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38722. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38723. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38724. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38725. <stringProp name="HTTPSampler.embedded_url_re"/>
  38726. </HTTPSamplerProxy>
  38727. <hashTree>
  38728. <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 product id" enabled="true">
  38729. <stringProp name="VAR">bundle_child_1_product_id</stringProp>
  38730. <stringProp name="JSONPATH">$.id</stringProp>
  38731. <stringProp name="DEFAULT"/>
  38732. <stringProp name="VARIABLE"/>
  38733. <stringProp name="SUBJECT">BODY</stringProp>
  38734. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38735. <hashTree/>
  38736. <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 product sku" enabled="true">
  38737. <stringProp name="VAR">bundle_child_1_product_sku</stringProp>
  38738. <stringProp name="JSONPATH">$.sku</stringProp>
  38739. <stringProp name="DEFAULT"/>
  38740. <stringProp name="VARIABLE"/>
  38741. <stringProp name="SUBJECT">BODY</stringProp>
  38742. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38743. <hashTree/>
  38744. <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 stock item id" enabled="true">
  38745. <stringProp name="VAR">bundle_child_1_product_stock_item_id</stringProp>
  38746. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  38747. <stringProp name="DEFAULT"/>
  38748. <stringProp name="VARIABLE"/>
  38749. <stringProp name="SUBJECT">BODY</stringProp>
  38750. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38751. <hashTree/>
  38752. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  38753. <collectionProp name="Asserion.test_strings">
  38754. <stringProp name="89649215">^\d+$</stringProp>
  38755. </collectionProp>
  38756. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38757. <boolProp name="Assertion.assume_success">false</boolProp>
  38758. <intProp name="Assertion.test_type">1</intProp>
  38759. <stringProp name="Assertion.scope">variable</stringProp>
  38760. <stringProp name="Scope.variable">bundle_child_1_product_id</stringProp>
  38761. </ResponseAssertion>
  38762. <hashTree/>
  38763. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  38764. <collectionProp name="Asserion.test_strings">
  38765. <stringProp name="-425311000">^[A-Za-z0-9-]+$</stringProp>
  38766. </collectionProp>
  38767. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38768. <boolProp name="Assertion.assume_success">false</boolProp>
  38769. <intProp name="Assertion.test_type">1</intProp>
  38770. <stringProp name="Assertion.scope">variable</stringProp>
  38771. <stringProp name="Scope.variable">bundle_child_1_product_sku</stringProp>
  38772. </ResponseAssertion>
  38773. <hashTree/>
  38774. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  38775. <collectionProp name="Asserion.test_strings">
  38776. <stringProp name="89649215">^\d+$</stringProp>
  38777. </collectionProp>
  38778. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38779. <boolProp name="Assertion.assume_success">false</boolProp>
  38780. <intProp name="Assertion.test_type">1</intProp>
  38781. <stringProp name="Assertion.scope">variable</stringProp>
  38782. <stringProp name="Scope.variable">bundle_child_1_product_stock_item_id</stringProp>
  38783. </ResponseAssertion>
  38784. <hashTree/>
  38785. </hashTree>
  38786. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create child product child simple 2" enabled="true">
  38787. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38788. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38789. <collectionProp name="Arguments.arguments">
  38790. <elementProp name="" elementType="HTTPArgument">
  38791. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38792. <stringProp name="Argument.value">{&#xD;
  38793. "product": {&#xD;
  38794. "sku": "apsku-test-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38795. "name": "Extensible_Product_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38796. "visibility": "1",&#xD;
  38797. "type_id": "simple",&#xD;
  38798. "price": "3.62",&#xD;
  38799. "status": "1",&#xD;
  38800. "attribute_set_id": "4",&#xD;
  38801. "custom_attributes": [&#xD;
  38802. {&#xD;
  38803. "attribute_code": "cost",&#xD;
  38804. "value": ""&#xD;
  38805. },&#xD;
  38806. {&#xD;
  38807. "attribute_code": "description",&#xD;
  38808. "value": "Description"&#xD;
  38809. }&#xD;
  38810. ],&#xD;
  38811. "extension_attributes":{&#xD;
  38812. "stock_item":{&#xD;
  38813. "manage_stock": 1, &#xD;
  38814. "is_in_stock": 1,&#xD;
  38815. "qty":"100"&#xD;
  38816. }&#xD;
  38817. } ,&#xD;
  38818. "media_gallery_entries":&#xD;
  38819. [{&#xD;
  38820. "id": null,&#xD;
  38821. "label":"test_label_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38822. "position":1,&#xD;
  38823. "disabled":false,&#xD;
  38824. "media_type":"image",&#xD;
  38825. "types":["image"],&#xD;
  38826. "content":{&#xD;
  38827. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  38828. "type": "image/jpeg",&#xD;
  38829. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  38830. }&#xD;
  38831. }&#xD;
  38832. ]&#xD;
  38833. }&#xD;
  38834. }</stringProp>
  38835. <stringProp name="Argument.metadata">=</stringProp>
  38836. </elementProp>
  38837. </collectionProp>
  38838. </elementProp>
  38839. <stringProp name="HTTPSampler.domain"/>
  38840. <stringProp name="HTTPSampler.port"/>
  38841. <stringProp name="HTTPSampler.connect_timeout"/>
  38842. <stringProp name="HTTPSampler.response_timeout"/>
  38843. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38844. <stringProp name="HTTPSampler.contentEncoding"/>
  38845. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  38846. <stringProp name="HTTPSampler.method">POST</stringProp>
  38847. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38848. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38849. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38850. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38851. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38852. <stringProp name="HTTPSampler.embedded_url_re"/>
  38853. </HTTPSamplerProxy>
  38854. <hashTree>
  38855. <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 product id" enabled="true">
  38856. <stringProp name="VAR">bundle_child_2_product_id</stringProp>
  38857. <stringProp name="JSONPATH">$.id</stringProp>
  38858. <stringProp name="DEFAULT"/>
  38859. <stringProp name="VARIABLE"/>
  38860. <stringProp name="SUBJECT">BODY</stringProp>
  38861. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38862. <hashTree/>
  38863. <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 product sku" enabled="true">
  38864. <stringProp name="VAR">bundle_child_2_product_sku</stringProp>
  38865. <stringProp name="JSONPATH">$.sku</stringProp>
  38866. <stringProp name="DEFAULT"/>
  38867. <stringProp name="VARIABLE"/>
  38868. <stringProp name="SUBJECT">BODY</stringProp>
  38869. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38870. <hashTree/>
  38871. <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 stock item id" enabled="true">
  38872. <stringProp name="VAR">bundle_child_2_product_stock_item_id</stringProp>
  38873. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  38874. <stringProp name="DEFAULT"/>
  38875. <stringProp name="VARIABLE"/>
  38876. <stringProp name="SUBJECT">BODY</stringProp>
  38877. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  38878. <hashTree/>
  38879. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  38880. <collectionProp name="Asserion.test_strings">
  38881. <stringProp name="89649215">^\d+$</stringProp>
  38882. </collectionProp>
  38883. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38884. <boolProp name="Assertion.assume_success">false</boolProp>
  38885. <intProp name="Assertion.test_type">1</intProp>
  38886. <stringProp name="Assertion.scope">variable</stringProp>
  38887. <stringProp name="Scope.variable">bundle_child_2_product_id</stringProp>
  38888. </ResponseAssertion>
  38889. <hashTree/>
  38890. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  38891. <collectionProp name="Asserion.test_strings">
  38892. <stringProp name="-425311000">^[A-Za-z0-9-]+$</stringProp>
  38893. </collectionProp>
  38894. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38895. <boolProp name="Assertion.assume_success">false</boolProp>
  38896. <intProp name="Assertion.test_type">1</intProp>
  38897. <stringProp name="Assertion.scope">variable</stringProp>
  38898. <stringProp name="Scope.variable">bundle_child_2_product_sku</stringProp>
  38899. </ResponseAssertion>
  38900. <hashTree/>
  38901. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  38902. <collectionProp name="Asserion.test_strings">
  38903. <stringProp name="89649215">^\d+$</stringProp>
  38904. </collectionProp>
  38905. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38906. <boolProp name="Assertion.assume_success">false</boolProp>
  38907. <intProp name="Assertion.test_type">1</intProp>
  38908. <stringProp name="Assertion.scope">variable</stringProp>
  38909. <stringProp name="Scope.variable">bundle_child_2_product_stock_item_id</stringProp>
  38910. </ResponseAssertion>
  38911. <hashTree/>
  38912. </hashTree>
  38913. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create option and values for bundle product" enabled="true">
  38914. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38915. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38916. <collectionProp name="Arguments.arguments">
  38917. <elementProp name="" elementType="HTTPArgument">
  38918. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38919. <stringProp name="Argument.value">{&#xD;
  38920. "option": {&#xD;
  38921. "title": "option-${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38922. "required": 1,&#xD;
  38923. "type": "select",&#xD;
  38924. "position": 0,&#xD;
  38925. "sku": "${bundle_product_sku}",&#xD;
  38926. "product_links": [&#xD;
  38927. {&#xD;
  38928. "sku": "${bundle_child_1_product_sku}",&#xD;
  38929. "qty": 1,&#xD;
  38930. "position": 0,&#xD;
  38931. "is_default": 1,&#xD;
  38932. "can_change_quantity": 0&#xD;
  38933. },&#xD;
  38934. {&#xD;
  38935. "sku": "${bundle_child_2_product_sku}",&#xD;
  38936. "qty": 1,&#xD;
  38937. "position": 0,&#xD;
  38938. "is_default": 0,&#xD;
  38939. "can_change_quantity": 0&#xD;
  38940. }&#xD;
  38941. ]&#xD;
  38942. }&#xD;
  38943. }</stringProp>
  38944. <stringProp name="Argument.metadata">=</stringProp>
  38945. </elementProp>
  38946. </collectionProp>
  38947. </elementProp>
  38948. <stringProp name="HTTPSampler.domain"/>
  38949. <stringProp name="HTTPSampler.port"/>
  38950. <stringProp name="HTTPSampler.connect_timeout"/>
  38951. <stringProp name="HTTPSampler.response_timeout"/>
  38952. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  38953. <stringProp name="HTTPSampler.contentEncoding"/>
  38954. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/bundle-products/options/add</stringProp>
  38955. <stringProp name="HTTPSampler.method">POST</stringProp>
  38956. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  38957. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  38958. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  38959. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  38960. <boolProp name="HTTPSampler.monitor">false</boolProp>
  38961. <stringProp name="HTTPSampler.embedded_url_re"/>
  38962. </HTTPSamplerProxy>
  38963. <hashTree>
  38964. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert option id" enabled="true">
  38965. <collectionProp name="Asserion.test_strings">
  38966. <stringProp name="1865724479">^\"\d+\"$</stringProp>
  38967. </collectionProp>
  38968. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  38969. <boolProp name="Assertion.assume_success">false</boolProp>
  38970. <intProp name="Assertion.test_type">1</intProp>
  38971. <stringProp name="Scope.variable"/>
  38972. </ResponseAssertion>
  38973. <hashTree/>
  38974. </hashTree>
  38975. </hashTree>
  38976. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Create downloadable product" enabled="true">
  38977. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_downloadable_product_with_extensible_data_objects.jmx</stringProp>
  38978. </OnceOnlyController>
  38979. <hashTree>
  38980. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create downloadable product with extensible data objects" enabled="true">
  38981. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  38982. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  38983. <collectionProp name="Arguments.arguments">
  38984. <elementProp name="" elementType="HTTPArgument">
  38985. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  38986. <stringProp name="Argument.value">{&#xD;
  38987. "product": {&#xD;
  38988. "sku": "apsku-test-${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38989. "name": "Extensible_Product_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  38990. "visibility": "4",&#xD;
  38991. "type_id": "downloadable",&#xD;
  38992. "price": "3.62",&#xD;
  38993. "status": "1",&#xD;
  38994. "attribute_set_id": "4",&#xD;
  38995. "custom_attributes": [&#xD;
  38996. {&#xD;
  38997. "attribute_code": "cost",&#xD;
  38998. "value": ""&#xD;
  38999. },&#xD;
  39000. {&#xD;
  39001. "attribute_code": "description",&#xD;
  39002. "value": "Description"&#xD;
  39003. }&#xD;
  39004. ],&#xD;
  39005. "extension_attributes":{&#xD;
  39006. "stock_item":{&#xD;
  39007. "manage_stock": 1, &#xD;
  39008. "is_in_stock": 1,&#xD;
  39009. "qty":"100"&#xD;
  39010. }&#xD;
  39011. } ,&#xD;
  39012. "media_gallery_entries":&#xD;
  39013. [{&#xD;
  39014. "id": null,&#xD;
  39015. "label":"test_label_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39016. "position":1,&#xD;
  39017. "disabled":false,&#xD;
  39018. "media_type":"image",&#xD;
  39019. "types":["image"],&#xD;
  39020. "content":{&#xD;
  39021. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39022. "type": "image/jpeg",&#xD;
  39023. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  39024. }&#xD;
  39025. }&#xD;
  39026. ]&#xD;
  39027. }&#xD;
  39028. }</stringProp>
  39029. <stringProp name="Argument.metadata">=</stringProp>
  39030. </elementProp>
  39031. </collectionProp>
  39032. </elementProp>
  39033. <stringProp name="HTTPSampler.domain"/>
  39034. <stringProp name="HTTPSampler.port"/>
  39035. <stringProp name="HTTPSampler.connect_timeout"/>
  39036. <stringProp name="HTTPSampler.response_timeout"/>
  39037. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39038. <stringProp name="HTTPSampler.contentEncoding"/>
  39039. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  39040. <stringProp name="HTTPSampler.method">POST</stringProp>
  39041. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39042. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39043. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39044. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39045. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39046. <stringProp name="HTTPSampler.embedded_url_re"/>
  39047. </HTTPSamplerProxy>
  39048. <hashTree>
  39049. <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 downloadable product id" enabled="true">
  39050. <stringProp name="VAR">downloadable_product_id</stringProp>
  39051. <stringProp name="JSONPATH">$.id</stringProp>
  39052. <stringProp name="DEFAULT"/>
  39053. <stringProp name="VARIABLE"/>
  39054. <stringProp name="SUBJECT">BODY</stringProp>
  39055. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39056. <hashTree/>
  39057. <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 downloadable product sku" enabled="true">
  39058. <stringProp name="VAR">downloadable_product_sku</stringProp>
  39059. <stringProp name="JSONPATH">$.sku</stringProp>
  39060. <stringProp name="DEFAULT"/>
  39061. <stringProp name="VARIABLE"/>
  39062. <stringProp name="SUBJECT">BODY</stringProp>
  39063. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39064. <hashTree/>
  39065. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  39066. <collectionProp name="Asserion.test_strings">
  39067. <stringProp name="89649215">^\d+$</stringProp>
  39068. </collectionProp>
  39069. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39070. <boolProp name="Assertion.assume_success">false</boolProp>
  39071. <intProp name="Assertion.test_type">1</intProp>
  39072. <stringProp name="Assertion.scope">variable</stringProp>
  39073. <stringProp name="Scope.variable">downloadable_product_id</stringProp>
  39074. </ResponseAssertion>
  39075. <hashTree/>
  39076. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  39077. <collectionProp name="Asserion.test_strings">
  39078. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  39079. </collectionProp>
  39080. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39081. <boolProp name="Assertion.assume_success">false</boolProp>
  39082. <intProp name="Assertion.test_type">1</intProp>
  39083. <stringProp name="Assertion.scope">variable</stringProp>
  39084. <stringProp name="Scope.variable">downloadable_product_sku</stringProp>
  39085. </ResponseAssertion>
  39086. <hashTree/>
  39087. </hashTree>
  39088. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Create Links and samples" enabled="true"/>
  39089. <hashTree>
  39090. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create link 1" enabled="true">
  39091. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39092. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39093. <collectionProp name="Arguments.arguments">
  39094. <elementProp name="" elementType="HTTPArgument">
  39095. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39096. <stringProp name="Argument.value">{&#xD;
  39097. "link": {&#xD;
  39098. "title": "link1",&#xD;
  39099. "sort_order": 0,&#xD;
  39100. "is_shareable": 1,&#xD;
  39101. "price": 10,&#xD;
  39102. "number_of_downloads": 10,&#xD;
  39103. "link_type": "file",&#xD;
  39104. "link_file_content": {&#xD;
  39105. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39106. "name": "file1.jpeg",&#xD;
  39107. "extension_attributes": {}&#xD;
  39108. },&#xD;
  39109. "sample_type": "file",&#xD;
  39110. "sample_file_content": {&#xD;
  39111. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39112. "name": "file1.jpeg",&#xD;
  39113. "extension_attributes": {}&#xD;
  39114. },&#xD;
  39115. "extension_attributes": {}&#xD;
  39116. },&#xD;
  39117. "isGlobalScopeContent": 1&#xD;
  39118. }&#xD;
  39119. </stringProp>
  39120. <stringProp name="Argument.metadata">=</stringProp>
  39121. </elementProp>
  39122. </collectionProp>
  39123. </elementProp>
  39124. <stringProp name="HTTPSampler.domain"/>
  39125. <stringProp name="HTTPSampler.port"/>
  39126. <stringProp name="HTTPSampler.connect_timeout"/>
  39127. <stringProp name="HTTPSampler.response_timeout"/>
  39128. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39129. <stringProp name="HTTPSampler.contentEncoding"/>
  39130. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${downloadable_product_sku}/downloadable-links</stringProp>
  39131. <stringProp name="HTTPSampler.method">POST</stringProp>
  39132. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39133. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39134. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39135. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39136. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39137. <stringProp name="HTTPSampler.embedded_url_re"/>
  39138. </HTTPSamplerProxy>
  39139. <hashTree>
  39140. <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 downloadable link id" enabled="true">
  39141. <stringProp name="VAR">downloadable_link_id</stringProp>
  39142. <stringProp name="JSONPATH">$</stringProp>
  39143. <stringProp name="DEFAULT"/>
  39144. <stringProp name="VARIABLE"/>
  39145. <stringProp name="SUBJECT">BODY</stringProp>
  39146. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39147. <hashTree/>
  39148. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert response id not null" enabled="true">
  39149. <collectionProp name="Asserion.test_strings">
  39150. <stringProp name="89649215">^\d+$</stringProp>
  39151. </collectionProp>
  39152. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39153. <boolProp name="Assertion.assume_success">false</boolProp>
  39154. <intProp name="Assertion.test_type">1</intProp>
  39155. <stringProp name="Scope.variable">downloadable_link_id</stringProp>
  39156. <stringProp name="Assertion.scope">variable</stringProp>
  39157. </ResponseAssertion>
  39158. <hashTree/>
  39159. </hashTree>
  39160. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create link 2" enabled="true">
  39161. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39162. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39163. <collectionProp name="Arguments.arguments">
  39164. <elementProp name="" elementType="HTTPArgument">
  39165. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39166. <stringProp name="Argument.value">{&#xD;
  39167. "link": {&#xD;
  39168. "title": "link2",&#xD;
  39169. "sort_order": 0,&#xD;
  39170. "is_shareable": 1,&#xD;
  39171. "price": 10,&#xD;
  39172. "number_of_downloads": 10,&#xD;
  39173. "link_type": "file",&#xD;
  39174. "link_file_content": {&#xD;
  39175. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39176. "name": "file1.jpeg",&#xD;
  39177. "extension_attributes": {}&#xD;
  39178. },&#xD;
  39179. "sample_type": "file",&#xD;
  39180. "sample_file_content": {&#xD;
  39181. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39182. "name": "file1.jpeg",&#xD;
  39183. "extension_attributes": {}&#xD;
  39184. },&#xD;
  39185. "extension_attributes": {}&#xD;
  39186. },&#xD;
  39187. "isGlobalScopeContent": 1&#xD;
  39188. }&#xD;
  39189. </stringProp>
  39190. <stringProp name="Argument.metadata">=</stringProp>
  39191. </elementProp>
  39192. </collectionProp>
  39193. </elementProp>
  39194. <stringProp name="HTTPSampler.domain"/>
  39195. <stringProp name="HTTPSampler.port"/>
  39196. <stringProp name="HTTPSampler.connect_timeout"/>
  39197. <stringProp name="HTTPSampler.response_timeout"/>
  39198. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39199. <stringProp name="HTTPSampler.contentEncoding"/>
  39200. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${downloadable_product_sku}/downloadable-links</stringProp>
  39201. <stringProp name="HTTPSampler.method">POST</stringProp>
  39202. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39203. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39204. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39205. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39206. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39207. <stringProp name="HTTPSampler.embedded_url_re"/>
  39208. </HTTPSamplerProxy>
  39209. <hashTree>
  39210. <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 downloadable link id" enabled="true">
  39211. <stringProp name="VAR">downloadable_link_id</stringProp>
  39212. <stringProp name="JSONPATH">$</stringProp>
  39213. <stringProp name="DEFAULT"/>
  39214. <stringProp name="VARIABLE"/>
  39215. <stringProp name="SUBJECT">BODY</stringProp>
  39216. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39217. <hashTree/>
  39218. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert response id not null" enabled="true">
  39219. <collectionProp name="Asserion.test_strings">
  39220. <stringProp name="89649215">^\d+$</stringProp>
  39221. </collectionProp>
  39222. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39223. <boolProp name="Assertion.assume_success">false</boolProp>
  39224. <intProp name="Assertion.test_type">1</intProp>
  39225. <stringProp name="Scope.variable">downloadable_link_id</stringProp>
  39226. <stringProp name="Assertion.scope">variable</stringProp>
  39227. </ResponseAssertion>
  39228. <hashTree/>
  39229. </hashTree>
  39230. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create link 3" enabled="true">
  39231. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39232. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39233. <collectionProp name="Arguments.arguments">
  39234. <elementProp name="" elementType="HTTPArgument">
  39235. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39236. <stringProp name="Argument.value">{&#xD;
  39237. "link": {&#xD;
  39238. "title": "link3",&#xD;
  39239. "sort_order": 0,&#xD;
  39240. "is_shareable": 1,&#xD;
  39241. "price": 10,&#xD;
  39242. "number_of_downloads": 10,&#xD;
  39243. "link_type": "file",&#xD;
  39244. "link_file_content": {&#xD;
  39245. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39246. "name": "file1.jpeg",&#xD;
  39247. "extension_attributes": {}&#xD;
  39248. },&#xD;
  39249. "sample_type": "file",&#xD;
  39250. "sample_file_content": {&#xD;
  39251. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39252. "name": "file1.jpeg",&#xD;
  39253. "extension_attributes": {}&#xD;
  39254. },&#xD;
  39255. "extension_attributes": {}&#xD;
  39256. },&#xD;
  39257. "isGlobalScopeContent": 1&#xD;
  39258. }&#xD;
  39259. </stringProp>
  39260. <stringProp name="Argument.metadata">=</stringProp>
  39261. </elementProp>
  39262. </collectionProp>
  39263. </elementProp>
  39264. <stringProp name="HTTPSampler.domain"/>
  39265. <stringProp name="HTTPSampler.port"/>
  39266. <stringProp name="HTTPSampler.connect_timeout"/>
  39267. <stringProp name="HTTPSampler.response_timeout"/>
  39268. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39269. <stringProp name="HTTPSampler.contentEncoding"/>
  39270. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${downloadable_product_sku}/downloadable-links</stringProp>
  39271. <stringProp name="HTTPSampler.method">POST</stringProp>
  39272. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39273. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39274. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39275. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39276. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39277. <stringProp name="HTTPSampler.embedded_url_re"/>
  39278. </HTTPSamplerProxy>
  39279. <hashTree>
  39280. <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 downloadable link id" enabled="true">
  39281. <stringProp name="VAR">downloadable_link_id</stringProp>
  39282. <stringProp name="JSONPATH">$</stringProp>
  39283. <stringProp name="DEFAULT"/>
  39284. <stringProp name="VARIABLE"/>
  39285. <stringProp name="SUBJECT">BODY</stringProp>
  39286. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39287. <hashTree/>
  39288. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert response id not null" enabled="true">
  39289. <collectionProp name="Asserion.test_strings">
  39290. <stringProp name="89649215">^\d+$</stringProp>
  39291. </collectionProp>
  39292. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39293. <boolProp name="Assertion.assume_success">false</boolProp>
  39294. <intProp name="Assertion.test_type">1</intProp>
  39295. <stringProp name="Scope.variable">downloadable_link_id</stringProp>
  39296. <stringProp name="Assertion.scope">variable</stringProp>
  39297. </ResponseAssertion>
  39298. <hashTree/>
  39299. </hashTree>
  39300. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create sample 1" enabled="true">
  39301. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39302. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39303. <collectionProp name="Arguments.arguments">
  39304. <elementProp name="" elementType="HTTPArgument">
  39305. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39306. <stringProp name="Argument.value">{&#xD;
  39307. "sample": {&#xD;
  39308. "title": "sample1",&#xD;
  39309. "sort_order": 0,&#xD;
  39310. "sample_type": "file",&#xD;
  39311. "sample_file_content": {&#xD;
  39312. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39313. "name": "file2.jpeg",&#xD;
  39314. "extension_attributes": {}&#xD;
  39315. },&#xD;
  39316. "sample_url": "string",&#xD;
  39317. "extension_attributes": {}&#xD;
  39318. },&#xD;
  39319. "isGlobalScopeContent": 1&#xD;
  39320. }</stringProp>
  39321. <stringProp name="Argument.metadata">=</stringProp>
  39322. </elementProp>
  39323. </collectionProp>
  39324. </elementProp>
  39325. <stringProp name="HTTPSampler.domain"/>
  39326. <stringProp name="HTTPSampler.port"/>
  39327. <stringProp name="HTTPSampler.connect_timeout"/>
  39328. <stringProp name="HTTPSampler.response_timeout"/>
  39329. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39330. <stringProp name="HTTPSampler.contentEncoding"/>
  39331. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${downloadable_product_sku}/downloadable-links/samples</stringProp>
  39332. <stringProp name="HTTPSampler.method">POST</stringProp>
  39333. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39334. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39335. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39336. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39337. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39338. <stringProp name="HTTPSampler.embedded_url_re"/>
  39339. </HTTPSamplerProxy>
  39340. <hashTree>
  39341. <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 downloadable sample id" enabled="true">
  39342. <stringProp name="VAR">sample_link_id</stringProp>
  39343. <stringProp name="JSONPATH">$</stringProp>
  39344. <stringProp name="DEFAULT"/>
  39345. <stringProp name="VARIABLE"/>
  39346. <stringProp name="SUBJECT">BODY</stringProp>
  39347. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39348. <hashTree/>
  39349. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert response id not null" enabled="true">
  39350. <collectionProp name="Asserion.test_strings">
  39351. <stringProp name="89649215">^\d+$</stringProp>
  39352. </collectionProp>
  39353. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39354. <boolProp name="Assertion.assume_success">false</boolProp>
  39355. <intProp name="Assertion.test_type">1</intProp>
  39356. <stringProp name="Assertion.scope">variable</stringProp>
  39357. <stringProp name="Scope.variable">sample_link_id</stringProp>
  39358. </ResponseAssertion>
  39359. <hashTree/>
  39360. </hashTree>
  39361. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create sample 2" enabled="true">
  39362. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39363. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39364. <collectionProp name="Arguments.arguments">
  39365. <elementProp name="" elementType="HTTPArgument">
  39366. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39367. <stringProp name="Argument.value">{&#xD;
  39368. "sample": {&#xD;
  39369. "title": "sample2",&#xD;
  39370. "sort_order": 0,&#xD;
  39371. "sample_type": "file",&#xD;
  39372. "sample_file_content": {&#xD;
  39373. "file_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39374. "name": "file2.jpeg",&#xD;
  39375. "extension_attributes": {}&#xD;
  39376. },&#xD;
  39377. "sample_url": "string",&#xD;
  39378. "extension_attributes": {}&#xD;
  39379. },&#xD;
  39380. "isGlobalScopeContent": 1&#xD;
  39381. }</stringProp>
  39382. <stringProp name="Argument.metadata">=</stringProp>
  39383. </elementProp>
  39384. </collectionProp>
  39385. </elementProp>
  39386. <stringProp name="HTTPSampler.domain"/>
  39387. <stringProp name="HTTPSampler.port"/>
  39388. <stringProp name="HTTPSampler.connect_timeout"/>
  39389. <stringProp name="HTTPSampler.response_timeout"/>
  39390. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39391. <stringProp name="HTTPSampler.contentEncoding"/>
  39392. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${downloadable_product_sku}/downloadable-links/samples</stringProp>
  39393. <stringProp name="HTTPSampler.method">POST</stringProp>
  39394. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39395. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39396. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39397. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39398. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39399. <stringProp name="HTTPSampler.embedded_url_re"/>
  39400. </HTTPSamplerProxy>
  39401. <hashTree>
  39402. <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 downloadable sample id" enabled="true">
  39403. <stringProp name="VAR">sample_link_id</stringProp>
  39404. <stringProp name="JSONPATH">$</stringProp>
  39405. <stringProp name="DEFAULT"/>
  39406. <stringProp name="VARIABLE"/>
  39407. <stringProp name="SUBJECT">BODY</stringProp>
  39408. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39409. <hashTree/>
  39410. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert response id not null" enabled="true">
  39411. <collectionProp name="Asserion.test_strings">
  39412. <stringProp name="89649215">^\d+$</stringProp>
  39413. </collectionProp>
  39414. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39415. <boolProp name="Assertion.assume_success">false</boolProp>
  39416. <intProp name="Assertion.test_type">1</intProp>
  39417. <stringProp name="Assertion.scope">variable</stringProp>
  39418. <stringProp name="Scope.variable">sample_link_id</stringProp>
  39419. </ResponseAssertion>
  39420. <hashTree/>
  39421. </hashTree>
  39422. </hashTree>
  39423. </hashTree>
  39424. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create virtual product with extensible data objects" enabled="true">
  39425. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39426. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39427. <collectionProp name="Arguments.arguments">
  39428. <elementProp name="" elementType="HTTPArgument">
  39429. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39430. <stringProp name="Argument.value">{&#xD;
  39431. "product": {&#xD;
  39432. "sku": "apsku-test-${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39433. "name": "Extensible_Product_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39434. "visibility": "4",&#xD;
  39435. "type_id": "virtual",&#xD;
  39436. "price": "3.62",&#xD;
  39437. "status": "1",&#xD;
  39438. "attribute_set_id": "4",&#xD;
  39439. "custom_attributes": [&#xD;
  39440. {&#xD;
  39441. "attribute_code": "cost",&#xD;
  39442. "value": ""&#xD;
  39443. },&#xD;
  39444. {&#xD;
  39445. "attribute_code": "description",&#xD;
  39446. "value": "Description"&#xD;
  39447. }&#xD;
  39448. ],&#xD;
  39449. "extension_attributes":{&#xD;
  39450. "stock_item":{&#xD;
  39451. "manage_stock": 1, &#xD;
  39452. "is_in_stock": 1,&#xD;
  39453. "qty":"100"&#xD;
  39454. }&#xD;
  39455. } ,&#xD;
  39456. "media_gallery_entries":&#xD;
  39457. [{&#xD;
  39458. "id": null,&#xD;
  39459. "label":"test_label_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39460. "position":1,&#xD;
  39461. "disabled":0,&#xD;
  39462. "media_type":"image",&#xD;
  39463. "types":["image"],&#xD;
  39464. "content":{&#xD;
  39465. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39466. "type": "image/jpeg",&#xD;
  39467. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  39468. }&#xD;
  39469. }&#xD;
  39470. ]&#xD;
  39471. }&#xD;
  39472. }</stringProp>
  39473. <stringProp name="Argument.metadata">=</stringProp>
  39474. </elementProp>
  39475. </collectionProp>
  39476. </elementProp>
  39477. <stringProp name="HTTPSampler.domain"/>
  39478. <stringProp name="HTTPSampler.port"/>
  39479. <stringProp name="HTTPSampler.connect_timeout"/>
  39480. <stringProp name="HTTPSampler.response_timeout"/>
  39481. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39482. <stringProp name="HTTPSampler.contentEncoding"/>
  39483. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  39484. <stringProp name="HTTPSampler.method">POST</stringProp>
  39485. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39486. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39487. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39488. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39489. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39490. <stringProp name="HTTPSampler.embedded_url_re"/>
  39491. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_virtual_product_with_extensible_data_objects.jmx</stringProp>
  39492. </HTTPSamplerProxy>
  39493. <hashTree>
  39494. <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 product id" enabled="true">
  39495. <stringProp name="VAR">virtual_product_id</stringProp>
  39496. <stringProp name="JSONPATH">$.id</stringProp>
  39497. <stringProp name="DEFAULT"/>
  39498. <stringProp name="VARIABLE"/>
  39499. <stringProp name="SUBJECT">BODY</stringProp>
  39500. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39501. <hashTree/>
  39502. <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 product sku" enabled="true">
  39503. <stringProp name="VAR">virtual_product_sku</stringProp>
  39504. <stringProp name="JSONPATH">$.sku</stringProp>
  39505. <stringProp name="DEFAULT"/>
  39506. <stringProp name="VARIABLE"/>
  39507. <stringProp name="SUBJECT">BODY</stringProp>
  39508. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39509. <hashTree/>
  39510. <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 stock item id" enabled="true">
  39511. <stringProp name="VAR">virtual_stock_item_id</stringProp>
  39512. <stringProp name="JSONPATH">$.extension_attributes.stock_item.item_id</stringProp>
  39513. <stringProp name="DEFAULT"/>
  39514. <stringProp name="VARIABLE"/>
  39515. <stringProp name="SUBJECT">BODY</stringProp>
  39516. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39517. <hashTree/>
  39518. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  39519. <collectionProp name="Asserion.test_strings">
  39520. <stringProp name="89649215">^\d+$</stringProp>
  39521. </collectionProp>
  39522. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39523. <boolProp name="Assertion.assume_success">false</boolProp>
  39524. <intProp name="Assertion.test_type">1</intProp>
  39525. <stringProp name="Assertion.scope">variable</stringProp>
  39526. <stringProp name="Scope.variable">virtual_product_id</stringProp>
  39527. </ResponseAssertion>
  39528. <hashTree/>
  39529. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  39530. <collectionProp name="Asserion.test_strings">
  39531. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  39532. </collectionProp>
  39533. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39534. <boolProp name="Assertion.assume_success">false</boolProp>
  39535. <intProp name="Assertion.test_type">1</intProp>
  39536. <stringProp name="Assertion.scope">variable</stringProp>
  39537. <stringProp name="Scope.variable">virtual_product_sku</stringProp>
  39538. </ResponseAssertion>
  39539. <hashTree/>
  39540. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert stock item id not null" enabled="true">
  39541. <collectionProp name="Asserion.test_strings">
  39542. <stringProp name="89649215">^\d+$</stringProp>
  39543. </collectionProp>
  39544. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39545. <boolProp name="Assertion.assume_success">false</boolProp>
  39546. <intProp name="Assertion.test_type">1</intProp>
  39547. <stringProp name="Assertion.scope">variable</stringProp>
  39548. <stringProp name="Scope.variable">virtual_stock_item_id</stringProp>
  39549. </ResponseAssertion>
  39550. <hashTree/>
  39551. </hashTree>
  39552. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Create grouped product" enabled="true">
  39553. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_grouped_product_with_extensible_data_objects.jmx</stringProp>
  39554. </OnceOnlyController>
  39555. <hashTree>
  39556. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create grouped product with extensible data objects" enabled="true">
  39557. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39558. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39559. <collectionProp name="Arguments.arguments">
  39560. <elementProp name="" elementType="HTTPArgument">
  39561. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39562. <stringProp name="Argument.value">{&#xD;
  39563. "product": {&#xD;
  39564. "sku": "apsku-test-${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39565. "name": "Extensible_Product_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39566. "visibility": "4",&#xD;
  39567. "type_id": "grouped",&#xD;
  39568. "price": "3.62",&#xD;
  39569. "status": "1",&#xD;
  39570. "attribute_set_id": "4",&#xD;
  39571. "custom_attributes": [&#xD;
  39572. {&#xD;
  39573. "attribute_code": "cost",&#xD;
  39574. "value": ""&#xD;
  39575. },&#xD;
  39576. {&#xD;
  39577. "attribute_code": "description",&#xD;
  39578. "value": "Description"&#xD;
  39579. }&#xD;
  39580. ],&#xD;
  39581. "extension_attributes":{&#xD;
  39582. "stock_item":{&#xD;
  39583. "manage_stock": 1, &#xD;
  39584. "is_in_stock": 1,&#xD;
  39585. "qty":"100"&#xD;
  39586. }&#xD;
  39587. } ,&#xD;
  39588. "media_gallery_entries":&#xD;
  39589. [{&#xD;
  39590. "id": null,&#xD;
  39591. "label":"test_label_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  39592. "position":1,&#xD;
  39593. "disabled":false,&#xD;
  39594. "media_type":"image",&#xD;
  39595. "types":["image"],&#xD;
  39596. "content":{&#xD;
  39597. "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABgAGADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iioLy8t9Ps5bu7lWKCIZd26KKaTbshpX0RPRXN/8J/4V/6DVv8Ak3+FH/Cf+Ff+g1b/AJN/hXR9SxP/AD7l9zNPYVf5X9x0lFc3/wAJ/wCFf+g1b/k3+FH/AAn/AIV/6DVv+Tf4UfUsT/z7l9zD2FX+V/cdJRXN/wDCf+Ff+g1b/k3+FH/Cf+Ff+g1b/k3+FH1LE/8APuX3MPYVf5X9x0lFc3/wn/hX/oNW/wCTf4Uf8J/4V/6DVv8Ak3+FH1LE/wDPuX3MPYVf5X9x0lFVdP1G01WyS8sZ1nt3JCyL0ODg/qKtVzyi4u0lZmbTTswrm/H3/Iiav/1x/wDZhXSVzfj7/kRNX/64/wDswrowf+80/wDEvzNKH8WPqj5voorB1zS7OLT7m7SHE5YNu3HqWGeM471+kYutOhSdSEU7Jt3dtF20f6H1FacqcHJK9vO36M3qKzTa6foqPdxwlWxswrFi2T0AJ9aRdVmjkT7XYSW8TsFEm8MAT0yB0qfrcafu1tJeV2l2u7K3zsL2yjpPR+V3+NjTorPn1GVbt7a1s2uJIwDJ84ULnpyaik1SWTTrp47Z0uIQRJGzAFOPvZ70Sx1GLau9L9H03SdrNrsgdeCuu3k+hq0VR0ma4msImuIih2LtYvuLjA+b2zV6uijUVWmprqaQkpxUl1PoP4Xf8iBYf78v/oxq7GuO+F3/ACIFh/vy/wDoxq7GvzTMf98q/wCJ/mfLYn+NP1YVzfj7/kRNX/64/wDswrpK5vx9/wAiJq//AFx/9mFRg/8Aeaf+JfmTQ/ix9UfN9ZniD/kB3H/Af/QhWnTZI45kKSIroeqsMg1+l4mk61GdNfaTX3o+pqw54Sj3Rma/GXsI3BcLFMruU+8F5yR+dUZ4tOeNFOq3tx5jACNZg5J+mK6PrUMdrbxPvjgiR/7yoAa48TgPa1HNW1STvfp2s1+JjVw/PJy017mbe/YTqTB7iWzuQgPmhtocfjwajiupbjTtTieUXCxRsqTKMb8qePwrYlghnAE0UcgHQOoP86ckaRoERFVR/CowKbwU3UclJJO+19brqr203vvoHsJczd7J3/H8PmVNJnhm063WOVHZIkDhTkqcd/yNXajighg3eTFHHu67FAz+VSV2UIShTjGe67G9NOMUpbn0H8Lv+RAsP9+X/wBGNXY1x3wu/wCRAsP9+X/0Y1djX5tmP++Vf8T/ADPl8T/Gn6sK5vx9/wAiJq//AFx/9mFdJXN+Pv8AkRNX/wCuP/swqMH/ALzT/wAS/Mmh/Fj6o+b6KKK/Uj60KKKKACiiigAooooA+g/hd/yIFh/vy/8Aoxq7GuO+F3/IgWH+/L/6Mauxr8wzH/fKv+J/mfKYn+NP1YVzfj7/AJETV/8Arj/7MK6Sub8ff8iJq/8A1x/9mFRg/wDeaf8AiX5k0P4sfVHzfRRRX6kfWhRRRQAUUUUAFFFFAH0H8Lv+RAsP9+X/ANGNXY1x3wu/5ECw/wB+X/0Y1djX5hmP++Vf8T/M+UxP8afqwqC8s7fULOW0u4llglGHRujCp6K5E2ndGKdtUc3/AMIB4V/6Atv+bf40f8IB4V/6Atv+bf410lFdH13E/wDPyX3s09vV/mf3nN/8IB4V/wCgLb/m3+NH/CAeFf8AoC2/5t/jXSUUfXcT/wA/Jfew9vV/mf3nN/8ACAeFf+gLb/m3+NH/AAgHhX/oC2/5t/jXSUUfXcT/AM/Jfew9vV/mf3nN/wDCAeFf+gLb/m3+NH/CAeFf+gLb/m3+NdJRR9dxP/PyX3sPb1f5n95V0/TrTSrJLOxgWC3QkrGvQZOT+pq1RRXPKTk7yd2Zttu7P//Z",&#xD;
  39598. "type": "image/jpeg",&#xD;
  39599. "name": "test_image_${__time(YMDHMS)}-${__threadNum}-${__Random(1,1000000)}.jpeg"&#xD;
  39600. }&#xD;
  39601. }&#xD;
  39602. ]&#xD;
  39603. }&#xD;
  39604. }</stringProp>
  39605. <stringProp name="Argument.metadata">=</stringProp>
  39606. </elementProp>
  39607. </collectionProp>
  39608. </elementProp>
  39609. <stringProp name="HTTPSampler.domain"/>
  39610. <stringProp name="HTTPSampler.port"/>
  39611. <stringProp name="HTTPSampler.connect_timeout"/>
  39612. <stringProp name="HTTPSampler.response_timeout"/>
  39613. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39614. <stringProp name="HTTPSampler.contentEncoding"/>
  39615. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products</stringProp>
  39616. <stringProp name="HTTPSampler.method">POST</stringProp>
  39617. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39618. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39619. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39620. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39621. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39622. <stringProp name="HTTPSampler.embedded_url_re"/>
  39623. </HTTPSamplerProxy>
  39624. <hashTree>
  39625. <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 downloadable product id" enabled="true">
  39626. <stringProp name="VAR">grouped_product_id</stringProp>
  39627. <stringProp name="JSONPATH">$.id</stringProp>
  39628. <stringProp name="DEFAULT"/>
  39629. <stringProp name="VARIABLE"/>
  39630. <stringProp name="SUBJECT">BODY</stringProp>
  39631. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39632. <hashTree/>
  39633. <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 downloadable product sku" enabled="true">
  39634. <stringProp name="VAR">grouped_product_sku</stringProp>
  39635. <stringProp name="JSONPATH">$.sku</stringProp>
  39636. <stringProp name="DEFAULT"/>
  39637. <stringProp name="VARIABLE"/>
  39638. <stringProp name="SUBJECT">BODY</stringProp>
  39639. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39640. <hashTree/>
  39641. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product id not null" enabled="true">
  39642. <collectionProp name="Asserion.test_strings">
  39643. <stringProp name="89649215">^\d+$</stringProp>
  39644. </collectionProp>
  39645. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39646. <boolProp name="Assertion.assume_success">false</boolProp>
  39647. <intProp name="Assertion.test_type">1</intProp>
  39648. <stringProp name="Assertion.scope">variable</stringProp>
  39649. <stringProp name="Scope.variable">grouped_product_id</stringProp>
  39650. </ResponseAssertion>
  39651. <hashTree/>
  39652. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert product sku not null" enabled="true">
  39653. <collectionProp name="Asserion.test_strings">
  39654. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  39655. </collectionProp>
  39656. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39657. <boolProp name="Assertion.assume_success">false</boolProp>
  39658. <intProp name="Assertion.test_type">1</intProp>
  39659. <stringProp name="Assertion.scope">variable</stringProp>
  39660. <stringProp name="Scope.variable">grouped_product_sku</stringProp>
  39661. </ResponseAssertion>
  39662. <hashTree/>
  39663. </hashTree>
  39664. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Create Links" enabled="true"/>
  39665. <hashTree>
  39666. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API - Create child bundle, configurable, simple, downloadable, for grouped" enabled="true">
  39667. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39668. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39669. <collectionProp name="Arguments.arguments">
  39670. <elementProp name="" elementType="HTTPArgument">
  39671. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39672. <stringProp name="Argument.value">{&#xD;
  39673. "items": [&#xD;
  39674. {&#xD;
  39675. "sku": "${grouped_product_sku}",&#xD;
  39676. "link_type": "associated",&#xD;
  39677. "linked_product_sku": "${bundle_product_sku}",&#xD;
  39678. "linked_product_type": "bundle",&#xD;
  39679. "position": 1,&#xD;
  39680. "extension_attributes": {&#xD;
  39681. "qty": 1&#xD;
  39682. }&#xD;
  39683. },&#xD;
  39684. {&#xD;
  39685. "sku": "${grouped_product_sku}",&#xD;
  39686. "link_type": "associated",&#xD;
  39687. "linked_product_sku": "${configurable_product_sku}",&#xD;
  39688. "linked_product_type": "configurable",&#xD;
  39689. "position": 2,&#xD;
  39690. "extension_attributes": {&#xD;
  39691. "qty": 1&#xD;
  39692. }&#xD;
  39693. },&#xD;
  39694. {&#xD;
  39695. "sku": "${grouped_product_sku}",&#xD;
  39696. "link_type": "associated",&#xD;
  39697. "linked_product_sku": "${simple_product_sku}",&#xD;
  39698. "linked_product_type": "simple",&#xD;
  39699. "position": 3,&#xD;
  39700. "extension_attributes": {&#xD;
  39701. "qty": 1&#xD;
  39702. }&#xD;
  39703. },&#xD;
  39704. {&#xD;
  39705. "sku": "${grouped_product_sku}",&#xD;
  39706. "link_type": "associated",&#xD;
  39707. "linked_product_sku": "${downloadable_product_sku}",&#xD;
  39708. "linked_product_type": "downloadable",&#xD;
  39709. "position": 4,&#xD;
  39710. "extension_attributes": {&#xD;
  39711. "qty": 1&#xD;
  39712. }&#xD;
  39713. }&#xD;
  39714. ]&#xD;
  39715. }&#xD;
  39716. </stringProp>
  39717. <stringProp name="Argument.metadata">=</stringProp>
  39718. </elementProp>
  39719. </collectionProp>
  39720. </elementProp>
  39721. <stringProp name="HTTPSampler.domain"/>
  39722. <stringProp name="HTTPSampler.port"/>
  39723. <stringProp name="HTTPSampler.connect_timeout"/>
  39724. <stringProp name="HTTPSampler.response_timeout"/>
  39725. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39726. <stringProp name="HTTPSampler.contentEncoding"/>
  39727. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/products/${grouped_product_sku}/links</stringProp>
  39728. <stringProp name="HTTPSampler.method">POST</stringProp>
  39729. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39730. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39731. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39732. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39733. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39734. <stringProp name="HTTPSampler.embedded_url_re"/>
  39735. </HTTPSamplerProxy>
  39736. <hashTree>
  39737. <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 product id" enabled="true">
  39738. <stringProp name="VAR">grouped_product_response</stringProp>
  39739. <stringProp name="JSONPATH">$</stringProp>
  39740. <stringProp name="DEFAULT"/>
  39741. <stringProp name="VARIABLE"/>
  39742. <stringProp name="SUBJECT">BODY</stringProp>
  39743. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39744. <hashTree/>
  39745. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert add true" enabled="true">
  39746. <collectionProp name="Asserion.test_strings">
  39747. <stringProp name="3569038">true</stringProp>
  39748. </collectionProp>
  39749. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39750. <boolProp name="Assertion.assume_success">false</boolProp>
  39751. <intProp name="Assertion.test_type">8</intProp>
  39752. <stringProp name="Assertion.scope">variable</stringProp>
  39753. <stringProp name="Scope.variable">grouped_product_response</stringProp>
  39754. </ResponseAssertion>
  39755. <hashTree/>
  39756. </hashTree>
  39757. </hashTree>
  39758. </hashTree>
  39759. </hashTree>
  39760. </hashTree>
  39761. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Graphql Query Controller" enabled="true">
  39762. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/simple_controller.jmx</stringProp>
  39763. </GenericController>
  39764. <hashTree>
  39765. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  39766. <collectionProp name="HeaderManager.headers">
  39767. <elementProp name="" elementType="Header">
  39768. <stringProp name="Header.name">Content-Type</stringProp>
  39769. <stringProp name="Header.value">application/json</stringProp>
  39770. </elementProp>
  39771. <elementProp name="" elementType="Header">
  39772. <stringProp name="Header.name">Accept</stringProp>
  39773. <stringProp name="Header.value">*/*</stringProp>
  39774. </elementProp>
  39775. </collectionProp>
  39776. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager_before_token.jmx</stringProp></HeaderManager>
  39777. <hashTree/>
  39778. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Admin Token Retrieval" enabled="true">
  39779. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39780. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39781. <collectionProp name="Arguments.arguments">
  39782. <elementProp name="" elementType="HTTPArgument">
  39783. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39784. <stringProp name="Argument.value">{"username":"${admin_user}","password":"${admin_password}"}</stringProp>
  39785. <stringProp name="Argument.metadata">=</stringProp>
  39786. </elementProp>
  39787. </collectionProp>
  39788. </elementProp>
  39789. <stringProp name="HTTPSampler.domain"/>
  39790. <stringProp name="HTTPSampler.port"/>
  39791. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  39792. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  39793. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39794. <stringProp name="HTTPSampler.contentEncoding"/>
  39795. <stringProp name="HTTPSampler.path">${base_path}rest/V1/integration/admin/token</stringProp>
  39796. <stringProp name="HTTPSampler.method">POST</stringProp>
  39797. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39798. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39799. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39800. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39801. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39802. <stringProp name="HTTPSampler.embedded_url_re"/>
  39803. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/admin_token_retrieval.jmx</stringProp></HTTPSamplerProxy>
  39804. <hashTree>
  39805. <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">
  39806. <stringProp name="VAR">admin_token</stringProp>
  39807. <stringProp name="JSONPATH">$</stringProp>
  39808. <stringProp name="DEFAULT"/>
  39809. <stringProp name="VARIABLE"/>
  39810. <stringProp name="SUBJECT">BODY</stringProp>
  39811. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39812. <hashTree/>
  39813. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert token not null" enabled="true">
  39814. <collectionProp name="Asserion.test_strings">
  39815. <stringProp name="484395188">^[a-z0-9-]+$</stringProp>
  39816. </collectionProp>
  39817. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  39818. <boolProp name="Assertion.assume_success">false</boolProp>
  39819. <intProp name="Assertion.test_type">1</intProp>
  39820. <stringProp name="Assertion.scope">variable</stringProp>
  39821. <stringProp name="Scope.variable">admin_token</stringProp>
  39822. </ResponseAssertion>
  39823. <hashTree/>
  39824. </hashTree>
  39825. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  39826. <collectionProp name="HeaderManager.headers">
  39827. <elementProp name="" elementType="Header">
  39828. <stringProp name="Header.name">Authorization</stringProp>
  39829. <stringProp name="Header.value">Bearer ${admin_token}</stringProp>
  39830. </elementProp>
  39831. </collectionProp>
  39832. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/header_manager.jmx</stringProp></HeaderManager>
  39833. <hashTree/>
  39834. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query multiple products" enabled="true">
  39835. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39836. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39837. <collectionProp name="Arguments.arguments">
  39838. <elementProp name="" elementType="HTTPArgument">
  39839. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39840. <stringProp name="Argument.value">{"query":"{\n products(\n filter: {\n price: {gt: \"10\"}\n or: {\n sku:{like:\"%Product%\"}\n name:{like:\"%Configurable Product%\"}\n }\n }\n pageSize: 200\n currentPage: 1\n sort: {\n price: ASC\n name:DESC\n }\n ) {\n total_count\n items {\n attribute_set_id\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n short_description {\n html\n }\n sku\n small_image {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n \t... on PhysicalProductInterface {\n \tweight\n \t}\n }\n page_info {\n page_size\n current_page\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  39841. <stringProp name="Argument.metadata">=</stringProp>
  39842. </elementProp>
  39843. </collectionProp>
  39844. </elementProp>
  39845. <stringProp name="HTTPSampler.domain"/>
  39846. <stringProp name="HTTPSampler.port"/>
  39847. <stringProp name="HTTPSampler.connect_timeout"/>
  39848. <stringProp name="HTTPSampler.response_timeout"/>
  39849. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39850. <stringProp name="HTTPSampler.contentEncoding"/>
  39851. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  39852. <stringProp name="HTTPSampler.method">POST</stringProp>
  39853. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39854. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39855. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39856. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39857. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39858. <stringProp name="HTTPSampler.embedded_url_re"/>
  39859. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_multiple_products_with_extensible_data_objects_using_filter_only.jmx</stringProp>
  39860. </HTTPSamplerProxy>
  39861. <hashTree>
  39862. <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 total_count" enabled="true">
  39863. <stringProp name="VAR">graphql_multiple_products_query_total_count</stringProp>
  39864. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  39865. <stringProp name="DEFAULT"/>
  39866. <stringProp name="VARIABLE"/>
  39867. <stringProp name="SUBJECT">BODY</stringProp>
  39868. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39869. <hashTree/>
  39870. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count &gt; 200" enabled="true">
  39871. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_multiple_products_query_total_count");
  39872. if (totalCount == null) {
  39873. Failure = true;
  39874. FailureMessage = "Not Expected \"totalCount\" to be null";
  39875. } else {
  39876. if (Integer.parseInt(totalCount) &lt; 200) {
  39877. Failure = true;
  39878. FailureMessage = "Expected \"totalCount\" to be greater than 200, Actual: " + totalCount;
  39879. } else {
  39880. Failure = false;
  39881. }
  39882. }
  39883. </stringProp>
  39884. <stringProp name="BeanShellAssertion.filename"/>
  39885. <stringProp name="BeanShellAssertion.parameters"/>
  39886. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  39887. </BeanShellAssertion>
  39888. <hashTree/>
  39889. </hashTree>
  39890. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query simple product" enabled="true">
  39891. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39892. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39893. <collectionProp name="Arguments.arguments">
  39894. <elementProp name="" elementType="HTTPArgument">
  39895. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39896. <stringProp name="Argument.value">{"query":"{\n products(filter: {sku: { eq: \"${simple_product_sku}\" } })\n {\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on PhysicalProductInterface {\n \t\t\tweight\n \t\t }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  39897. <stringProp name="Argument.metadata">=</stringProp>
  39898. </elementProp>
  39899. </collectionProp>
  39900. </elementProp>
  39901. <stringProp name="HTTPSampler.domain"/>
  39902. <stringProp name="HTTPSampler.port"/>
  39903. <stringProp name="HTTPSampler.connect_timeout"/>
  39904. <stringProp name="HTTPSampler.response_timeout"/>
  39905. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39906. <stringProp name="HTTPSampler.contentEncoding"/>
  39907. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  39908. <stringProp name="HTTPSampler.method">POST</stringProp>
  39909. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39910. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39911. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39912. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39913. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39914. <stringProp name="HTTPSampler.embedded_url_re"/>
  39915. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_simple_product_with_extensible_data_objects.jmx</stringProp>
  39916. </HTTPSamplerProxy>
  39917. <hashTree>
  39918. <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 total_count" enabled="true">
  39919. <stringProp name="VAR">graphql_simple_products_query_total_count</stringProp>
  39920. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  39921. <stringProp name="DEFAULT"/>
  39922. <stringProp name="VARIABLE"/>
  39923. <stringProp name="SUBJECT">BODY</stringProp>
  39924. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39925. <hashTree/>
  39926. <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 response" enabled="true">
  39927. <stringProp name="VAR">graphql_multiple_products_query_response</stringProp>
  39928. <stringProp name="JSONPATH">$</stringProp>
  39929. <stringProp name="DEFAULT"/>
  39930. <stringProp name="VARIABLE"/>
  39931. <stringProp name="SUBJECT">BODY</stringProp>
  39932. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39933. <hashTree/>
  39934. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count = 1" enabled="true">
  39935. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_simple_products_query_total_count");
  39936. if (totalCount == null) {
  39937. Failure = true;
  39938. FailureMessage = "Not Expected \"totalCount\" to be null";
  39939. } else {
  39940. if (Integer.parseInt(totalCount) != 1) {
  39941. Failure = true;
  39942. FailureMessage = "Expected \"totalCount\" to be equal to 1, Actual: " + totalCount;
  39943. } else {
  39944. Failure = false;
  39945. }
  39946. }
  39947. </stringProp>
  39948. <stringProp name="BeanShellAssertion.filename"/>
  39949. <stringProp name="BeanShellAssertion.parameters"/>
  39950. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  39951. </BeanShellAssertion>
  39952. <hashTree/>
  39953. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert product sku" enabled="true">
  39954. <stringProp name="JSON_PATH">$.data.products.items[0].sku</stringProp>
  39955. <stringProp name="EXPECTED_VALUE">${simple_product_sku}</stringProp>
  39956. <boolProp name="JSONVALIDATION">true</boolProp>
  39957. <boolProp name="EXPECT_NULL">false</boolProp>
  39958. <boolProp name="INVERT">false</boolProp>
  39959. <boolProp name="ISREGEX">true</boolProp>
  39960. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  39961. <hashTree/>
  39962. </hashTree>
  39963. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query configurable product" enabled="true">
  39964. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  39965. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  39966. <collectionProp name="Arguments.arguments">
  39967. <elementProp name="" elementType="HTTPArgument">
  39968. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  39969. <stringProp name="Argument.value">{"query":"{\n products(filter: {sku: {eq:\"${configurable_product_sku}\"} }) {\n total_count\n items {\n ... on PhysicalProductInterface {\n weight\n }\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on ConfigurableProduct {\n configurable_options {\n id\n attribute_id\n label\n position\n use_default\n attribute_code\n values {\n value_index\n label\n store_label\n default_label\n use_default_value\n }\n product_id\n }\n variants {\n product {\n ... on PhysicalProductInterface {\n weight\n }\n sku\n color\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n\n\n }\n attributes {\n label\n code\n value_index\n }\n }\n }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  39970. <stringProp name="Argument.metadata">=</stringProp>
  39971. </elementProp>
  39972. </collectionProp>
  39973. </elementProp>
  39974. <stringProp name="HTTPSampler.domain"/>
  39975. <stringProp name="HTTPSampler.port"/>
  39976. <stringProp name="HTTPSampler.connect_timeout"/>
  39977. <stringProp name="HTTPSampler.response_timeout"/>
  39978. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  39979. <stringProp name="HTTPSampler.contentEncoding"/>
  39980. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  39981. <stringProp name="HTTPSampler.method">POST</stringProp>
  39982. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  39983. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  39984. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  39985. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  39986. <boolProp name="HTTPSampler.monitor">false</boolProp>
  39987. <stringProp name="HTTPSampler.embedded_url_re"/>
  39988. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_configurable_product_with_extensible_data_objects.jmx</stringProp>
  39989. </HTTPSamplerProxy>
  39990. <hashTree>
  39991. <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 total_count" enabled="true">
  39992. <stringProp name="VAR">graphql_configurable_products_query_total_count</stringProp>
  39993. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  39994. <stringProp name="DEFAULT"/>
  39995. <stringProp name="VARIABLE"/>
  39996. <stringProp name="SUBJECT">BODY</stringProp>
  39997. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  39998. <hashTree/>
  39999. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count = 1" enabled="true">
  40000. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_configurable_products_query_total_count");
  40001. if (totalCount == null) {
  40002. Failure = true;
  40003. FailureMessage = "Not Expected \"totalCount\" to be null";
  40004. } else {
  40005. if (Integer.parseInt(totalCount) != 1) {
  40006. Failure = true;
  40007. FailureMessage = "Expected \"totalCount\" to be equal to 1, Actual: " + totalCount;
  40008. } else {
  40009. Failure = false;
  40010. }
  40011. }
  40012. </stringProp>
  40013. <stringProp name="BeanShellAssertion.filename"/>
  40014. <stringProp name="BeanShellAssertion.parameters"/>
  40015. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40016. </BeanShellAssertion>
  40017. <hashTree/>
  40018. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert configurable product sku" enabled="true">
  40019. <stringProp name="JSON_PATH">$.data.products.items[0].sku</stringProp>
  40020. <stringProp name="EXPECTED_VALUE">${configurable_product_sku}</stringProp>
  40021. <boolProp name="JSONVALIDATION">true</boolProp>
  40022. <boolProp name="EXPECT_NULL">false</boolProp>
  40023. <boolProp name="INVERT">false</boolProp>
  40024. <boolProp name="ISREGEX">true</boolProp>
  40025. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40026. <hashTree/>
  40027. </hashTree>
  40028. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query products with full text search and filter" enabled="true">
  40029. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40030. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40031. <collectionProp name="Arguments.arguments">
  40032. <elementProp name="" elementType="HTTPArgument">
  40033. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40034. <stringProp name="Argument.value">{"query":"{\n products(\n search: \"configurable\"\n filter: {price: {gteq: \"1\"} }\n ) {\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on PhysicalProductInterface {\n \t\t\tweight\n \t\t\t}\n ... on ConfigurableProduct {\n configurable_options {\n id\n attribute_id\n label\n position\n use_default\n attribute_code\n values {\n value_index\n label\n store_label\n default_label\n use_default_value\n }\n product_id\n }\n variants {\n product {\n ... on PhysicalProductInterface {\n weight\n }\n sku\n color\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n\n\n }\n attributes {\n label\n code\n value_index\n }\n }\n }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  40035. <stringProp name="Argument.metadata">=</stringProp>
  40036. </elementProp>
  40037. </collectionProp>
  40038. </elementProp>
  40039. <stringProp name="HTTPSampler.domain"/>
  40040. <stringProp name="HTTPSampler.port"/>
  40041. <stringProp name="HTTPSampler.connect_timeout"/>
  40042. <stringProp name="HTTPSampler.response_timeout"/>
  40043. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40044. <stringProp name="HTTPSampler.contentEncoding"/>
  40045. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40046. <stringProp name="HTTPSampler.method">POST</stringProp>
  40047. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40048. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40049. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40050. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40051. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40052. <stringProp name="HTTPSampler.embedded_url_re"/>
  40053. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_multiple_products_with_extensible_data_objects_using_full_text_and_filter.jmx</stringProp>
  40054. </HTTPSamplerProxy>
  40055. <hashTree>
  40056. <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 total_count" enabled="true">
  40057. <stringProp name="VAR">graphql_search_products_query_total_count_fulltext_filter</stringProp>
  40058. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40059. <stringProp name="DEFAULT"/>
  40060. <stringProp name="VARIABLE"/>
  40061. <stringProp name="SUBJECT">BODY</stringProp>
  40062. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40063. <hashTree/>
  40064. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count &gt; 0" enabled="true">
  40065. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_search_products_query_total_count_fulltext_filter");
  40066. if (totalCount == null) {
  40067. Failure = true;
  40068. FailureMessage = "Not Expected \"totalCount\" to be null";
  40069. } else {
  40070. if (Integer.parseInt(totalCount) &lt; 1) {
  40071. Failure = true;
  40072. FailureMessage = "Expected \"totalCount\" to be greater than zero, Actual: " + totalCount;
  40073. } else {
  40074. Failure = false;
  40075. }
  40076. }
  40077. </stringProp>
  40078. <stringProp name="BeanShellAssertion.filename"/>
  40079. <stringProp name="BeanShellAssertion.parameters"/>
  40080. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40081. </BeanShellAssertion>
  40082. <hashTree/>
  40083. </hashTree>
  40084. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query products with full text search only" enabled="true">
  40085. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40086. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40087. <collectionProp name="Arguments.arguments">
  40088. <elementProp name="" elementType="HTTPArgument">
  40089. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40090. <stringProp name="Argument.value">{"query":"{\n products(search: \"configurable\") {\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on PhysicalProductInterface {\n \t\t\tweight\n \t\t\t}\n ... on ConfigurableProduct {\n configurable_options {\n id\n attribute_id\n label\n position\n use_default\n attribute_code\n values {\n value_index\n label\n store_label\n default_label\n use_default_value\n }\n product_id\n }\n variants {\n product {\n ... on PhysicalProductInterface {\n weight\n }\n sku\n color\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n\n\n }\n attributes {\n label\n code\n value_index\n }\n }\n }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  40091. <stringProp name="Argument.metadata">=</stringProp>
  40092. </elementProp>
  40093. </collectionProp>
  40094. </elementProp>
  40095. <stringProp name="HTTPSampler.domain"/>
  40096. <stringProp name="HTTPSampler.port"/>
  40097. <stringProp name="HTTPSampler.connect_timeout"/>
  40098. <stringProp name="HTTPSampler.response_timeout"/>
  40099. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40100. <stringProp name="HTTPSampler.contentEncoding"/>
  40101. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40102. <stringProp name="HTTPSampler.method">POST</stringProp>
  40103. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40104. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40105. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40106. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40107. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40108. <stringProp name="HTTPSampler.embedded_url_re"/>
  40109. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_multiple_products_with_extensible_data_objects_using_full_text_only.jmx</stringProp>
  40110. </HTTPSamplerProxy>
  40111. <hashTree>
  40112. <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 total_count" enabled="true">
  40113. <stringProp name="VAR">graphql_search_products_query_total_count</stringProp>
  40114. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40115. <stringProp name="DEFAULT"/>
  40116. <stringProp name="VARIABLE"/>
  40117. <stringProp name="SUBJECT">BODY</stringProp>
  40118. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40119. <hashTree/>
  40120. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count &gt; 0" enabled="true">
  40121. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_search_products_query_total_count");
  40122. if (totalCount == null) {
  40123. Failure = true;
  40124. FailureMessage = "Not Expected \"totalCount\" to be null";
  40125. } else {
  40126. if (Integer.parseInt(totalCount) &lt; 1) {
  40127. Failure = true;
  40128. FailureMessage = "Expected \"totalCount\" to be greater than zero, Actual: " + totalCount;
  40129. } else {
  40130. Failure = false;
  40131. }
  40132. }
  40133. </stringProp>
  40134. <stringProp name="BeanShellAssertion.filename"/>
  40135. <stringProp name="BeanShellAssertion.parameters"/>
  40136. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40137. </BeanShellAssertion>
  40138. <hashTree/>
  40139. </hashTree>
  40140. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query products with full text search and filters" enabled="true">
  40141. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40142. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40143. <collectionProp name="Arguments.arguments">
  40144. <elementProp name="" elementType="HTTPArgument">
  40145. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40146. <stringProp name="Argument.value">{"query":"{\n products(search: \"Option 1\") {\n filters {\n name\n filter_items_count\n request_var\n filter_items {\n label\n value_string\n items_count\n ... on SwatchLayerFilterItemInterface {\n swatch_data {\n type\n value\n }\n }\n }\n }\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on PhysicalProductInterface {\n weight\n }\n ... on ConfigurableProduct {\n configurable_options {\n id\n attribute_id\n label\n position\n use_default\n attribute_code\n values {\n value_index\n label\n store_label\n default_label\n use_default_value\n }\n product_id\n }\n variants {\n product {\n ... on PhysicalProductInterface {\n weight\n }\n sku\n color\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n\n\n }\n attributes {\n label\n code\n value_index\n }\n }\n }\n }\n }\n}","variables":null,"operationName":null}</stringProp>
  40147. <stringProp name="Argument.metadata">=</stringProp>
  40148. </elementProp>
  40149. </collectionProp>
  40150. </elementProp>
  40151. <stringProp name="HTTPSampler.domain"/>
  40152. <stringProp name="HTTPSampler.port"/>
  40153. <stringProp name="HTTPSampler.connect_timeout"/>
  40154. <stringProp name="HTTPSampler.response_timeout"/>
  40155. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40156. <stringProp name="HTTPSampler.contentEncoding"/>
  40157. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40158. <stringProp name="HTTPSampler.method">POST</stringProp>
  40159. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40160. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40161. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40162. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40163. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40164. <stringProp name="HTTPSampler.embedded_url_re"/>
  40165. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_multiple_products_with_extensible_data_objects_using_full_text_and_filters.jmx</stringProp>
  40166. </HTTPSamplerProxy>
  40167. <hashTree>
  40168. <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 total_count" enabled="true">
  40169. <stringProp name="VAR">graphql_search_products_query_total_count</stringProp>
  40170. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40171. <stringProp name="DEFAULT"/>
  40172. <stringProp name="VARIABLE"/>
  40173. <stringProp name="SUBJECT">BODY</stringProp>
  40174. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40175. <hashTree/>
  40176. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count &gt; 0" enabled="true">
  40177. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_search_products_query_total_count");
  40178. if (totalCount == null) {
  40179. Failure = true;
  40180. FailureMessage = "Not Expected \"totalCount\" to be null";
  40181. } else {
  40182. if (Integer.parseInt(totalCount) &lt; 1) {
  40183. Failure = true;
  40184. FailureMessage = "Expected \"totalCount\" to be greater than zero, Actual: " + totalCount;
  40185. } else {
  40186. Failure = false;
  40187. }
  40188. }
  40189. </stringProp>
  40190. <stringProp name="BeanShellAssertion.filename"/>
  40191. <stringProp name="BeanShellAssertion.parameters"/>
  40192. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40193. </BeanShellAssertion>
  40194. <hashTree/>
  40195. </hashTree>
  40196. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query bundle product" enabled="true">
  40197. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40198. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40199. <collectionProp name="Arguments.arguments">
  40200. <elementProp name="" elementType="HTTPArgument">
  40201. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40202. <stringProp name="Argument.value">{"query":"{\nproducts(filter: {sku: {eq:\"${bundle_product_sku}\"} }) {\n total_count\n items {\n ... on PhysicalProductInterface {\n weight\n }\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on BundleProduct {\n weight\n price_view\n dynamic_price\n dynamic_sku\n ship_bundle_items\n dynamic_weight\n items {\n option_id\n title\n required\n type\n position\n sku\n options {\n id\n qty\n position\n is_default\n price\n price_type\n can_change_quantity\n product {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n }\n }\n }\n }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  40203. <stringProp name="Argument.metadata">=</stringProp>
  40204. </elementProp>
  40205. </collectionProp>
  40206. </elementProp>
  40207. <stringProp name="HTTPSampler.domain"/>
  40208. <stringProp name="HTTPSampler.port"/>
  40209. <stringProp name="HTTPSampler.connect_timeout"/>
  40210. <stringProp name="HTTPSampler.response_timeout"/>
  40211. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40212. <stringProp name="HTTPSampler.contentEncoding"/>
  40213. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40214. <stringProp name="HTTPSampler.method">POST</stringProp>
  40215. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40216. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40217. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40218. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40219. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40220. <stringProp name="HTTPSampler.embedded_url_re"/>
  40221. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_bundle_product_with_extensible_data_objects.jmx</stringProp>
  40222. </HTTPSamplerProxy>
  40223. <hashTree>
  40224. <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 total_count" enabled="true">
  40225. <stringProp name="VAR">graphql_bundle_products_query_total_count</stringProp>
  40226. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40227. <stringProp name="DEFAULT"/>
  40228. <stringProp name="VARIABLE"/>
  40229. <stringProp name="SUBJECT">BODY</stringProp>
  40230. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40231. <hashTree/>
  40232. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count = 1" enabled="true">
  40233. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_bundle_products_query_total_count");
  40234. if (totalCount == null) {
  40235. Failure = true;
  40236. FailureMessage = "Not Expected \"totalCount\" to be null";
  40237. } else {
  40238. if (Integer.parseInt(totalCount) != 1) {
  40239. Failure = true;
  40240. FailureMessage = "Expected \"totalCount\" to be equal to 1, Actual: " + totalCount;
  40241. } else {
  40242. Failure = false;
  40243. }
  40244. }
  40245. </stringProp>
  40246. <stringProp name="BeanShellAssertion.filename"/>
  40247. <stringProp name="BeanShellAssertion.parameters"/>
  40248. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40249. </BeanShellAssertion>
  40250. <hashTree/>
  40251. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert bundle product sku" enabled="true">
  40252. <stringProp name="JSON_PATH">$.data.products.items[0].sku</stringProp>
  40253. <stringProp name="EXPECTED_VALUE">${bundle_product_sku}</stringProp>
  40254. <boolProp name="JSONVALIDATION">true</boolProp>
  40255. <boolProp name="EXPECT_NULL">false</boolProp>
  40256. <boolProp name="INVERT">false</boolProp>
  40257. <boolProp name="ISREGEX">false</boolProp>
  40258. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40259. <hashTree/>
  40260. </hashTree>
  40261. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query downloadable product" enabled="true">
  40262. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40263. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40264. <collectionProp name="Arguments.arguments">
  40265. <elementProp name="" elementType="HTTPArgument">
  40266. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40267. <stringProp name="Argument.value">{"query":"{\n products(filter: {sku: { eq: \"${downloadable_product_sku}\" } })\n {\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on PhysicalProductInterface {\n \t\t\tweight\n \t\t }\n ... on DownloadableProduct {\n links_purchased_separately\n links_title\n downloadable_product_samples {\n id\n title\n sort_order\n sample_type\n sample_file\n sample_url\n }\n downloadable_product_links {\n id\n title\n sort_order\n is_shareable\n price\n number_of_downloads\n link_type\n sample_type\n sample_file\n sample_url\n }\n }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  40268. <stringProp name="Argument.metadata">=</stringProp>
  40269. </elementProp>
  40270. </collectionProp>
  40271. </elementProp>
  40272. <stringProp name="HTTPSampler.domain"/>
  40273. <stringProp name="HTTPSampler.port"/>
  40274. <stringProp name="HTTPSampler.connect_timeout"/>
  40275. <stringProp name="HTTPSampler.response_timeout"/>
  40276. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40277. <stringProp name="HTTPSampler.contentEncoding"/>
  40278. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40279. <stringProp name="HTTPSampler.method">POST</stringProp>
  40280. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40281. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40282. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40283. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40284. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40285. <stringProp name="HTTPSampler.embedded_url_re"/>
  40286. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_downloadable_product_with_extensible_data_objects.jmx</stringProp>
  40287. </HTTPSamplerProxy>
  40288. <hashTree>
  40289. <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 total_count" enabled="true">
  40290. <stringProp name="VAR">graphql_downloadable_products_query_total_count</stringProp>
  40291. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40292. <stringProp name="DEFAULT"/>
  40293. <stringProp name="VARIABLE"/>
  40294. <stringProp name="SUBJECT">BODY</stringProp>
  40295. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40296. <hashTree/>
  40297. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count = 1" enabled="true">
  40298. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_downloadable_products_query_total_count");
  40299. if (totalCount == null) {
  40300. Failure = true;
  40301. FailureMessage = "Not Expected \"totalCount\" to be null";
  40302. } else {
  40303. if (Integer.parseInt(totalCount) != 1) {
  40304. Failure = true;
  40305. FailureMessage = "Expected \"totalCount\" to be equal to 1, Actual: " + totalCount;
  40306. } else {
  40307. Failure = false;
  40308. }
  40309. }
  40310. </stringProp>
  40311. <stringProp name="BeanShellAssertion.filename"/>
  40312. <stringProp name="BeanShellAssertion.parameters"/>
  40313. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40314. </BeanShellAssertion>
  40315. <hashTree/>
  40316. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert downloadable product sku" enabled="true">
  40317. <stringProp name="JSON_PATH">$.data.products.items[0].sku</stringProp>
  40318. <stringProp name="EXPECTED_VALUE">${downloadable_product_sku}</stringProp>
  40319. <boolProp name="JSONVALIDATION">true</boolProp>
  40320. <boolProp name="EXPECT_NULL">false</boolProp>
  40321. <boolProp name="INVERT">false</boolProp>
  40322. <boolProp name="ISREGEX">true</boolProp>
  40323. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40324. <hashTree/>
  40325. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert link samples titles" enabled="true">
  40326. <stringProp name="JSON_PATH">$.data.products.items[0].downloadable_product_samples..title</stringProp>
  40327. <stringProp name="EXPECTED_VALUE">["sample1","sample2"]</stringProp>
  40328. <boolProp name="JSONVALIDATION">true</boolProp>
  40329. <boolProp name="EXPECT_NULL">false</boolProp>
  40330. <boolProp name="INVERT">false</boolProp>
  40331. <boolProp name="ISREGEX">false</boolProp>
  40332. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40333. <hashTree/>
  40334. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert sample titles" enabled="true">
  40335. <stringProp name="JSON_PATH">$.data.products.items[0].downloadable_product_samples..title</stringProp>
  40336. <stringProp name="EXPECTED_VALUE">["sample1","sample2"]</stringProp>
  40337. <boolProp name="JSONVALIDATION">true</boolProp>
  40338. <boolProp name="EXPECT_NULL">false</boolProp>
  40339. <boolProp name="INVERT">false</boolProp>
  40340. <boolProp name="ISREGEX">false</boolProp>
  40341. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40342. <hashTree/>
  40343. </hashTree>
  40344. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query virtual product" enabled="true">
  40345. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40346. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40347. <collectionProp name="Arguments.arguments">
  40348. <elementProp name="" elementType="HTTPArgument">
  40349. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40350. <stringProp name="Argument.value">{"query":"{\n products(filter: {sku: { eq: \"${virtual_product_sku}\" } })\n {\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on PhysicalProductInterface {\n \t\t\tweight\n \t\t }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  40351. <stringProp name="Argument.metadata">=</stringProp>
  40352. </elementProp>
  40353. </collectionProp>
  40354. </elementProp>
  40355. <stringProp name="HTTPSampler.domain"/>
  40356. <stringProp name="HTTPSampler.port"/>
  40357. <stringProp name="HTTPSampler.connect_timeout"/>
  40358. <stringProp name="HTTPSampler.response_timeout"/>
  40359. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40360. <stringProp name="HTTPSampler.contentEncoding"/>
  40361. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40362. <stringProp name="HTTPSampler.method">POST</stringProp>
  40363. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40364. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40365. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40366. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40367. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40368. <stringProp name="HTTPSampler.embedded_url_re"/>
  40369. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_virtual_product_with_extensible_data_objects.jmx</stringProp>
  40370. </HTTPSamplerProxy>
  40371. <hashTree>
  40372. <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 total_count" enabled="true">
  40373. <stringProp name="VAR">graphql_virtual_products_query_total_count</stringProp>
  40374. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40375. <stringProp name="DEFAULT"/>
  40376. <stringProp name="VARIABLE"/>
  40377. <stringProp name="SUBJECT">BODY</stringProp>
  40378. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40379. <hashTree/>
  40380. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count = 1" enabled="true">
  40381. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_virtual_products_query_total_count");
  40382. if (totalCount == null) {
  40383. Failure = true;
  40384. FailureMessage = "Not Expected \"totalCount\" to be null";
  40385. } else {
  40386. if (Integer.parseInt(totalCount) != 1) {
  40387. Failure = true;
  40388. FailureMessage = "Expected \"totalCount\" to be equal to 1, Actual: " + totalCount;
  40389. } else {
  40390. Failure = false;
  40391. }
  40392. }
  40393. </stringProp>
  40394. <stringProp name="BeanShellAssertion.filename"/>
  40395. <stringProp name="BeanShellAssertion.parameters"/>
  40396. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40397. </BeanShellAssertion>
  40398. <hashTree/>
  40399. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert product sku" enabled="true">
  40400. <stringProp name="JSON_PATH">$.data.products.items[0].sku</stringProp>
  40401. <stringProp name="EXPECTED_VALUE">${virtual_product_sku}</stringProp>
  40402. <boolProp name="JSONVALIDATION">true</boolProp>
  40403. <boolProp name="EXPECT_NULL">false</boolProp>
  40404. <boolProp name="INVERT">false</boolProp>
  40405. <boolProp name="ISREGEX">true</boolProp>
  40406. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40407. <hashTree/>
  40408. </hashTree>
  40409. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query grouped product" enabled="true">
  40410. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40411. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40412. <collectionProp name="Arguments.arguments">
  40413. <elementProp name="" elementType="HTTPArgument">
  40414. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40415. <stringProp name="Argument.value">{"query":"{\nproducts(filter: {sku: {eq:\"${grouped_product_sku}\"} }) {\n total_count\n items {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n ... on GroupedProduct {\n weight\n items {\n qty\n position\n product {\n attribute_set_id\n categories\n {\n id\n position\n }\n country_of_manufacture\n created_at\n description {\n html\n }\n gift_message_available\n id\n image\n {\n url\n label\n }\n meta_description\n meta_keyword\n meta_title\n media_gallery_entries\n {\n disabled\n file\n id\n label\n media_type\n position\n types\n content\n {\n base64_encoded_data\n type\n name\n }\n video_content\n {\n media_type\n video_description\n video_metadata\n video_provider\n video_title\n video_url\n }\n }\n name\n new_from_date\n new_to_date\n options_container\n ... on CustomizableProductInterface {\n options\n {\n title\n required\n sort_order\n }\n }\n \n price {\n minimalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n maximalPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n regularPrice {\n amount {\n value\n currency\n }\n adjustments {\n amount {\n value\n currency\n }\n code\n description\n }\n }\n }\n product_links\n {\n link_type\n linked_product_sku\n linked_product_type\n position\n sku\n }\n short_description {\n html\n }\n sku\n small_image\n {\n url\n label\n }\n special_from_date\n special_price\n special_to_date\n swatch_image\n thumbnail\n {\n url\n label\n }\n tier_price\n tier_prices\n {\n customer_group_id\n percentage_value\n qty\n value\n website_id\n }\n type_id\n updated_at\n url_key\n url_path\n websites { id name code sort_order default_group_id is_default }\n }\n }\n }\n }\n }\n}\n","variables":null,"operationName":null}</stringProp>
  40416. <stringProp name="Argument.metadata">=</stringProp>
  40417. </elementProp>
  40418. </collectionProp>
  40419. </elementProp>
  40420. <stringProp name="HTTPSampler.domain"/>
  40421. <stringProp name="HTTPSampler.port"/>
  40422. <stringProp name="HTTPSampler.connect_timeout"/>
  40423. <stringProp name="HTTPSampler.response_timeout"/>
  40424. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40425. <stringProp name="HTTPSampler.contentEncoding"/>
  40426. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40427. <stringProp name="HTTPSampler.method">POST</stringProp>
  40428. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40429. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40430. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40431. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40432. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40433. <stringProp name="HTTPSampler.embedded_url_re"/>
  40434. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_grouped_product_with_extensible_data_objects.jmx</stringProp>
  40435. </HTTPSamplerProxy>
  40436. <hashTree>
  40437. <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 total_count" enabled="true">
  40438. <stringProp name="VAR">graphql_grouped_products_query_total_count</stringProp>
  40439. <stringProp name="JSONPATH">$.data.products.total_count</stringProp>
  40440. <stringProp name="DEFAULT"/>
  40441. <stringProp name="VARIABLE"/>
  40442. <stringProp name="SUBJECT">BODY</stringProp>
  40443. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40444. <hashTree/>
  40445. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="Assert total count = 1" enabled="true">
  40446. <stringProp name="BeanShellAssertion.query">String totalCount=vars.get("graphql_grouped_products_query_total_count");
  40447. if (totalCount == null) {
  40448. Failure = true;
  40449. FailureMessage = "Not Expected \"totalCount\" to be null";
  40450. } else {
  40451. if (Integer.parseInt(totalCount) != 1) {
  40452. Failure = true;
  40453. FailureMessage = "Expected \"totalCount\" to be equal to 1, Actual: " + totalCount;
  40454. } else {
  40455. Failure = false;
  40456. }
  40457. }
  40458. </stringProp>
  40459. <stringProp name="BeanShellAssertion.filename"/>
  40460. <stringProp name="BeanShellAssertion.parameters"/>
  40461. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40462. </BeanShellAssertion>
  40463. <hashTree/>
  40464. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert grouped product sku" enabled="true">
  40465. <stringProp name="JSON_PATH">$.data.products.items[0].sku</stringProp>
  40466. <stringProp name="EXPECTED_VALUE">${grouped_product_sku}</stringProp>
  40467. <boolProp name="JSONVALIDATION">true</boolProp>
  40468. <boolProp name="EXPECT_NULL">false</boolProp>
  40469. <boolProp name="INVERT">false</boolProp>
  40470. <boolProp name="ISREGEX">true</boolProp>
  40471. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40472. <hashTree/>
  40473. </hashTree>
  40474. <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="Query Customer" enabled="true"/>
  40475. <hashTree>
  40476. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create customer" enabled="true">
  40477. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40478. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40479. <collectionProp name="Arguments.arguments">
  40480. <elementProp name="" elementType="HTTPArgument">
  40481. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40482. <stringProp name="Argument.value">{&#xD;
  40483. "customer": {&#xD;
  40484. &#xD;
  40485. "email": "customer_${__time()}-${__threadNum}-${__Random(1,1000000)}@example.com",&#xD;
  40486. "firstname": "test_${__time()}-${__threadNum}-${__Random(1,1000000)}",&#xD;
  40487. "lastname": "Doe"&#xD;
  40488. },&#xD;
  40489. "password": "test@123"&#xD;
  40490. }</stringProp>
  40491. <stringProp name="Argument.metadata">=</stringProp>
  40492. </elementProp>
  40493. </collectionProp>
  40494. </elementProp>
  40495. <stringProp name="HTTPSampler.domain"/>
  40496. <stringProp name="HTTPSampler.port"/>
  40497. <stringProp name="HTTPSampler.connect_timeout"/>
  40498. <stringProp name="HTTPSampler.response_timeout"/>
  40499. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40500. <stringProp name="HTTPSampler.contentEncoding"/>
  40501. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/customers</stringProp>
  40502. <stringProp name="HTTPSampler.method">POST</stringProp>
  40503. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40504. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40505. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40506. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40507. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40508. <stringProp name="HTTPSampler.embedded_url_re"/>
  40509. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_frontend_customer.jmx</stringProp>
  40510. </HTTPSamplerProxy>
  40511. <hashTree>
  40512. <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 customer id" enabled="true">
  40513. <stringProp name="VAR">customer_id</stringProp>
  40514. <stringProp name="JSONPATH">$.id</stringProp>
  40515. <stringProp name="DEFAULT"/>
  40516. <stringProp name="VARIABLE"/>
  40517. <stringProp name="SUBJECT">BODY</stringProp>
  40518. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40519. <hashTree/>
  40520. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert customer id not null" enabled="true">
  40521. <collectionProp name="Asserion.test_strings">
  40522. <stringProp name="89649215">^\d+$</stringProp>
  40523. </collectionProp>
  40524. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  40525. <boolProp name="Assertion.assume_success">false</boolProp>
  40526. <intProp name="Assertion.test_type">1</intProp>
  40527. <stringProp name="Assertion.scope">variable</stringProp>
  40528. <stringProp name="Scope.variable">customer_id</stringProp>
  40529. </ResponseAssertion>
  40530. <hashTree/>
  40531. </hashTree>
  40532. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check customer" enabled="true">
  40533. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  40534. <collectionProp name="Arguments.arguments"/>
  40535. </elementProp>
  40536. <stringProp name="HTTPSampler.domain"/>
  40537. <stringProp name="HTTPSampler.port"/>
  40538. <stringProp name="HTTPSampler.connect_timeout"/>
  40539. <stringProp name="HTTPSampler.response_timeout"/>
  40540. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40541. <stringProp name="HTTPSampler.contentEncoding"/>
  40542. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/customers/${customer_id}</stringProp>
  40543. <stringProp name="HTTPSampler.method">GET</stringProp>
  40544. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40545. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40546. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40547. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40548. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40549. <stringProp name="HTTPSampler.embedded_url_re"/>
  40550. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/check_customer.jmx</stringProp>
  40551. </HTTPSamplerProxy>
  40552. <hashTree>
  40553. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true">
  40554. <stringProp name="JSON_PATH">$.id</stringProp>
  40555. <stringProp name="EXPECTED_VALUE">${customer_id}</stringProp>
  40556. <boolProp name="JSONVALIDATION">true</boolProp>
  40557. <boolProp name="EXPECT_NULL">false</boolProp>
  40558. <boolProp name="INVERT">false</boolProp>
  40559. <boolProp name="ISREGEX">true</boolProp>
  40560. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40561. <hashTree/>
  40562. <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 customer email" enabled="true">
  40563. <stringProp name="VAR">customer_email</stringProp>
  40564. <stringProp name="JSONPATH">$.email</stringProp>
  40565. <stringProp name="DEFAULT"/>
  40566. <stringProp name="VARIABLE"/>
  40567. <stringProp name="SUBJECT">BODY</stringProp>
  40568. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40569. <hashTree/>
  40570. </hashTree>
  40571. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create customer token" enabled="true">
  40572. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40573. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40574. <collectionProp name="Arguments.arguments">
  40575. <elementProp name="" elementType="HTTPArgument">
  40576. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40577. <stringProp name="Argument.value">{&#xD;
  40578. "username":"${customer_email}",&#xD;
  40579. "password":"test@123"&#xD;
  40580. }&#xD;
  40581. </stringProp>
  40582. <stringProp name="Argument.metadata">=</stringProp>
  40583. </elementProp>
  40584. </collectionProp>
  40585. </elementProp>
  40586. <stringProp name="HTTPSampler.domain"/>
  40587. <stringProp name="HTTPSampler.port"/>
  40588. <stringProp name="HTTPSampler.connect_timeout"/>
  40589. <stringProp name="HTTPSampler.response_timeout"/>
  40590. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40591. <stringProp name="HTTPSampler.contentEncoding"/>
  40592. <stringProp name="HTTPSampler.path">${base_path}rest/default/V1/integration/customer/token</stringProp>
  40593. <stringProp name="HTTPSampler.method">POST</stringProp>
  40594. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40595. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40596. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40597. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40598. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40599. <stringProp name="HTTPSampler.embedded_url_re"/>
  40600. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/api/create_customer.jmx</stringProp>
  40601. </HTTPSamplerProxy>
  40602. <hashTree>
  40603. <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 customer token" enabled="true">
  40604. <stringProp name="VAR">customer_token</stringProp>
  40605. <stringProp name="JSONPATH">$</stringProp>
  40606. <stringProp name="DEFAULT"/>
  40607. <stringProp name="VARIABLE"/>
  40608. <stringProp name="SUBJECT">BODY</stringProp>
  40609. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40610. <hashTree/>
  40611. </hashTree>
  40612. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query customer with token" enabled="true">
  40613. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40614. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40615. <collectionProp name="Arguments.arguments">
  40616. <elementProp name="" elementType="HTTPArgument">
  40617. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40618. <stringProp name="Argument.value">{"query":"{\n customer {\n created_at\n group_id\n\n prefix\n firstname\n middlename\n lastname\n suffix\n email\n default_billing\n default_shipping\n\n dob\n taxvat\n\n id\n addresses {\n id\n customer_id\n region {\n region_code\n region\n region_id\n }\n region_id\n country_id\n street \n company\n telephone\n fax\n postcode\n city\n firstname\n lastname\n middlename\n prefix\n suffix\n vat_id\n default_shipping\n default_billing\n }\n is_subscribed\n }\n}","variables":null,"operationName":null}</stringProp>
  40619. <stringProp name="Argument.metadata">=</stringProp>
  40620. </elementProp>
  40621. </collectionProp>
  40622. </elementProp>
  40623. <stringProp name="HTTPSampler.domain"/>
  40624. <stringProp name="HTTPSampler.port"/>
  40625. <stringProp name="HTTPSampler.connect_timeout"/>
  40626. <stringProp name="HTTPSampler.response_timeout"/>
  40627. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40628. <stringProp name="HTTPSampler.contentEncoding"/>
  40629. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40630. <stringProp name="HTTPSampler.method">POST</stringProp>
  40631. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40632. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40633. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40634. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40635. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40636. <stringProp name="HTTPSampler.embedded_url_re"/>
  40637. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_frontend_customer.jmx</stringProp>
  40638. </HTTPSamplerProxy>
  40639. <hashTree>
  40640. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="Set Customer Token" enabled="true">
  40641. <boolProp name="resetInterpreter">false</boolProp>
  40642. <stringProp name="parameters"/>
  40643. <stringProp name="filename"/>
  40644. <stringProp name="script">import org.apache.jmeter.protocol.http.control.Header;
  40645. sampler.getHeaderManager().removeHeaderNamed("Authorization");
  40646. sampler.getHeaderManager().add(new Header("Authorization","Bearer " + vars.get("customer_token")));</stringProp>
  40647. </BeanShellPreProcessor>
  40648. <hashTree/>
  40649. <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="Assert customer lastname" enabled="true">
  40650. <stringProp name="JSON_PATH">$.data.customer.lastname</stringProp>
  40651. <stringProp name="EXPECTED_VALUE">Doe</stringProp>
  40652. <boolProp name="JSONVALIDATION">true</boolProp>
  40653. <boolProp name="EXPECT_NULL">false</boolProp>
  40654. <boolProp name="INVERT">false</boolProp>
  40655. <boolProp name="ISREGEX">true</boolProp>
  40656. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion>
  40657. <hashTree/>
  40658. </hashTree>
  40659. </hashTree>
  40660. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Query Category" enabled="true">
  40661. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  40662. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  40663. <collectionProp name="Arguments.arguments">
  40664. <elementProp name="" elementType="HTTPArgument">
  40665. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  40666. <stringProp name="Argument.value">{"query":"{\n category(id: 1) {\n name\n id\n level\n description\n path\n path_in_store\n url_key\n url_path\n children {\n id\n description\n default_sort_by\n children {\n id\n description\n level\n children {\n level\n id\n children {\n id\n }\n }\n }\n }\n }\n}","variables":null,"operationName":null}</stringProp>
  40667. <stringProp name="Argument.metadata">=</stringProp>
  40668. </elementProp>
  40669. </collectionProp>
  40670. </elementProp>
  40671. <stringProp name="HTTPSampler.domain"/>
  40672. <stringProp name="HTTPSampler.port"/>
  40673. <stringProp name="HTTPSampler.connect_timeout"/>
  40674. <stringProp name="HTTPSampler.response_timeout"/>
  40675. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40676. <stringProp name="HTTPSampler.contentEncoding"/>
  40677. <stringProp name="HTTPSampler.path">${base_path}graphql</stringProp>
  40678. <stringProp name="HTTPSampler.method">POST</stringProp>
  40679. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40680. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40681. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40682. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40683. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40684. <stringProp name="HTTPSampler.embedded_url_re"/>
  40685. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/query_root_category.jmx</stringProp>
  40686. </HTTPSamplerProxy>
  40687. <hashTree>
  40688. <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 total_count" enabled="true">
  40689. <stringProp name="VAR">graphql_category_query_name</stringProp>
  40690. <stringProp name="JSONPATH">$.data.category.name</stringProp>
  40691. <stringProp name="DEFAULT"/>
  40692. <stringProp name="VARIABLE"/>
  40693. <stringProp name="SUBJECT">BODY</stringProp>
  40694. </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor>
  40695. <hashTree/>
  40696. <BeanShellAssertion guiclass="BeanShellAssertionGui" testclass="BeanShellAssertion" testname="BeanShell Assertion" enabled="true">
  40697. <stringProp name="BeanShellAssertion.query">String name = vars.get("graphql_category_query_name");
  40698. if (name == null) {
  40699. Failure = true;
  40700. FailureMessage = "Not Expected \"children\" to be null";
  40701. } else {
  40702. if (!name.equals("Root Catalog")) {
  40703. Failure = true;
  40704. FailureMessage = "Expected \"name\" to equal \"Root Catalog\", Actual: " + name;
  40705. } else {
  40706. Failure = false;
  40707. }
  40708. }
  40709. </stringProp>
  40710. <stringProp name="BeanShellAssertion.filename"/>
  40711. <stringProp name="BeanShellAssertion.parameters"/>
  40712. <boolProp name="BeanShellAssertion.resetInterpreter">false</boolProp>
  40713. </BeanShellAssertion>
  40714. <hashTree/>
  40715. </hashTree>
  40716. </hashTree>
  40717. </hashTree>
  40718. </hashTree>
  40719. <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
  40720. <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
  40721. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  40722. <boolProp name="LoopController.continue_forever">false</boolProp>
  40723. <stringProp name="LoopController.loops">1</stringProp>
  40724. </elementProp>
  40725. <stringProp name="ThreadGroup.num_threads">1</stringProp>
  40726. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  40727. <longProp name="ThreadGroup.start_time">1395324075000</longProp>
  40728. <longProp name="ThreadGroup.end_time">1395324075000</longProp>
  40729. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  40730. <stringProp name="ThreadGroup.duration"/>
  40731. <stringProp name="ThreadGroup.delay"/>
  40732. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/tear_down.jmx</stringProp></PostThreadGroup>
  40733. <hashTree>
  40734. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller: Dashboard enabled?" enabled="true">
  40735. <stringProp name="IfController.condition">"${dashboard_enabled}" == "1"</stringProp>
  40736. <boolProp name="IfController.evaluateAll">false</boolProp>
  40737. </IfController>
  40738. <hashTree>
  40739. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Trigger End Event" enabled="true">
  40740. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  40741. <collectionProp name="Arguments.arguments">
  40742. <elementProp name="environment" elementType="HTTPArgument">
  40743. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  40744. <stringProp name="Argument.value">${__property(environment)}</stringProp>
  40745. <stringProp name="Argument.metadata">=</stringProp>
  40746. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  40747. <stringProp name="Argument.name">environment</stringProp>
  40748. </elementProp>
  40749. <elementProp name="startTime" elementType="HTTPArgument">
  40750. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  40751. <stringProp name="Argument.value">${start_time}</stringProp>
  40752. <stringProp name="Argument.metadata">=</stringProp>
  40753. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  40754. <stringProp name="Argument.name">startTime</stringProp>
  40755. </elementProp>
  40756. <elementProp name="endTime" elementType="HTTPArgument">
  40757. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  40758. <stringProp name="Argument.value">${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}</stringProp>
  40759. <stringProp name="Argument.metadata">=</stringProp>
  40760. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  40761. <stringProp name="Argument.name">endTime</stringProp>
  40762. </elementProp>
  40763. <elementProp name="stats_server" elementType="HTTPArgument">
  40764. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  40765. <stringProp name="Argument.value">${redis_host}</stringProp>
  40766. <stringProp name="Argument.metadata">=</stringProp>
  40767. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  40768. <stringProp name="Argument.name">stats_server</stringProp>
  40769. </elementProp>
  40770. </collectionProp>
  40771. </elementProp>
  40772. <stringProp name="HTTPSampler.domain"/>
  40773. <stringProp name="HTTPSampler.port"/>
  40774. <stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
  40775. <stringProp name="HTTPSampler.response_timeout">200000</stringProp>
  40776. <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
  40777. <stringProp name="HTTPSampler.contentEncoding"/>
  40778. <stringProp name="HTTPSampler.path">${base_path}DeploymentEvent.php</stringProp>
  40779. <stringProp name="HTTPSampler.method">POST</stringProp>
  40780. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  40781. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  40782. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  40783. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  40784. <boolProp name="HTTPSampler.monitor">false</boolProp>
  40785. <stringProp name="HTTPSampler.embedded_url_re"/>
  40786. </HTTPSamplerProxy>
  40787. <hashTree/>
  40788. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert curl call was successful" enabled="true">
  40789. <collectionProp name="Asserion.test_strings">
  40790. <stringProp name="185669135">Errors:</stringProp>
  40791. </collectionProp>
  40792. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  40793. <boolProp name="Assertion.assume_success">false</boolProp>
  40794. <intProp name="Assertion.test_type">6</intProp>
  40795. </ResponseAssertion>
  40796. <hashTree/>
  40797. </hashTree>
  40798. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  40799. <collectionProp name="CookieManager.cookies">
  40800. <elementProp name="product_list_limit" elementType="Cookie" testname="product_list_limit">
  40801. <stringProp name="Cookie.value">30</stringProp>
  40802. <stringProp name="Cookie.domain">${host}</stringProp>
  40803. <stringProp name="Cookie.path">/</stringProp>
  40804. <boolProp name="Cookie.secure">false</boolProp>
  40805. <longProp name="Cookie.expires">0</longProp>
  40806. <boolProp name="Cookie.path_specified">true</boolProp>
  40807. <boolProp name="Cookie.domain_specified">true</boolProp>
  40808. </elementProp>
  40809. </collectionProp>
  40810. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  40811. </CookieManager>
  40812. <hashTree/>
  40813. </hashTree>
  40814. <ResultCollector guiclass="StatGraphVisualizer" testclass="ResultCollector" testname="Aggregate Graph" enabled="false">
  40815. <boolProp name="ResultCollector.error_logging">false</boolProp>
  40816. <objProp>
  40817. <name>saveConfig</name>
  40818. <value class="SampleSaveConfiguration">
  40819. <time>true</time>
  40820. <latency>true</latency>
  40821. <timestamp>true</timestamp>
  40822. <success>true</success>
  40823. <label>true</label>
  40824. <code>true</code>
  40825. <message>true</message>
  40826. <threadName>true</threadName>
  40827. <dataType>true</dataType>
  40828. <encoding>false</encoding>
  40829. <assertions>true</assertions>
  40830. <subresults>true</subresults>
  40831. <responseData>false</responseData>
  40832. <samplerData>false</samplerData>
  40833. <xml>false</xml>
  40834. <fieldNames>false</fieldNames>
  40835. <responseHeaders>false</responseHeaders>
  40836. <requestHeaders>false</requestHeaders>
  40837. <responseDataOnError>false</responseDataOnError>
  40838. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  40839. <assertionsResultsToSave>0</assertionsResultsToSave>
  40840. <bytes>true</bytes>
  40841. <hostname>true</hostname>
  40842. <threadCounts>true</threadCounts>
  40843. <sampleCount>true</sampleCount>
  40844. </value>
  40845. </objProp>
  40846. <stringProp name="filename">${response_time_file_name}</stringProp>
  40847. <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/common/aggregate_graph.jmx</stringProp></ResultCollector>
  40848. <hashTree/>
  40849. </hashTree>
  40850. <WorkBench guiclass="WorkBenchGui" testclass="WorkBench" testname="WorkBench" enabled="true">
  40851. <boolProp name="WorkBench.save">true</boolProp>
  40852. </WorkBench>
  40853. </hashTree>
  40854. </jmeterTestPlan>