Absent Member.
Absent Member.

HTTP/HTML protocol - doubt

I am currently scripting a typical eRecruitment Portal.
I am using the LR 9.1 Protocol - HTTP/HTML,

When i am replaying the script in the communication data section once we select the country say USA it refreshes and the region gets updated.
But the region values are not retrieved from the server while replaying. The script does not fail but the actual business flow is not simulated.

Next i recorded 2 scripts with HTTP/HTML, URL based.
Please find the result below:
The script is failing at this particular function:-









"EncType=multipart/form-data; boundary=---------------------------7da14d25110592",

"Body=-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"htmlbevt_ty\"\r\n\r\nhtmlb:link:click:null\r\n-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"htmlbevt_frm\"\r\n\r\nhtmlb_form_1\r\n-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"htmlbevt_oid\"\r\n\r\nmainm_9004\r\n-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"htmlbevt_id\"\r\n\r\n9004\r\n"

"-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"htmlbevt_cnt\"\r\n\r\n0\r\n-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"onInputProcessing\"\r\n\r\nhtmlb\r\n-----------------------------7da14d25110592\r\nContent-Disposition: form-data; name=\"sap-htmlb-design\"\r\n\r\n\r\n-----------------------------7da14d25110592",


When I compared with the other script, the value which is changing is “boundary=---------------------------7da14d25110592”.This value is present in the Request header ,request body and not in the response. Therefore, I was not able to correlate this value nor I could find any solution. This value is different for every web_custom_request function in the script.

Kindly suggest what needs to be done

1 Reply
Absent Member.
Absent Member.

i had a similar kind of issue, i couldn't able to find the value in the tree view reponse, but when i enabled the data returned by server option and checked the value in the replay log i found the boundries may be you can try out this possibility..

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.