How can I resolve error 405 Method Not allowed in Load Runner.

1,152 views
Skip to first unread message

Adersh Mohan

unread,
Aug 25, 2017, 10:43:48 AM8/25/17
to LoadRunner
Hi Team,

Please help me to resolve the below issue in Load Runner.


Getting error  ( Action.c(456): Error -26626: HTTP Status-Code=405 (Method Not Allowed) for "http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/AuthenticateLogon"   [MsgId: MERR-26626] ) while replaying the below script.

Getting the error message upon executing the highlighted section in yellow color.


Action
()
{

    web_set_sockets_option("SSL_VERSION", "TLS1.1");

    web_url("gpsportalpreprod.gbg.com", 
        "URL=http://gpsportalpreprod.gbg.com/", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t1.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("jquery.unobtrusive-ajax.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.unobtrusive-ajax.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t2.inf", 
        LAST);

    web_url("jquery.validate.unobtrusive.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.validate.unobtrusive.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t3.inf", 
        LAST);

    web_url("alert.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/alert.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t4.inf", 
        LAST);

    web_url("jquery.validate.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.validate.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t5.inf", 
        LAST);

    web_url("jquery-1.7.1.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery-1.7.1.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t6.inf", 
        LAST);

    web_url("jquery-ui-1.8.20.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery-ui-1.8.20.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t7.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("blbmaehbb", 
        "URL=http://blbmaehbb/", 
        "Method=HEAD", 
        "Resource=0", 
        "RecContentType=application/octet-stream", 
        "Referer=", 
        "Snapshot=t8.inf", 
        "Mode=HTTP", 
        LAST);

    web_custom_request("hkqebhzepow", 
        "URL=http://hkqebhzepow/", 
        "Method=HEAD", 
        "Resource=0", 
        "RecContentType=application/octet-stream", 
        "Referer=", 
        "Snapshot=t9.inf", 
        "Mode=HTTP", 
        LAST);

    web_custom_request("skiaqsupekha", 
        "URL=http://skiaqsupekha/", 
        "Method=HEAD", 
        "Resource=0", 
        "RecContentType=application/octet-stream", 
        "Referer=", 
        "Snapshot=t10.inf", 
        "Mode=HTTP", 
        LAST);

    web_url("bootbox.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/bootbox.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t11.inf", 
        LAST);

    web_url("bbangular-resource.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/bbangular-resource.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t12.inf", 
        LAST);

    web_url("jquery.blockUI.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.blockUI.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t13.inf", 
        LAST);

    web_url("jquery.cookie.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.cookie.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t14.inf", 
        LAST);

    web_url("jquery.tinyscrollbar.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.tinyscrollbar.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t15.inf", 
        LAST);

    web_url("jquery.tooltip.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/jquery.tooltip.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t16.inf", 
        LAST);

    web_url("bootstrap.css", 
        "URL=http://gpsportalpreprod.gbg.com/Content/bootstrap/css/bootstrap.css", 
        "Resource=1", 
        "RecContentType=text/css", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t17.inf", 
        LAST);

    web_url("GBG_PreAuthorizationPortal-en-GB.css", 
        "URL=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Resource=1", 
        "RecContentType=text/css", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t18.inf", 
        LAST);

    web_url("route-angular.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/route-angular.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t19.inf", 
        LAST);

    web_url("tab.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/tab.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t20.inf", 
        LAST);

    web_url("json2.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/json2.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t21.inf", 
        LAST);

    web_url("modal.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/modal.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t22.inf", 
        LAST);

    web_url("angular.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/angular.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t23.inf", 
        LAST);

    web_url("constants.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/constants.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t24.inf", 
        LAST);

    web_url("ui-bootstrap-tpls-0.10.0.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/ui-bootstrap-tpls-0.10.0.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t25.inf", 
        LAST);

    web_url("starter.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/starter.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t26.inf", 
        LAST);

    web_url("session.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/session.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t27.inf", 
        LAST);

    web_url("actions.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/actions.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t28.inf", 
        LAST);

    web_url("bootstrap.js", 
        "URL=http://gpsportalpreprod.gbg.com/Content/bootstrap/js/bootstrap.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t29.inf", 
        LAST);

    web_url("configuration.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/configuration.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t30.inf", 
        LAST);

    web_url("localizationBus.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/Services/localizationBus.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t31.inf", 
        LAST);

    web_url("directives.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/directives.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t32.inf", 
        LAST);

    web_url("communicationService.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/communicationService.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t33.inf", 
        LAST);

    web_url("popUpService.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/popUpService.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t34.inf", 
        LAST);

    web_url("tinyMCEManager.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/tinyMCEManager.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t35.inf", 
        LAST);

    web_url("ReportController.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/RootControllers/ReportController.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t36.inf", 
        LAST);

    web_url("fileUploadService.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseScripts/fileUploadService.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t37.inf", 
        LAST);

    web_url("AdminController.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/RootControllers/AdminController.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t38.inf", 
        LAST);

    web_url("LoginController.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseControllers/LoginController.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t39.inf", 
        LAST);

    web_url("ClaimsController.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/RootControllers/ClaimsController.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t40.inf", 
        LAST);

    web_url("RequestsController.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/RootControllers/RequestsController.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t41.inf", 
        LAST);

    web_url("dataBus.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/Services/dataBus.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t42.inf", 
        LAST);

    web_concurrent_start(NULL);

    web_url("loginTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/loginTemplate.js?id=9WC7M8VMLJSR", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t43.inf", 
        LAST);

    web_url("favicon.ico", 
        "URL=http://gpsportalpreprod.gbg.com/favicon.ico", 
        "Resource=1", 
        "RecContentType=image/x-icon", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t44.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_url("loginTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/loginTemplate.htm?id=YB7Y46J78WO5", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t45.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("error_btn.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/error_btn.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t46.inf", 
        LAST);

    web_url("pencil.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/pencil.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t47.inf", 
        LAST);

    web_url("logo.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/logo.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t48.inf", 
        LAST);

    web_url("shadow.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/shadow.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t49.inf", 
        LAST);

    web_url("lock.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/lock.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t50.inf", 
        LAST);

    web_url("ajax-loader.gif", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/ajax-loader.gif", 
        "Resource=1", 
        "RecContentType=image/gif", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t51.inf", 
        LAST);

    web_url("user.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/user.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t52.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("GetLocalizedContentForTemplates", 
        "URL=http://gpsportalpreprod.gbg.com/api/LocalizationApi/GetLocalizedContentForTemplates", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t53.inf", 
        "Mode=HTTP", 
        "EncType=application/json;charset=UTF-8", 
        "Body={\"TemplateNames\":[\"loginTemplate\",\"CommonDataResources\"]}", 
        LAST);

    lr_think_time(4);

    web_custom_request("AuthenticateLogon", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/AuthenticateLogon", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t54.inf", 
        "Mode=HTTP", 
        LAST);


    web_custom_request("AuthenticateLogon_2", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/AuthenticateLogon", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t55.inf", 
        "Mode=HTTP", 
        "EncType=application/json;charset=UTF-8", 
        "Body={\"LogonId\":\"tes\",\"LogonPassword\":\"test\"}", 
        LAST);

    web_add_cookie("x-token=dDWstInfOAq2ls0eCy3MPnFBeg08qbjtv2%2F3LtI4tcrf0YkMt4WuGM2Hi6Ex7WPePWIhZ%2FiBRyCv9do8iqvetkPJ89tmgCFWx5NAhALXwuYvXKRN5y8RdbwZk%2FJf1A0oSmWtp5vt3V2qRvR35NT93YofBnuZ1h%2FGeYBwVe8sdv4a3X81RrIg4jEYQVmM6od6RtkSKFINKiCxWe1ZEFfYR6G%2FCHci%2FaUTmQf97tV2yf5foIA2OILrZbIjZ%2F5h%2F6A4MIbMCDfJqbf%2BU%2FVuAl9QOA%3D%3D; DOMAIN=gpsportalpreprod.gbg.com");

    web_url("Home", 
        "URL=http://gpsportalpreprod.gbg.com/Home", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/", 
        "Snapshot=t56.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("HomeController.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/BaseControllers/HomeController.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t57.inf", 
        LAST);

    web_url("tinymce.js", 
        "URL=http://gpsportalpreprod.gbg.com/Scripts/Plugins/tinymce/tinymce.js", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t58.inf", 
        LAST);

    web_concurrent_end(NULL);

    lr_think_time(6);

    web_url("loaderbgpattern.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/loaderbgpattern.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t59.inf", 
        LAST);

    web_url("RequestsTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationRootContainers/RequestsTemplate.htm", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t60.inf", 
        "Mode=HTTP", 
        LAST);

    web_custom_request("GetUserData", 
        "URL=http://agentspreprodbs.gbg.com/api/ArcherApi/GetUserData", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t61.inf", 
        "Mode=HTTP", 
        LAST);

    web_custom_request("GetUserData_2", 
        "URL=http://agentspreprodbs.gbg.com/api/ArcherApi/GetUserData", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t62.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("GetUserData_3", 
        "URL=http://agentspreprodbs.gbg.com/api/ArcherApi/GetUserData", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t63.inf", 
        LAST);

    web_url("GetUserData_4", 
        "URL=http://agentspreprodbs.gbg.com/api/ArcherApi/GetUserData", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t64.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("GetUserPermissions", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserPermissions?UserName=ginut", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t65.inf", 
        "Mode=HTTP", 
        LAST);

    web_custom_request("GetUserPermissions_2", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserPermissions?UserName=ginut", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t66.inf", 
        "Mode=HTTP", 
        LAST);

    web_url("GetUserPermissions_3", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserPermissions?UserName=ginut", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t67.inf", 
        LAST);

    web_custom_request("GetUserDetailsbyUserName", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserDetailsbyUserName?userName=ginut", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t68.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("GetUserPermissions_4", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserPermissions?UserName=ginut", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t69.inf", 
        LAST);

    web_url("GetUserDetailsbyUserName_2", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserDetailsbyUserName?userName=ginut", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t70.inf", 
        LAST);

    web_url("GetUserDetailsbyUserName_3", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserDetailsbyUserName?userName=ginut", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t71.inf", 
        LAST);

    web_url("leftMenuTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/leftMenuTemplate.js?id=NULSYXIZV67V", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t72.inf", 
        LAST);

    web_url("footerTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/footerTemplate.js?id=XDN9DLYWGL0A", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t73.inf", 
        LAST);

    web_url("requestTabContainerTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/requestTabContainerTemplate.js?id=J7TLXR9VPB2R", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t74.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_url("footerTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/footerTemplate.htm?id=GAAU1I74R5WS", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t75.inf", 
        "Mode=HTTP", 
        LAST);

    web_url("leftMenuTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/leftMenuTemplate.htm?id=S6A417C7236X", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t76.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("headerTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/headerTemplate.js?id=4J3UCBA9ZQ72", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t77.inf", 
        LAST);

    web_url("requestsListTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/requestsListTemplate.js?id=3NBV51A10PJI", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t78.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("GetLocalizedContentForTemplates_2", 
        "URL=http://gpsportalpreprod.gbg.com/api/LocalizationApi/GetLocalizedContentForTemplates", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t79.inf", 
        "Mode=HTTP", 
        "EncType=application/json;charset=UTF-8", 
        "Body={\"TemplateNames\":[\"headerTemplate\",\"footerTemplate\",\"filterTemplate\",\"leftMenuTemplate\",\"notesListingTemplate\",\"documentListingTemplate\",\"requestDocumentTemplate\",\"CommonDataResources\"]}", 
        LAST);

    web_url("requestTabContainerTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/requestTabContainerTemplate.htm?id=3DPM7NDOVVKB", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t80.inf", 
        "Mode=HTTP", 
        LAST);

    web_url("headerTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/PresentationLayer/headerTemplate.htm?id=19PHU0TQMR9N", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t81.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("Logo_Small.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/Logo_Small.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t82.inf", 
        LAST);

    web_url("requesticon.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/requesticon.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t83.inf", 
        LAST);

    web_url("policyDetailsTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/policyDetailsTemplate.js?id=63TAK9LH7ZME", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t84.inf", 
        LAST);

    web_url("caseLetterListingTemplate.js", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/caseLetterListingTemplate.js?id=WDG36A81TU6E", 
        "Resource=1", 
        "RecContentType=application/javascript", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t85.inf", 
        LAST);

    web_url("reports.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/reports.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t86.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("GetLocalizedContentForTemplates_3", 
        "URL=http://gpsportalpreprod.gbg.com/api/LocalizationApi/GetLocalizedContentForTemplates", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t87.inf", 
        "Mode=HTTP", 
        "EncType=application/json;charset=UTF-8", 
        "Body={\"TemplateNames\":[\"requestsListTemplate\",\"addRequestDrilldownTemplate\",\"policyListingTemplate\",\"policyDetailsTemplate\",\"requestTabContainerTemplate\",\"notesListingTemplate\",\"documentListingTemplate\",\"requestDocumentTemplate\",\"caseListTemplate\",\"caseListPopupTemplate\",\"caseProcedureListTemplate\",\"caseRequestedServicesListTemplate\",\"caseListEmailTemplate\",\"caseListEmailAttachementPopupTemplate\",\"caseAddRequestedServicesPopupTemplate\",\"uploadFilesTemplate\",\""
        "caseProcedureAddAbeyancePopupTemplate\",\"underWritterNotesPopupTemplate\",\"caseApplicableCoverageAddPopupTemplate\",\"caseApplicableCoverageListTemplate\",\"caseConciergeNotesListingTemplate\",\"scheduleOfBenefitsPopupTemplate\",\"caseConciergeTabTemplate\",\"caseLetterSignaturePopupTemplate\",\"caseTabContainerTemplate\",\"caseProcedureAddExtensionPopupTemplate\",\"caseLetterListingTemplate\",\"descriptionPopupTemplate\",\"procedureDescriptionPopupTemplate\",\"caseProcedureAddPopupTemplate\",\""
        "caseProcedureExtensionListTemplate\",\"caseTravelTabTemplate\",\"procedureDocumentUploadTemplate\",\"procedureDocumentsPopupTemplate\",\"iCDCodeListPopupTemplate\",\"caseLetterEmailTemplate\",\"caseLetterDetailsTemplate\",\"caseLetterPopupTemplate\",\"agentRequestSummaryPopupTemplate\",\"resetPasswordPopupTemplate\",\"changePasswordPopupTemplate\",\"caseSummaryTemplate\"]}", 
        LAST);

    web_url("requestsListTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/requestsListTemplate.htm?id=PET0ZMM2UD1O", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t88.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("admin.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/admin.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t89.inf", 
        LAST);

    web_url("claim-ic.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/claim-ic.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t90.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_url("policyDetailsTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/policyDetailsTemplate.htm?id=H3HI6HX6V8SY", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t91.inf", 
        "Mode=HTTP", 
        LAST);

    web_url("password-ic.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/password-ic.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t92.inf", 
        LAST);

    web_url("caseLetterListingTemplate.htm", 
        "URL=http://gpsportalpreprod.gbg.com/Areas/RequestsManagement/PresentationLayer/caseLetterListingTemplate.htm?id=3WBOOD4RFTMZ", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t93.inf", 
        "Mode=HTTP", 
        LAST);

    web_concurrent_start(NULL);

    web_url("addicon.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/addicon.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t94.inf", 
        LAST);

    web_url("sorticon.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/sorticon.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t95.inf", 
        LAST);

    web_url("search.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/search.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t96.inf", 
        LAST);

    web_url("loadersmall.gif", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/loadersmall.gif", 
        "Resource=1", 
        "RecContentType=image/gif", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t97.inf", 
        LAST);

    web_url("glyphicons-halflings-regular.woff", 
        "URL=http://gpsportalpreprod.gbg.com/Content/bootstrap/fonts/glyphicons-halflings-regular.woff", 
        "Resource=1", 
        "RecContentType=font/x-woff", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t98.inf", 
        LAST);

    web_url("sorticon-case.png", 
        "URL=http://gpsportalpreprod.gbg.com/Content/images/sorticon-case.png", 
        "Resource=1", 
        "RecContentType=image/png", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t99.inf", 
        LAST);

    web_url("seguisb.ttf", 
        "URL=http://gpsportalpreprod.gbg.com/Content/fonts/seguisb.ttf", 
        "Resource=1", 
        "RecContentType=application/octet-stream", 
        "Referer=http://gpsportalpreprod.gbg.com/Content/GBG_PreAuthorizationPortal-en-GB.css", 
        "Snapshot=t100.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("GetDDLValues", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=Priority&LanguageCode=EN", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t101.inf", 
        "Mode=HTTP", 
        LAST);

/* Added by Async CodeGen.
ID=LongPoll_0
ScanType = Recording

The following URLs are considered part of this conversation:
    http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AbeyanceStatus&LanguageCode=EN
    http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AgentQueueStatus&LanguageCode=EN
    http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=ProcedureStatus&LanguageCode=EN

TODO - The following callbacks have been added to AsyncCallbacks.c.
Add your code to the callback implementations as necessary.
    LongPoll_0_RequestCB
    LongPoll_0_ResponseCB
 */
    web_reg_async_attributes("ID=LongPoll_0", 
        "Pattern=LongPoll", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AbeyanceStatus&LanguageCode=EN", 
        "RequestCB=LongPoll_0_RequestCB", 
        "ResponseCB=LongPoll_0_ResponseCB", 
        LAST);

    web_custom_request("GetDDLValues_2", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AbeyanceStatus&LanguageCode=EN", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t102.inf", 
        "Mode=HTTP", 
        LAST);

/* Removed by Async CodeGen.
ID = LongPoll_0
 */
    /*
 web_custom_request("GetDDLValues_3",
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AgentQueueStatus&LanguageCode=EN",
        "Method=OPTIONS",
        "Resource=0",
        "Referer=http://gpsportalpreprod.gbg.com/Home",
        "Snapshot=t103.inf",
        "Mode=HTTP",
        LAST); 
    */

    web_custom_request("GetUserClientList", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserClientList?UserName=ginut", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t104.inf", 
        "Mode=HTTP", 
        LAST);

/* Removed by Async CodeGen.
ID = LongPoll_0
 */
    /*
 web_custom_request("GetDDLValues_4",
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=ProcedureStatus&LanguageCode=EN",
        "Method=OPTIONS",
        "Resource=0",
        "Referer=http://gpsportalpreprod.gbg.com/Home",
        "Snapshot=t105.inf",
        "Mode=HTTP",
        LAST); 
    */

/* Added by Async CodeGen.
ID = LongPoll_0
 */
    web_stop_async("ID=LongPoll_0", 
        LAST);

    web_concurrent_start(NULL);

    web_url("GetDDLValues_5", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=Priority&LanguageCode=EN", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t106.inf", 
        LAST);

    web_url("GetDDLValues_6", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AbeyanceStatus&LanguageCode=EN", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t107.inf", 
        LAST);

    web_url("GetDDLValues_7", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=AgentQueueStatus&LanguageCode=EN", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t108.inf", 
        LAST);

    web_url("GetDDLValues_8", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=ProcedureStatus&LanguageCode=EN", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t109.inf", 
        LAST);

    web_url("GetUserClientList_2", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetUserClientList?UserName=ginut", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t110.inf", 
        LAST);

    web_concurrent_end(NULL);

    web_custom_request("GetDDLValues_9", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=CaseStatus&LanguageCode=EN", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t111.inf", 
        "Mode=HTTP", 
        LAST);

    web_url("GetDDLValues_10", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetDDLValues?ListType=CaseStatus&LanguageCode=EN", 
        "Resource=1", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t112.inf", 
        LAST);

    web_custom_request("GetCMSRequestList", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetCMSRequestList", 
        "Method=OPTIONS", 
        "Resource=0", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t113.inf", 
        "Mode=HTTP", 
        LAST);

    web_custom_request("GetCMSRequestList_2", 
        "URL=http://gpsportalbspreprod.gbg.com/api/CaseManagementApi/GetCMSRequestList", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://gpsportalpreprod.gbg.com/Home", 
        "Snapshot=t114.inf", 
        "Mode=HTTP", 
        "EncType=application/json;charset=UTF-8", 
        "Body={\"Offset\":1,\"Limit\":\"50\",\"SortParam\":0,\"RequestNumber\":null,\"RequestType\":null,\"RequestDateFrom\":null,\"RequestDateTo\":null,\"ContactName\":null,\"ContactPhone\":null,\"ContactEmail\":null,\"MemberName\":null,\"MemberNumber\":null,\"RequestPriority\":null,\"CaseStatus\":\"Active,Reopened,N/A\",\"CreatedDate\":null,\"CaseType\":null,\"CaseManager\":null,\"AssignedTo\":null,\"UserId\":\"Ginu Thomas\",\"CreatedBy\":null,\"CaseNumber\":null,\"DateOfServiceFrom\":null,\""
        "DateOfServiceTo\":null,\"CasePriority\":null,\"TaskName\":null,\"Priority\":null,\"Status\":\"null\",\"DateDue\":null,\"DateCompleted\":null,\"AgencyName\":null,\"AgentName\":null,\"CurrentUser\":\"Ginu Thomas\",\"RequestSource\":null,\"CreatedByUserSearch\":null,\"AbeyanceId\":null,\"Client\":\"GBG,ASO-GGA,ASO-Jiang Tai,Argus,ASO-Unihealth\",\"ManagerUser\":\"Ginu Thomas\"}", 
        LAST);

    return 0;
}



Thanks In Advance,

Adersh

pedda swamy

unread,
Aug 26, 2017, 1:00:06 PM8/26/17
to lr-loadrunner
Probably you can disable the method = OPTIONS entire request highlighted in yellow and try rerun the script.This is a work around.

I was also faced same issue in OATS tool and I get confirmation that OATS does not support OPTIONS method.Not sure if LR also supported or not.

...

Praveen Manchukondaj

unread,
Aug 26, 2017, 1:00:06 PM8/26/17
to LoadRunner
Hi Mohan,

Looks like it is an authentication issue.
One of below two option may work,

1) replay your script in wininet mode.

Option available at - runtime settings- under preferences..

2) if above doesn't work then write web_set_user function..uncheck wininet mode in this trial/attempt..

Thanks,
Praveen. Manchukonda

Abhishek Banginwar

unread,
Aug 26, 2017, 1:00:31 PM8/26/17
to LR-Loa...@googlegroups.com
Error clearly states 'options' method is not allowed, what do you see in browser's developer tool when you try manually?

...
Reply all
Reply to author
Forward
0 new messages