Highlighted
Absent Member.
Absent Member.
212 views

SAP CRM-WEB IC: Error HTTP Status-Code=400 (Session not found)

Hi guys,

I need test CRM SAP WEB IC and I use SAP Web protocol.  I use HPLR v 12.50

When I run the script in the Controller with many vusers I get the next error:

"Action.c(117): Error -26631: HTTP Status-Code=400 (Session not found) for.."

In VUGEN the script run perfect but in Controller don't.

I am new in HPLR and I can not identify the session id and how correlate.  The portion of script:

web_submit_data("uif_callback", 
        "Action=http://XXXXXXX:8002/sap/webcuif/uif_callback?sap-client=250&sap-language=EN&sap-domainRelax=min&crm_handler=CL_CRM_UI_SESSION_MANAGER", 
        "Method=POST", 
        "RecContentType=text/plain", 
        "Referer=http://XXXXXXX::8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm", 
        "Snapshot=t4.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=cmd", "Value=get_esid", ENDITEM, 
        LAST);

    web_custom_request("uif_callback_2", 
        "URL=http://XXXXXXX:8002/sap/webcuif/uif_callback?sap-client=250&sap-language=EN&sap-domainRelax=min&crm_handler=CL_CRM_UI_SESSION_MANAGER", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/plain", 
        "Referer=http://XXXXXXX:8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm", 
        "Snapshot=t5.inf", 
        "Mode=HTML", 
        "Body=cmd=store_request&esid=(ZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRPT0=)&", 
        LAST);

    web_url("main.htm", 
        "URL=http://XXXXXXX::8002/sap(ZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRPT0=)/bc/bsp/sap/crm_ui_frame/main.htm?sap-client=250&sap-language=EN&sap-domainRelax=min&saprole=ZUTIL_IC_CC", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://XXXXXXX::8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm", 
        "Snapshot=t6.inf", 
        "Mode=HTML", 
        LAST);

    web_custom_request("Transform_Messages.do", 
        "URL=http://XXXXXXX::8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/Transform_Messages.do", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://XXXXXXX::8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/broadcast_bar.htm", 
        "Snapshot=t7.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=xml_data=<messages filter=\"0\" >\n  \n    </messages>&do_sort=X", 
        LAST);

    web_custom_request("Transform_Messages.do_2", 
        "URL=http://XXXXXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/Transform_Messages.do", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://XXXXXXX::8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/broadcast_bar.htm", 
        "Snapshot=t8.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=xml_data=<messages filter=\"1\" >\n  \n    </messages>&do_sort=X", 
        LAST);

I appreciate all your help

Regards

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.