Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Forum Post: Shopit Error

$
0
0
Hi All, I have scripted payment flow in shop it application but i am getting session timeout error. Could you please help me to fix it. //program// // ---------------------------------------------------------------------- // Recorded 11/2/2015 by Silk Performer Recorder v15.5.0.6262 HF2 // ---------------------------------------------------------------------- // Rule set "ASP.NET ViewState" // * Rule "Parse and Replace __VIEWSTATE" // * Rule "Parse and Replace __EVENTVALIDATION" // ---------------------------------------------------------------------- @codepage(1252) benchmark SilkPerformerRecorder use "WebAPI.bdh" dcluser user VUser transactions TInit : begin; TMain : 1; var dclrand dcltrans transaction TInit begin WebSetBrowser(WEB_BROWSER_MSIE11); WebModifyHttpHeader("Accept-Language", "en-US"); end TInit; transaction TMain var begin SetEncoding("UTF-8"); WebUrlBeginPage("ShopIt - Greetings"); // Redirecting - (redirection) http://demo.borland.com/ShopItV60/ WebUrl("http://demo.borland.com/ShopItV60"); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrlEndPage(); // ShopIt - Greetings ThinkTime(9.7); MeasureStart("Enter"); WebUrlBeginPage("ShopIt - New Visitor"); WebFormGet("http://demo.borland.com/ShopItV60/main.asp", SHOPITV60_MAIN_ASP001); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrlEndPage(); // ShopIt - New Visitor MeasureStop("Enter"); ThinkTime(22.6); MeasureStart("Login"); WebUrlBeginPage("ShopIt - Main menu"); WebFormPost("http://demo.borland.com/ShopItV60/main.asp", SHOPITV60_MAIN_ASP002); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/shopIt.css", SHOPITV60_SHOPIT_CSS003); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/transparent.gif", SHOPITV60_IMAGES_TRANSPARENT_GIF004); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/theme.gif", SHOPITV60_IMAGES_THEME_GIF005); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/arrowRight.gif", SHOPITV60_IMAGES_ARROWRIGHT_GIF006); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/logo.gif", SHOPITV60_IMAGES_LOGO_GIF007); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/logo.gif", SHOPITV60_IMAGES_LOGO_GIF008); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", SHOPITV60_IMAGES_ARROWRIGHTBROWN009) ; WebUrlEndPage(); // ShopIt - Main menu MeasureStop("Login"); ThinkTime(14.2); MeasureStart("Products"); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", SHOPITV60_IMAGES_ARROWRIGHTBROWN010, FORM_NULL, 1.03); WebUrlBeginPage("ShopIt - Product"); WebUrl("http://demo.borland.com/ShopItV60/products.asp"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeft.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeftBrown.gif"); WebUrlEndPage(); // ShopIt - Product MeasureStop("Products"); ThinkTime(22.3); MeasureStart("Select product"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", 0.58); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", 0.28); WebUrlBeginPage("ShopIt - Product (#1)"); // Redirecting - (redirection) http://demo.borland.com/ShopItV60/product.asp?code=1 WebFormGet("http://demo.borland.com/ShopItV60/checkselection.asp", SHOPITV60_CHECKSELECTION_ASP011); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeft.gif"); WebUrl("http://demo.borland.com/ShopItV60/product1.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeftBrown.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrlEndPage(); // ShopIt - Product (#1) MeasureStop("Select product"); ThinkTime(13.3); MeasureStart("Addtobasket"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", 0.33); WebUrlBeginPage("ShopIt - Basket"); WebFormGet("http://demo.borland.com/ShopItV60/basket.asp", SHOPITV60_BASKET_ASP012); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeft.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeftBrown.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeft.gif"); WebUrlEndPage(); // ShopIt - Basket MeasureStop("Addtobasket"); ThinkTime(16.2); MeasureStart("backtomainmenu"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeftBrown.gif", 0.61); WebUrlBeginPage("ShopIt - Main menu (#1)"); WebUrl("http://demo.borland.com/ShopItV60/main.asp"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrlEndPage(); // ShopIt - Main menu (#1) MeasureStop("backtomainmenu"); ThinkTime(9.7); MeasureStart("Checkout"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", 0.84); WebUrlBeginPage("ShopIt - Check Out"); WebUrl("http://demo.borland.com/ShopItV60/checkout.asp"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeft.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowLeftBrown.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrlEndPage(); // ShopIt - Check Out MeasureStop("Checkout"); ThinkTime(14.6); MeasureStart("Continue"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", 0.64); WebUrlBeginPage("kindofpayment.asp"); WebFormGet("http://demo.borland.com/ShopItV60/kindofpayment.asp", SHOPITV60_KINDOFPAYMENT_ASP013); WebUrlEndPage(); // kindofpayment.asp WebUrlBeginPage("ShopIt - Pay with credit card"); WebFormGet("http://demo.borland.com/ShopItV60/card.asp", SHOPITV60_CARD_ASP014); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrlEndPage(); // ShopIt - Pay with credit card MeasureStop("Continue"); ThinkTime(69.1); MeasureStart("Pay"); WebUrlBeginPage("ShopIt - Acknowledge"); WebFormPost("http://demo.borland.com/ShopItV60/acknowledge.asp", SHOPITV60_ACKNOWLEDGE_ASP015); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/shopIt.css", SHOPITV60_SHOPIT_CSS016); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/logo.gif", SHOPITV60_IMAGES_LOGO_GIF017); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/transparent.gif", SHOPITV60_IMAGES_TRANSPARENT_GIF018); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/theme.gif", SHOPITV60_IMAGES_THEME_GIF019); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/arrowRight.gif", SHOPITV60_IMAGES_ARROWRIGHT_GIF020); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/logo.gif", SHOPITV60_IMAGES_LOGO_GIF021); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", SHOPITV60_IMAGES_ARROWRIGHTBROWN022) ; WebUrlEndPage(); // ShopIt - Acknowledge MeasureStop("Pay"); ThinkTime(15.1); MeasureStart("ack"); WebCustomRequest("GET", "http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif", SHOPITV60_IMAGES_ARROWRIGHTBROWN023, FORM_NULL, 0.34); WebUrlBeginPage("ShopIt - Thanks"); WebUrl("http://demo.borland.com/ShopItV60/thanks.asp"); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrlEndPage(); // ShopIt - Thanks ThinkTime(5.3); WebUrlBeginPage("ShopIt - Fin"); WebUrl("http://demo.borland.com/ShopItV60/fin.asp"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/shopIt.css"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRight.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/transparent.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/theme.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/logo.gif"); WebUrl("http://demo.borland.com/ShopItV60/images/arrowRightBrown.gif"); WebUrlEndPage(); // ShopIt - Fin MeasureStop("ack"); end TMain; dclform SHOPITV60_MAIN_ASP001: "from" := "welcome"; SHOPITV60_MAIN_ASP002: "name" := "user1", "New-Name-Button" := "Enter"; SHOPITV60_SHOPIT_CSS003: "" := ""; SHOPITV60_IMAGES_TRANSPARENT_GIF004: "" := ""; SHOPITV60_IMAGES_THEME_GIF005: "" := ""; SHOPITV60_IMAGES_ARROWRIGHT_GIF006: "" := ""; SHOPITV60_IMAGES_LOGO_GIF007: "" := ""; SHOPITV60_IMAGES_LOGO_GIF008: "" := ""; SHOPITV60_IMAGES_ARROWRIGHTBROWN009: "" := ""; SHOPITV60_IMAGES_ARROWRIGHTBROWN010: "" := ""; SHOPITV60_CHECKSELECTION_ASP011: "product" := "boots1"; SHOPITV60_BASKET_ASP012: "code" := "1"; SHOPITV60_KINDOFPAYMENT_ASP013: "choice" := "CreditCard", "price" := "59.9", "sid" := "831020646"; SHOPITV60_CARD_ASP014: "sid" := "831020646"; SHOPITV60_ACKNOWLEDGE_ASP015: "address" := "main st", "city" := "chennai", "state" := "tamilnadu", "ZipCode" := "600005", "cardtype" := "American Express", "cardnumber" := "411111111111111", "expiration" := "10/20/2020", "sid" := "831020646"; SHOPITV60_SHOPIT_CSS016: "" := ""; SHOPITV60_IMAGES_LOGO_GIF017: "" := ""; SHOPITV60_IMAGES_TRANSPARENT_GIF018: "" := ""; SHOPITV60_IMAGES_THEME_GIF019: "" := ""; SHOPITV60_IMAGES_ARROWRIGHT_GIF020: "" := ""; SHOPITV60_IMAGES_LOGO_GIF021: "" := ""; SHOPITV60_IMAGES_ARROWRIGHTBROWN022: "" := ""; SHOPITV60_IMAGES_ARROWRIGHTBROWN023: "" := "";

Viewing all articles
Browse latest Browse all 4084

Trending Articles