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dHktMS4xI1RodW1icHJpbnRTSEExIj5QTE5QWDBOYmJZeEE3TVpxd2hSZkxJcFd2VkE9PC9vOktleUlkZW50aWZpZXI+PC9vOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2U+PC9LZXlJbmZvPjwvU2lnbmF0dXJlPjwvc2FtbDpBc3NlcnRpb24+" sessiontoken = SignOn.SignOnWithToken(base_url, Idt) #For ServiceKey 4DBA36C8FD500001 EcommHC_Visa = { "ServiceId": "35EDC00001", "ProfileId": "Generic_Ecomm_HC", "Phone": None, "IndustryType": "Ecommerce", "ServiceName": "Generic Sandbox BCP Host Capture", "CustomerPresent": "Ecommerce", "CardBrandIdentifiers_3DSecure": [{ "MerchantNumber": "1234567890", "MerchantBankId": "123456", "MerchantUrl": "http://www.evosnap.com", "CardBrand3DSecureProgram": "Visa_VerifiedByVisa",
from httprequests import SignOn, TPS, SIS, TMS from testcases import regression from miscutils import dataquery base_url = "https://api.ciptest.goevo.local/2.1.26/REST/" Idt = "PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzdjNTU0NDhmLTNkYWUtNDc0NS04MDBhLWU4ZWI3YjZjZDg4NCIgSXNzdWVyPSJJcGNBdXRoZW50aWNhdGlvbiIgSXNzdWVJbnN0YW50PSIyMDE1LTA5LTEwVDE5OjMwOjI3LjI5MVoiIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjEuMDphc3NlcnRpb24iPjxzYW1sOkNvbmRpdGlvbnMgTm90QmVmb3JlPSIyMDE1LTA5LTEwVDE5OjMwOjI3LjI5MVoiIE5vdE9uT3JBZnRlcj0iMjAxOC0wOS0xMFQxOTozMDoyNy4yOTFaIj48L3NhbWw6Q29uZGl0aW9ucz48c2FtbDpBZHZpY2U+PC9zYW1sOkFkdmljZT48c2FtbDpBdHRyaWJ1dGVTdGF0ZW1lbnQ+PHNhbWw6U3ViamVj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1TTVVWjFKSGlPL3FuMnRpWjJPQThjQlBUQno2TTVZejZ5WXBaazB3Unl6SGI3YU5kUjFSTTgrdVVZVnhYK3BoZGlzZWE0Y2V0S0JEa0lsVURZUThkS1FXazBSOXUrWDNOSXJTMmZzUFpDWG05Qi9hUDBhNk45ZStadkN4ZVZyUWxXa0drdWE2am4ra1ZWMkZ4aVZpT2F5cFo2emFJd2dXcEhUTVNGZjZzbVo4NytXUUhKV3NWdFZSTzlnPT08L1NpZ25hdHVyZVZhbHVlPjxLZXlJbmZvPjxvOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2UgeG1sbnM6bz0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3NzLzIwMDQvMDEvb2FzaXMtMjAwNDAxLXdzcy13c3NlY3VyaXR5LXNlY2V4dC0xLjAueHNkIj48bzpLZXlJZGVudGlmaWVyIFZhbHVlVHlwZT0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3NzL29hc2lzLXdzcy1zb2FwLW1lc3NhZ2Utc2VjdXJpdHktMS4xI1RodW1icHJpbnRTSEExIj5QTE5QWDBOYmJZeEE3TVpxd2hSZkxJcFd2VkE9PC9vOktleUlkZW50aWZpZXI+PC9vOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2U+PC9LZXlJbmZvPjwvU2lnbmF0dXJlPjwvc2FtbDpBc3NlcnRpb24+" fourd_sessiontoken = SignOn.SignOnWithToken( base_url, Idt) #For ServiceKey 4DBA36C8FD500001 sixb_sessiontoken = SignOn.SignOnWithToken( base_url, dataquery.getIdentityToken("TEST", "6B2866C8FD500001")) dd_sessiontoken = SignOn.SignOnWithToken( base_url, DDIdt) #For ServiceKey DD6265F71F100001 #hf2Idt = "PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzlkYjg5ZGY0LTg4N2UtNGI5YS04YTkxLTFkN2M1M2E4MmVjM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S.SaveMerchantProfiles(base_url,hf2_sessiontoken,ProfileId="HF25R2Test",ServiceId="3CF9E00001",CardBrandIdentifiers_3DSecure=None,EntryMode="TrackDataFromMSR",CustomerPresent="Present",IndustryType="Retail",MerchantId="400000000000000",TerminalId="40000000") #Guid_AuthOnly = TPS.Authorize(base_url,hf2_sessiontoken,**regression.Sandbox_NGT["EncEMV1"])["TransactionId"] #SIS.SaveApplicationData(base_url,sixb_sessiontoken,ReadCapability="MSREMVICC",VendorId="36AEB595F0") #Guid_Auth= TPS.Authorize(base_url,sixb_sessiontoken,**regression.Sandbox_NGT["EncEMV1"])["TransactionId"] #TPS.SendReceipt(base_url,sixb_sessiontoken,Guid_Auth,"*****@*****.**") #TPS.Undo(base_url,sixb_sessiontoken,TxnGUID=Guid_AuthOnly,**regression.Sandbox_NGT["EncEMV1_Undo"]) #Guid_AuthOnly = TPS.Authorize(base_url,fourd_sessiontoken,ChipConditionCode="1",**regression.Generic["Level2Data"]) #### PAYTRACE ##### #pt_IDT = "PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzc5MmE2NzZkLWRmNzEtNDAyOC1hOGU0LWNlY2M2NjcxZGRkNCIgSXNzdWVyPSJJcGNBdXRoZW50aWNhdGlvbiIgSXNzdWVJbnN0YW50PSIyMDE0LTExLTIwVDE5OjU5OjAxLjYyNVoiIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjEuMDphc3NlcnRpb24iPjxzYW1sOkNvbmRpdGlvbnMgTm90QmVmb3JlPSIyMDE0LTExLTIwVDE5OjU5OjAxLjYyNVoiIE5vdE9uT3JBZnRlcj0iMjAxNy0xMS0yMFQxOTo1OTowMS42MjVaIj48L3NhbWw6Q29uZGl0aW9ucz48c2FtbDpBZHZpY2U+PC9zYW1sOkFkdmljZT48c2FtbDpBdHRyaWJ1dGVTdGF0ZW1lbnQ+PHNhbWw6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JjUWFnYkpxRjFEcmJqN1pFRWdKcEhlSE5CaVdEWENZWXo2cW5oMnVIdlY2Ry9vbkVIaUFmOERGb1RnU0FZbkJWRG1obmowU2k3Nks1TkdhdXhUMXBrY3l0bThqWk0vRndSRGlFaEZBPT08L1NpZ25hdHVyZVZhbHVlPjxLZXlJbmZvPjxvOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2UgeG1sbnM6bz0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3NzLzIwMDQvMDEvb2FzaXMtMjAwNDAxLXdzcy13c3NlY3VyaXR5LXNlY2V4dC0xLjAueHNkIj48bzpLZXlJZGVudGlmaWVyIFZhbHVlVHlwZT0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3NzL29hc2lzLXdzcy1zb2FwLW1lc3NhZ2Utc2VjdXJpdHktMS4xI1RodW1icHJpbnRTSEExIj5QTE5QWDBOYmJZeEE3TVpxd2hSZkxJcFd2VkE9PC9vOktleUlkZW50aWZpZXI+PC9vOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2U+PC9LZXlJbmZvPjwvU2lnbmF0dXJlPjwvc2FtbDpBc3NlcnRpb24+" #pt_sessiontoken = SignOn.SignOnWithToken(base_url,pt_IDT) #Guid_AuthOnly = TPS.Authorize("https://api.ciptest.goevo.local/2.1.22/REST/",pt_sessiontoken,**regression.Adaptor["PaytraceHC"])["TransactionId"]
ptrc_IdentityToken = dataquery.getIdentityToken("TEST", "183B6712DC700001") eSvc_IdentityToken = dataquery.getIdentityToken("TEST", "DD6265F71F100001") trn_serviceId = dataquery.getServiceId("TEST", "EvoIntl", "HostCap", "Sandbox") eSvc_serviceId = dataquery.getServiceId("TEST", "eServices", "HostCap", "Host") ngt_serviceId = dataquery.getServiceId("TEST", "NGTrans", "HostCap", "Host") ptrc_serviceId = dataquery.getServiceId("TEST", "Paytrace", "HostCap", "Host") ngt_MerchProfId = "HCRestaurantMerch" #trn_MerchProfId = "EVOIntl_SOAP_Ecommerce_HostCap_TestHost" trn_MerchProfId = "TRN_Ecommerce_SBX" ptrc_MerchProfId = "PayTrace_SOAP_Restaurant_HC_TestHost" eSvc_MerchProfId = "eServices_SOAP_CardPresent_HC" #TRON Tests trn_ngt_sessiontoken = SignOn.SignOnWithToken(base_url, trn_ngt_IdentityToken) guid = TPS.Authorize(base_url, trn_ngt_sessiontoken, "911C800001", MerchantProfileId=ngt_MerchProfId, CustomerPresent="Present", EcommerceSecurityData=None, CardSecurityData=None, AlternativeMerchantData=None, ApplicationConfigurationData=None, Level2Data=None, InterchangeData=None, CustomerData=None) #TPS.Capture(base_url,trn_ngt_sessiontoken,"911C800001",guid) #TPS.Capture(base_url,trn_ngt_sessiontoken,"911C800001",guid)
from httprequests import TMS, SignOn from testcases import TMSParams from miscutils import dataquery base_url = "https://api.ciptest.goevo.local/2.1.23/REST/" sessiontoken = SignOn.SignOnWithToken( base_url, dataquery.getIdentityToken("TEST", "6B2866C8FD500001")) for testcase in TMSParams.TestCases.values(): #TMS.QueryTransactionsSummary(base_url,sessiontoken,**testcase) #TMS.QueryTransactionDetails(base_url,sessiontoken,**testcase) TMS.QueryTransactionFamilies(base_url, sessiontoken, **testcase) #TMS.QueryTransactionDetails(base_url,sessiontoken,**TMSParams.TestCases["Combo1"])
Injection = {"VendorId":"8644BF23E0","DeviceSerialNumber":"666-gtfo","RegionId":"OCanada"} Encrypted_Magstripe = {"VendorId":"AA81EA93DF","SecurePaymentAccountData":"86521EFB79158F9F2B56BD6CA4413091676096EEF0CB8948C2B2F4478766F76CDAE83A6899FBAD04","DeviceSerialNumber":"WWW12345","EncryptionKeyId":"00000015040019E00005"} Encrypted_Magstripe2 = {"VendorId":"AA81EA93DF","SecurePaymentAccountData":"F2B11DE563A38C6F9A843D9FCC9DC6E91C086D9CBE973BADCCFF46F8845B001A8EF53B00868C2DAB","DeviceSerialNumber":"WWW12346","EncryptionKeyId":"02840619140008E00056"} Encrypted_Magstripe_EMVSwiper = {"VendorId":"22E2FE8B7E","SecurePaymentAccountData":"05FEC1CA1E89304D943DBBCF9E7BA42338DED6414363B05FEB65A6A12DA3BF71DDFF36F24C1F2DBE","DeviceSerialNumber":"WWW12349","EncryptionKeyId":"88888806500285200038"} Encrypted_Magstripe_Wisepad = {"VendorId":"22E2FE8B7E","SecurePaymentAccountData":"5673D37FB2DC095A33F41D5C8CE10B534460CB6237F641E6DB05C6A6DAD1A69DF6FEA624BA3AF1D6","DeviceSerialNumber":"WWW12349","EncryptionKeyId":"88888806500285200038"} Encrypted_Android = {"VendorId":"AA81EA93DF","SecurePaymentAccountData":"0f6395447796d595ddfff34f75eba36cb35c61b3772ca0d8bcfd1cf2fc980a1b7a7e48e725315124e927c8a6fcac4944e81469569457ec30027089f61ce032d8e743d71efe05e52709727463209f326318dc33ac546c592b60fc20e05075908222e617368f9fe418f422b049b7e33370a2775c66110d80c8","DeviceSerialNumber":"XXX12345","EncryptionKeyId":"88888844200100e0000e"} Encrypted_PIN = {"VendorId":"E2322D8F62","KeySerialNumber":"0000030100000005","PIN":"1faefa2321bda1b2","DeviceSerialNumber":"III12345"} Encrypted_EMV = {"SecureEMVData":"5F201A56495341204143515549524552205445535420434152442032319F21032243539A031503319F160F0000000000000000000000000000004F07A00000000310105F24031512319F02060000000001009F03060000000000009B02E800950502002400009F26086FF9DEB9F0677AC09F120F4352454449544F2044452056495341C408476173FFFFFF0010C00ADDA33A8F000000E00038C10ADDA43A8F000000E00018C2820170131EBD61B3781EF63D2D13EC09A2FC0FCE4A70BDECBBA7147C0C3CF40D275687A51F9687B88B2B9D151B03F96A629F591562FD8C3FC63025CBB79C9C8B2DB7310E6E973A4C898B1F9EC7A9D054AF81803E485400A9E8412985136987E73B11E0B1E2BC357E713E531B671AEA20BC8385DE324011F375FB275F3D41D51AA700A9E73F5E160C06D2D35E5AABAC0F57D365AABF3A5AC7D7A1FF90A28FC0B4C4119612F95894EB648B801309CB284EDE2D0AC544C8B7C650076673941CD9B3FFB6E6217331A4F74FE7E5BE2EA64C4026720DA84053908FB856EB214B3EA6BAFFB868D1DDF828B19BCD1289EFA60B790ECF8A4C99A435738515944A1DDBBDF98B88808E4E75AA5C581DD028B75652680B9523A983E8A2E932D129F74B6C4C6965F7C22435A616CE3925F4E147CDAE8D2BFE94CB98AE7ECE75C822DED29D7F7B5DA55B104D06F37D00C1D282CA9A1ED0C9738456545C3CB0B760CB9202CF1DC13469CDAFD9E1E3D6EDF789D3E40E0C360BF6B6","DeviceSerialNumber":"CCC12345","VendorId":"5EEC38377D"} Encrypted_EMV_EMVSwiper = {"SecureEMVData":"C00A88888806500285400020C408374245FFFFF1003FC282018821297BE769A95C9F468D49BCD9488AFCA912BF659BB031698412F7AA286B757B85CF7B0E9DC3EB3FD7769EFDA5093DDB9728A0B5A540220AD6D65A35D26F9C80C37FEAF1D60BFE7E4B39560B73670F2AFC44022A589B3F0A084C1C85B2C7A6FE4F1E9DBFEA724976AF0450189C981E1057CEEFF9766AC91F7C9FFBCD3A3FFCFF6336B3D594CF15D41BEFAD1D212813CE8A589E2AA2111613C62950E51B24D9E5C6ACFD05AC438EC6E7D51E19C92590D14CCA60F335BF9AF37045A3C851E90A33B184B026DC80CF892CC4710B59F3EDA80E196C28F316D06EED1232E28883D032D951006A0ECA842F0B3D6496B09E424BD70319D2A2F48D7CC353D0F1913DFBE791ACBAE9AF5F5C7E4AE870B2535D4F34E9EE38F1C17BF7C805E2481A2F4332EED223212C89E9DAB14DDBE73CA4CC442F0EAED9C007C6A525EEF300C5C7BA5ED01884863FEF346969823792CCC30F33B7EDB81E9400DCC2500D737504BBC70B8D4EE745C5C09397DFFDB77C1DA1A4900BCB3631B0EA22B1E8CAA5774F2281691B4A307AC8B0CA0107C70A88888806500285200036C8181B9C3655DD20784EB06F5E90830B1B6011E4E9B0B7AB54B94F08A000000025010801950508400080009B02E8005F201A41454950532032352F56455220312E30202020202020202020205F24031301319F02060000000120009F1C0831313232333334349F2608C830C95D5B1A8BC09F2701809A031507169C01009F1A020840","DeviceSerialNumber":"CCC12346","VendorId":"22E2FE8B7E"} Encrypted_EMV_Wisepad = {"SecureEMVData":"4F08A000000025010801950508400080009B02E8005F201A41454950532032352F56455220312E30202020202020202020205F24031301319F02060000000110009F03060000000000009F1C0831313232333334349F260866C0810DBBD4ADE39F270180C28201B897AB994E1EA6A3061FE10DDD52AE58AF05A07063786F7DB95BE76CADF2EBEEDAFFA7850084B6EBEA7DC9932E4F2A9D6CA800A33BE440741D89697EB9F5486A1CCB3B76BE6D56A779998C297FD3C12B3F95EA91CCB2E338D6025881549E08EFDFD4394BB40A69BB7D00319514D48C8F293D08FA0E864DD2BAFE30A7C4F90020AF210CA5BFFA26E538471F3595D358249B5B8264666297C5E51EE6CBFCF73214C6F9A2664E622E6A04B83A6C321877FA6C58EB040FF42B111D5A3B6813120FF3F261D5C7D924CABAC319AC05E07CE644221366A7371717B06DF4319943AC631E7195F8602C9DBB475ECB04C3E806B85D4CD21FF32A79538733F974EE114BDF5033763E612671ADF7867937E661C2C02AE388695BF302F0198F678472273B77DF4166A83AC2F886B107AC2526FE859DC53E1AE2DFCD17BF950BBFBDE767A8E15B61B28AD77D99D9F50747BF109113F143761865D58B89B34F4D89C1F15B6448BA74991375E65DF501E2B34FE4ECE490BE120B9A9E1FCCF9D25AD55BF3F40ED771A1EC66B0D702209A2EEDED3E58339CF54766ACA3F5AD9AACDFE71C7D490E776E29857C45E4E5C0285556863C4EFD07E549405DD7DB672B3845CD08936A8CD8723554BECE0A02850619140237E00007C00A02830619140237E00005C408374245FFFFF1003FC8182DC1B5B8443DBE0C874A411DBF1F65F12B89F561D3B7F46AC70A02820619140237E00006","DeviceSerialNumber":"CCC12347","VendorId":"22E2FE8B7E"} Encrypted_Track1 = {"VendorId":"AA81EA93DF","SecurePaymentAccountData":"80CC198922EFF815340969E9F5B9F01569E5A78B1B74FE243E630E02E9948FCAEA81A13F17DCCFEC8B0C59A3D3A7B1E31CF0E2BE8CB604920B51BFF5AD016781297DDAEF65ED8C5008290B89607E37DA","DeviceSerialNumber":"WWW12345","EncryptionKeyId":"8888880650028520001B"} Encrypted_EMV_Amex = {"SecureEMVData":"C00A88888806500284400004C408374245FFFFF1007FC2820188B773B02C49DE87B7C2CAF96ADD1B04D046C6ACD8EA645D209E610447051AF8E7C28C4A764EFF2EF735C69875EDFFB3F111DAA14761320B8FC902F10C9CBB2092DDE3E1D6B2A66E91B21B27428F9621AA8FD1BCA8B3954D312611CF8A5A2904C619EE6C9AF9C7FC8C8408F38AD630E322F70452B41D8B10D883AC7BE6BCB13A4A73592F3D3F64E82DB1FBA91BBA48DDB3BAEF70091849BE86F446469514FAC4EBDD5BE9B23AFC1B74470381F3931055A1B0B85D62A609F86F136F71F2C2808C6CA49C218260AE154C1A4A7156FA11018CC8A462E2F82CFDCB369E885902C614770BD6BAD20CEBBEB7E64442C1F03E22E2D434AE3699872092771EA7E4374A69400B510517E7402893A06E703CDEA38AEBB78A40AC0B0D43CF0EA160000134A1F4E610BC0F6E1DC29F075B8E174E90C96F0900FE0CAE8545D630E2ABC987DC80286E7332047D797018F90701C2772E15F4E2F9AD7B8D778B41348AA73F0AB8BBD474BE16E8C55D4F118C03C6401D38BBCEE6BB8C33B90D4C7CDAD5CA28CB573E1E1EB8670D90A02312C70A88888806500284200004C818F69B303F45A384928EA2F6D5667346F88A866903A101D52B4F08A000000025010801950508000080009A031507019B02E8009C01005F201A41454950532032302054455354204341524420202020202020205F24031810309F02060000000030009F03060000000000009F1A0208409F1C0831313232333334349F260821AB1B15467A0E259F270180","DeviceSerialNumber":"KMJ00005","VendorId":"CD2DA15466"} bb_sessiontoken = SignOn.SignOnWithToken(base_url,dataquery.getIdentityToken("TEST","BBE2F64B19200001")) sixb_sessiontoken = SignOn.SignOnWithToken(base_url,dataquery.getIdentityToken("TEST","6B2866C8FD500001")) P2PE_sessiontoken = SignOn.SignOnWithToken(base_url,P2PE_Idt) #SignOn.ChangePassword(base_url,"kjones","Wb3x5JCa84F",P2PE_ServiceKey,"Passw0rd1") P2PE_sessiontoken = SignOn.SignOnWithUsernamePassword(base_url,"Keymasta","Passw0rd1",P2PE_ServiceKey)["SessionToken"] ############ RequestKEY ################################ #SIS.GetServiceInformation(base_url,sixb_sessiontoken) #SIS.SaveMerchantProfiles(base_url,sixb_sessiontoken,ProfileId=ngt_MPID3,ServiceId=ngt_ServiceId,EntryMode="TrackDataFromMSR",CustomerPresent="Present",IndustryType="Retail",MerchantId="6000006",TerminalId="98765432160601") #SIS.SaveMerchantProfiles(base_url,sixb_sessiontoken,ProfileId="NGT_H2H_HC",ServiceId="1B04F00001",EntryMode="TrackDataFromMSR",CustomerPresent="Present",IndustryType="Retail",MerchantId="6000006",TerminalId="98765432160601") #TPS.RequestKey("https://api.ciptest.goevo.local/2.1.23/",P2PE_sessiontoken,enc_ServiceId,MerchantProfileId=enc_MPID,**Injection) ########### Encryption Transactions ###########################
from httprequests import SignOn, TPS, SIS, TMS from testcases import GenericTests base_url = "https://us002-dv-cip01.evosnap.local/2.1.23/TPS.svc" Idt = "" sessiontoken = SignOn.SignOnWithToken(base_url,Idt) TPS.Authorize(base_url,sessiontoken,**GenericTests.AllRules["BillingAdrHappy"])
from httprequests import SignOn, SIS, TPS from testcases import CWSRules24R1 base_url = "https://api.cipcert.goevo.com/2.1.23/REST/" IdentityToken = "PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzQxMjU4YjM3LTU2NmItNDg0ZC1hYzU2LWUxY2VlYzlmNDE0MCIgSXNzdWVyPSJJcGNBdXRoZW50aWNhdGlvbiIgSXNzdWVJbnN0YW50PSIyMDE1LTAzLTA5VDE2OjEwOjU2LjEzMFoiIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjEuMDphc3NlcnRpb24iPjxzYW1sOkNvbmRpdGlvbnMgTm90QmVmb3JlPSIyMDE1LTAzLTA5VDE2OjEwOjU2LjEzMFoiIE5vdE9uT3JBZnRl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5VcnRJbTlWN2FNYlBFZE5hMitFY1cvYUFBNU4rMmxrMGowOWtRcm9SdnYyV0dsblpFTE5pZjZOU24wZithSjkvSXg2R3l0OWFUQlNIWU01ekZLL1FtcE9rRnUxSDViMVNUcXRRTG5EcFVMRWxSc0t5TDJKSk9JcG9CSWZvTWFhTUJHaERFQUNIYnJPMlpra1l6cSsrV2Z2NFBZczRKV2p0UE5EdVpnQWgyUGFiUlhMUFJ5RjRWdThDY2FYbWIyTTR0UFo4NExKTDZHdHptNWpPM3ZNemxKbUFRPT08L1NpZ25hdHVyZVZhbHVlPjxLZXlJbmZvPjxvOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2UgeG1sbnM6bz0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3NzLzIwMDQvMDEvb2FzaXMtMjAwNDAxLXdzcy13c3NlY3VyaXR5LXNlY2V4dC0xLjAueHNkIj48bzpLZXlJZGVudGlmaWVyIFZhbHVlVHlwZT0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3NzL29hc2lzLXdzcy1zb2FwLW1lc3NhZ2Utc2VjdXJpdHktMS4xI1RodW1icHJpbnRTSEExIj5iQkcwU0cvd2RCNWJ4eVpyYjEvbTVLakhLMU09PC9vOktleUlkZW50aWZpZXI+PC9vOlNlY3VyaXR5VG9rZW5SZWZlcmVuY2U+PC9LZXlJbmZvPjwvU2lnbmF0dXJlPjwvc2FtbDpBc3NlcnRpb24+" sessiontoken = SignOn.SignOnWithToken(base_url,IdentityToken) SIS.GetServiceInformation(base_url,sessiontoken) #SIS.GetMerchantProfiles(base_url,sessiontoken) Scenario_CustPres = ["CustPresent"] for testcase in Scenario_CustPres: TPS.Authorize(base_url,sessiontoken,**CWSRules24R1.TPSTestCases[testcase])