Highlighted
Absent Member.
Absent Member.
1473 views

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

Hi Guys

I have test SAP CRM IC-WEB v7.0 and I use SAP WEB Protocol,

I have an error when I Run the script with many advisers in the Controller. I am not sure if  correlate the Id Session properly. And how identify the ID Session? How use the correlation function?

This is the portion of my script:

web_submit_data("uif_callback", 
        "Action=http://XXXX: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://XXXX8002/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://XXXX: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://XXXXX: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://XXXX8002/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://XXXX8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm", 
        "Snapshot=t6.inf", 
        "Mode=HTML", 
        LAST);

    web_custom_request("Transform_Messages.do", 
        "URL=http://XXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/Transform_Messages.do", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://XXXX: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://XXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/Transform_Messages.do", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=http://XXXX: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);

Appreciate all your help

Regards

 

0 Likes
1 Reply
Highlighted
Frequent Contributor.
Frequent Contributor.

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

Hello,

It's very probably that your script need to do correlation, and from the posted script, I don't see any correlation is appiled. 

Please read more on the Vugen Help Center regarding how to search and apply correlations. 

Regards,

Bingle(LoadRunner R&D)

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.